From 519102ee561442ff788a645da08d8e2caf8f0c81 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 8 Jan 2019 08:50:39 -0800 Subject: [PATCH 01/90] Bump next snapshot (#4300) --- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 204 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/pom.xml | 286 +++++++-------- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/pom.xml | 4 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/pom.xml | 4 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/pom.xml | 4 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 326 +++++++++--------- 164 files changed, 732 insertions(+), 732 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index 640bf6fc8ea2..8777b5c64a85 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 9ebf37e0d7d9..0c762b214144 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 3d83e674f808..6702323cbfd4 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 33402e19a8f6..87ce697aeac4 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index 61ef8be5a4f4..42a1957ee8eb 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index b70e9b38840b..28d77daed58f 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index cb309d5e1815..b6c7d08a7dc1 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index b4279de86e20..72df83a0a18e 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index 2ad71a4c2747..ff0ad2559748 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index 28f8fde1a19b..4e0a8102fd5b 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index 871d332b5bc7..5a85716a7ffa 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 515dd348bbea..b4959662c6e5 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index 358c08954a7d..f3e67e748dcf 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index 685d8edeb632..d072f087a675 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index e0b8d9e684c8..ce1a511a3954 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index 9f566f8f589e..1c21068abab0 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index bd5d7a0413e0..add93dde52ca 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index 3e599b120fa0..7b7063eba02d 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 63ae1e06c0ea..007e0bf052c5 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.40.0 + 1.40.1-SNAPSHOT grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index a6eac4a6c5b8..d3c51bb8f9f4 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index e41224d9612b..1c7fa216637b 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index 8b4e14160750..cb54fe7efd1b 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.40.0 + 1.40.1-SNAPSHOT grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index f64b96e47d5e..2f100cf88d5e 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index 44cf7dc331bd..8d6f2b58053f 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.40.0 + 1.40.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index b76d6ba084e3..0e2d9f07dc38 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index 45966a0cd5aa..1d26910ed564 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index da4b0bad5d15..06fb5d86a3ea 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index b6d8b289d5bb..e04255beb812 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index f637f8af6d7c..bd276c6fcdd8 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.3.0 + 1.3.1-SNAPSHOT grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index 5de77c02e0c3..c06ee90006c9 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.3.0 + 1.3.1-SNAPSHOT grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index ca3a56944777..0852e076b39a 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.3.0 + 1.3.1-SNAPSHOT grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index c112d73cf0a0..bf3000b1b08e 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 238d5f03c0fd..75a613a352b5 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index ab11f6298b21..07e543426e9f 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index f636740f4a77..205230018a70 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index 06efb21bfe47..631b98f98f52 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index 566d316e5b6f..0f2e08610df2 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index 8e03ea1338ae..b946ab3ff992 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index e2e29ba3ab06..085fce8cacfa 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index 4f523c55d67e..74df396eb656 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index c5888cc8f6c2..9778d96d5826 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index 303b72a9072e..a9bf98044eb2 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index b8c672de2737..84f5d04cc596 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index 36f97cd0aeeb..0be1ae244499 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index b0a5096477ed..c94a072bf6b1 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index 65c0b71aeb6f..d51484b6db24 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.40.0 + 1.40.1-SNAPSHOT grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index fba05d75820d..95fac11c8801 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index cf85242e32bc..b3d1b69de5fb 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.40.0 + 1.40.1-SNAPSHOT grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 270462d7e719..9b32970e2e25 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index 7fe538a221d4..d62f2f61f91f 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.41.0 + 0.41.1-SNAPSHOT grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index a7af2cf3e195..879fcb38c23f 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.41.0 + 0.41.1-SNAPSHOT Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,507 +142,507 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index b993fac1c654..14f948e8aa20 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index 6dbe02f3f376..ed425c48a569 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index d6b27a2d3fb5..516bbeabbf19 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 60e5f92ffd19..34b45fc1f7be 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index c916b62a1e14..a7ab52849775 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index 6ce84d14331e..47126e84a1d4 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index 181cac1a0562..bc4276fcf030 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index 60bf30a2a785..da6013b36b0a 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index 39527ea3311d..2ee55a939231 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index c2b8a7ac0600..cbce37e72528 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 2f33d58eeee6..acd95c27df47 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index d04caa054a2d..56ff08f5eee2 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index 867f09a8e81c..4a0093cecda7 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index ec369043d0c8..07e84cf39194 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index 5cd14166060a..36b101453544 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index 4169093fe241..752dd2231807 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index 5febe0dc18f8..7cfc795a1ce2 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index 5b993ea3c0c8..e1d0943faf04 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index 6bceb7fec513..207b4aea98af 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index 15cd8e848b3b..12ddbde0183d 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.40.0 + 1.40.1-SNAPSHOT proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 4dee4e0d5d82..722c1db4495b 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index c17100555d1f..0fec6a6172fd 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index e2223867734e..2637e55a9ed7 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.40.0 + 1.40.1-SNAPSHOT proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index 00e23590a27d..c5d507651e96 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index 42a4e9a4a419..a49627941656 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.40.0 + 1.40.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index 95c6375c7cef..1212f6893b09 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index d448290f80a0..9a10ca848fa2 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index 472bbd74648c..c6f961be97ba 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index 819b9447d388..aa9b57792c7d 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index 68024ddd15c2..7bcb5c79b4dd 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.3.0 + 1.3.1-SNAPSHOT proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 073990653745..df8678804cad 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.3.0 + 1.3.1-SNAPSHOT proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index 7f26c51b8624..899bc94c4c65 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.3.0 + 1.3.1-SNAPSHOT proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index 39ffc4de3f92..1ca6a0ba343e 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index 3f9019a1a8c3..53497b37ae89 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index ac74bb0b7f0d..cf9a593eeb48 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index b160e4563793..68b43a95eb9e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index c1a5adc5952c..56968200a202 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index b07371b5b30e..8106c058b492 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index e210392b9d3f..7fd36957b8aa 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index 6b9f009f7c9a..7596be704810 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index 4dc92882884f..785ce0ee71dc 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index ac6060c29a4b..891ccaaf1465 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 84b21d49651f..2a02080be0ff 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index 357b9dd4e3a6..b9a056ea081f 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index ce1dd319665b..cc8e12f1391e 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index fa1256b26712..bf256a32d955 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index 855b5e5efbfd..6df5d545947e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.40.0 + 1.40.1-SNAPSHOT proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index dbc56aea5e67..2751bd90a080 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index 600eea335a46..66edaa901eae 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.40.0 + 1.40.1-SNAPSHOT proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index bd712d5ee6a4..6c2f9e7a19d9 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 6f464de16d29..3d9e57a5089b 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.41.0 + 0.41.1-SNAPSHOT proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.41.0 + 0.41.1-SNAPSHOT diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 4d55163266aa..59e06190368a 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,713 +197,713 @@ com.google.cloud google-cloud-asset - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-automl - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-bigtable - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-bigtable-admin - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-bigtable-emulator - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.cloud google-cloud-bigquery - 1.58.0 + 1.58.1-SNAPSHOT com.google.cloud google-cloud-bigquerydatatransfer - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-compute - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.cloud google-cloud-container - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-containeranalysis - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-contrib - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.cloud google-cloud-nio - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.cloud google-cloud-core - 1.58.0 + 1.58.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.58.0 + 1.58.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.58.0 + 1.58.1-SNAPSHOT com.google.cloud google-cloud-dataproc - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-datastore - 1.58.0 + 1.58.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-dlp - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-dialogflow - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-dns - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.cloud google-cloud-errorreporting - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-firestore - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-kms - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-language - 1.58.0 + 1.58.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-logging - 1.58.0 + 1.58.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-logging-logback - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.cloud google-cloud-monitoring - 1.58.0 + 1.58.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.40.0 + 1.40.1-SNAPSHOT com.google.cloud google-cloud-os-login - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.58.0 + 1.58.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.cloud google-cloud-redis - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-resourcemanager - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-spanner - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.3.0 + 1.3.1-SNAPSHOT com.google.cloud google-cloud-speech - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-storage - 1.58.0 + 1.58.1-SNAPSHOT com.google.cloud google-cloud-tasks - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-texttospeech - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-trace - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-translate - 1.58.0 + 1.58.1-SNAPSHOT com.google.cloud google-cloud-vision - 1.58.0 + 1.58.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.40.0 + 1.40.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.cloud google-cloud-video-intelligence - 0.76.0-beta + 0.76.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.41.0 + 0.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT com.google.cloud google-cloud-iamcredentials - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index b3e8c2bd25fe..662c936a9746 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index 84afa26fc7aa..7c7c424962b6 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 3d497bd76e12..5bbda202daeb 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index 8c9a41d62668..135771ab9a6f 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index f56e4177654e..127e9d67f027 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index bf100e0a2d68..d0b30c692aa5 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-bigtable-admin diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index 7b055841ee51..63ae5d460919 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 1c032ba673ed..40b0530cbbdc 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index a451853ebb69..1914af1e6378 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index 7e9c3260b688..79caa1531f01 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index e8a046bb22a6..f682e3be6321 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index 5708112cec4d..dbb2a0019e68 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.76.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.76.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.76.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.76.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.76.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.76.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index a0ea29bff621..80ba189ea273 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index d2872e94e0ab..ba2b1e722cf0 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index 41d9291e0136..b793c5d11dfc 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index 4fa4e48bf26b..8798734dde68 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index 0cea56cbedeb..a5ea61302144 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index 55ea4e0355dd..bfaf412be7ab 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index 4cc4e4cbe237..b206f18fe1dc 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index 01658e6e3e87..c7ba606a01a9 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index d5283899d46a..1ddc73c0a673 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index f9de9bebf95a..d4ba1913165d 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index d4ff902abdba..ae5464798300 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index 271039437710..8f1735fcfb14 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 5bb95d70d5fc..70a307e93ead 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index 3cecd9e0936f..b9e0ed76b96f 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.3.0-alpha + 0.3.1-alpha-SNAPSHOT jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index dc2cb3c6f682..d9d5a76c9542 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 2b18a7461115..3bb233a66179 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index 271cfb1e0c62..f1582d1779c7 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 25d4728f5292..3ff81b98553f 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index 6f7dd158b4c7..6e11d5b307df 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index 63e2d30e1018..a533606036a0 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index a40904954a56..9312ed671b1f 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index af186cc14c99..6458665c3f49 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index e5e33678cfc9..6a00a97d5d54 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index 758690c93d88..eb6476e3cabe 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index 690cb244c071..56a015e4005e 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index 2fd6c4ed980a..177db1823b2f 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index 8d27fef52ce3..0ca3e48b5dc1 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.3.0 + 1.3.1-SNAPSHOT jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index f04085ccaab8..a350f1db1861 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index 9906b84233e1..e1d69fa3a24c 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index 6c42f7827405..36e19330df8b 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index d2919655b578..41d19c612077 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index b60e37546492..43213f5b9b46 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index f3f2c7f25e51..93889a681438 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index a03091277fe4..7275f929de79 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.76.0-beta + 0.76.1-beta-SNAPSHOT jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index ca06ecc2bbb6..28f22c424148 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index 51ebb79023ab..900d11fe39ab 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 154e48396700..a1a2b1d00d5c 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT 1.27.0 1.35.1 1.7.0 @@ -238,7 +238,7 @@ com.google.cloud google-cloud-core - 1.58.0 + 1.58.1-SNAPSHOT test-jar diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index 4da81f8d9040..ada6587b8e3f 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index 511eefec6618..84705ef1daae 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index 98a87df5d849..8d0b9a709038 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index b742e0f83cb4..6763f431be69 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index f26b85537260..ccbbf93c0618 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 07dc48ae899a..25d1d59d42aa 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT @@ -121,7 +121,7 @@ com.google.cloud google-cloud-bom - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index 6fcde259c525..17d0a6583bd1 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-gcloud-maven-plugin - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index 8cca0cbf9515..c53554f650e4 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar google-cloud-testing com.google.cloud - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index 40916fdf4254..49e72d92ce5b 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT pom import com.google.cloud google-cloud-core - 1.58.0 + 1.58.1-SNAPSHOT test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index ba8d87f95a3c..c98528cef2a9 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index 389d5516b119..c42d023261a9 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index dc3a7cb1b4e2..cffa2a9863d5 100644 --- a/versions.txt +++ b/versions.txt @@ -1,166 +1,166 @@ # Format: # module:released-version:current-version -google-api-grpc:0.41.0:0.41.0 -google-cloud:0.76.0-alpha:0.76.0-alpha -google-cloud-appengineflexcompat:0.76.0-alpha:0.76.0-alpha -google-cloud-appengineflexcustom:0.76.0-alpha:0.76.0-alpha -google-cloud-appengineflexjava:0.76.0-alpha:0.76.0-alpha -google-cloud-appenginejava8:0.76.0-alpha:0.76.0-alpha -google-cloud-asset:0.76.0-beta:0.76.0-beta -google-cloud-automl:0.76.0-beta:0.76.0-beta -google-cloud-bigquery:1.58.0:1.58.0 -google-cloud-bigquerydatatransfer:0.76.0-beta:0.76.0-beta -google-cloud-bigquerystorage:0.76.0-beta:0.76.0-beta -google-cloud-bigtable:0.76.0-alpha:0.76.0-alpha -google-cloud-bigtable-admin:0.76.0-alpha:0.76.0-alpha -google-cloud-bigtable-emulator:0.76.0-alpha:0.76.0-alpha -google-cloud-bom:0.76.0-alpha:0.76.0-alpha -google-cloud-clients:0.76.0-alpha:0.76.0-alpha -google-cloud-compat-checker:0.76.0-alpha:0.76.0-alpha -google-cloud-compute:0.76.0-alpha:0.76.0-alpha -google-cloud-container:0.76.0-beta:0.76.0-beta -google-cloud-containeranalysis:0.76.0-beta:0.76.0-beta -google-cloud-contrib:0.76.0-alpha:0.76.0-alpha -google-cloud-core:1.58.0:1.58.0 -google-cloud-core-grpc:1.58.0:1.58.0 -google-cloud-core-http:1.58.0:1.58.0 -google-cloud-dataproc:0.76.0-alpha:0.76.0-alpha -google-cloud-datastore:1.58.0:1.58.0 -google-cloud-dialogflow:0.76.0-alpha:0.76.0-alpha -google-cloud-dlp:0.76.0-beta:0.76.0-beta -google-cloud-dns:0.76.0-alpha:0.76.0-alpha -google-cloud-errorreporting:0.76.0-beta:0.76.0-beta -google-cloud-examples:0.76.0-alpha:0.76.0-alpha -google-cloud-firestore:0.76.0-beta:0.76.0-beta -google-cloud-gcloud-maven-plugin:0.76.0-alpha:0.76.0-alpha -google-cloud-iamcredentials:0.3.0-alpha:0.3.0-alpha -google-cloud-iot:0.76.0-beta:0.76.0-beta -google-cloud-kms:0.76.0-beta:0.76.0-beta -google-cloud-language:1.58.0:1.58.0 -google-cloud-logging:1.58.0:1.58.0 -google-cloud-logging-logback:0.76.0-alpha:0.76.0-alpha -google-cloud-managedtest:0.76.0-alpha:0.76.0-alpha -google-cloud-monitoring:1.58.0:1.58.0 -google-cloud-nio:0.76.0-alpha:0.76.0-alpha -google-cloud-nio-examples:0.76.0-alpha:0.76.0-alpha -google-cloud-notification:0.76.0-beta:0.76.0-beta -google-cloud-os-login:0.76.0-alpha:0.76.0-alpha -google-cloud-pubsub:1.58.0:1.58.0 -google-cloud-redis:0.76.0-alpha:0.76.0-alpha -google-cloud-resourcemanager:0.76.0-alpha:0.76.0-alpha -google-cloud-scheduler:0.76.0-alpha:0.76.0-alpha -google-cloud-securitycenter:0.76.0-alpha:0.76.0-alpha -google-cloud-spanner:1.3.0:1.3.0 -google-cloud-speech:0.76.0-beta:0.76.0-beta -google-cloud-storage:1.58.0:1.58.0 -google-cloud-tasks:0.76.0-beta:0.76.0-beta -google-cloud-testing:0.76.0-alpha:0.76.0-alpha -google-cloud-texttospeech:0.76.0-beta:0.76.0-beta -google-cloud-trace:0.76.0-beta:0.76.0-beta -google-cloud-translate:1.58.0:1.58.0 -google-cloud-util:0.76.0-alpha:0.76.0-alpha -google-cloud-video-intelligence:0.76.0-beta:0.76.0-beta -google-cloud-vision:1.58.0:1.58.0 -google-cloud-websecurityscanner:0.76.0-alpha:0.76.0-alpha -grpc-google-cloud-asset-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-automl-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-bigquerydatatransfer-v1:0.41.0:0.41.0 -grpc-google-cloud-bigquerystorage-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-bigtable-admin-v2:0.41.0:0.41.0 -grpc-google-cloud-bigtable-v2:0.41.0:0.41.0 -grpc-google-cloud-container-v1:0.41.0:0.41.0 -grpc-google-cloud-containeranalysis-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-dataproc-v1:0.41.0:0.41.0 -grpc-google-cloud-dataproc-v1beta2:0.41.0:0.41.0 -grpc-google-cloud-dialogflow-v2:0.41.0:0.41.0 -grpc-google-cloud-dialogflow-v2beta1:0.41.0:0.41.0 -grpc-google-cloud-dlp-v2:0.41.0:0.41.0 -grpc-google-cloud-error-reporting-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-firestore-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-iamcredentials-v1:0.3.0-alpha:0.3.0-alpha -grpc-google-cloud-iot-v1:0.41.0:0.41.0 -grpc-google-cloud-kms-v1:0.41.0:0.41.0 -grpc-google-cloud-language-v1:1.40.0:1.40.0 -grpc-google-cloud-language-v1beta2:0.41.0:0.41.0 -grpc-google-cloud-logging-v2:0.41.0:0.41.0 -grpc-google-cloud-monitoring-v3:1.40.0:1.40.0 -grpc-google-cloud-os-login-v1:0.41.0:0.41.0 -grpc-google-cloud-pubsub-v1:1.40.0:1.40.0 -grpc-google-cloud-redis-v1:0.41.0:0.41.0 -grpc-google-cloud-redis-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-scheduler-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-securitycenter-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-spanner-admin-database-v1:1.3.0:1.3.0 -grpc-google-cloud-spanner-admin-instance-v1:1.3.0:1.3.0 -grpc-google-cloud-spanner-v1:1.3.0:1.3.0 -grpc-google-cloud-speech-v1:0.41.0:0.41.0 -grpc-google-cloud-speech-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-speech-v1p1beta1:0.41.0:0.41.0 -grpc-google-cloud-tasks-v2beta2:0.41.0:0.41.0 -grpc-google-cloud-tasks-v2beta3:0.41.0:0.41.0 -grpc-google-cloud-texttospeech-v1:0.41.0:0.41.0 -grpc-google-cloud-texttospeech-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-trace-v1:0.41.0:0.41.0 -grpc-google-cloud-trace-v2:0.41.0:0.41.0 -grpc-google-cloud-video-intelligence-v1:0.41.0:0.41.0 -grpc-google-cloud-video-intelligence-v1beta1:0.41.0:0.41.0 -grpc-google-cloud-video-intelligence-v1beta2:0.41.0:0.41.0 -grpc-google-cloud-video-intelligence-v1p1beta1:0.41.0:0.41.0 -grpc-google-cloud-video-intelligence-v1p2beta1:0.41.0:0.41.0 -grpc-google-cloud-vision-v1:1.40.0:1.40.0 -grpc-google-cloud-vision-v1p1beta1:0.41.0:0.41.0 -grpc-google-cloud-vision-v1p2beta1:1.40.0:1.40.0 -grpc-google-cloud-vision-v1p3beta1:0.41.0:0.41.0 -grpc-google-cloud-websecurityscanner-v1alpha:0.41.0:0.41.0 -proto-google-cloud-asset-v1beta1:0.41.0:0.41.0 -proto-google-cloud-automl-v1beta1:0.41.0:0.41.0 -proto-google-cloud-bigquerydatatransfer-v1:0.41.0:0.41.0 -proto-google-cloud-bigquerystorage-v1beta1:0.41.0:0.41.0 -proto-google-cloud-bigtable-admin-v2:0.41.0:0.41.0 -proto-google-cloud-bigtable-v2:0.41.0:0.41.0 -proto-google-cloud-container-v1:0.41.0:0.41.0 -proto-google-cloud-containeranalysis-v1beta1:0.41.0:0.41.0 -proto-google-cloud-dataproc-v1:0.41.0:0.41.0 -proto-google-cloud-dataproc-v1beta2:0.41.0:0.41.0 -proto-google-cloud-datastore-v1:0.41.0:0.41.0 -proto-google-cloud-dialogflow-v2:0.41.0:0.41.0 -proto-google-cloud-dialogflow-v2beta1:0.41.0:0.41.0 -proto-google-cloud-dlp-v2:0.41.0:0.41.0 -proto-google-cloud-error-reporting-v1beta1:0.41.0:0.41.0 -proto-google-cloud-firestore-v1beta1:0.41.0:0.41.0 -proto-google-cloud-iamcredentials-v1:0.3.0-alpha:0.3.0-alpha -proto-google-cloud-iot-v1:0.41.0:0.41.0 -proto-google-cloud-kms-v1:0.41.0:0.41.0 -proto-google-cloud-language-v1:1.40.0:1.40.0 -proto-google-cloud-language-v1beta2:0.41.0:0.41.0 -proto-google-cloud-logging-v2:0.41.0:0.41.0 -proto-google-cloud-monitoring-v3:1.40.0:1.40.0 -proto-google-cloud-os-login-v1:0.41.0:0.41.0 -proto-google-cloud-pubsub-v1:1.40.0:1.40.0 -proto-google-cloud-redis-v1:0.41.0:0.41.0 -proto-google-cloud-redis-v1beta1:0.41.0:0.41.0 -proto-google-cloud-scheduler-v1beta1:0.41.0:0.41.0 -proto-google-cloud-securitycenter-v1beta1:0.41.0:0.41.0 -proto-google-cloud-spanner-admin-database-v1:1.3.0:1.3.0 -proto-google-cloud-spanner-admin-instance-v1:1.3.0:1.3.0 -proto-google-cloud-spanner-v1:1.3.0:1.3.0 -proto-google-cloud-speech-v1:0.41.0:0.41.0 -proto-google-cloud-speech-v1beta1:0.41.0:0.41.0 -proto-google-cloud-speech-v1p1beta1:0.41.0:0.41.0 -proto-google-cloud-tasks-v2beta2:0.41.0:0.41.0 -proto-google-cloud-tasks-v2beta3:0.41.0:0.41.0 -proto-google-cloud-texttospeech-v1:0.41.0:0.41.0 -proto-google-cloud-texttospeech-v1beta1:0.41.0:0.41.0 -proto-google-cloud-trace-v1:0.41.0:0.41.0 -proto-google-cloud-trace-v2:0.41.0:0.41.0 -proto-google-cloud-video-intelligence-v1:0.41.0:0.41.0 -proto-google-cloud-video-intelligence-v1beta1:0.41.0:0.41.0 -proto-google-cloud-video-intelligence-v1beta2:0.41.0:0.41.0 -proto-google-cloud-video-intelligence-v1p1beta1:0.41.0:0.41.0 -proto-google-cloud-video-intelligence-v1p2beta1:0.41.0:0.41.0 -proto-google-cloud-vision-v1:1.40.0:1.40.0 -proto-google-cloud-vision-v1p1beta1:0.41.0:0.41.0 -proto-google-cloud-vision-v1p2beta1:1.40.0:1.40.0 -proto-google-cloud-vision-v1p3beta1:0.41.0:0.41.0 -proto-google-cloud-websecurityscanner-v1alpha:0.41.0:0.41.0 +google-api-grpc:0.41.0:0.41.1-SNAPSHOT +google-cloud:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-appengineflexcompat:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-appengineflexcustom:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-appengineflexjava:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-appenginejava8:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-asset:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-automl:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-bigquery:1.58.0:1.58.1-SNAPSHOT +google-cloud-bigquerydatatransfer:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-bigquerystorage:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-bigtable:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-bigtable-admin:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-bigtable-emulator:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-bom:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-clients:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-compat-checker:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-compute:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-container:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-containeranalysis:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-contrib:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-core:1.58.0:1.58.1-SNAPSHOT +google-cloud-core-grpc:1.58.0:1.58.1-SNAPSHOT +google-cloud-core-http:1.58.0:1.58.1-SNAPSHOT +google-cloud-dataproc:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-datastore:1.58.0:1.58.1-SNAPSHOT +google-cloud-dialogflow:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-dlp:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-dns:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-errorreporting:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-examples:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-firestore:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-gcloud-maven-plugin:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-iamcredentials:0.3.0-alpha:0.3.1-alpha-SNAPSHOT +google-cloud-iot:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-kms:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-language:1.58.0:1.58.1-SNAPSHOT +google-cloud-logging:1.58.0:1.58.1-SNAPSHOT +google-cloud-logging-logback:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-managedtest:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-monitoring:1.58.0:1.58.1-SNAPSHOT +google-cloud-nio:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-nio-examples:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-notification:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-os-login:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-pubsub:1.58.0:1.58.1-SNAPSHOT +google-cloud-redis:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-resourcemanager:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-scheduler:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-securitycenter:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-spanner:1.3.0:1.3.1-SNAPSHOT +google-cloud-speech:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-storage:1.58.0:1.58.1-SNAPSHOT +google-cloud-tasks:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-testing:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-texttospeech:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-trace:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-translate:1.58.0:1.58.1-SNAPSHOT +google-cloud-util:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +google-cloud-video-intelligence:0.76.0-beta:0.76.1-beta-SNAPSHOT +google-cloud-vision:1.58.0:1.58.1-SNAPSHOT +google-cloud-websecurityscanner:0.76.0-alpha:0.76.1-alpha-SNAPSHOT +grpc-google-cloud-asset-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-automl-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-bigquerydatatransfer-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-bigtable-admin-v2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-bigtable-v2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-container-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-containeranalysis-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-dataproc-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-dataproc-v1beta2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-dlp-v2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-error-reporting-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-firestore-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-iamcredentials-v1:0.3.0-alpha:0.3.1-alpha-SNAPSHOT +grpc-google-cloud-iot-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-kms-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-language-v1:1.40.0:1.40.1-SNAPSHOT +grpc-google-cloud-language-v1beta2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-logging-v2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-monitoring-v3:1.40.0:1.40.1-SNAPSHOT +grpc-google-cloud-os-login-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.40.0:1.40.1-SNAPSHOT +grpc-google-cloud-redis-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-redis-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-scheduler-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-spanner-admin-database-v1:1.3.0:1.3.1-SNAPSHOT +grpc-google-cloud-spanner-admin-instance-v1:1.3.0:1.3.1-SNAPSHOT +grpc-google-cloud-spanner-v1:1.3.0:1.3.1-SNAPSHOT +grpc-google-cloud-speech-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-speech-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-speech-v1p1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta3:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-trace-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-trace-v2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta2:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p2beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-vision-v1:1.40.0:1.40.1-SNAPSHOT +grpc-google-cloud-vision-v1p1beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-vision-v1p2beta1:1.40.0:1.40.1-SNAPSHOT +grpc-google-cloud-vision-v1p3beta1:0.41.0:0.41.1-SNAPSHOT +grpc-google-cloud-websecurityscanner-v1alpha:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-asset-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-automl-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-bigquerydatatransfer-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-bigtable-admin-v2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-bigtable-v2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-container-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-containeranalysis-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-dataproc-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-dataproc-v1beta2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-datastore-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-dialogflow-v2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-dialogflow-v2beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-dlp-v2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-error-reporting-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-firestore-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-iamcredentials-v1:0.3.0-alpha:0.3.1-alpha-SNAPSHOT +proto-google-cloud-iot-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-kms-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-language-v1:1.40.0:1.40.1-SNAPSHOT +proto-google-cloud-language-v1beta2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-logging-v2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-monitoring-v3:1.40.0:1.40.1-SNAPSHOT +proto-google-cloud-os-login-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.40.0:1.40.1-SNAPSHOT +proto-google-cloud-redis-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-redis-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-scheduler-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-securitycenter-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-spanner-admin-database-v1:1.3.0:1.3.1-SNAPSHOT +proto-google-cloud-spanner-admin-instance-v1:1.3.0:1.3.1-SNAPSHOT +proto-google-cloud-spanner-v1:1.3.0:1.3.1-SNAPSHOT +proto-google-cloud-speech-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-speech-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-speech-v1p1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-tasks-v2beta2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-tasks-v2beta3:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-texttospeech-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-texttospeech-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-trace-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-trace-v2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta2:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p2beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-vision-v1:1.40.0:1.40.1-SNAPSHOT +proto-google-cloud-vision-v1p1beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-vision-v1p2beta1:1.40.0:1.40.1-SNAPSHOT +proto-google-cloud-vision-v1p3beta1:0.41.0:0.41.1-SNAPSHOT +proto-google-cloud-websecurityscanner-v1alpha:0.41.0:0.41.1-SNAPSHOT From 06b0ed50e31e9bef72ffac1788e0ec9ff9b9b6dd Mon Sep 17 00:00:00 2001 From: elisheva-qlogic <43041115+elisheva-qlogic@users.noreply.github.com> Date: Tue, 8 Jan 2019 16:52:08 -0500 Subject: [PATCH 02/90] Cloud Bigtable: instanceAdmin sample (#4299) * instanceAdmin sample and tests * comments added * instanceAdminExample changes * renamed variables * changes --- .../bigtable/InstanceAdminExample.java | 216 ++++++++++++++++++ .../bigtable/ITInstanceAdminExample.java | 154 +++++++++++++ 2 files changed, 370 insertions(+) create mode 100644 google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/InstanceAdminExample.java create mode 100644 google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/InstanceAdminExample.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/InstanceAdminExample.java new file mode 100644 index 000000000000..bfeb1bb42c7f --- /dev/null +++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/InstanceAdminExample.java @@ -0,0 +1,216 @@ +/* + * Copyright 2019 Google LLC. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.examples.bigtable; + +import com.google.api.gax.rpc.AlreadyExistsException; +import com.google.api.gax.rpc.NotFoundException; +import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminClient; +import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings; +import com.google.cloud.bigtable.admin.v2.models.Cluster; +import com.google.cloud.bigtable.admin.v2.models.CreateClusterRequest; +import com.google.cloud.bigtable.admin.v2.models.CreateInstanceRequest; +import com.google.cloud.bigtable.admin.v2.models.Instance; +import com.google.cloud.bigtable.admin.v2.models.PartialListInstancesException; +import com.google.cloud.bigtable.admin.v2.models.StorageType; +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * An example of using Google Cloud Bigtable. + * + *

This example demonstrates the usage of BigtableInstanceAdminClient to create, configure, and + * delete Cloud Bigtable Instances and Clusters. + * + *

    + *
  • creates production instance + *
  • lists instances + *
  • gets instance + *
  • lists clusters + *
  • adds cluster + *
  • deletes cluster + *
  • deletes instance + *
+ */ +public class InstanceAdminExample { + + private static final String CLUSTER = "cluster"; + private final String clusterId; + private final String instanceId; + private final BigtableInstanceAdminClient adminClient; + + public static void main(String[] args) throws IOException { + + if (args.length != 1) { + System.out.println("Missing required project id"); + return; + } + String projectId = args[0]; + + InstanceAdminExample instanceAdmin = + new InstanceAdminExample(projectId, "ssd-instance", "ssd-cluster"); + instanceAdmin.run(); + } + + public InstanceAdminExample(String projectId, String instanceId, String clusterId) + throws IOException { + this.instanceId = instanceId; + this.clusterId = clusterId; + + // [START connecting_to_bigtable] + // Creates the settings to configure a bigtable instance admin client. + BigtableInstanceAdminSettings instanceAdminSettings = + BigtableInstanceAdminSettings.newBuilder().setProjectId(projectId).build(); + + // Creates a bigtable instance admin client. + adminClient = BigtableInstanceAdminClient.create(instanceAdminSettings); + // [END connecting_to_bigtable] + } + + public void run() { + createProdInstance(); + listInstances(); + getInstance(); + listClusters(); + addCluster(); + deleteCluster(); + deleteInstance(); + adminClient.close(); + } + + /** Demonstrates how to create a Production instance within a provided project. */ + public void createProdInstance() { + // Checks if instance exists, creates instance if does not exists. + if (!adminClient.exists(instanceId)) { + System.out.println("Instance does not exist, creating a PRODUCTION instance"); + // [START bigtable_create_prod_instance] + // Creates a Production Instance with the ID "ssd-instance", + // cluster id "ssd-cluster", 3 nodes and location "us-central1-f". + CreateInstanceRequest createInstanceRequest = + CreateInstanceRequest.of(instanceId) + .addCluster(clusterId, "us-central1-f", 3, StorageType.SSD) + .setType(Instance.Type.PRODUCTION) + .addLabel("department", "accounting"); + // Creates a production instance with the given request. + try { + Instance instance = adminClient.createInstance(createInstanceRequest); + System.out.printf("PRODUCTION type instance %s created successfully%n", instance.getId()); + } catch (Exception e) { + System.err.println("Failed to create instance: " + e.getMessage()); + throw e; + } + // [END bigtable_create_prod_instance] + } + } + + /** Demonstrates how to list all instances within a project. */ + public void listInstances() { + System.out.println("\nListing Instances"); + // [START bigtable_list_instances] + try { + List instances = adminClient.listInstances(); + for (Instance instance : instances) { + System.out.println(instance.getId()); + } + } catch (PartialListInstancesException e) { + System.err.println("Failed to list instances: " + e.getMessage()); + System.err.println("The following zones are unavailable: " + e.getUnavailableZones()); + System.err.println("But the following instances are reachable: " + e.getInstances()); + } + // [END bigtable_list_instances] + } + + /** Demonstrates how to get an instance. */ + public Instance getInstance() { + System.out.println("\nGet Instance"); + // [START bigtable_get_instance] + Instance instance = null; + try { + instance = adminClient.getInstance(instanceId); + System.out.println("Instance ID: " + instance.getId()); + System.out.println("Display Name: " + instance.getDisplayName()); + System.out.print("Labels: "); + Map labels = instance.getLabels(); + for (String key : labels.keySet()) { + System.out.printf("%s - %s", key, labels.get(key)); + } + System.out.println("\nState: " + instance.getState()); + System.out.println("Type: " + instance.getType()); + } catch (NotFoundException e) { + System.err.println("Failed to get non-existent instance: " + e.getMessage()); + } + // [END bigtable_get_instance] + return instance; + } + + /** Demonstrates how to list clusters within an instance. */ + public void listClusters() { + System.out.println("\nListing Clusters"); + // [START bigtable_get_clusters] + try { + List clusters = adminClient.listClusters(instanceId); + for (Cluster cluster : clusters) { + System.out.println(cluster.getId()); + } + } catch (NotFoundException e) { + System.err.println("Failed to list clusters from a non-existent instance: " + e.getMessage()); + } + // [END bigtable_get_clusters] + } + + /** Demonstrates how to delete an instance. */ + public void deleteInstance() { + System.out.println("\nDeleting Instance"); + // [START bigtable_delete_instance] + try { + adminClient.deleteInstance(instanceId); + System.out.println("Instance deleted: " + instanceId); + } catch (NotFoundException e) { + System.err.println("Failed to delete non-existent instance: " + e.getMessage()); + } + // [END bigtable_delete_instance] + } + + /** Demonstrates how to add a cluster to an instance. */ + public void addCluster() { + System.out.printf("%nAdding cluster: %s to instance: %s%n", CLUSTER, instanceId); + // [START bigtable_create_cluster] + try { + adminClient.createCluster( + CreateClusterRequest.of(instanceId, CLUSTER) + .setZone("us-central1-c") + .setServeNodes(3) + .setStorageType(StorageType.SSD)); + System.out.printf("Cluster: %s created successfully%n", CLUSTER); + } catch (AlreadyExistsException e) { + System.err.println("Failed to add cluster, already exists: " + e.getMessage()); + } + // [END bigtable_create_cluster] + } + + /** Demonstrates how to delete a cluster from an instance. */ + public void deleteCluster() { + System.out.printf("%nDeleting cluster: %s from instance: %s%n", CLUSTER, instanceId); + // [START bigtable_delete_cluster] + try { + adminClient.deleteCluster(instanceId, CLUSTER); + System.out.printf("Cluster: %s deleted successfully%n", CLUSTER); + } catch (NotFoundException e) { + System.err.println("Failed to delete a non-existent cluster: " + e.getMessage()); + } + // [END bigtable_delete_cluster] + } +} diff --git a/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java new file mode 100644 index 000000000000..bb800f683838 --- /dev/null +++ b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java @@ -0,0 +1,154 @@ +/* + * Copyright 2019 Google LLC. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.examples.bigtable; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; + +import com.google.api.gax.rpc.NotFoundException; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminClient; +import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings; +import com.google.cloud.bigtable.admin.v2.models.Cluster; +import com.google.cloud.bigtable.admin.v2.models.CreateInstanceRequest; +import com.google.cloud.bigtable.admin.v2.models.Instance; +import com.google.cloud.bigtable.admin.v2.models.Instance.Type; +import com.google.cloud.bigtable.admin.v2.models.StorageType; +import java.io.IOException; +import java.util.Random; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.AssumptionViolatedException; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +/** Integration tests for {@link InstanceAdminExample} */ +public class ITInstanceAdminExample { + + private static final String INSTANCE_PROPERTY_NAME = "bigtable.instance"; + private static final String ID_PREFIX = "instanceadmin"; + private static final String CLUSTER = "cluster"; + private static String projectName; + private static BigtableInstanceAdminClient adminClient; + private String clusterId; + private String instanceId; + private InstanceAdminExample instanceAdmin; + + @BeforeClass + public static void beforeClass() throws IOException { + String targetProject = System.getProperty(INSTANCE_PROPERTY_NAME); + if (targetProject == null) { + adminClient = null; + return; + } + projectName = InstanceName.parse(targetProject).getProject(); + BigtableInstanceAdminSettings instanceAdminSettings = + BigtableInstanceAdminSettings.newBuilder().setProjectId(projectName).build(); + adminClient = BigtableInstanceAdminClient.create(instanceAdminSettings); + } + + @AfterClass + public static void afterClass() { + garbageCollect(); + adminClient.close(); + } + + @Before + public void setup() throws IOException { + if (adminClient == null) { + throw new AssumptionViolatedException( + INSTANCE_PROPERTY_NAME + " property is not set, skipping integration tests."); + } + instanceId = generateId(); + clusterId = generateId(); + instanceAdmin = new InstanceAdminExample(projectName, instanceId, clusterId); + adminClient.createInstance( + CreateInstanceRequest.of(instanceId) + .addCluster(clusterId, "us-central1-f", 3, StorageType.SSD) + .setType(Type.PRODUCTION) + .addLabel("example", "instance_admin")); + } + + @After + public void after() { + if (adminClient.exists(instanceId)) { + adminClient.deleteInstance(instanceId); + } + } + + @Test + public void testCreateAndDeleteInstance() throws IOException { + // Creates an instance. + String testInstance = generateId(); + String testCluster = generateId(); + InstanceAdminExample testInstanceAdmin = + new InstanceAdminExample(projectName, testInstance, testCluster); + testInstanceAdmin.createProdInstance(); + assertTrue(adminClient.exists(testInstance)); + + // Deletes an instance. + testInstanceAdmin.deleteInstance(); + assertFalse(adminClient.exists(testInstance)); + } + + @Test + public void testGetInstance() { + // Gets an instance. + Instance instance = instanceAdmin.getInstance(); + assertNotNull(instance); + } + + @Test(expected = NotFoundException.class) + public void testAddAndDeleteCluster() { + // Adds a cluster. + instanceAdmin.addCluster(); + Cluster cluster = adminClient.getCluster(instanceId, CLUSTER); + assertNotNull(cluster); + + // Deletes a cluster. + instanceAdmin.deleteCluster(); + adminClient.getCluster(instanceId, CLUSTER); + } + + // TODO: add test for instanceAdmin.listInstances() + // TODO: and test for instanceAdmin.listClusters() + + @Test + public void testRunDoesNotFail() { + instanceAdmin.run(); + } + + private static String generateId() { + return String.format("%s-%x", ID_PREFIX, new Random().nextInt()); + } + + private static void garbageCollect() { + Pattern timestampPattern = Pattern.compile(ID_PREFIX + "-([0-9a-f]+)"); + System.out.println(); + for (Instance instance : adminClient.listInstances()) { + Matcher matcher = timestampPattern.matcher(instance.getId()); + if (!matcher.matches()) { + continue; + } + System.out.println("Garbage collecting orphaned table: " + instance); + adminClient.deleteInstance(instance.getId()); + } + } +} From 760c25f1ac6ea7a1bfbdf23b32602c9a91381da1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Wed, 9 Jan 2019 13:20:15 -0800 Subject: [PATCH 03/90] Regenerate securitycenter client (#4311) --- .../cloud/securitycenter/v1beta1/Asset.java | 12 ++-- .../cloud/securitycenter/v1beta1/Finding.java | 58 +++++++++++++------ .../v1beta1/FindingOrBuilder.java | 24 +++++--- .../cloud/securitycenter/v1beta1/Source.java | 28 ++++----- .../v1beta1/SourceOrBuilder.java | 8 +-- .../v1beta1/UpdateFindingRequest.java | 48 +++++++-------- .../UpdateFindingRequestOrBuilder.java | 12 ++-- .../cloud/securitycenter/v1beta1/asset.proto | 7 +-- .../securitycenter/v1beta1/finding.proto | 7 ++- .../v1beta1/securitycenter_service.proto | 23 +++++--- .../cloud/securitycenter/v1beta1/source.proto | 5 +- .../synth.metadata | 10 ++-- 12 files changed, 139 insertions(+), 103 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java index 77acb1a8d309..c646c93ff514 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java @@ -9,9 +9,9 @@ *
  * Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
  * Platform (GCP) resource.
- * The Asset is a Cloud SCC resource that captures information about a single GCP
- * resource. All modifications to an Asset are only within the context of Cloud
- * SCC and don't affect the referenced GCP resource.
+ * The Asset is a Cloud SCC resource that captures information about a single
+ * GCP resource. All modifications to an Asset are only within the context of
+ * Cloud SCC and don't affect the referenced GCP resource.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1beta1.Asset} @@ -2313,9 +2313,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
    * Platform (GCP) resource.
-   * The Asset is a Cloud SCC resource that captures information about a single GCP
-   * resource. All modifications to an Asset are only within the context of Cloud
-   * SCC and don't affect the referenced GCP resource.
+   * The Asset is a Cloud SCC resource that captures information about a single
+   * GCP resource. All modifications to an Asset are only within the context of
+   * Cloud SCC and don't affect the referenced GCP resource.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1beta1.Asset} diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java index c93a4caf7e3d..66e9daf45dc1 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java @@ -546,7 +546,7 @@ public com.google.cloud.securitycenter.v1beta1.Finding.State getState() { * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -568,7 +568,7 @@ public java.lang.String getCategory() { * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -669,7 +669,9 @@ public int getSourcePropertiesCount() { * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -690,7 +692,9 @@ public java.util.Map getSourcePrope * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -703,7 +707,9 @@ public java.util.Map getSourcePrope * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -722,7 +728,9 @@ public com.google.protobuf.Value getSourcePropertiesOrDefault( * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -1819,7 +1827,7 @@ public Builder clearState() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1841,7 +1849,7 @@ public java.lang.String getCategory() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1863,7 +1871,7 @@ public com.google.protobuf.ByteString getCategoryBytes() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1883,7 +1891,7 @@ public Builder setCategory(java.lang.String value) { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -1900,7 +1908,7 @@ public Builder clearCategory() { * * *
-     * The additional taxonomy group within findings from a give source.
+     * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
      * Example: "XSS_FLASH_INJECTION"
      * 
@@ -2057,7 +2065,9 @@ public int getSourcePropertiesCount() { * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2078,7 +2088,9 @@ public java.util.Map getSourcePrope * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2091,7 +2103,9 @@ public java.util.Map getSourcePrope * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2110,7 +2124,9 @@ public com.google.protobuf.Value getSourcePropertiesOrDefault( * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2136,7 +2152,9 @@ public Builder clearSourceProperties() { * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2158,7 +2176,9 @@ public java.util.Map getMutableSour * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -2178,7 +2198,9 @@ public Builder putSourceProperties(java.lang.String key, com.google.protobuf.Val * *
      * Source specific properties. These properties are managed by the source
-     * that writes the finding.
+     * that writes the finding. The key names in the source_properties map must be
+     * between 1 and 255 characters, and must start with a letter and contain
+     * alphanumeric characters or underscores only.
      * 
* * map<string, .google.protobuf.Value> source_properties = 7; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java index 53c149a4a66b..2ca317e013b1 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java @@ -116,7 +116,7 @@ public interface FindingOrBuilder * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -128,7 +128,7 @@ public interface FindingOrBuilder * * *
-   * The additional taxonomy group within findings from a give source.
+   * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
    * Example: "XSS_FLASH_INJECTION"
    * 
@@ -167,7 +167,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -178,7 +180,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -192,7 +196,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -203,7 +209,9 @@ public interface FindingOrBuilder * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; @@ -215,7 +223,9 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * *
    * Source specific properties. These properties are managed by the source
-   * that writes the finding.
+   * that writes the finding. The key names in the source_properties map must be
+   * between 1 and 255 characters, and must start with a letter and contain
+   * alphanumeric characters or underscores only.
    * 
* * map<string, .google.protobuf.Value> source_properties = 7; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java index cfd9a23bfed4..15fad8be8285 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java @@ -169,8 +169,8 @@ public com.google.protobuf.ByteString getNameBytes() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -195,8 +195,8 @@ public java.lang.String getDisplayName() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -738,8 +738,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -764,8 +764,8 @@ public java.lang.String getDisplayName() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -790,8 +790,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -814,8 +814,8 @@ public Builder setDisplayName(java.lang.String value) { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -835,8 +835,8 @@ public Builder clearDisplayName() { * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java index dc8fd860dd9e..300666754cbc 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java @@ -44,8 +44,8 @@ public interface SourceOrBuilder * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; @@ -60,8 +60,8 @@ public interface SourceOrBuilder * two sources with the same parent can't share the same display name. * The display name must start and end with a letter or digit, may contain * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 30 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + * than 32 characters. This is captured by the regular expression: + * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. * * * string display_name = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java index 0d24185ca9ee..e73a3747fc99 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java @@ -172,8 +172,8 @@ public com.google.cloud.securitycenter.v1beta1.FindingOrBuilder getFindingOrBuil * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -185,8 +185,8 @@ public boolean hasUpdateMask() { * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -198,8 +198,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -798,8 +798,8 @@ public com.google.cloud.securitycenter.v1beta1.FindingOrBuilder getFindingOrBuil * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -811,8 +811,8 @@ public boolean hasUpdateMask() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -830,8 +830,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -853,8 +853,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -873,8 +873,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -898,8 +898,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -919,8 +919,8 @@ public Builder clearUpdateMask() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -934,8 +934,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -953,8 +953,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The FieldMask to use when updating the finding resource. This field is
-     * ignored if the finding does not already exist and the finding is created.
+     * The FieldMask to use when updating the finding resource. This field should
+     * not be specified when creating a finding.
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java index a19b13bb974b..63cca3013082 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java @@ -55,8 +55,8 @@ public interface UpdateFindingRequestOrBuilder * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -66,8 +66,8 @@ public interface UpdateFindingRequestOrBuilder * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -77,8 +77,8 @@ public interface UpdateFindingRequestOrBuilder * * *
-   * The FieldMask to use when updating the finding resource. This field is
-   * ignored if the finding does not already exist and the finding is created.
+   * The FieldMask to use when updating the finding resource. This field should
+   * not be specified when creating a finding.
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto index d8f93409a8cf..3dd5b358141d 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto @@ -26,13 +26,12 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud // Platform (GCP) resource. // -// The Asset is a Cloud SCC resource that captures information about a single GCP -// resource. All modifications to an Asset are only within the context of Cloud -// SCC and don't affect the referenced GCP resource. +// The Asset is a Cloud SCC resource that captures information about a single +// GCP resource. All modifications to an Asset are only within the context of +// Cloud SCC and don't affect the referenced GCP resource. message Asset { // Cloud SCC managed properties. These properties are managed by Cloud SCC and // cannot be modified by the user. diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto index 0c99247b6059..21dfdd5616e2 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto @@ -26,7 +26,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // Cloud Security Command Center (Cloud SCC) finding. // // A finding is a record of assessment data (security, risk, health or privacy) @@ -69,7 +68,7 @@ message Finding { // The state of the finding. State state = 4; - // The additional taxonomy group within findings from a give source. + // The additional taxonomy group within findings from a given source. // This field is immutable after creation time. // Example: "XSS_FLASH_INJECTION" string category = 5; @@ -80,7 +79,9 @@ message Finding { string external_uri = 6; // Source specific properties. These properties are managed by the source - // that writes the finding. + // that writes the finding. The key names in the source_properties map must be + // between 1 and 255 characters, and must start with a letter and contain + // alphanumeric characters or underscores only. map source_properties = 7; // Output only. User specified security marks. These marks are entirely diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto index fecca4f0dffd..dafce562dc7e 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto @@ -36,7 +36,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // V1 Beta APIs for Security Center service. service SecurityCenter { // Creates a source. @@ -57,7 +56,8 @@ service SecurityCenter { } // Gets the access control policy on the specified Source. - 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) = { post: "/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy" body: "*" @@ -65,7 +65,8 @@ service SecurityCenter { } // Gets the settings for an organization. - rpc GetOrganizationSettings(GetOrganizationSettingsRequest) returns (OrganizationSettings) { + rpc GetOrganizationSettings(GetOrganizationSettingsRequest) + returns (OrganizationSettings) { option (google.api.http) = { get: "/v1beta1/{name=organizations/*/organizationSettings}" }; @@ -129,7 +130,8 @@ service SecurityCenter { // This API can only be called with limited frequency for an organization. If // it is called too frequently the caller will receive a TOO_MANY_REQUESTS // error. - rpc RunAssetDiscovery(RunAssetDiscoveryRequest) returns (google.longrunning.Operation) { + rpc RunAssetDiscovery(RunAssetDiscoveryRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=organizations/*}/assets:runDiscovery" body: "*" @@ -145,7 +147,8 @@ service SecurityCenter { } // Sets the access control policy on the specified Source. - 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: "/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy" body: "*" @@ -153,7 +156,8 @@ service SecurityCenter { } // Returns the permissions that a caller has on the specified source. - 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: "/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions" body: "*" @@ -170,7 +174,8 @@ service SecurityCenter { } // Updates an organization's settings. - rpc UpdateOrganizationSettings(UpdateOrganizationSettingsRequest) returns (OrganizationSettings) { + rpc UpdateOrganizationSettings(UpdateOrganizationSettingsRequest) + returns (OrganizationSettings) { option (google.api.http) = { patch: "/v1beta1/{organization_settings.name=organizations/*/organizationSettings}" body: "organization_settings" @@ -714,8 +719,8 @@ message UpdateFindingRequest { // characters in length. Finding finding = 1; - // The FieldMask to use when updating the finding resource. This field is - // ignored if the finding does not already exist and the finding is created. + // The FieldMask to use when updating the finding resource. This field should + // not be specified when creating a finding. google.protobuf.FieldMask update_mask = 2; } diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto index 5eabe2b1a349..cc1fae6eaa66 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto @@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/ option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; - // Cloud Security Command Center's (Cloud SCC) finding source. A finding source // is an entity or a mechanism that can produce a finding. A source is like a // container of findings that come from the same scanner, logger, monitor, etc. @@ -39,8 +38,8 @@ message Source { // two sources with the same parent can't share the same display name. // The display name must start and end with a letter or digit, may contain // letters, digits, spaces, hyphens, and underscores, and can be no longer - // than 30 characters. This is captured by the regular expression: - // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?. + // than 32 characters. This is captured by the regular expression: + // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. string display_name = 2; // The description of the source (max of 1024 characters). diff --git a/google-cloud-clients/google-cloud-securitycenter/synth.metadata b/google-cloud-clients/google-cloud-securitycenter/synth.metadata index ab3fde98056b..fafa47a43f2e 100644 --- a/google-cloud-clients/google-cloud-securitycenter/synth.metadata +++ b/google-cloud-clients/google-cloud-securitycenter/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-04T08:46:44.268721Z", + "updateTime": "2019-01-09T08:46:01.510426Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.4", - "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "4930597beb4d26be020513af985506b39d4b73cd", - "internalRef": "227765328" + "sha": "659d66ec24bf40b35a41a0b79218d96ba3add3d3", + "internalRef": "228437827" } } ], From 4f4f558daa76824b9c97e77cb4a073395c085942 Mon Sep 17 00:00:00 2001 From: andrey-qlogic <44769745+andrey-qlogic@users.noreply.github.com> Date: Thu, 10 Jan 2019 00:42:46 +0300 Subject: [PATCH 04/90] 3540: Used transformer for shaded plugin (#4305) --- .../google-cloud-contrib/google-cloud-nio/pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index ba2b1e722cf0..d2abba653523 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -135,6 +135,9 @@ shaded.cloud_nio.google + + + From 3d1165982108a5ff74b5a64e961652bec2444a7b Mon Sep 17 00:00:00 2001 From: Rahul Kesharwani <42969463+rahulKQL@users.noreply.github.com> Date: Thu, 10 Jan 2019 03:19:19 +0530 Subject: [PATCH 05/90] Added Query#fromProto to convert protobuf ReadRowsRequest (#4291) * Adding Query.fromProto * Adding Query.fromProto * adding changes as per feedback * updated javadoc as per feedback * reformatted Query & QueryTest.java --- .../bigtable/data/v2/internal/NameUtil.java | 13 ++++++++ .../cloud/bigtable/data/v2/models/Query.java | 16 ++++++++++ .../bigtable/data/v2/models/QueryTest.java | 32 +++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/NameUtil.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/NameUtil.java index c1118ed181c7..4744d3ef1ee9 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/NameUtil.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/NameUtil.java @@ -16,6 +16,8 @@ package com.google.cloud.bigtable.data.v2.internal; import com.google.api.core.InternalApi; +import java.util.regex.Matcher; +import java.util.regex.Pattern; import javax.annotation.Nonnull; /** @@ -26,6 +28,9 @@ */ @InternalApi public class NameUtil { + private static final Pattern TABLE_PATTERN = + Pattern.compile("projects/([^/]+)/instances/([^/]+)/tables/([^/]+)"); + public static String formatInstanceName(@Nonnull String projectId, @Nonnull String instanceId) { return "projects/" + projectId + "/instances/" + instanceId; } @@ -34,4 +39,12 @@ public static String formatTableName( @Nonnull String projectId, @Nonnull String instanceId, @Nonnull String tableId) { return formatInstanceName(projectId, instanceId) + "/tables/" + tableId; } + + public static String extractTableIdFromTableName(@Nonnull String fullTableName) { + Matcher matcher = TABLE_PATTERN.matcher(fullTableName); + if (!matcher.matches()) { + throw new IllegalArgumentException("Invalid table name: " + fullTableName); + } + return matcher.group(3); + } } diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java index c01174bbe07d..9ec36d5a7a52 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java @@ -36,6 +36,7 @@ import java.io.Serializable; import java.util.List; import java.util.SortedSet; +import javax.annotation.Nonnull; /** A simple wrapper to construct a query for the ReadRows RPC. */ public final class Query implements Serializable { @@ -258,6 +259,21 @@ public ReadRowsRequest toProto(RequestContext requestContext) { .build(); } + /** + * Wraps the protobuf {@link ReadRowsRequest}. + * + *

WARNING: Please note that the project id & instance id in the table name will be overwritten + * by the configuration in the BigtableDataClient. + */ + public static Query fromProto(@Nonnull ReadRowsRequest request) { + Preconditions.checkArgument(request != null, "ReadRowsRequest must not be null"); + + Query query = new Query(NameUtil.extractTableIdFromTableName(request.getTableName())); + query.builder = request.toBuilder(); + + return query; + } + private static ByteString wrapKey(String key) { if (key == null) { return null; diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java index 780720fceea4..857a90916d14 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java @@ -38,7 +38,9 @@ import java.util.List; import java.util.SortedSet; 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; @@ -50,6 +52,8 @@ public class QueryTest { private static final String APP_PROFILE_ID = "fake-profile-id"; private RequestContext requestContext; + @Rule public ExpectedException expect = ExpectedException.none(); + @Before public void setUp() { requestContext = RequestContext.create(PROJECT_ID, INSTANCE_ID, APP_PROFILE_ID); @@ -226,4 +230,32 @@ private static ReadRowsRequest.Builder expectedProtoBuilder() { .setTableName(NameUtil.formatTableName(PROJECT_ID, INSTANCE_ID, TABLE_ID)) .setAppProfileId(APP_PROFILE_ID); } + + @Test + public void testFromProto() { + ReadRowsRequest request = + ReadRowsRequest.newBuilder() + .setTableName(NameUtil.formatTableName(PROJECT_ID, INSTANCE_ID, TABLE_ID)) + .setAppProfileId(APP_PROFILE_ID) + .setFilter(RowFilter.newBuilder().setRowKeyRegexFilter(ByteString.copyFromUtf8(".*"))) + .setRows( + RowSet.newBuilder() + .addRowKeys(ByteString.copyFromUtf8("row-key")) + .addRowRanges( + RowRange.newBuilder() + .setStartKeyClosed(ByteString.copyFromUtf8("j")) + .setEndKeyClosed(ByteString.copyFromUtf8("z")))) + .build(); + Query query = Query.fromProto(request); + + assertThat(query.toProto(requestContext)).isEqualTo(request); + } + + @Test(expected = IllegalArgumentException.class) + public void testFromProtoWithEmptyTableId() { + Query.fromProto(ReadRowsRequest.getDefaultInstance()); + + expect.expect(IllegalArgumentException.class); + expect.expectMessage("Invalid table name:"); + } } From 4dc2a5e8e27fb07a24538b395e55822880f7cd4e Mon Sep 17 00:00:00 2001 From: charlesliqlogic <45208557+charlesliqlogic@users.noreply.github.com> Date: Wed, 9 Jan 2019 17:24:21 -0500 Subject: [PATCH 06/90] Bigquery: corrected equality check on subclasses of StringEnumValue (#4283) * Bigquery: corrected equality check on subclasses of StringEnumValue * update format for FieldTest.java --- .../java/com/google/cloud/bigquery/Field.java | 3 ++- .../java/com/google/cloud/bigquery/Job.java | 10 ++++----- .../com/google/cloud/bigquery/FieldTest.java | 21 +++++++++++++++++++ .../bigquery/snippets/JobSnippets.java | 4 ++-- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java index 72b84a93ae31..ba0e45e5f358 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java @@ -125,7 +125,8 @@ public Builder setType(LegacySQLTypeName type, Field... subFields) { * Types */ public Builder setType(LegacySQLTypeName type, FieldList subFields) { - if (type == LegacySQLTypeName.RECORD) { + // LegacySQLTypeName is not an enum, cannot use reference equal. + if (LegacySQLTypeName.RECORD.equals(type)) { if (subFields == null || subFields.isEmpty()) { throw new IllegalArgumentException( "The " + type + " field must have at least one sub-field"); diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java index 0643c268b7e0..9a61192c4045 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java @@ -189,7 +189,7 @@ public boolean exists() { public boolean isDone() { checkNotDryRun("isDone"); Job job = bigquery.getJob(getJobId(), JobOption.fields(BigQuery.JobField.STATUS)); - return job == null || job.getStatus().getState() == JobStatus.State.DONE; + return job == null || JobStatus.State.DONE.equals(job.getStatus().getState()); } /** * Blocks until this job completes its execution, either failing or succeeding. This method @@ -293,7 +293,7 @@ public TableResult getQueryResults(QueryResultsOption... options) // Get the job resource to determine if it has errored. Job job = this; - if (job.getStatus() == null || job.getStatus().getState() != JobStatus.State.DONE) { + if (job.getStatus() == null || !JobStatus.State.DONE.equals(job.getStatus().getState())) { job = reload(); } if (job.getStatus() != null && job.getStatus().getError() != null) { @@ -362,7 +362,7 @@ public TimedAttemptSettings createNextAttempt( @Override public boolean shouldRetry(Throwable prevThrowable, Job prevResponse) { return prevResponse != null - && prevResponse.getStatus().getState() != JobStatus.State.DONE; + && !JobStatus.State.DONE.equals(prevResponse.getStatus().getState()); } }, options.getClock()); @@ -377,7 +377,7 @@ public boolean shouldRetry(Throwable prevThrowable, Job prevResponse) { *

Example of reloading all fields until job status is DONE. * *

{@code
-   * while (job.getStatus().getState() != JobStatus.State.DONE) {
+   * while (!JobStatus.State.DONE.equals(job.getStatus().getState())) {
    *   Thread.sleep(1000L);
    *   job = job.reload();
    * }
@@ -386,7 +386,7 @@ public boolean shouldRetry(Throwable prevThrowable, Job prevResponse) {
    * 

Example of reloading status field until job status is DONE. * *

{@code
-   * while (job.getStatus().getState() != JobStatus.State.DONE) {
+   * while (!JobStatus.State.DONE.equals(job.getStatus().getState())) {
    *   Thread.sleep(1000L);
    *   job = job.reload(BigQuery.JobOption.fields(BigQuery.JobField.STATUS));
    * }
diff --git a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/FieldTest.java b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/FieldTest.java
index ffa545cf91f6..4ba5ad0929a0 100644
--- a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/FieldTest.java
+++ b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/FieldTest.java
@@ -18,6 +18,11 @@
 
 import static org.junit.Assert.assertEquals;
 
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.InputStream;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
 import org.junit.Test;
 
 public class FieldTest {
@@ -92,6 +97,22 @@ public void testToAndFromPb() {
     compareFieldSchemas(field, Field.fromPb(field.toPb()));
   }
 
+  @Test
+  public void testSubFieldWithClonedType() throws Exception {
+    LegacySQLTypeName record = LegacySQLTypeName.RECORD;
+    ByteArrayOutputStream baos = new ByteArrayOutputStream();
+    ObjectOutputStream oos = new ObjectOutputStream(baos);
+    oos.writeObject(record);
+    oos.flush();
+    oos.close();
+    InputStream is = new ByteArrayInputStream(baos.toByteArray());
+    ObjectInputStream ois = new ObjectInputStream(is);
+    LegacySQLTypeName clonedRecord = (LegacySQLTypeName) ois.readObject();
+    ois.close();
+
+    Field.of("field", clonedRecord, Field.of("subfield", LegacySQLTypeName.BOOLEAN));
+  }
+
   private void compareFieldSchemas(Field expected, Field value) {
     assertEquals(expected, value);
     assertEquals(expected.getName(), value.getName());
diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/bigquery/snippets/JobSnippets.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigquery/snippets/JobSnippets.java
index 11729dd81db1..f9fb7b5fe376 100644
--- a/google-cloud-examples/src/main/java/com/google/cloud/examples/bigquery/snippets/JobSnippets.java
+++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigquery/snippets/JobSnippets.java
@@ -113,7 +113,7 @@ public boolean waitForWithOptions() throws InterruptedException {
   // [TARGET reload(JobOption...)]
   public JobStatus.State reload() throws InterruptedException {
     // [START ]
-    while (job.getStatus().getState() != JobStatus.State.DONE) {
+    while (!JobStatus.State.DONE.equals(job.getStatus().getState())) {
       Thread.sleep(1000L);
       job = job.reload();
     }
@@ -125,7 +125,7 @@ public JobStatus.State reload() throws InterruptedException {
   // [TARGET reload(JobOption...)]
   public JobStatus.State reloadStatus() throws InterruptedException {
     // [START ]
-    while (job.getStatus().getState() != JobStatus.State.DONE) {
+    while (!JobStatus.State.DONE.equals(job.getStatus().getState())) {
       Thread.sleep(1000L);
       job = job.reload(BigQuery.JobOption.fields(BigQuery.JobField.STATUS));
     }

From 0d5cbc14c4374f94d5d49dbf5efe89d26ee5b050 Mon Sep 17 00:00:00 2001
From: ajaaym <34161822+ajaaym@users.noreply.github.com>
Date: Wed, 9 Jan 2019 17:25:15 -0500
Subject: [PATCH 07/90] Fix #4269 update metata url to FQDN (#4278)

---
 .../src/main/java/com/google/cloud/MetadataConfig.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java
index 723404697095..81e95eda41a8 100644
--- a/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java
+++ b/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java
@@ -33,7 +33,7 @@
  */
 public class MetadataConfig {
 
-  private static final String METADATA_URL = "http://metadata/computeMetadata/v1/";
+  private static final String METADATA_URL = "http://metadata.google.internal/computeMetadata/v1/";
 
   private MetadataConfig() {}
 

From 1ee33dce9c137938be0650f065717700d78f9bf6 Mon Sep 17 00:00:00 2001
From: andrey-qlogic <44769745+andrey-qlogic@users.noreply.github.com>
Date: Thu, 10 Jan 2019 01:31:43 +0300
Subject: [PATCH 08/90] 4152: Added checking PAGE_TOKEN from options (#4303)

---
 .../cloud/storage/contrib/nio/testing/FakeStorageRpc.java   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/testing/FakeStorageRpc.java b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/testing/FakeStorageRpc.java
index d694c4d07a86..07cb169511a4 100644
--- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/testing/FakeStorageRpc.java
+++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/testing/FakeStorageRpc.java
@@ -123,9 +123,13 @@ public Tuple> list(String bucket, Map
       throws StorageException {
     String delimiter = null;
     String preprefix = "";
+    String pageToken = null;
     long maxResults = Long.MAX_VALUE;
     for (Map.Entry e : options.entrySet()) {
       switch (e.getKey()) {
+        case PAGE_TOKEN:
+          pageToken = (String) e.getValue();
+          break;
         case PREFIX:
           preprefix = (String) e.getValue();
           if (preprefix.startsWith("/")) {
@@ -173,7 +177,7 @@ public Tuple> list(String bucket, Map
     // again).
     // The type cast seems to be necessary to help Java's typesystem remember that collections are
     // iterable.
-    return Tuple.of(null, (Iterable) values);
+    return Tuple.of(pageToken, (Iterable) values);
   }
 
   /** Returns the requested bucket or {@code null} if not found. */

From 4aa0737f6c32ffe4057a3f6a3b22fb9d3620e0eb Mon Sep 17 00:00:00 2001
From: andrey-qlogic <44769745+andrey-qlogic@users.noreply.github.com>
Date: Thu, 10 Jan 2019 01:32:08 +0300
Subject: [PATCH 09/90] 3918: Added checking of attributes size for 0. Added
 unit test (#4304)

---
 .../contrib/nio/CloudStorageFileSystemProvider.java      | 6 ++++++
 .../contrib/nio/CloudStorageFileAttributesTest.java      | 9 +++++++++
 2 files changed, 15 insertions(+)

diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java
index d4d7e0a246ee..4f22c9aeb89e 100644
--- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java
+++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java
@@ -768,6 +768,12 @@ public  A readAttributes(
         }
         CloudStorageObjectAttributes ret;
         ret = new CloudStorageObjectAttributes(blobInfo);
+        // if size is 0 it could be a folder
+        if (ret.size() == 0 && cloudPath.seemsLikeADirectoryAndUsePseudoDirectories(storage)) {
+          @SuppressWarnings("unchecked")
+          A result = (A) new CloudStoragePseudoDirectoryAttributes(cloudPath);
+          return result;
+        }
         @SuppressWarnings("unchecked")
         A result = (A) ret;
         return result;
diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/CloudStorageFileAttributesTest.java b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/CloudStorageFileAttributesTest.java
index 472c0cf0a5ce..041c66670ff7 100644
--- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/CloudStorageFileAttributesTest.java
+++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/CloudStorageFileAttributesTest.java
@@ -38,6 +38,7 @@
 public class CloudStorageFileAttributesTest {
 
   private static final byte[] HAPPY = "(✿◕ ‿◕ )ノ".getBytes(UTF_8);
+  private static final byte[] EMPTY = "".getBytes(UTF_8);
 
   private Path path;
   private Path dir;
@@ -104,6 +105,14 @@ public void testIsDirectory() throws IOException {
     assertThat(Files.readAttributes(dir, CloudStorageFileAttributes.class).isDirectory()).isTrue();
   }
 
+  @Test
+  public void testIsPseudoDirectory() throws IOException {
+    Files.write(path, EMPTY);
+    assertThat(Files.readAttributes(path, CloudStorageFileAttributes.class).isDirectory())
+        .isFalse();
+    assertThat(Files.readAttributes(dir, CloudStorageFileAttributes.class).isDirectory()).isTrue();
+  }
+
   @Test
   public void testIsRegularFile() throws IOException {
     Files.write(path, HAPPY);

From 91477f03097b0fd57a7561e0340568b611476aa6 Mon Sep 17 00:00:00 2001
From: Igor Bernstein 
Date: Wed, 9 Jan 2019 19:10:44 -0500
Subject: [PATCH 10/90] Bigtable: Merge bigtable-admin into the bigtable
 artifact (#4307)

* Bigtable: merge bigtable-admin into the bigtable artifact

* split exclusion change for future PR

* fix admin pathes

* fix deprecation warning

* fix synth script

* fix generated file

* temporarily re-add kokoro scripts (and point them to the merged artifact) until the jobs have been removed

* Remove dep from examples

* fix admin integration tests

* revert stray fix (will be added to a separate PR)

* fix int tests

* don't double format the code

* fix up docs
---
 .kokoro/continuous/bigtableadmin-it.cfg       |   2 +-
 .kokoro/nightly/bigtableadmin-it.cfg          |   2 +-
 .kokoro/presubmit/bigtableadmin-it.cfg        |   2 +-
 README.md                                     |   1 -
 TESTING.md                                    |  21 +--
 .../google-cloud-bigtable-admin/README.md     | 133 +-----------------
 .../google-cloud-bigtable-admin/pom.xml       | 111 +--------------
 .../admin/v2/internal/DeprecationMarker.java  |  28 ++++
 .../synth.metadata                            |  27 ----
 .../google-cloud-bigtable-admin/synth.py      |  40 ------
 .../google-cloud-bigtable/README.md           |  16 +--
 .../google-cloud-bigtable/pom.xml             |   6 +
 .../v2/BaseBigtableInstanceAdminClient.java   |   0
 .../v2/BaseBigtableInstanceAdminSettings.java |   0
 .../v2/BaseBigtableTableAdminClient.java      |   0
 .../v2/BaseBigtableTableAdminSettings.java    |   0
 .../admin/v2/BigtableInstanceAdminClient.java |   4 +
 .../v2/BigtableInstanceAdminSettings.java     |   0
 .../admin/v2/BigtableTableAdminClient.java    |   5 +
 .../admin/v2/BigtableTableAdminSettings.java  |   0
 .../internal/ArtifactDeprecationChecker.java  |  51 +++++++
 .../bigtable/admin/v2/internal/NameUtil.java  |   0
 .../bigtable/admin/v2/models/AppProfile.java  |   0
 .../bigtable/admin/v2/models/Cluster.java     |   0
 .../admin/v2/models/ColumnFamily.java         |   0
 .../v2/models/CreateAppProfileRequest.java    |   0
 .../admin/v2/models/CreateClusterRequest.java |   0
 .../v2/models/CreateInstanceRequest.java      |   0
 .../admin/v2/models/CreateTableRequest.java   |   0
 .../bigtable/admin/v2/models/GCRules.java     |   0
 .../bigtable/admin/v2/models/Instance.java    |   0
 .../models/ModifyColumnFamiliesRequest.java   |   0
 .../models/PartialListClustersException.java  |   0
 .../models/PartialListInstancesException.java |   0
 .../bigtable/admin/v2/models/StorageType.java |   0
 .../cloud/bigtable/admin/v2/models/Table.java |   0
 .../v2/models/UpdateAppProfileRequest.java    |   0
 .../v2/models/UpdateInstanceRequest.java      |   0
 .../cloud/bigtable/admin/v2/package-info.java |   0
 .../v2/stub/AwaitReplicationCallable.java     |   0
 .../v2/stub/BigtableInstanceAdminStub.java    |   0
 .../BigtableInstanceAdminStubSettings.java    |   0
 .../admin/v2/stub/BigtableTableAdminStub.java |   0
 .../stub/BigtableTableAdminStubSettings.java  |   0
 .../stub/EnhancedBigtableTableAdminStub.java  |   0
 ...cBigtableInstanceAdminCallableFactory.java |   0
 .../stub/GrpcBigtableInstanceAdminStub.java   |   0
 ...GrpcBigtableTableAdminCallableFactory.java |   0
 .../v2/stub/GrpcBigtableTableAdminStub.java   |   0
 .../BaseBigtableInstanceAdminClientTest.java  |   0
 .../v2/BaseBigtableTableAdminClientTest.java  |   0
 .../v2/BigtableInstanceAdminClientTest.java   |   0
 .../v2/BigtableInstanceAdminSettingsTest.java |   0
 .../v2/BigtableTableAdminClientTest.java      |   0
 .../v2/BigtableTableAdminSettingsTest.java    |   0
 .../admin/v2/MockBigtableInstanceAdmin.java   |   0
 .../v2/MockBigtableInstanceAdminImpl.java     |   0
 .../admin/v2/MockBigtableTableAdmin.java      |   0
 .../admin/v2/MockBigtableTableAdminImpl.java  |   0
 .../v2/it/BigtableTableAdminClientIT.java     |   0
 .../admin/v2/models/AppProfileTest.java       |   0
 .../bigtable/admin/v2/models/ClusterTest.java |   0
 .../models/CreateAppProfileRequestTest.java   |   0
 .../v2/models/CreateClusterRequestTest.java   |   0
 .../bigtable/admin/v2/models/GCRulesTest.java |   0
 .../admin/v2/models/InstanceTest.java         |   0
 .../admin/v2/models/StorageTypeTest.java      |   0
 .../v2/models/TableAdminRequestsTest.java     |   0
 .../bigtable/admin/v2/models/TableTest.java   |   0
 .../models/UpdateAppProfileRequestTest.java   |   0
 .../v2/models/UpdateInstanceRequestTest.java  |   0
 .../v2/stub/AwaitReplicationCallableTest.java |   0
 .../google-cloud-bigtable/synth.py            |  48 ++++---
 google-cloud-examples/pom.xml                 |   4 -
 74 files changed, 139 insertions(+), 362 deletions(-)
 create mode 100644 google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/internal/DeprecationMarker.java
 delete mode 100644 google-cloud-clients/google-cloud-bigtable-admin/synth.metadata
 delete mode 100644 google-cloud-clients/google-cloud-bigtable-admin/synth.py
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java (99%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettings.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java (99%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettings.java (100%)
 create mode 100644 google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/internal/ArtifactDeprecationChecker.java
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/internal/NameUtil.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/AppProfile.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/Cluster.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/ColumnFamily.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateInstanceRequest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateTableRequest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/GCRules.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/Instance.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/ModifyColumnFamiliesRequest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListClustersException.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListInstancesException.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/StorageType.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/Table.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallable.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/EnhancedBigtableTableAdminStub.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClientTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettingsTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettingsTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/AppProfileTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/ClusterTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequestTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequestTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/GCRulesTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/InstanceTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/StorageTypeTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableAdminRequestsTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequestTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequestTest.java (100%)
 rename google-cloud-clients/{google-cloud-bigtable-admin => google-cloud-bigtable}/src/test/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallableTest.java (100%)

diff --git a/.kokoro/continuous/bigtableadmin-it.cfg b/.kokoro/continuous/bigtableadmin-it.cfg
index 5625893dd94b..b5129e51121e 100644
--- a/.kokoro/continuous/bigtableadmin-it.cfg
+++ b/.kokoro/continuous/bigtableadmin-it.cfg
@@ -8,7 +8,7 @@ env_vars: {
 
 env_vars: {
     key: "INTEGRATION_TEST_ARGS"
-    value: "google-cloud-clients/google-cloud-bigtable-admin -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable"
+    value: "google-cloud-clients/google-cloud-bigtable -Dbigtable.env=prod -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable -Dbigtable.table=integration-tests"
 }
 
 env_vars: {
diff --git a/.kokoro/nightly/bigtableadmin-it.cfg b/.kokoro/nightly/bigtableadmin-it.cfg
index 5625893dd94b..b5129e51121e 100644
--- a/.kokoro/nightly/bigtableadmin-it.cfg
+++ b/.kokoro/nightly/bigtableadmin-it.cfg
@@ -8,7 +8,7 @@ env_vars: {
 
 env_vars: {
     key: "INTEGRATION_TEST_ARGS"
-    value: "google-cloud-clients/google-cloud-bigtable-admin -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable"
+    value: "google-cloud-clients/google-cloud-bigtable -Dbigtable.env=prod -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable -Dbigtable.table=integration-tests"
 }
 
 env_vars: {
diff --git a/.kokoro/presubmit/bigtableadmin-it.cfg b/.kokoro/presubmit/bigtableadmin-it.cfg
index 5625893dd94b..b5129e51121e 100644
--- a/.kokoro/presubmit/bigtableadmin-it.cfg
+++ b/.kokoro/presubmit/bigtableadmin-it.cfg
@@ -8,7 +8,7 @@ env_vars: {
 
 env_vars: {
     key: "INTEGRATION_TEST_ARGS"
-    value: "google-cloud-clients/google-cloud-bigtable-admin -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable"
+    value: "google-cloud-clients/google-cloud-bigtable -Dbigtable.env=prod -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable -Dbigtable.table=integration-tests"
 }
 
 env_vars: {
diff --git a/README.md b/README.md
index d13554ee7d29..1ab2a6b37238 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,6 @@ This library supports the following Google Cloud Platform services with clients
 This library supports the following Google Cloud Platform services with clients at an [Alpha](#versioning) quality level:
 
 -  [Cloud Bigtable](google-cloud-clients/google-cloud-bigtable) (Alpha)
--  [Cloud Bigtable Admin](google-cloud-clients/google-cloud-bigtable-admin) (Alpha)
 -  [Cloud Compute](google-cloud-clients/google-cloud-compute) (Alpha)
 -  [Cloud Dataproc](google-cloud-clients/google-cloud-dataproc) (Alpha)
 -  [Cloud DNS](google-cloud-clients/google-cloud-dns) (Alpha)
diff --git a/TESTING.md b/TESTING.md
index 1b37a4b0d4eb..268e0fb73cf6 100644
--- a/TESTING.md
+++ b/TESTING.md
@@ -56,8 +56,8 @@ To use the `prod` environment:
 2. Download the [JSON service account credentials file][create-service-account] from the Google 
    Developer's Console.
 3. Set the environment variable `GOOGLE_APPLICATION_CREDENTIALS` to the path of the credentials file
-4. Set the system property `bigtable.env=prod` and `bigtable.table` to the full table name you 
-    created earlier. Example: 
+4. Set the system property `bigtable.env=prod`, `bigtable.project`, `bigtable.instance` and
+   `bigtable.table` to created earlier. Example: 
     ```shell
     mvn verify -am -pl google-cloud-bigtable \
       -Dbigtable.env=prod \
@@ -66,23 +66,6 @@ To use the `prod` environment:
       -Dbigtable.table=my-table
     ```
 
-### Testing code that uses Bigtable Admin
-
-Bigtable Admin integration tests are run against a real Bigtable instance.
-
-To run the tests:
-1. Set up the target table using `google-cloud-bigtable/scripts/setup-test-table.sh`
-2. Download the [JSON service account credentials file][create-service-account] from the Google
-   Developer's Console.
-3. Set the environment variable `GOOGLE_APPLICATION_CREDENTIALS` to the path of the credentials file
-4. Set the system property `bigtable.instance` to the full instance name you
-    created earlier. Example:
-    ```shell
-    mvn verify -am -pl google-cloud-bigtable-admin \
-      -Dbigtable.project=my-project
-      -Dbigtable.instance=my-instance
-    ```
-
 ### Testing code that uses Compute
 
 Currently, there isn't an emulator for Google Compute, so an alternative is to create a test
diff --git a/google-cloud-clients/google-cloud-bigtable-admin/README.md b/google-cloud-clients/google-cloud-bigtable-admin/README.md
index c3ab04696faf..34e1d679997d 100644
--- a/google-cloud-clients/google-cloud-bigtable-admin/README.md
+++ b/google-cloud-clients/google-cloud-bigtable-admin/README.md
@@ -1,133 +1,4 @@
 # Google Cloud Java Client for Bigtable Admin
 
-Java idiomatic client for [Cloud Bigtable Admin][cloud-bigtable]. Please note that this client is under
-heavy development and is not ready for production use. Please continue to use the 
-[HBase API client](https://github.com/GoogleCloudPlatform/cloud-bigtable-client) for production.
-
-[![Kokoro CI](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.svg)](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.html)
-[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigtable.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigtable-admin.svg)
-[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java)
-
-- [Product Documentation][bigtable-product-docs]
-- [Client Library Documentation][bigtable-admin-client-lib-docs]
-
-> Note: This client is under heavy development and should not be used in production.
-
-## Quickstart
-
-[//]: # ({x-version-update-start:google-cloud-bigtable-admin:released})
-If you are using Maven, add this to your pom.xml file
-```xml
-
-  com.google.cloud
-  google-cloud-bigtable-admin
-  0.76.0-alpha
-
-```
-If you are using Gradle, add this to your dependencies
-```Groovy
-compile 'com.google.cloud:google-cloud-bigtable-admin:0.76.0-alpha'
-```
-If you are using SBT, add this to your dependencies
-```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.76.0-alpha"
-```
-[//]: # ({x-version-update-end})
-
-## Authentication
-
-See the
-[Authentication](https://github.com/GoogleCloudPlatform/google-cloud-java#authentication)
-section in the base directory's README.
-
-## About Cloud Bigtable Admin
-
-[Cloud Bigtable][cloud-bigtable] is Google's NoSQL Big Data database service. It's 
-the same database that powers many core Google services, including Search, Analytics, Maps, and
-Gmail. The API is split into the data api and the admin api. This client targets the admin api.
-
-Be sure to activate the Cloud Bigtable Admin API on the Developer's Console to use Cloud Bigtable
-from your project.
-
-See the [Bigtable Amin client lib docs][bigtable-admin-client-lib-docs] to learn how to
-interact with Cloud Bigtable Admin API using this Client Library.
-
-## Getting Started
-#### Prerequisites
-For this tutorial, you will need a
-[Google Developers Console](https://console.developers.google.com/) project with the Cloud Bigtable 
-API enabled. You will need to 
-[enable billing](https://support.google.com/cloud/answer/6158867?hl=en) to use Google Cloud Bigtable.
-[Follow these instructions](https://cloud.google.com/resource-manager/docs/creating-managing-projects) to get your
-project set up. You will also need to set up the local development environment by [installing the
-Google Cloud SDK](https://cloud.google.com/sdk/) and running the following commands in command line:
-`gcloud auth login`.
-
-#### Calling Cloud Bigtable
-
-The Cloud Bigtable API is split into 2 parts: Data API, Instance Admin API and Table Admin API.
-
-Here is a code snippet showing simple usage of the Table API. Add the following imports
-at the top of your file:
-
-
-```java
-import static com.google.cloud.bigtable.admin.v2.models.GCRules.GCRULES;
-import com.google.bigtable.admin.v2.InstanceName;
-import com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient;
-import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest;
-import com.google.cloud.bigtable.admin.v2.models.Table;
-```
-
-Then, to create a table, use the following code:
-```java
-InstanceName instanceName = InstanceName.of("my-project", "my-instance");
-
-BigtableTableAdminClient tableAdminClient = BigtableTableAdminClient.create(instanceName);
-
-try {
-  Table createdTable = tableAdminClient.createTable(
-    CreateTableRequest.of("my-table")
-      .addFamily("cf2", GCRULES.maxVersions(10));
-} finally {
-  tableAdminClient.close();
-}
-```
-
-## Troubleshooting
-
-To get help, follow the instructions in the [shared Troubleshooting
-document](https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting).
-
-Transport
----------
-Bigtable uses gRPC for the transport layer.
-
-## Java Versions
-
-Java 7 or above is required for using this client.
-
-## Versioning
-
-This library follows [Semantic Versioning](http://semver.org/).
-
-It is currently in major version zero (`0.y.z`), which means that anything may
-change at any time and the public API should not be considered stable.
-
-## Contributing
-
-Contributions to this library are always welcome and highly encouraged.
-
-See [CONTRIBUTING] for more information on how to get started and [DEVELOPING] for a layout of the
-codebase.
-
-## License
-
-Apache 2.0 - See [LICENSE] for more information.
-
-[CONTRIBUTING]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CONTRIBUTING.md
-[LICENSE]: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/LICENSE
-[cloud-platform]: https://cloud.google.com/
-[cloud-bigtable]: https://cloud.google.com/bigtable/
-[bigtable-product-docs]: https://cloud.google.com/bigtable/docs/
-[bigtable-admin-client-lib-docs]: https://googleapis.github.io/google-cloud-java/google-cloud-clients/apidocs/index.html?com/google/cloud/bigtable/admin/v2/package-summary.html
+This project has been merged into google-cloud-bigtable and will soon
+be deleted.
\ No newline at end of file
diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml
index d0b30c692aa5..3102554f3079 100644
--- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml
+++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml
@@ -14,119 +14,10 @@
     google-cloud-clients
     0.76.1-alpha-SNAPSHOT
   
-  
-    google-cloud-bigtable-admin
-  
   
     
       ${project.groupId}
-      google-cloud-core
-    
-    
-      ${project.groupId}
-      google-cloud-core-grpc
-    
-    
-      com.google.api.grpc
-      proto-google-cloud-bigtable-admin-v2
-    
-    
-      com.google.api.grpc
-      grpc-google-cloud-bigtable-admin-v2
-      test
-    
-    
-      io.grpc
-      grpc-netty-shaded
-    
-    
-      io.grpc
-      grpc-stub
-    
-    
-      io.grpc
-      grpc-auth
-    
-
-    
-      com.google.auto.value
-      auto-value
-      provided
-    
-
-    
-    
-      com.google.api
-      gax
-      testlib
-      test
-    
-    
-      junit
-      junit
-      test
-    
-    
-      org.mockito
-      mockito-all
-      test
-    
-    
-      com.google.truth
-      truth
-      test
-    
-    
-    
-      com.google.api
-      gax-grpc
-      testlib
-      test
-    
-    
-      io.grpc
-      grpc-testing
-      test
+      google-cloud-bigtable
     
   
-  
-    
-      
-        org.apache.maven.plugins
-        maven-failsafe-plugin
-        2.19.1
-        
-          
-            
-              integration-test
-              verify
-            
-          
-        
-        
-          classes
-          true
-          2
-        
-        
-          
-            org.apache.maven.surefire
-            surefire-junit4
-            2.19.1
-          
-        
-      
-      
-        maven-surefire-plugin
-        2.19.1
-        
-          
-            org.apache.maven.surefire
-            surefire-junit4
-            2.19.1
-          
-        
-      
-    
-  
 
diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/internal/DeprecationMarker.java b/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/internal/DeprecationMarker.java
new file mode 100644
index 000000000000..fd1e724d123c
--- /dev/null
+++ b/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/internal/DeprecationMarker.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.bigtable.admin.v2.internal;
+
+/**
+ * Marker class whose existence can be used to detect uses of the deprecated
+ * google-cloud-bigtable-admin artifact
+ *
+ * 

This class is considered an internal implementation detail and not meant to be used by + * applications. + * + * @deprecated Please migrate to using the google-cloud-bigtable artifact + */ +@Deprecated +public final class DeprecationMarker {} diff --git a/google-cloud-clients/google-cloud-bigtable-admin/synth.metadata b/google-cloud-clients/google-cloud-bigtable-admin/synth.metadata deleted file mode 100644 index 2bd4f07a69a5..000000000000 --- a/google-cloud-clients/google-cloud-bigtable-admin/synth.metadata +++ /dev/null @@ -1,27 +0,0 @@ -{ - "sources": [ - { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" - } - }, - { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" - } - }, - { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" - } - } - ] -} diff --git a/google-cloud-clients/google-cloud-bigtable-admin/synth.py b/google-cloud-clients/google-cloud-bigtable-admin/synth.py deleted file mode 100644 index 7ac3b5755f63..000000000000 --- a/google-cloud-clients/google-cloud-bigtable-admin/synth.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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. - -"""This script is used to synthesize generated parts of this library.""" - -import synthtool as s -import synthtool.gcp as gcp -import synthtool.languages.java as java - -gapic = gcp.GAPICGenerator() - -service = 'bigtable-admin' -versions = ['v2'] -config_pattern = '/google/bigtable/admin/artman_bigtableadmin.yaml' - -for version in versions: - library = gapic.java_library( - service=service, - version=version, - config_path=config_pattern.format(version=version), - artman_output_name='') - - s.copy(library / f'gapic-google-cloud-{service}-{version}/src', 'src') - s.copy(library / f'grpc-google-cloud-{service}-{version}/src', f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') - s.copy(library / f'proto-google-cloud-{service}-{version}/src', f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') - - java.format_code('./src') - java.format_code(f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') - java.format_code(f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') diff --git a/google-cloud-clients/google-cloud-bigtable/README.md b/google-cloud-clients/google-cloud-bigtable/README.md index 1fff53b41f57..125293844e57 100644 --- a/google-cloud-clients/google-cloud-bigtable/README.md +++ b/google-cloud-clients/google-cloud-bigtable/README.md @@ -107,10 +107,10 @@ The Admin APIs are similar. Here is a code snippet showing how to create a table imports at the top of your file: ```java -import com.google.bigtable.admin.v2.ColumnFamily; -import com.google.bigtable.admin.v2.InstanceName; -import com.google.bigtable.admin.v2.Table; +import static com.google.cloud.bigtable.admin.v2.models.GCRules.GCRULES; import com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient; +import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest; +import com.google.cloud.bigtable.admin.v2.models.Table; ``` Then, to create a table, use the following code: @@ -118,15 +118,13 @@ Then, to create a table, use the following code: String projectId = "my-instance"; String instanceId = "my-database"; -BigtableTableAdminClient tableAdminClient = BigtableTableAdminClient.create(); +BigtableTableAdminClient tableAdminClient = BigtableTableAdminClient + .create(projectId, instanceId); try { tableAdminClient.createTable( - InstanceName.of(projectId, instanceId), - "new-table-id", - Table.newBuilder() - .putColumnFamilies("my-family", ColumnFamily.getDefaultInstance()) - .build() + CreateTableRequest.of("my-table") + .addFamily("my-family") ); } finally { tableAdminClient.close(); diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index 63ae5d460919..c6fdad0327cc 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -79,6 +79,12 @@ truth test + + com.google.api + gax + testlib + test + com.google.api diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java similarity index 99% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java index 7c673bae7b1d..94d05f97ac72 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java @@ -29,6 +29,7 @@ import com.google.cloud.Policy.DefaultMarshaller; import com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPage; import com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import com.google.cloud.bigtable.admin.v2.internal.ArtifactDeprecationChecker; import com.google.cloud.bigtable.admin.v2.internal.NameUtil; import com.google.cloud.bigtable.admin.v2.models.AppProfile; import com.google.cloud.bigtable.admin.v2.models.Cluster; @@ -99,6 +100,9 @@ * }

*/ public final class BigtableInstanceAdminClient implements AutoCloseable { + static { + ArtifactDeprecationChecker.checkDeprecatedArtifactUse(); + } private final String projectId; private final BigtableInstanceAdminStub stub; diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettings.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettings.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettings.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java similarity index 99% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java index c4d3b88314f9..8f5185a19396 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java @@ -27,6 +27,7 @@ import com.google.bigtable.admin.v2.ListTablesRequest; import com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPage; import com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; +import com.google.cloud.bigtable.admin.v2.internal.ArtifactDeprecationChecker; import com.google.cloud.bigtable.admin.v2.internal.NameUtil; import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest; import com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest; @@ -94,6 +95,10 @@ */ public final class BigtableTableAdminClient implements AutoCloseable { + static { + ArtifactDeprecationChecker.checkDeprecatedArtifactUse(); + } + private final EnhancedBigtableTableAdminStub stub; private final String projectId; private final String instanceId; diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettings.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettings.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettings.java diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/internal/ArtifactDeprecationChecker.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/internal/ArtifactDeprecationChecker.java new file mode 100644 index 000000000000..ff239d13cd26 --- /dev/null +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/internal/ArtifactDeprecationChecker.java @@ -0,0 +1,51 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.bigtable.admin.v2.internal; + +import com.google.api.core.InternalApi; +import java.util.logging.Logger; + +/** + * This class detects usage of and notifies users that the google-cloud-bigtable-admin artifact has + * been deprecated in favor of the merged google-cloud-bigtable artifact. + * + *

This class is considered an internal implementation detail and not meant to be used by + * applications. + */ +@InternalApi +public final class ArtifactDeprecationChecker { + private static final Logger LOGGER = Logger.getLogger(ArtifactDeprecationChecker.class.getName()); + + public static void checkDeprecatedArtifactUse() { + if (isDeprecationMarkerPresent()) { + LOGGER.warning( + "google-cloud-bigtable-admin has been merged into google-cloud-bigtable." + + " Please update your build file to stop depending on google-cloud-bigtable-admin" + + " and use google-cloud-bigtable directly."); + } + } + + private static boolean isDeprecationMarkerPresent() { + try { + ArtifactDeprecationChecker.class + .getClassLoader() + .loadClass("com.google.cloud.bigtable.admin.v2.internal.DeprecationMarker"); + return true; + } catch (ClassNotFoundException e) { + return false; + } + } +} diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/internal/NameUtil.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/internal/NameUtil.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/internal/NameUtil.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/internal/NameUtil.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/AppProfile.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/AppProfile.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/AppProfile.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/AppProfile.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/Cluster.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Cluster.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/Cluster.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Cluster.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/ColumnFamily.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/ColumnFamily.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/ColumnFamily.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/ColumnFamily.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequest.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequest.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequest.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequest.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateInstanceRequest.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateInstanceRequest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateInstanceRequest.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateInstanceRequest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateTableRequest.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateTableRequest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateTableRequest.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/CreateTableRequest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/GCRules.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/GCRules.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/GCRules.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/GCRules.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/Instance.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Instance.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/Instance.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Instance.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/ModifyColumnFamiliesRequest.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/ModifyColumnFamiliesRequest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/ModifyColumnFamiliesRequest.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/ModifyColumnFamiliesRequest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListClustersException.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListClustersException.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListClustersException.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListClustersException.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListInstancesException.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListInstancesException.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListInstancesException.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/PartialListInstancesException.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/StorageType.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/StorageType.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/StorageType.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/StorageType.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/Table.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Table.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/Table.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/Table.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequest.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequest.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequest.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequest.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallable.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallable.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallable.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallable.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/EnhancedBigtableTableAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/EnhancedBigtableTableAdminStub.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/EnhancedBigtableTableAdminStub.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/EnhancedBigtableTableAdminStub.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java rename to google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClientTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClientTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClientTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettingsTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettingsTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettingsTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettingsTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClientTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettingsTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettingsTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettingsTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettingsTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/AppProfileTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/AppProfileTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/AppProfileTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/AppProfileTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/ClusterTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/ClusterTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/ClusterTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/ClusterTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequestTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequestTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequestTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateAppProfileRequestTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequestTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequestTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequestTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/CreateClusterRequestTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/GCRulesTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/GCRulesTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/GCRulesTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/GCRulesTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/InstanceTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/InstanceTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/InstanceTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/InstanceTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/StorageTypeTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/StorageTypeTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/StorageTypeTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/StorageTypeTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableAdminRequestsTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableAdminRequestsTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableAdminRequestsTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableAdminRequestsTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/TableTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequestTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequestTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequestTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateAppProfileRequestTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequestTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequestTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequestTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/models/UpdateInstanceRequestTest.java diff --git a/google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallableTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallableTest.java similarity index 100% rename from google-cloud-clients/google-cloud-bigtable-admin/src/test/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallableTest.java rename to google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/stub/AwaitReplicationCallableTest.java diff --git a/google-cloud-clients/google-cloud-bigtable/synth.py b/google-cloud-clients/google-cloud-bigtable/synth.py index 132233132df1..f2b6178ac702 100644 --- a/google-cloud-clients/google-cloud-bigtable/synth.py +++ b/google-cloud-clients/google-cloud-bigtable/synth.py @@ -20,21 +20,33 @@ gapic = gcp.GAPICGenerator() -service = 'bigtable' -versions = ['v2'] -config_pattern = '/google/bigtable/artman_bigtable.yaml' - -for version in versions: - library = gapic.java_library( - service=service, - version=version, - config_path=config_pattern.format(version=version), - artman_output_name='') - - s.copy(library / f'gapic-google-cloud-{service}-{version}/src', 'src') - s.copy(library / f'grpc-google-cloud-{service}-{version}/src', f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') - s.copy(library / f'proto-google-cloud-{service}-{version}/src', f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') - - java.format_code('./src') - java.format_code(f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') - java.format_code(f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') +data_library = gapic.java_library( + service='bigtable', + version='v2', + config_path='/google/bigtable/artman_bigtable.yaml', + artman_output_name='') + + +s.copy(data_library / 'gapic-google-cloud-bigtable-v2/src', 'src') +s.copy(data_library / 'grpc-google-cloud-bigtable-v2/src', '../../google-api-grpc/grpc-google-cloud-bigtable-v2/src') +s.copy(data_library / 'proto-google-cloud-bigtable-v2/src', '../../google-api-grpc/proto-google-cloud-bigtable-v2/src') + +java.format_code('../../google-api-grpc/grpc-google-cloud-bigtable-v2/src') +java.format_code('../../google-api-grpc/proto-google-cloud-bigtable-v2/src') + + +admin_library = gapic.java_library( + service='bigtable-admin', + version='v2', + config_path='/google/bigtable/admin/artman_bigtableadmin.yaml', + artman_output_name='') + + +s.copy(admin_library / 'gapic-google-cloud-bigtable-admin-v2/src', 'src') +s.copy(admin_library / 'grpc-google-cloud-bigtable-admin-v2/src', '../../google-api-grpc/grpc-google-cloud-bigtable-admin-v2/src') +s.copy(admin_library / 'proto-google-cloud-bigtable-admin-v2/src', '../../google-api-grpc/proto-google-cloud-bigtable-admin-v2/src') + +java.format_code('../../google-api-grpc/grpc-google-cloud-bigtable-admin-v2/src') +java.format_code('../../google-api-grpc/proto-google-cloud-bigtable-admin-v2/src') + +java.format_code('./src') diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index ada6587b8e3f..a96ce675a5f2 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -29,10 +29,6 @@ com.google.cloud google-cloud-bigquery - - com.google.cloud - google-cloud-bigtable-admin - com.google.cloud google-cloud-bigtable From 31aa146f1e753e313620c603facd1003f44352d3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Wed, 9 Jan 2019 16:30:32 -0800 Subject: [PATCH 11/90] Regenerate PubSub: documentation updates (#4293) --- .../com/google/pubsub/v1/PublisherGrpc.java | 48 ++- .../com/google/pubsub/v1/SubscriberGrpc.java | 272 +++++++++---- .../pubsub/v1/CreateSnapshotRequest.java | 58 ++- .../v1/CreateSnapshotRequestOrBuilder.java | 21 +- .../pubsub/v1/DeleteSnapshotRequest.java | 4 +- .../google/pubsub/v1/GetSnapshotRequest.java | 4 +- .../pubsub/v1/ListSnapshotsRequest.java | 4 +- .../pubsub/v1/ListSnapshotsResponse.java | 4 +- .../pubsub/v1/ListTopicSnapshotsRequest.java | 8 +- .../pubsub/v1/ListTopicSnapshotsResponse.java | 4 +- .../pubsub/v1/MessageStoragePolicy.java | 52 +-- .../v1/MessageStoragePolicyOrBuilder.java | 16 +- .../pubsub/v1/ModifyAckDeadlineRequest.java | 20 +- .../v1/ModifyAckDeadlineRequestOrBuilder.java | 5 +- .../com/google/pubsub/v1/PubsubMessage.java | 16 +- .../com/google/pubsub/v1/PubsubProto.java | 5 +- .../com/google/pubsub/v1/SeekRequest.java | 8 +- .../java/com/google/pubsub/v1/Snapshot.java | 51 ++- .../google/pubsub/v1/SnapshotOrBuilder.java | 15 +- .../com/google/pubsub/v1/Subscription.java | 125 +++--- .../pubsub/v1/SubscriptionOrBuilder.java | 38 +- .../main/java/com/google/pubsub/v1/Topic.java | 33 +- .../com/google/pubsub/v1/TopicOrBuilder.java | 15 +- .../pubsub/v1/UpdateSnapshotRequest.java | 4 +- .../main/proto/google/pubsub/v1/pubsub.proto | 163 +++++--- .../pubsub/v1/SubscriptionAdminClient.java | 362 +++++++++++------- .../cloud/pubsub/v1/TopicAdminClient.java | 12 +- .../google-cloud-pubsub/synth.metadata | 10 +- 28 files changed, 885 insertions(+), 492 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java index 184216ee2412..33d1e71762f8 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java @@ -462,7 +462,8 @@ public abstract static class PublisherImplBase implements io.grpc.BindableServic * *

      * Creates the given topic with the given name. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * 
*/ public void createTopic( @@ -543,8 +544,13 @@ public void listTopicSubscriptions( * * *
-     * Lists the names of the snapshots on this topic.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Lists the names of the snapshots on this topic. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -656,7 +662,8 @@ protected PublisherStub build(io.grpc.Channel channel, io.grpc.CallOptions callO * *
      * Creates the given topic with the given name. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * 
*/ public void createTopic( @@ -755,8 +762,13 @@ public void listTopicSubscriptions( * * *
-     * Lists the names of the snapshots on this topic.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Lists the names of the snapshots on this topic. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -821,7 +833,8 @@ protected PublisherBlockingStub build( * *
      * Creates the given topic with the given name. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * 
*/ public com.google.pubsub.v1.Topic createTopic(com.google.pubsub.v1.Topic request) { @@ -896,8 +909,13 @@ public com.google.pubsub.v1.ListTopicSubscriptionsResponse listTopicSubscription * * *
-     * Lists the names of the snapshots on this topic.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Lists the names of the snapshots on this topic. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -953,7 +971,8 @@ protected PublisherFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * *
      * Creates the given topic with the given name. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -1035,8 +1054,13 @@ public com.google.common.util.concurrent.ListenableFuture - * Lists the names of the snapshots on this topic.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * Lists the names of the snapshots on this topic. Snapshots are used in + * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> + * operations, which allow + * you to manage message acknowledgments in bulk. That is, you can set the + * acknowledgment state of messages in an existing subscription to the state + * captured by a snapshot.<br><br> + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java index ad439b0be39d..0e6414fd4823 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java @@ -862,13 +862,14 @@ public abstract static class SubscriberImplBase implements io.grpc.BindableServi * *
      * Creates a subscription to a given topic. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * If the subscription already exists, returns `ALREADY_EXISTS`.
      * If the corresponding topic doesn't exist, returns `NOT_FOUND`.
      * If the name is not provided in the request, the server will assign a random
      * name for this subscription on the same project as the topic, conforming
      * to the
-     * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
      * The generated name is populated in the returned Subscription object.
      * Note that for REST API requests, you must specify a name in the request.
      * 
@@ -1026,8 +1027,12 @@ public void modifyPushConfig( * * *
-     * Gets the configuration details of a snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Gets the configuration details of a snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow you to manage message acknowledgments in bulk. That
+     * is, you can set the acknowledgment state of messages in an existing
+     * subscription to the state captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1042,8 +1047,13 @@ public void getSnapshot( * * *
-     * Lists the existing snapshots.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Lists the existing snapshots. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1058,8 +1068,14 @@ public void listSnapshots( * * *
-     * Creates a snapshot from the requested subscription.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Creates a snapshot from the requested subscription. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.
+     * <br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.<br><br>
      * If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -1069,10 +1085,10 @@ public void listSnapshots(
      * See also the `Snapshot.expire_time` field. If the name is not provided in
      * the request, the server will assign a random
      * name for this snapshot on the same project as the subscription, conforming
-     * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
-     * The generated
-     * name is populated in the returned Snapshot object. Note that for REST API
-     * requests, you must specify a name in the request.
+     * to the
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+     * The generated name is populated in the returned Snapshot object. Note that
+     * for REST API requests, you must specify a name in the request.
      * 
*/ public void createSnapshot( @@ -1085,8 +1101,13 @@ public void createSnapshot( * * *
-     * Updates an existing snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Updates an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * Note that certain properties of a snapshot are not modifiable.
@@ -1102,8 +1123,13 @@ public void updateSnapshot(
      *
      *
      * 
-     * Removes an existing snapshot. <br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Removes an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * When the snapshot is deleted, all messages retained in the snapshot
@@ -1123,8 +1149,14 @@ public void deleteSnapshot(
      *
      * 
      * Seeks an existing subscription to a point in time or to a given snapshot,
-     * whichever is provided in the request.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * whichever is provided in the request. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot. Note that both the subscription and the snapshot
+     * must be on the same topic.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1267,13 +1299,14 @@ protected SubscriberStub build(io.grpc.Channel channel, io.grpc.CallOptions call * *
      * Creates a subscription to a given topic. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * If the subscription already exists, returns `ALREADY_EXISTS`.
      * If the corresponding topic doesn't exist, returns `NOT_FOUND`.
      * If the name is not provided in the request, the server will assign a random
      * name for this subscription on the same project as the topic, conforming
      * to the
-     * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
      * The generated name is populated in the returned Subscription object.
      * Note that for REST API requests, you must specify a name in the request.
      * 
@@ -1457,8 +1490,12 @@ public void modifyPushConfig( * * *
-     * Gets the configuration details of a snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Gets the configuration details of a snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow you to manage message acknowledgments in bulk. That
+     * is, you can set the acknowledgment state of messages in an existing
+     * subscription to the state captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1476,8 +1513,13 @@ public void getSnapshot( * * *
-     * Lists the existing snapshots.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Lists the existing snapshots. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1495,8 +1537,14 @@ public void listSnapshots( * * *
-     * Creates a snapshot from the requested subscription.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Creates a snapshot from the requested subscription. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.
+     * <br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.<br><br>
      * If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -1506,10 +1554,10 @@ public void listSnapshots(
      * See also the `Snapshot.expire_time` field. If the name is not provided in
      * the request, the server will assign a random
      * name for this snapshot on the same project as the subscription, conforming
-     * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
-     * The generated
-     * name is populated in the returned Snapshot object. Note that for REST API
-     * requests, you must specify a name in the request.
+     * to the
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+     * The generated name is populated in the returned Snapshot object. Note that
+     * for REST API requests, you must specify a name in the request.
      * 
*/ public void createSnapshot( @@ -1525,8 +1573,13 @@ public void createSnapshot( * * *
-     * Updates an existing snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Updates an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * Note that certain properties of a snapshot are not modifiable.
@@ -1545,8 +1598,13 @@ public void updateSnapshot(
      *
      *
      * 
-     * Removes an existing snapshot. <br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Removes an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * When the snapshot is deleted, all messages retained in the snapshot
@@ -1569,8 +1627,14 @@ public void deleteSnapshot(
      *
      * 
      * Seeks an existing subscription to a point in time or to a given snapshot,
-     * whichever is provided in the request.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * whichever is provided in the request. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot. Note that both the subscription and the snapshot
+     * must be on the same topic.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1613,13 +1677,14 @@ protected SubscriberBlockingStub build( * *
      * Creates a subscription to a given topic. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * If the subscription already exists, returns `ALREADY_EXISTS`.
      * If the corresponding topic doesn't exist, returns `NOT_FOUND`.
      * If the name is not provided in the request, the server will assign a random
      * name for this subscription on the same project as the topic, conforming
      * to the
-     * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
      * The generated name is populated in the returned Subscription object.
      * Note that for REST API requests, you must specify a name in the request.
      * 
@@ -1755,8 +1820,12 @@ public com.google.protobuf.Empty modifyPushConfig( * * *
-     * Gets the configuration details of a snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Gets the configuration details of a snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow you to manage message acknowledgments in bulk. That
+     * is, you can set the acknowledgment state of messages in an existing
+     * subscription to the state captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1771,8 +1840,13 @@ public com.google.pubsub.v1.Snapshot getSnapshot( * * *
-     * Lists the existing snapshots.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Lists the existing snapshots. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1787,8 +1861,14 @@ public com.google.pubsub.v1.ListSnapshotsResponse listSnapshots( * * *
-     * Creates a snapshot from the requested subscription.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Creates a snapshot from the requested subscription. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.
+     * <br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.<br><br>
      * If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -1798,10 +1878,10 @@ public com.google.pubsub.v1.ListSnapshotsResponse listSnapshots(
      * See also the `Snapshot.expire_time` field. If the name is not provided in
      * the request, the server will assign a random
      * name for this snapshot on the same project as the subscription, conforming
-     * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
-     * The generated
-     * name is populated in the returned Snapshot object. Note that for REST API
-     * requests, you must specify a name in the request.
+     * to the
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+     * The generated name is populated in the returned Snapshot object. Note that
+     * for REST API requests, you must specify a name in the request.
      * 
*/ public com.google.pubsub.v1.Snapshot createSnapshot( @@ -1814,8 +1894,13 @@ public com.google.pubsub.v1.Snapshot createSnapshot( * * *
-     * Updates an existing snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Updates an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * Note that certain properties of a snapshot are not modifiable.
@@ -1831,8 +1916,13 @@ public com.google.pubsub.v1.Snapshot updateSnapshot(
      *
      *
      * 
-     * Removes an existing snapshot. <br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Removes an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * When the snapshot is deleted, all messages retained in the snapshot
@@ -1852,8 +1942,14 @@ public com.google.protobuf.Empty deleteSnapshot(
      *
      * 
      * Seeks an existing subscription to a point in time or to a given snapshot,
-     * whichever is provided in the request.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * whichever is provided in the request. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot. Note that both the subscription and the snapshot
+     * must be on the same topic.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1892,13 +1988,14 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * *
      * Creates a subscription to a given topic. See the
-     * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+     * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+     * resource name rules</a>.
      * If the subscription already exists, returns `ALREADY_EXISTS`.
      * If the corresponding topic doesn't exist, returns `NOT_FOUND`.
      * If the name is not provided in the request, the server will assign a random
      * name for this subscription on the same project as the topic, conforming
      * to the
-     * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
      * The generated name is populated in the returned Subscription object.
      * Note that for REST API requests, you must specify a name in the request.
      * 
@@ -2038,8 +2135,12 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * * *
-     * Gets the configuration details of a snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Gets the configuration details of a snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow you to manage message acknowledgments in bulk. That
+     * is, you can set the acknowledgment state of messages in an existing
+     * subscription to the state captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -2054,8 +2155,13 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * * *
-     * Lists the existing snapshots.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Lists the existing snapshots. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -2071,8 +2177,14 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * * *
-     * Creates a snapshot from the requested subscription.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Creates a snapshot from the requested subscription. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.
+     * <br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.<br><br>
      * If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -2082,10 +2194,10 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * See also the `Snapshot.expire_time` field. If the name is not provided in
      * the request, the server will assign a random
      * name for this snapshot on the same project as the subscription, conforming
-     * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
-     * The generated
-     * name is populated in the returned Snapshot object. Note that for REST API
-     * requests, you must specify a name in the request.
+     * to the
+     * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+     * The generated name is populated in the returned Snapshot object. Note that
+     * for REST API requests, you must specify a name in the request.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2098,8 +2210,13 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * * *
-     * Updates an existing snapshot.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Updates an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * Note that certain properties of a snapshot are not modifiable.
@@ -2115,8 +2232,13 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      *
      * 
-     * Removes an existing snapshot. <br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * Removes an existing snapshot. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * When the snapshot is deleted, all messages retained in the snapshot
@@ -2136,8 +2258,14 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      * 
      * Seeks an existing subscription to a point in time or to a given snapshot,
-     * whichever is provided in the request.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * whichever is provided in the request. Snapshots are used in
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+     * operations, which allow
+     * you to manage message acknowledgments in bulk. That is, you can set the
+     * acknowledgment state of messages in an existing subscription to the state
+     * captured by a snapshot. Note that both the subscription and the snapshot
+     * must be on the same topic.<br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java index 1b2ce17937f1..4fee2a01533c 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java @@ -8,7 +8,7 @@ * *
  * Request for the `CreateSnapshot` method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed in
+ * <b>BETA:</b> This feature is part of a beta release. This API might be changed in
  * backward-incompatible ways and is not recommended for production use.
  * It is not subject to any SLA or deprecation policy.
  * 
@@ -137,7 +137,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -162,7 +163,8 @@ public java.lang.String getName() { * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -268,7 +270,8 @@ public int getLabelsCount() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -288,7 +291,8 @@ public java.util.Map getLabels() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -300,7 +304,8 @@ public java.util.Map getLabelsMap() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -316,7 +321,8 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -523,7 +529,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request for the `CreateSnapshot` method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed in
+   * <b>BETA:</b> This feature is part of a beta release. This API might be changed in
    * backward-incompatible ways and is not recommended for production use.
    * It is not subject to any SLA or deprecation policy.
    * 
@@ -723,7 +729,8 @@ public Builder mergeFrom( * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -748,7 +755,8 @@ public java.lang.String getName() { * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -773,7 +781,8 @@ public com.google.protobuf.ByteString getNameBytes() { * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -796,7 +805,8 @@ public Builder setName(java.lang.String value) { * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -816,7 +826,8 @@ public Builder clearName() { * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -996,7 +1007,8 @@ public int getLabelsCount() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 3; @@ -1016,7 +1028,8 @@ public java.util.Map getLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 3; @@ -1028,7 +1041,8 @@ public java.util.Map getLabelsMap() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 3; @@ -1045,7 +1059,8 @@ public java.lang.String getLabelsOrDefault( * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 3; @@ -1069,7 +1084,8 @@ public Builder clearLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 3; @@ -1090,7 +1106,8 @@ public java.util.Map getMutableLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 3; @@ -1109,7 +1126,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 3; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java index 28c94b711d2e..0be6df1fee28 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java @@ -16,7 +16,8 @@ public interface CreateSnapshotRequestOrBuilder * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. *
* @@ -31,7 +32,8 @@ public interface CreateSnapshotRequestOrBuilder * If the name is not provided in the request, the server will assign a random * name for this snapshot on the same project as the subscription. * Note that for REST API requests, you must specify a name. See the - * <a href="/pubsub/docs/admin#resource_names">resource name rules</a>. + * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names"> + * resource name rules</a>. * Format is `projects/{project}/snapshots/{snap}`. * * @@ -80,7 +82,8 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -90,7 +93,8 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -103,7 +107,8 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -113,7 +118,8 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; @@ -123,7 +129,8 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 3; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java index 99831862e700..ff9a16fff298 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java @@ -8,7 +8,7 @@ * *
  * Request for the `DeleteSnapshot` method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -304,7 +304,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request for the `DeleteSnapshot` method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java index 4cb68f688ead..5c8bba2913a8 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java @@ -8,7 +8,7 @@ * *
  * Request for the GetSnapshot method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -303,7 +303,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request for the GetSnapshot method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java index 3657b6362dc2..2915d7938b03 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java @@ -8,7 +8,7 @@ * *
  * Request for the `ListSnapshots` method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -398,7 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request for the `ListSnapshots` method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java index 757837fc337e..82586a0386a2 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java @@ -8,7 +8,7 @@ * *
  * Response for the `ListSnapshots` method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -394,7 +394,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response for the `ListSnapshots` method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java index 4dfb49deaf48..423da7aac707 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java @@ -7,8 +7,8 @@ * * *
- * Request for the `ListTopicSnapshots` method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Request for the `ListTopicSnapshots` method. <br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -397,8 +397,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for the `ListTopicSnapshots` method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * Request for the `ListTopicSnapshots` method. <br><br>
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java index b7537b347208..88799eda0d9e 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java @@ -8,7 +8,7 @@ * *
  * Response for the `ListTopicSnapshots` method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -388,7 +388,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response for the `ListTopicSnapshots` method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java index b3c99caeaa13..0417cb8c12b6 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java @@ -95,8 +95,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
@@ -112,8 +112,8 @@ public com.google.protobuf.ProtocolStringList getAllowedPersistenceRegionsList()
    *
    *
    * 
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
@@ -129,8 +129,8 @@ public int getAllowedPersistenceRegionsCount() {
    *
    *
    * 
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
@@ -146,8 +146,8 @@ public java.lang.String getAllowedPersistenceRegions(int index) {
    *
    *
    * 
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
@@ -506,8 +506,8 @@ private void ensureAllowedPersistenceRegionsIsMutable() {
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -523,8 +523,8 @@ public com.google.protobuf.ProtocolStringList getAllowedPersistenceRegionsList()
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -540,8 +540,8 @@ public int getAllowedPersistenceRegionsCount() {
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -557,8 +557,8 @@ public java.lang.String getAllowedPersistenceRegions(int index) {
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -574,8 +574,8 @@ public com.google.protobuf.ByteString getAllowedPersistenceRegionsBytes(int inde
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -597,8 +597,8 @@ public Builder setAllowedPersistenceRegions(int index, java.lang.String value) {
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -620,8 +620,8 @@ public Builder addAllowedPersistenceRegions(java.lang.String value) {
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -640,8 +640,8 @@ public Builder addAllAllowedPersistenceRegions(java.lang.Iterable
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
@@ -660,8 +660,8 @@ public Builder clearAllowedPersistenceRegions() {
      *
      *
      * 
-     * The list of GCP regions where messages that are published to the topic may
-     * be persisted in storage. Messages published by publishers running in
+     * The list of GCP region IDs where messages that are published to the topic
+     * may be persisted in storage. Messages published by publishers running in
      * non-allowed GCP regions (or running outside of GCP altogether) will be
      * routed for storage in one of the allowed regions. An empty list indicates a
      * misconfiguration at the project or organization level, which will result in
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java
index 918ef490c636..ebc0d1454b41 100644
--- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java
@@ -12,8 +12,8 @@ public interface MessageStoragePolicyOrBuilder
    *
    *
    * 
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
@@ -27,8 +27,8 @@ public interface MessageStoragePolicyOrBuilder
    *
    *
    * 
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
@@ -42,8 +42,8 @@ public interface MessageStoragePolicyOrBuilder
    *
    *
    * 
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
@@ -57,8 +57,8 @@ public interface MessageStoragePolicyOrBuilder
    *
    *
    * 
-   * The list of GCP regions where messages that are published to the topic may
-   * be persisted in storage. Messages published by publishers running in
+   * The list of GCP region IDs where messages that are published to the topic
+   * may be persisted in storage. Messages published by publishers running in
    * non-allowed GCP regions (or running outside of GCP altogether) will be
    * routed for storage in one of the allowed regions. An empty list indicates a
    * misconfiguration at the project or organization level, which will result in
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
index 8ee933d50f23..8d1730521f59 100644
--- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
+++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
@@ -217,8 +217,9 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) {
    * The new ack deadline with respect to the time this request was sent to
    * the Pub/Sub system. For example, if the value is 10, the new
    * ack deadline will expire 10 seconds after the `ModifyAckDeadline` call
-   * was made. Specifying zero may immediately make the message available for
-   * another pull request.
+   * was made. Specifying zero might immediately make the message available for
+   * delivery to another subscriber client. This typically results in an
+   * increase in the rate of message redeliveries (that is, duplicates).
    * The minimum deadline you can specify is 0 seconds.
    * The maximum deadline you can specify is 600 seconds (10 minutes).
    * 
@@ -849,8 +850,9 @@ public Builder addAckIdsBytes(com.google.protobuf.ByteString value) { * The new ack deadline with respect to the time this request was sent to * the Pub/Sub system. For example, if the value is 10, the new * ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - * was made. Specifying zero may immediately make the message available for - * another pull request. + * was made. Specifying zero might immediately make the message available for + * delivery to another subscriber client. This typically results in an + * increase in the rate of message redeliveries (that is, duplicates). * The minimum deadline you can specify is 0 seconds. * The maximum deadline you can specify is 600 seconds (10 minutes). *
@@ -867,8 +869,9 @@ public int getAckDeadlineSeconds() { * The new ack deadline with respect to the time this request was sent to * the Pub/Sub system. For example, if the value is 10, the new * ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - * was made. Specifying zero may immediately make the message available for - * another pull request. + * was made. Specifying zero might immediately make the message available for + * delivery to another subscriber client. This typically results in an + * increase in the rate of message redeliveries (that is, duplicates). * The minimum deadline you can specify is 0 seconds. * The maximum deadline you can specify is 600 seconds (10 minutes). *
@@ -888,8 +891,9 @@ public Builder setAckDeadlineSeconds(int value) { * The new ack deadline with respect to the time this request was sent to * the Pub/Sub system. For example, if the value is 10, the new * ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - * was made. Specifying zero may immediately make the message available for - * another pull request. + * was made. Specifying zero might immediately make the message available for + * delivery to another subscriber client. This typically results in an + * increase in the rate of message redeliveries (that is, duplicates). * The minimum deadline you can specify is 0 seconds. * The maximum deadline you can specify is 600 seconds (10 minutes). *
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java index 6fa5d98a3ae2..079ea0289756 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java @@ -79,8 +79,9 @@ public interface ModifyAckDeadlineRequestOrBuilder * The new ack deadline with respect to the time this request was sent to * the Pub/Sub system. For example, if the value is 10, the new * ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - * was made. Specifying zero may immediately make the message available for - * another pull request. + * was made. Specifying zero might immediately make the message available for + * delivery to another subscriber client. This typically results in an + * increase in the rate of message redeliveries (that is, duplicates). * The minimum deadline you can specify is 0 seconds. * The maximum deadline you can specify is 600 seconds (10 minutes). *
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java index 53fc4ecda8eb..21ae0f027cbe 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java @@ -9,8 +9,12 @@ *
  * A message that is published by publishers and consumed by subscribers. The
  * message must contain either a non-empty data field or at least one attribute.
- * See <a href="/pubsub/quotas">Quotas and limits</a> for more information about
- * message limits.
+ * Note that client libraries represent this object differently
+ * depending on the language. See the corresponding
+ * <a href="https://cloud.google.com/pubsub/docs/reference/libraries">client
+ * library documentation</a> for more information. See
+ * <a href="https://cloud.google.com/pubsub/quotas">Quotas and limits</a>
+ * for more information about message limits.
  * 
* * Protobuf type {@code google.pubsub.v1.PubsubMessage} @@ -550,8 +554,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * A message that is published by publishers and consumed by subscribers. The
    * message must contain either a non-empty data field or at least one attribute.
-   * See <a href="/pubsub/quotas">Quotas and limits</a> for more information about
-   * message limits.
+   * Note that client libraries represent this object differently
+   * depending on the language. See the corresponding
+   * <a href="https://cloud.google.com/pubsub/docs/reference/libraries">client
+   * library documentation</a> for more information. See
+   * <a href="https://cloud.google.com/pubsub/quotas">Quotas and limits</a>
+   * for more information about message limits.
    * 
* * Protobuf type {@code google.pubsub.v1.PubsubMessage} diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java index f738cc912074..cdc7b4ce4539 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java @@ -389,11 +389,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "apshots/*}\022\204\001\n\004Seek\022\035.google.pubsub.v1.S" + "eekRequest\032\036.google.pubsub.v1.SeekRespon" + "se\"=\202\323\344\223\0027\"2/v1/{subscription=projects/*" - + "/subscriptions/*}:seek:\001*B\222\001\n\024com.google" + + "/subscriptions/*}:seek:\001*B\256\001\n\024com.google" + ".pubsub.v1B\013PubsubProtoP\001Z6google.golang" + ".org/genproto/googleapis/pubsub/v1;pubsu" + "b\370\001\001\252\002\026Google.Cloud.PubSub.V1\312\002\026Google\\C" - + "loud\\PubSub\\V1b\006proto3" + + "loud\\PubSub\\V1\352\002\031Google::Cloud::PubSub::" + + "V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java index bbfa4e31c334..47f4f36f6bf2 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java @@ -7,8 +7,8 @@ * * *
- * Request for the `Seek` method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Request for the `Seek` method. <br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -527,8 +527,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for the `Seek` method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * Request for the `Seek` method. <br><br>
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java index 25134a5cf2b3..9be35782091d 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java @@ -7,8 +7,13 @@ * * *
- * A snapshot resource.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * A snapshot resource. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -321,7 +326,8 @@ public int getLabelsCount() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -341,7 +347,8 @@ public java.util.Map getLabels() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -353,7 +360,8 @@ public java.util.Map getLabelsMap() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -369,7 +377,8 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -587,8 +596,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A snapshot resource.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * A snapshot resource. Snapshots are used in
+   * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+   * operations, which allow
+   * you to manage message acknowledgments in bulk. That is, you can set the
+   * acknowledgment state of messages in an existing subscription to the state
+   * captured by a snapshot.<br><br>
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
@@ -1266,7 +1280,8 @@ public int getLabelsCount() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 4; @@ -1286,7 +1301,8 @@ public java.util.Map getLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 4; @@ -1298,7 +1314,8 @@ public java.util.Map getLabelsMap() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 4; @@ -1315,7 +1332,8 @@ public java.lang.String getLabelsOrDefault( * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 4; @@ -1339,7 +1357,8 @@ public Builder clearLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 4; @@ -1360,7 +1379,8 @@ public java.util.Map getMutableLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 4; @@ -1379,7 +1399,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 4; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java index 18d810f29ec1..30166c3a8d0b 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java @@ -112,7 +112,8 @@ public interface SnapshotOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -122,7 +123,8 @@ public interface SnapshotOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -135,7 +137,8 @@ public interface SnapshotOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -145,7 +148,8 @@ public interface SnapshotOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; @@ -155,7 +159,8 @@ public interface SnapshotOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 4; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java index 16d6e3ebff29..efb2168d1aa7 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java @@ -335,11 +335,11 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { * * *
-   * This value is the maximum time after a subscriber receives a message
-   * before the subscriber should acknowledge the message. After message
-   * delivery but before the ack deadline expires and before the message is
-   * acknowledged, it is an outstanding message and will not be delivered
-   * again during that time (on a best-effort basis).
+   * The approximate amount of time (on a best-effort basis) Pub/Sub waits for
+   * the subscriber to acknowledge receipt before resending the message. In the
+   * interval after the message is delivered and before it is acknowledged, it
+   * is considered to be <i>outstanding</i>. During that time period, the
+   * message will not be redelivered (on a best-effort basis).
    * For pull subscriptions, this value is used as the initial value for the ack
    * deadline. To override this value for a given message, call
    * `ModifyAckDeadline` with the corresponding `ack_id` if using
@@ -369,8 +369,11 @@ public int getAckDeadlineSeconds() {
    * Indicates whether to retain acknowledged messages. If true, then
    * messages are not expunged from the subscription's backlog, even if they are
    * acknowledged, until they fall out of the `message_retention_duration`
-   * window.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * window. This must be true if you would like to
+   * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time">
+   * Seek to a timestamp</a>.
+   * <br><br>
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
@@ -393,7 +396,7 @@ public boolean getRetainAckedMessages() { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -413,7 +416,7 @@ public boolean hasMessageRetentionDuration() { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -435,7 +438,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -475,7 +478,8 @@ public int getLabelsCount() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -495,7 +499,8 @@ public java.util.Map getLabels() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -507,7 +512,8 @@ public java.util.Map getLabelsMap() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -523,7 +529,8 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -1528,11 +1535,11 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { * * *
-     * This value is the maximum time after a subscriber receives a message
-     * before the subscriber should acknowledge the message. After message
-     * delivery but before the ack deadline expires and before the message is
-     * acknowledged, it is an outstanding message and will not be delivered
-     * again during that time (on a best-effort basis).
+     * The approximate amount of time (on a best-effort basis) Pub/Sub waits for
+     * the subscriber to acknowledge receipt before resending the message. In the
+     * interval after the message is delivered and before it is acknowledged, it
+     * is considered to be <i>outstanding</i>. During that time period, the
+     * message will not be redelivered (on a best-effort basis).
      * For pull subscriptions, this value is used as the initial value for the ack
      * deadline. To override this value for a given message, call
      * `ModifyAckDeadline` with the corresponding `ack_id` if using
@@ -1556,11 +1563,11 @@ public int getAckDeadlineSeconds() {
      *
      *
      * 
-     * This value is the maximum time after a subscriber receives a message
-     * before the subscriber should acknowledge the message. After message
-     * delivery but before the ack deadline expires and before the message is
-     * acknowledged, it is an outstanding message and will not be delivered
-     * again during that time (on a best-effort basis).
+     * The approximate amount of time (on a best-effort basis) Pub/Sub waits for
+     * the subscriber to acknowledge receipt before resending the message. In the
+     * interval after the message is delivered and before it is acknowledged, it
+     * is considered to be <i>outstanding</i>. During that time period, the
+     * message will not be redelivered (on a best-effort basis).
      * For pull subscriptions, this value is used as the initial value for the ack
      * deadline. To override this value for a given message, call
      * `ModifyAckDeadline` with the corresponding `ack_id` if using
@@ -1587,11 +1594,11 @@ public Builder setAckDeadlineSeconds(int value) {
      *
      *
      * 
-     * This value is the maximum time after a subscriber receives a message
-     * before the subscriber should acknowledge the message. After message
-     * delivery but before the ack deadline expires and before the message is
-     * acknowledged, it is an outstanding message and will not be delivered
-     * again during that time (on a best-effort basis).
+     * The approximate amount of time (on a best-effort basis) Pub/Sub waits for
+     * the subscriber to acknowledge receipt before resending the message. In the
+     * interval after the message is delivered and before it is acknowledged, it
+     * is considered to be <i>outstanding</i>. During that time period, the
+     * message will not be redelivered (on a best-effort basis).
      * For pull subscriptions, this value is used as the initial value for the ack
      * deadline. To override this value for a given message, call
      * `ModifyAckDeadline` with the corresponding `ack_id` if using
@@ -1623,8 +1630,11 @@ public Builder clearAckDeadlineSeconds() {
      * Indicates whether to retain acknowledged messages. If true, then
      * messages are not expunged from the subscription's backlog, even if they are
      * acknowledged, until they fall out of the `message_retention_duration`
-     * window.<br><br>
-     * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+     * window. This must be true if you would like to
+     * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time">
+     * Seek to a timestamp</a>.
+     * <br><br>
+     * <b>BETA:</b> This feature is part of a beta release. This API might be
      * changed in backward-incompatible ways and is not recommended for production
      * use. It is not subject to any SLA or deprecation policy.
      * 
@@ -1641,8 +1651,11 @@ public boolean getRetainAckedMessages() { * Indicates whether to retain acknowledged messages. If true, then * messages are not expunged from the subscription's backlog, even if they are * acknowledged, until they fall out of the `message_retention_duration` - * window.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * window. This must be true if you would like to + * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> + * Seek to a timestamp</a>. + * <br><br> + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1662,8 +1675,11 @@ public Builder setRetainAckedMessages(boolean value) { * Indicates whether to retain acknowledged messages. If true, then * messages are not expunged from the subscription's backlog, even if they are * acknowledged, until they fall out of the `message_retention_duration` - * window.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * window. This must be true if you would like to + * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> + * Seek to a timestamp</a>. + * <br><br> + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1693,7 +1709,7 @@ public Builder clearRetainAckedMessages() { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1713,7 +1729,7 @@ public boolean hasMessageRetentionDuration() { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1739,7 +1755,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1769,7 +1785,7 @@ public Builder setMessageRetentionDuration(com.google.protobuf.Duration value) { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1797,7 +1813,7 @@ public Builder setMessageRetentionDuration( * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1831,7 +1847,7 @@ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value) * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1859,7 +1875,7 @@ public Builder clearMessageRetentionDuration() { * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1881,7 +1897,7 @@ public com.google.protobuf.Duration.Builder getMessageRetentionDurationBuilder() * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. *
@@ -1907,7 +1923,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. * @@ -1960,7 +1976,8 @@ public int getLabelsCount() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 9; @@ -1980,7 +1997,8 @@ public java.util.Map getLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 9; @@ -1992,7 +2010,8 @@ public java.util.Map getLabelsMap() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 9; @@ -2009,7 +2028,8 @@ public java.lang.String getLabelsOrDefault( * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 9; @@ -2033,7 +2053,8 @@ public Builder clearLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 9; @@ -2054,7 +2075,8 @@ public java.util.Map getMutableLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 9; @@ -2073,7 +2095,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 9; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java index ba0a20256cf7..dc06e7fb432b 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java @@ -107,11 +107,11 @@ public interface SubscriptionOrBuilder * * *
-   * This value is the maximum time after a subscriber receives a message
-   * before the subscriber should acknowledge the message. After message
-   * delivery but before the ack deadline expires and before the message is
-   * acknowledged, it is an outstanding message and will not be delivered
-   * again during that time (on a best-effort basis).
+   * The approximate amount of time (on a best-effort basis) Pub/Sub waits for
+   * the subscriber to acknowledge receipt before resending the message. In the
+   * interval after the message is delivered and before it is acknowledged, it
+   * is considered to be <i>outstanding</i>. During that time period, the
+   * message will not be redelivered (on a best-effort basis).
    * For pull subscriptions, this value is used as the initial value for the ack
    * deadline. To override this value for a given message, call
    * `ModifyAckDeadline` with the corresponding `ack_id` if using
@@ -137,8 +137,11 @@ public interface SubscriptionOrBuilder
    * Indicates whether to retain acknowledged messages. If true, then
    * messages are not expunged from the subscription's backlog, even if they are
    * acknowledged, until they fall out of the `message_retention_duration`
-   * window.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * window. This must be true if you would like to
+   * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time">
+   * Seek to a timestamp</a>.
+   * <br><br>
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
@@ -157,7 +160,7 @@ public interface SubscriptionOrBuilder * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. * @@ -175,7 +178,7 @@ public interface SubscriptionOrBuilder * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. * @@ -193,7 +196,7 @@ public interface SubscriptionOrBuilder * of acknowledged messages, and thus configures how far back in time a `Seek` * can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 * minutes.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be + * <b>BETA:</b> This feature is part of a beta release. This API might be * changed in backward-incompatible ways and is not recommended for production * use. It is not subject to any SLA or deprecation policy. * @@ -206,7 +209,8 @@ public interface SubscriptionOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -216,7 +220,8 @@ public interface SubscriptionOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -229,7 +234,8 @@ public interface SubscriptionOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -239,7 +245,8 @@ public interface SubscriptionOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; @@ -249,7 +256,8 @@ public interface SubscriptionOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 9; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java index 6501868c14d5..2d0d72b5209f 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java @@ -211,7 +211,8 @@ public int getLabelsCount() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -231,7 +232,8 @@ public java.util.Map getLabels() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -243,7 +245,8 @@ public java.util.Map getLabelsMap() { * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -259,7 +262,8 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -865,7 +869,8 @@ public int getLabelsCount() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 2; @@ -885,7 +890,8 @@ public java.util.Map getLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 2; @@ -897,7 +903,8 @@ public java.util.Map getLabelsMap() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 2; @@ -914,7 +921,8 @@ public java.lang.String getLabelsOrDefault( * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 2; @@ -938,7 +946,8 @@ public Builder clearLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 2; @@ -959,7 +968,8 @@ public java.util.Map getMutableLabels() { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 2; @@ -978,7 +988,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * * *
-     * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+     * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+     * managing labels</a>.
      * 
* * map<string, string> labels = 2; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java index c5b0f6dcccf5..b10fdd87aa15 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java @@ -43,7 +43,8 @@ public interface TopicOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -53,7 +54,8 @@ public interface TopicOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -66,7 +68,8 @@ public interface TopicOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -76,7 +79,8 @@ public interface TopicOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; @@ -86,7 +90,8 @@ public interface TopicOrBuilder * * *
-   * See <a href="/pubsub/docs/labels"> Creating and managing labels</a>.
+   * See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and
+   * managing labels</a>.
    * 
* * map<string, string> labels = 2; diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java index 2b2f150c55f5..472730603638 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java @@ -8,7 +8,7 @@ * *
  * Request for the UpdateSnapshot method.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
  * changed in backward-incompatible ways and is not recommended for production
  * use. It is not subject to any SLA or deprecation policy.
  * 
@@ -380,7 +380,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request for the UpdateSnapshot method.<br><br>
-   * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
    * changed in backward-incompatible ways and is not recommended for production
    * use. It is not subject to any SLA or deprecation policy.
    * 
diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto index b13c73473aa9..02d0bf34b3ee 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto @@ -30,13 +30,15 @@ option java_multiple_files = true; option java_outer_classname = "PubsubProto"; option java_package = "com.google.pubsub.v1"; option php_namespace = "Google\\Cloud\\PubSub\\V1"; +option ruby_package = "Google::Cloud::PubSub::V1"; // The service that an application uses to manipulate topics, and to send // messages to a topic. service Publisher { // Creates the given topic with the given name. See the - //
resource name rules. + // + // resource name rules. rpc CreateTopic(Topic) returns (Topic) { option (google.api.http) = { put: "/v1/{name=projects/*/topics/*}" @@ -83,8 +85,13 @@ service Publisher { }; } - // Lists the names of the snapshots on this topic.

- // ALPHA: This feature is part of an alpha release. This API might be + // Lists the names of the snapshots on this topic. Snapshots are used in + // Seek + // operations, which allow + // you to manage message acknowledgments in bulk. That is, you can set the + // acknowledgment state of messages in an existing subscription to the state + // captured by a snapshot.

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. rpc ListTopicSnapshots(ListTopicSnapshotsRequest) returns (ListTopicSnapshotsResponse) { @@ -110,14 +117,15 @@ service Publisher { // establishing a bi-directional stream using the `StreamingPull` method. service Subscriber { // Creates a subscription to a given topic. See the - // resource name rules. + // + // resource name rules. // If the subscription already exists, returns `ALREADY_EXISTS`. // If the corresponding topic doesn't exist, returns `NOT_FOUND`. // // If the name is not provided in the request, the server will assign a random // name for this subscription on the same project as the topic, conforming // to the - // [resource name format](https://cloud.google.com/pubsub/docs/overview#names). + // [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). // The generated name is populated in the returned Subscription object. // Note that for REST API requests, you must specify a name in the request. rpc CreateSubscription(Subscription) returns (Subscription) { @@ -220,8 +228,12 @@ service Subscriber { }; } - // Gets the configuration details of a snapshot.

- // ALPHA: This feature is part of an alpha release. This API might be + // Gets the configuration details of a snapshot. Snapshots are used in + // Seek + // operations, which allow you to manage message acknowledgments in bulk. That + // is, you can set the acknowledgment state of messages in an existing + // subscription to the state captured by a snapshot.

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. rpc GetSnapshot(GetSnapshotRequest) returns (Snapshot) { @@ -230,8 +242,13 @@ service Subscriber { }; } - // Lists the existing snapshots.

- // ALPHA: This feature is part of an alpha release. This API might be + // Lists the existing snapshots. Snapshots are used in + // Seek + // operations, which allow + // you to manage message acknowledgments in bulk. That is, you can set the + // acknowledgment state of messages in an existing subscription to the state + // captured by a snapshot.

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. rpc ListSnapshots(ListSnapshotsRequest) returns (ListSnapshotsResponse) { @@ -240,8 +257,14 @@ service Subscriber { }; } - // Creates a snapshot from the requested subscription.

- // ALPHA: This feature is part of an alpha release. This API might be + // Creates a snapshot from the requested subscription. Snapshots are used in + // Seek + // operations, which allow + // you to manage message acknowledgments in bulk. That is, you can set the + // acknowledgment state of messages in an existing subscription to the state + // captured by a snapshot. + //

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy.

// If the snapshot already exists, returns `ALREADY_EXISTS`. @@ -251,10 +274,10 @@ service Subscriber { // See also the `Snapshot.expire_time` field. If the name is not provided in // the request, the server will assign a random // name for this snapshot on the same project as the subscription, conforming - // to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names). - // The generated - // name is populated in the returned Snapshot object. Note that for REST API - // requests, you must specify a name in the request. + // to the + // [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). + // The generated name is populated in the returned Snapshot object. Note that + // for REST API requests, you must specify a name in the request. rpc CreateSnapshot(CreateSnapshotRequest) returns (Snapshot) { option (google.api.http) = { put: "/v1/{name=projects/*/snapshots/*}" @@ -262,8 +285,13 @@ service Subscriber { }; } - // Updates an existing snapshot.

- // ALPHA: This feature is part of an alpha release. This API might be + // Updates an existing snapshot. Snapshots are used in + // Seek + // operations, which allow + // you to manage message acknowledgments in bulk. That is, you can set the + // acknowledgment state of messages in an existing subscription to the state + // captured by a snapshot.

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. // Note that certain properties of a snapshot are not modifiable. @@ -274,8 +302,13 @@ service Subscriber { }; } - // Removes an existing snapshot.

- // ALPHA: This feature is part of an alpha release. This API might be + // Removes an existing snapshot. Snapshots are used in + // Seek + // operations, which allow + // you to manage message acknowledgments in bulk. That is, you can set the + // acknowledgment state of messages in an existing subscription to the state + // captured by a snapshot.

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. // When the snapshot is deleted, all messages retained in the snapshot @@ -289,8 +322,14 @@ service Subscriber { } // Seeks an existing subscription to a point in time or to a given snapshot, - // whichever is provided in the request.

- // ALPHA: This feature is part of an alpha release. This API might be + // whichever is provided in the request. Snapshots are used in + // Seek + // operations, which allow + // you to manage message acknowledgments in bulk. That is, you can set the + // acknowledgment state of messages in an existing subscription to the state + // captured by a snapshot. Note that both the subscription and the snapshot + // must be on the same topic.

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. rpc Seek(SeekRequest) returns (SeekResponse) { @@ -302,8 +341,8 @@ service Subscriber { } message MessageStoragePolicy { - // The list of GCP regions where messages that are published to the topic may - // be persisted in storage. Messages published by publishers running in + // The list of GCP region IDs where messages that are published to the topic + // may be persisted in storage. Messages published by publishers running in // non-allowed GCP regions (or running outside of GCP altogether) will be // routed for storage in one of the allowed regions. An empty list indicates a // misconfiguration at the project or organization level, which will result in @@ -321,7 +360,8 @@ message Topic { // must not start with `"goog"`. string name = 1; - // See Creating and managing labels. + // See Creating and + // managing labels. map labels = 2; // Policy constraining how messages published to the topic may be stored. It @@ -335,8 +375,12 @@ message Topic { // A message that is published by publishers and consumed by subscribers. The // message must contain either a non-empty data field or at least one attribute. -// See Quotas and limits for more information about -// message limits. +// Note that client libraries represent this object differently +// depending on the language. See the corresponding +// client +// library documentation for more information. See +// Quotas and limits +// for more information about message limits. message PubsubMessage { // The message data field. If this field is empty, the message must contain // at least one attribute. @@ -446,8 +490,8 @@ message ListTopicSubscriptionsResponse { string next_page_token = 2; } -// Request for the `ListTopicSnapshots` method.

-// ALPHA: This feature is part of an alpha release. This API might be +// Request for the `ListTopicSnapshots` method.

+// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message ListTopicSnapshotsRequest { @@ -465,7 +509,7 @@ message ListTopicSnapshotsRequest { } // Response for the `ListTopicSnapshots` method.

-// ALPHA: This feature is part of an alpha release. This API might be +// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message ListTopicSnapshotsResponse { @@ -506,11 +550,11 @@ message Subscription { // will pull and ack messages using API methods. PushConfig push_config = 4; - // This value is the maximum time after a subscriber receives a message - // before the subscriber should acknowledge the message. After message - // delivery but before the ack deadline expires and before the message is - // acknowledged, it is an outstanding message and will not be delivered - // again during that time (on a best-effort basis). + // The approximate amount of time (on a best-effort basis) Pub/Sub waits for + // the subscriber to acknowledge receipt before resending the message. In the + // interval after the message is delivered and before it is acknowledged, it + // is considered to be outstanding. During that time period, the + // message will not be redelivered (on a best-effort basis). // // For pull subscriptions, this value is used as the initial value for the ack // deadline. To override this value for a given message, call @@ -531,8 +575,11 @@ message Subscription { // Indicates whether to retain acknowledged messages. If true, then // messages are not expunged from the subscription's backlog, even if they are // acknowledged, until they fall out of the `message_retention_duration` - // window.

- // ALPHA: This feature is part of an alpha release. This API might be + // window. This must be true if you would like to + // + // Seek to a timestamp. + //

+ // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. bool retain_acked_messages = 7; @@ -543,12 +590,13 @@ message Subscription { // of acknowledged messages, and thus configures how far back in time a `Seek` // can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 // minutes.

- // ALPHA: This feature is part of an alpha release. This API might be + // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. google.protobuf.Duration message_retention_duration = 8; - // See Creating and managing labels. + // See Creating and + // managing labels. map labels = 9; // A policy that specifies the conditions for this subscription's expiration. @@ -717,8 +765,9 @@ message ModifyAckDeadlineRequest { // The new ack deadline with respect to the time this request was sent to // the Pub/Sub system. For example, if the value is 10, the new // ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - // was made. Specifying zero may immediately make the message available for - // another pull request. + // was made. Specifying zero might immediately make the message available for + // delivery to another subscriber client. This typically results in an + // increase in the rate of message redeliveries (that is, duplicates). // The minimum deadline you can specify is 0 seconds. // The maximum deadline you can specify is 600 seconds (10 minutes). int32 ack_deadline_seconds = 3; @@ -787,7 +836,7 @@ message StreamingPullResponse { } // Request for the `CreateSnapshot` method.

-// ALPHA: This feature is part of an alpha release. This API might be changed in +// BETA: This feature is part of a beta release. This API might be changed in // backward-incompatible ways and is not recommended for production use. // It is not subject to any SLA or deprecation policy. message CreateSnapshotRequest { @@ -795,7 +844,8 @@ message CreateSnapshotRequest { // If the name is not provided in the request, the server will assign a random // name for this snapshot on the same project as the subscription. // Note that for REST API requests, you must specify a name. See the - // resource name rules. + // + // resource name rules. // Format is `projects/{project}/snapshots/{snap}`. string name = 1; @@ -810,12 +860,13 @@ message CreateSnapshotRequest { // Format is `projects/{project}/subscriptions/{sub}`. string subscription = 2; - // See Creating and managing labels. + // See Creating and + // managing labels. map labels = 3; } // Request for the UpdateSnapshot method.

-// ALPHA: This feature is part of an alpha release. This API might be +// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message UpdateSnapshotRequest { @@ -827,8 +878,13 @@ message UpdateSnapshotRequest { google.protobuf.FieldMask update_mask = 2; } -// A snapshot resource.

-// ALPHA: This feature is part of an alpha release. This API might be +// A snapshot resource. Snapshots are used in +// Seek +// operations, which allow +// you to manage message acknowledgments in bulk. That is, you can set the +// acknowledgment state of messages in an existing subscription to the state +// captured by a snapshot.

+// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message Snapshot { @@ -850,12 +906,13 @@ message Snapshot { // snapshot that would expire in less than 1 hour after creation. google.protobuf.Timestamp expire_time = 3; - // See Creating and managing labels. + // See Creating and + // managing labels. map labels = 4; } // Request for the GetSnapshot method.

-// ALPHA: This feature is part of an alpha release. This API might be +// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message GetSnapshotRequest { @@ -865,7 +922,7 @@ message GetSnapshotRequest { } // Request for the `ListSnapshots` method.

-// ALPHA: This feature is part of an alpha release. This API might be +// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message ListSnapshotsRequest { @@ -883,7 +940,7 @@ message ListSnapshotsRequest { } // Response for the `ListSnapshots` method.

-// ALPHA: This feature is part of an alpha release. This API might be +// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message ListSnapshotsResponse { @@ -896,7 +953,7 @@ message ListSnapshotsResponse { } // Request for the `DeleteSnapshot` method.

-// ALPHA: This feature is part of an alpha release. This API might be +// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message DeleteSnapshotRequest { @@ -905,8 +962,8 @@ message DeleteSnapshotRequest { string snapshot = 1; } -// Request for the `Seek` method.

-// ALPHA: This feature is part of an alpha release. This API might be +// Request for the `Seek` method.

+// BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. message SeekRequest { diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java index 6e7b3ac7f973..75046eeeacb6 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java @@ -195,15 +195,15 @@ public SubscriberStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a subscription to a given topic. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. If the subscription - * already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns - * `NOT_FOUND`. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. If the subscription already exists, returns `ALREADY_EXISTS`. If the + * corresponding topic doesn't exist, returns `NOT_FOUND`. * *

If the name is not provided in the request, the server will assign a random name for this * subscription on the same project as the topic, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Subscription object. Note that for REST API requests, you must specify a name - * in the request. + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is + * populated in the returned Subscription object. Note that for REST API requests, you must + * specify a name in the request. * *

Sample code: * @@ -228,10 +228,11 @@ public SubscriberStub getStub() { * @param pushConfig If push delivery is used with this subscription, this field is used to * configure it. An empty `pushConfig` signifies that the subscriber will pull and ack * messages using API methods. - * @param ackDeadlineSeconds This value is the maximum time after a subscriber receives a message - * before the subscriber should acknowledge the message. After message delivery but before the - * ack deadline expires and before the message is acknowledged, it is an outstanding message - * and will not be delivered again during that time (on a best-effort basis). + * @param ackDeadlineSeconds The approximate amount of time (on a best-effort basis) Pub/Sub waits + * for the subscriber to acknowledge receipt before resending the message. In the interval + * after the message is delivered and before it is acknowledged, it is considered to be + * <i>outstanding</i>. During that time period, the message will not be + * redelivered (on a best-effort basis). *

For pull subscriptions, this value is used as the initial value for the ack deadline. To * override this value for a given message, call `ModifyAckDeadline` with the corresponding * `ack_id` if using non-streaming pull or send the `ack_id` in a @@ -263,15 +264,15 @@ public final Subscription createSubscription( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a subscription to a given topic. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. If the subscription - * already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns - * `NOT_FOUND`. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. If the subscription already exists, returns `ALREADY_EXISTS`. If the + * corresponding topic doesn't exist, returns `NOT_FOUND`. * *

If the name is not provided in the request, the server will assign a random name for this * subscription on the same project as the topic, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Subscription object. Note that for REST API requests, you must specify a name - * in the request. + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is + * populated in the returned Subscription object. Note that for REST API requests, you must + * specify a name in the request. * *

Sample code: * @@ -296,10 +297,11 @@ public final Subscription createSubscription( * @param pushConfig If push delivery is used with this subscription, this field is used to * configure it. An empty `pushConfig` signifies that the subscriber will pull and ack * messages using API methods. - * @param ackDeadlineSeconds This value is the maximum time after a subscriber receives a message - * before the subscriber should acknowledge the message. After message delivery but before the - * ack deadline expires and before the message is acknowledged, it is an outstanding message - * and will not be delivered again during that time (on a best-effort basis). + * @param ackDeadlineSeconds The approximate amount of time (on a best-effort basis) Pub/Sub waits + * for the subscriber to acknowledge receipt before resending the message. In the interval + * after the message is delivered and before it is acknowledged, it is considered to be + * <i>outstanding</i>. During that time period, the message will not be + * redelivered (on a best-effort basis). *

For pull subscriptions, this value is used as the initial value for the ack deadline. To * override this value for a given message, call `ModifyAckDeadline` with the corresponding * `ack_id` if using non-streaming pull or send the `ack_id` in a @@ -328,15 +330,15 @@ public final Subscription createSubscription( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a subscription to a given topic. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. If the subscription - * already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns - * `NOT_FOUND`. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. If the subscription already exists, returns `ALREADY_EXISTS`. If the + * corresponding topic doesn't exist, returns `NOT_FOUND`. * *

If the name is not provided in the request, the server will assign a random name for this * subscription on the same project as the topic, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Subscription object. Note that for REST API requests, you must specify a name - * in the request. + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is + * populated in the returned Subscription object. Note that for REST API requests, you must + * specify a name in the request. * *

Sample code: * @@ -362,15 +364,15 @@ public final Subscription createSubscription(Subscription request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a subscription to a given topic. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. If the subscription - * already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns - * `NOT_FOUND`. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. If the subscription already exists, returns `ALREADY_EXISTS`. If the + * corresponding topic doesn't exist, returns `NOT_FOUND`. * *

If the name is not provided in the request, the server will assign a random name for this * subscription on the same project as the topic, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Subscription object. Note that for REST API requests, you must specify a name - * in the request. + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is + * populated in the returned Subscription object. Note that for REST API requests, you must + * specify a name in the request. * *

Sample code: * @@ -816,9 +818,11 @@ public final UnaryCallable deleteSubscriptionC * @param ackIds List of acknowledgment IDs. * @param ackDeadlineSeconds The new ack deadline with respect to the time this request was sent * to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 - * seconds after the `ModifyAckDeadline` call was made. Specifying zero may immediately make - * the message available for another pull request. The minimum deadline you can specify is 0 - * seconds. The maximum deadline you can specify is 600 seconds (10 minutes). + * seconds after the `ModifyAckDeadline` call was made. Specifying zero might immediately make + * the message available for delivery to another subscriber client. This typically results in + * an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline + * you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 + * minutes). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ /* package-private */ final void modifyAckDeadline( @@ -856,9 +860,11 @@ public final UnaryCallable deleteSubscriptionC * @param ackIds List of acknowledgment IDs. * @param ackDeadlineSeconds The new ack deadline with respect to the time this request was sent * to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 - * seconds after the `ModifyAckDeadline` call was made. Specifying zero may immediately make - * the message available for another pull request. The minimum deadline you can specify is 0 - * seconds. The maximum deadline you can specify is 600 seconds (10 minutes). + * seconds after the `ModifyAckDeadline` call was made. Specifying zero might immediately make + * the message available for delivery to another subscriber client. This typically results in + * an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline + * you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 + * minutes). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ /* package-private */ final void modifyAckDeadline( @@ -1352,9 +1358,13 @@ public final UnaryCallable modifyPushConfigCalla // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Lists the existing snapshots.<br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. + * Lists the existing snapshots. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. * *

Sample code: * @@ -1381,9 +1391,13 @@ public final ListSnapshotsPagedResponse listSnapshots(ProjectName project) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Lists the existing snapshots.<br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. + * Lists the existing snapshots. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. * *

Sample code: * @@ -1407,9 +1421,13 @@ public final ListSnapshotsPagedResponse listSnapshots(String project) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Lists the existing snapshots.<br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. + * Lists the existing snapshots. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. * *

Sample code: * @@ -1434,9 +1452,13 @@ public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Lists the existing snapshots.<br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. + * Lists the existing snapshots. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. * *

Sample code: * @@ -1461,9 +1483,13 @@ public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Lists the existing snapshots.<br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. + * Lists the existing snapshots. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. * *

Sample code: * @@ -1494,18 +1520,21 @@ public final UnaryCallable listSnap // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Creates a snapshot from the requested subscription.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed - * in backward-incompatible ways and is not recommended for production use. It is not subject to - * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns - * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the - * backlog in the subscription is too old -- and the resulting snapshot would expire in less than - * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If - * the name is not provided in the request, the server will assign a random name for this snapshot - * on the same project as the subscription, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Snapshot object. Note that for REST API requests, you must specify a name in - * the request. + * Creates a snapshot from the requested subscription. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a snapshot. + * <br><br> <b>BETA:</b> This feature is part of a beta release. This API + * might be changed in backward-incompatible ways and is not recommended for production use. It is + * not subject to any SLA or deprecation policy.<br><br> If the snapshot already + * exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns + * `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would + * expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the + * `Snapshot.expire_time` field. If the name is not provided in the request, the server will + * assign a random name for this snapshot on the same project as the subscription, conforming to + * the [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for REST API requests, + * you must specify a name in the request. * *

Sample code: * @@ -1520,8 +1549,8 @@ public final UnaryCallable listSnap * @param name Optional user-provided name for this snapshot. If the name is not provided in the * request, the server will assign a random name for this snapshot on the same project as the * subscription. Note that for REST API requests, you must specify a name. See the <a - * href="/pubsub/docs/admin#resource_names">resource name rules</a>. Format is - * `projects/{project}/snapshots/{snap}`. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. Format is `projects/{project}/snapshots/{snap}`. * @param subscription The subscription whose backlog the snapshot retains. Specifically, the * created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. * More precisely, this is defined as the messages in the subscription's backlog that are @@ -1543,18 +1572,21 @@ public final Snapshot createSnapshot( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Creates a snapshot from the requested subscription.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed - * in backward-incompatible ways and is not recommended for production use. It is not subject to - * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns - * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the - * backlog in the subscription is too old -- and the resulting snapshot would expire in less than - * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If - * the name is not provided in the request, the server will assign a random name for this snapshot - * on the same project as the subscription, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Snapshot object. Note that for REST API requests, you must specify a name in - * the request. + * Creates a snapshot from the requested subscription. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a snapshot. + * <br><br> <b>BETA:</b> This feature is part of a beta release. This API + * might be changed in backward-incompatible ways and is not recommended for production use. It is + * not subject to any SLA or deprecation policy.<br><br> If the snapshot already + * exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns + * `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would + * expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the + * `Snapshot.expire_time` field. If the name is not provided in the request, the server will + * assign a random name for this snapshot on the same project as the subscription, conforming to + * the [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for REST API requests, + * you must specify a name in the request. * *

Sample code: * @@ -1569,8 +1601,8 @@ public final Snapshot createSnapshot( * @param name Optional user-provided name for this snapshot. If the name is not provided in the * request, the server will assign a random name for this snapshot on the same project as the * subscription. Note that for REST API requests, you must specify a name. See the <a - * href="/pubsub/docs/admin#resource_names">resource name rules</a>. Format is - * `projects/{project}/snapshots/{snap}`. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. Format is `projects/{project}/snapshots/{snap}`. * @param subscription The subscription whose backlog the snapshot retains. Specifically, the * created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. * More precisely, this is defined as the messages in the subscription's backlog that are @@ -1588,18 +1620,21 @@ public final Snapshot createSnapshot(String name, String subscription) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Creates a snapshot from the requested subscription.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed - * in backward-incompatible ways and is not recommended for production use. It is not subject to - * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns - * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the - * backlog in the subscription is too old -- and the resulting snapshot would expire in less than - * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If - * the name is not provided in the request, the server will assign a random name for this snapshot - * on the same project as the subscription, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Snapshot object. Note that for REST API requests, you must specify a name in - * the request. + * Creates a snapshot from the requested subscription. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a snapshot. + * <br><br> <b>BETA:</b> This feature is part of a beta release. This API + * might be changed in backward-incompatible ways and is not recommended for production use. It is + * not subject to any SLA or deprecation policy.<br><br> If the snapshot already + * exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns + * `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would + * expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the + * `Snapshot.expire_time` field. If the name is not provided in the request, the server will + * assign a random name for this snapshot on the same project as the subscription, conforming to + * the [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for REST API requests, + * you must specify a name in the request. * *

Sample code: * @@ -1624,18 +1659,21 @@ public final Snapshot createSnapshot(CreateSnapshotRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Creates a snapshot from the requested subscription.<br><br> - * <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed - * in backward-incompatible ways and is not recommended for production use. It is not subject to - * any SLA or deprecation policy.<br><br> If the snapshot already exists, returns - * `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the - * backlog in the subscription is too old -- and the resulting snapshot would expire in less than - * 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If - * the name is not provided in the request, the server will assign a random name for this snapshot - * on the same project as the subscription, conforming to the [resource name - * format](https://cloud.google.com/pubsub/docs/overview#names). The generated name is populated - * in the returned Snapshot object. Note that for REST API requests, you must specify a name in - * the request. + * Creates a snapshot from the requested subscription. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a snapshot. + * <br><br> <b>BETA:</b> This feature is part of a beta release. This API + * might be changed in backward-incompatible ways and is not recommended for production use. It is + * not subject to any SLA or deprecation policy.<br><br> If the snapshot already + * exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns + * `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would + * expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the + * `Snapshot.expire_time` field. If the name is not provided in the request, the server will + * assign a random name for this snapshot on the same project as the subscription, conforming to + * the [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for REST API requests, + * you must specify a name in the request. * *

Sample code: * @@ -1659,10 +1697,14 @@ public final UnaryCallable createSnapshotCallab // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates an existing snapshot.<br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. Note that - * certain properties of a snapshot are not modifiable. + * Updates an existing snapshot. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. Note that certain properties of a + * snapshot are not modifiable. * *

Sample code: * @@ -1697,10 +1739,14 @@ public final Snapshot updateSnapshot(UpdateSnapshotRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates an existing snapshot.<br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. Note that - * certain properties of a snapshot are not modifiable. + * Updates an existing snapshot. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. Note that certain properties of a + * snapshot are not modifiable. * *

Sample code: * @@ -1734,13 +1780,16 @@ public final UnaryCallable updateSnapshotCallab // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Removes an existing snapshot. <br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. When the - * snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a - * snapshot is deleted, a new one may be created with the same name, but the new one has no - * association with the old snapshot or its subscription, unless the same subscription is - * specified. + * Removes an existing snapshot. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. When the snapshot is deleted, all + * messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new + * one may be created with the same name, but the new one has no association with the old snapshot + * or its subscription, unless the same subscription is specified. * *

Sample code: * @@ -1766,13 +1815,16 @@ public final void deleteSnapshot(ProjectSnapshotName snapshot) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Removes an existing snapshot. <br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. When the - * snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a - * snapshot is deleted, a new one may be created with the same name, but the new one has no - * association with the old snapshot or its subscription, unless the same subscription is - * specified. + * Removes an existing snapshot. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. When the snapshot is deleted, all + * messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new + * one may be created with the same name, but the new one has no association with the old snapshot + * or its subscription, unless the same subscription is specified. * *

Sample code: * @@ -1796,13 +1848,16 @@ public final void deleteSnapshot(String snapshot) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Removes an existing snapshot. <br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. When the - * snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a - * snapshot is deleted, a new one may be created with the same name, but the new one has no - * association with the old snapshot or its subscription, unless the same subscription is - * specified. + * Removes an existing snapshot. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. When the snapshot is deleted, all + * messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new + * one may be created with the same name, but the new one has no association with the old snapshot + * or its subscription, unless the same subscription is specified. * *

Sample code: * @@ -1825,13 +1880,16 @@ public final void deleteSnapshot(DeleteSnapshotRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Removes an existing snapshot. <br><br> <b>ALPHA:</b> This feature is - * part of an alpha release. This API might be changed in backward-incompatible ways and is not - * recommended for production use. It is not subject to any SLA or deprecation policy. When the - * snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a - * snapshot is deleted, a new one may be created with the same name, but the new one has no - * association with the old snapshot or its subscription, unless the same subscription is - * specified. + * Removes an existing snapshot. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a + * snapshot.<br><br> <b>BETA:</b> This feature is part of a beta release. + * This API might be changed in backward-incompatible ways and is not recommended for production + * use. It is not subject to any SLA or deprecation policy. When the snapshot is deleted, all + * messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new + * one may be created with the same name, but the new one has no association with the old snapshot + * or its subscription, unless the same subscription is specified. * *

Sample code: * @@ -1854,9 +1912,14 @@ public final UnaryCallable deleteSnapshotCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided - * in the request.<br><br> <b>ALPHA:</b> This feature is part of an alpha - * release. This API might be changed in backward-incompatible ways and is not recommended for - * production use. It is not subject to any SLA or deprecation policy. + * in the request. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a snapshot. Note that + * both the subscription and the snapshot must be on the same topic.<br><br> + * <b>BETA:</b> This feature is part of a beta release. This API might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. * *

Sample code: * @@ -1880,9 +1943,14 @@ public final SeekResponse seek(SeekRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided - * in the request.<br><br> <b>ALPHA:</b> This feature is part of an alpha - * release. This API might be changed in backward-incompatible ways and is not recommended for - * production use. It is not subject to any SLA or deprecation policy. + * in the request. Snapshots are used in <a + * href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a> operations, which + * allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment + * state of messages in an existing subscription to the state captured by a snapshot. Note that + * both the subscription and the snapshot must be on the same topic.<br><br> + * <b>BETA:</b> This feature is part of a beta release. This API might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. * *

Sample code: * diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java index 073e1f2750c1..0f497ce565a2 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java @@ -177,7 +177,8 @@ public PublisherStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates the given topic with the given name. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. * *

Sample code: * @@ -204,7 +205,8 @@ public final Topic createTopic(ProjectTopicName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates the given topic with the given name. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. * *

Sample code: * @@ -231,7 +233,8 @@ public final Topic createTopic(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates the given topic with the given name. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. * *

Sample code: * @@ -255,7 +258,8 @@ public final Topic createTopic(Topic request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates the given topic with the given name. See the <a - * href="/pubsub/docs/admin#resource_names"> resource name rules</a>. + * href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource name + * rules</a>. * *

Sample code: * diff --git a/google-cloud-clients/google-cloud-pubsub/synth.metadata b/google-cloud-clients/google-cloud-pubsub/synth.metadata index 3c2ad1f85029..05048bef9909 100644 --- a/google-cloud-clients/google-cloud-pubsub/synth.metadata +++ b/google-cloud-clients/google-cloud-pubsub/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2018-12-07T08:45:57.038583Z", + "updateTime": "2019-01-05T08:46:07.715668Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.2", - "dockerImage": "googleapis/artman@sha256:2f6b261ee7fe1aedf238991c93a20b3820de37a343d0cacf3e3e9555c2aaf2ea" + "version": "0.16.4", + "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "200fbbe59cc7b0077ae525eb5f3d6420c0c53e61", - "internalRef": "224174014" + "sha": "a111a53c0c6722afcd793b64724ceef7862db5b9", + "internalRef": "227896184" } } ], From afc7a91c9e31d0ecdbf50357eefb7d766638807b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Wed, 9 Jan 2019 16:59:47 -0800 Subject: [PATCH 12/90] Regenerate monitoring client (#4316) --- .../v3/NotificationChannelServiceGrpc.java | 8 +- .../google/monitoring/v3/InternalChecker.java | 528 ++++++++++-------- .../v3/InternalCheckerOrBuilder.java | 80 +-- .../v3/NotificationServiceProto.java | 186 +++--- .../com/google/monitoring/v3/ServiceTier.java | 12 +- .../monitoring/v3/UptimeCheckConfig.java | 125 +++-- .../v3/UptimeCheckConfigOrBuilder.java | 24 +- .../com/google/monitoring/v3/UptimeProto.java | 94 ++-- .../proto/google/monitoring/v3/alert.proto | 3 +- .../google/monitoring/v3/alert_service.proto | 3 +- .../proto/google/monitoring/v3/common.proto | 11 +- .../google/monitoring/v3/dropped_labels.proto | 3 +- .../proto/google/monitoring/v3/group.proto | 3 +- .../google/monitoring/v3/group_service.proto | 3 +- .../proto/google/monitoring/v3/metric.proto | 3 +- .../google/monitoring/v3/metric_service.proto | 4 +- .../monitoring/v3/mutation_record.proto | 3 +- .../google/monitoring/v3/notification.proto | 3 +- .../monitoring/v3/notification_service.proto | 6 +- .../google/monitoring/v3/span_context.proto | 3 +- .../proto/google/monitoring/v3/uptime.proto | 54 +- .../google/monitoring/v3/uptime_service.proto | 3 +- .../v3/NotificationChannelServiceClient.java | 8 +- .../stub/AlertPolicyServiceStubSettings.java | 4 +- .../v3/stub/GroupServiceStubSettings.java | 8 +- .../v3/stub/MetricServiceStubSettings.java | 12 +- ...otificationChannelServiceStubSettings.java | 8 +- .../stub/UptimeCheckServiceStubSettings.java | 8 +- .../google-cloud-monitoring/synth.metadata | 32 ++ 29 files changed, 707 insertions(+), 535 deletions(-) create mode 100644 google-cloud-clients/google-cloud-monitoring/synth.metadata diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java b/google-api-grpc/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java index 3c30d141c5a2..41db3176c409 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java @@ -768,7 +768,7 @@ public void getNotificationChannel( * *

      * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or pagerduty service.
+     * endpoint such as an email address, SMS number, or PagerDuty service.
      * 
*/ public void createNotificationChannel( @@ -1054,7 +1054,7 @@ public void getNotificationChannel( * *
      * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or pagerduty service.
+     * endpoint such as an email address, SMS number, or PagerDuty service.
      * 
*/ public void createNotificationChannel( @@ -1272,7 +1272,7 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel( * *
      * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or pagerduty service.
+     * endpoint such as an email address, SMS number, or PagerDuty service.
      * 
*/ public com.google.monitoring.v3.NotificationChannel createNotificationChannel( @@ -1475,7 +1475,7 @@ protected NotificationChannelServiceFutureStub build( * *
      * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or pagerduty service.
+     * endpoint such as an email address, SMS number, or PagerDuty service.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java index 866195d648d4..72ce1d9ffb9f 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java @@ -7,7 +7,8 @@ * * *
- * Nimbus InternalCheckers.
+ * An internal checker allows uptime checks to run on private/internal GCP
+ * resources.
  * 
* * Protobuf type {@code google.monitoring.v3.InternalChecker} @@ -23,11 +24,11 @@ private InternalChecker(com.google.protobuf.GeneratedMessageV3.Builder builde } private InternalChecker() { - projectId_ = ""; + name_ = ""; + displayName_ = ""; network_ = ""; gcpZone_ = ""; - checkerId_ = ""; - displayName_ = ""; + peerProjectId_ = ""; } @java.lang.Override @@ -58,35 +59,35 @@ private InternalChecker( { java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; + name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); - network_ = s; + displayName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); - gcpZone_ = s; + network_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); - checkerId_ = s; + gcpZone_ = s; break; } - case 42: + case 50: { java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; + peerProjectId_ = s; break; } default: @@ -123,26 +124,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.monitoring.v3.InternalChecker.Builder.class); } - public static final int PROJECT_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object projectId_; + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; /** * * *
-   * The GCP project ID. Not necessarily the same as the project_id for the
-   * config.
+   * A unique resource name for this InternalChecker. The format is:
+   *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+   * PROJECT_ID is the stackdriver workspace project for the
+   * uptime check config associated with the internal checker.
    * 
* - * string project_id = 1; + * string name = 1; */ - public java.lang.String getProjectId() { - java.lang.Object ref = projectId_; + 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(); - projectId_ = s; + name_ = s; return s; } } @@ -150,43 +153,47 @@ public java.lang.String getProjectId() { * * *
-   * The GCP project ID. Not necessarily the same as the project_id for the
-   * config.
+   * A unique resource name for this InternalChecker. The format is:
+   *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+   * PROJECT_ID is the stackdriver workspace project for the
+   * uptime check config associated with the internal checker.
    * 
* - * string project_id = 1; + * string name = 1; */ - public com.google.protobuf.ByteString getProjectIdBytes() { - java.lang.Object ref = projectId_; + 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); - projectId_ = b; + name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int NETWORK_FIELD_NUMBER = 2; - private volatile java.lang.Object network_; + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object displayName_; /** * * *
-   * The internal network to perform this uptime check on.
+   * The checker's human-readable name. The display name
+   * should be unique within a Stackdriver Workspace in order to make it easier
+   * to identify; however, uniqueness is not enforced.
    * 
* - * string network = 2; + * string display_name = 2; */ - public java.lang.String getNetwork() { - java.lang.Object ref = network_; + 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(); - network_ = s; + displayName_ = s; return s; } } @@ -194,43 +201,45 @@ public java.lang.String getNetwork() { * * *
-   * The internal network to perform this uptime check on.
+   * The checker's human-readable name. The display name
+   * should be unique within a Stackdriver Workspace in order to make it easier
+   * to identify; however, uniqueness is not enforced.
    * 
* - * string network = 2; + * string display_name = 2; */ - public com.google.protobuf.ByteString getNetworkBytes() { - java.lang.Object ref = network_; + 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); - network_ = b; + displayName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int GCP_ZONE_FIELD_NUMBER = 3; - private volatile java.lang.Object gcpZone_; + public static final int NETWORK_FIELD_NUMBER = 3; + private volatile java.lang.Object network_; /** * * *
-   * The GCP zone the uptime check should egress from. Only respected for
-   * internal uptime checks, where internal_network is specified.
+   * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+   * internal resource lives (ex: "default").
    * 
* - * string gcp_zone = 3; + * string network = 3; */ - public java.lang.String getGcpZone() { - java.lang.Object ref = gcpZone_; + 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(); - gcpZone_ = s; + network_ = s; return s; } } @@ -238,43 +247,44 @@ public java.lang.String getGcpZone() { * * *
-   * The GCP zone the uptime check should egress from. Only respected for
-   * internal uptime checks, where internal_network is specified.
+   * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+   * internal resource lives (ex: "default").
    * 
* - * string gcp_zone = 3; + * string network = 3; */ - public com.google.protobuf.ByteString getGcpZoneBytes() { - java.lang.Object ref = gcpZone_; + 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); - gcpZone_ = b; + network_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int CHECKER_ID_FIELD_NUMBER = 4; - private volatile java.lang.Object checkerId_; + public static final int GCP_ZONE_FIELD_NUMBER = 4; + private volatile java.lang.Object gcpZone_; /** * * *
-   * The checker ID.
+   * The GCP zone the uptime check should egress from. Only respected for
+   * internal uptime checks, where internal_network is specified.
    * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - public java.lang.String getCheckerId() { - java.lang.Object ref = checkerId_; + public java.lang.String getGcpZone() { + java.lang.Object ref = gcpZone_; 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(); - checkerId_ = s; + gcpZone_ = s; return s; } } @@ -282,42 +292,44 @@ public java.lang.String getCheckerId() { * * *
-   * The checker ID.
+   * The GCP zone the uptime check should egress from. Only respected for
+   * internal uptime checks, where internal_network is specified.
    * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - public com.google.protobuf.ByteString getCheckerIdBytes() { - java.lang.Object ref = checkerId_; + public com.google.protobuf.ByteString getGcpZoneBytes() { + java.lang.Object ref = gcpZone_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - checkerId_ = b; + gcpZone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int DISPLAY_NAME_FIELD_NUMBER = 5; - private volatile java.lang.Object displayName_; + public static final int PEER_PROJECT_ID_FIELD_NUMBER = 6; + private volatile java.lang.Object peerProjectId_; /** * * *
-   * The checker's human-readable name.
+   * The GCP project_id where the internal checker lives. Not necessary
+   * the same as the workspace project.
    * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; + public java.lang.String getPeerProjectId() { + java.lang.Object ref = peerProjectId_; 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; + peerProjectId_ = s; return s; } } @@ -325,17 +337,18 @@ public java.lang.String getDisplayName() { * * *
-   * The checker's human-readable name.
+   * The GCP project_id where the internal checker lives. Not necessary
+   * the same as the workspace project.
    * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; + public com.google.protobuf.ByteString getPeerProjectIdBytes() { + java.lang.Object ref = peerProjectId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; + peerProjectId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -356,20 +369,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getProjectIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!getDisplayNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } if (!getNetworkBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, network_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, network_); } if (!getGcpZoneBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gcpZone_); - } - if (!getCheckerIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, checkerId_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, gcpZone_); } - if (!getDisplayNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); + if (!getPeerProjectIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, peerProjectId_); } unknownFields.writeTo(output); } @@ -380,20 +393,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getProjectIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_); + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!getDisplayNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (!getNetworkBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, network_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, network_); } if (!getGcpZoneBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gcpZone_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, gcpZone_); } - if (!getCheckerIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, checkerId_); - } - if (!getDisplayNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); + if (!getPeerProjectIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, peerProjectId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -411,11 +424,11 @@ public boolean equals(final java.lang.Object obj) { com.google.monitoring.v3.InternalChecker other = (com.google.monitoring.v3.InternalChecker) obj; boolean result = true; - result = result && getProjectId().equals(other.getProjectId()); + result = result && getName().equals(other.getName()); + result = result && getDisplayName().equals(other.getDisplayName()); result = result && getNetwork().equals(other.getNetwork()); result = result && getGcpZone().equals(other.getGcpZone()); - result = result && getCheckerId().equals(other.getCheckerId()); - result = result && getDisplayName().equals(other.getDisplayName()); + result = result && getPeerProjectId().equals(other.getPeerProjectId()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -427,16 +440,16 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; - hash = (53 * hash) + getProjectId().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + NETWORK_FIELD_NUMBER; hash = (53 * hash) + getNetwork().hashCode(); hash = (37 * hash) + GCP_ZONE_FIELD_NUMBER; hash = (53 * hash) + getGcpZone().hashCode(); - hash = (37 * hash) + CHECKER_ID_FIELD_NUMBER; - hash = (53 * hash) + getCheckerId().hashCode(); - hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + PEER_PROJECT_ID_FIELD_NUMBER; + hash = (53 * hash) + getPeerProjectId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -541,7 +554,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Nimbus InternalCheckers.
+   * An internal checker allows uptime checks to run on private/internal GCP
+   * resources.
    * 
* * Protobuf type {@code google.monitoring.v3.InternalChecker} @@ -582,15 +596,15 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - projectId_ = ""; + name_ = ""; + + displayName_ = ""; network_ = ""; gcpZone_ = ""; - checkerId_ = ""; - - displayName_ = ""; + peerProjectId_ = ""; return this; } @@ -619,11 +633,11 @@ public com.google.monitoring.v3.InternalChecker build() { public com.google.monitoring.v3.InternalChecker buildPartial() { com.google.monitoring.v3.InternalChecker result = new com.google.monitoring.v3.InternalChecker(this); - result.projectId_ = projectId_; + result.name_ = name_; + result.displayName_ = displayName_; result.network_ = network_; result.gcpZone_ = gcpZone_; - result.checkerId_ = checkerId_; - result.displayName_ = displayName_; + result.peerProjectId_ = peerProjectId_; onBuilt(); return result; } @@ -673,8 +687,12 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.monitoring.v3.InternalChecker other) { if (other == com.google.monitoring.v3.InternalChecker.getDefaultInstance()) return this; - if (!other.getProjectId().isEmpty()) { - projectId_ = other.projectId_; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; onChanged(); } if (!other.getNetwork().isEmpty()) { @@ -685,12 +703,8 @@ public Builder mergeFrom(com.google.monitoring.v3.InternalChecker other) { gcpZone_ = other.gcpZone_; onChanged(); } - if (!other.getCheckerId().isEmpty()) { - checkerId_ = other.checkerId_; - onChanged(); - } - if (!other.getDisplayName().isEmpty()) { - displayName_ = other.displayName_; + if (!other.getPeerProjectId().isEmpty()) { + peerProjectId_ = other.peerProjectId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -722,23 +736,25 @@ public Builder mergeFrom( return this; } - private java.lang.Object projectId_ = ""; + private java.lang.Object name_ = ""; /** * * *
-     * The GCP project ID. Not necessarily the same as the project_id for the
-     * config.
+     * A unique resource name for this InternalChecker. The format is:
+     *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+     * PROJECT_ID is the stackdriver workspace project for the
+     * uptime check config associated with the internal checker.
      * 
* - * string project_id = 1; + * string name = 1; */ - public java.lang.String getProjectId() { - java.lang.Object ref = projectId_; + 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(); - projectId_ = s; + name_ = s; return s; } else { return (java.lang.String) ref; @@ -748,18 +764,20 @@ public java.lang.String getProjectId() { * * *
-     * The GCP project ID. Not necessarily the same as the project_id for the
-     * config.
+     * A unique resource name for this InternalChecker. The format is:
+     *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+     * PROJECT_ID is the stackdriver workspace project for the
+     * uptime check config associated with the internal checker.
      * 
* - * string project_id = 1; + * string name = 1; */ - public com.google.protobuf.ByteString getProjectIdBytes() { - java.lang.Object ref = projectId_; + 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); - projectId_ = b; + name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -769,18 +787,20 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * The GCP project ID. Not necessarily the same as the project_id for the
-     * config.
+     * A unique resource name for this InternalChecker. The format is:
+     *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+     * PROJECT_ID is the stackdriver workspace project for the
+     * uptime check config associated with the internal checker.
      * 
* - * string project_id = 1; + * string name = 1; */ - public Builder setProjectId(java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - projectId_ = value; + name_ = value; onChanged(); return this; } @@ -788,15 +808,17 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * The GCP project ID. Not necessarily the same as the project_id for the
-     * config.
+     * A unique resource name for this InternalChecker. The format is:
+     *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+     * PROJECT_ID is the stackdriver workspace project for the
+     * uptime check config associated with the internal checker.
      * 
* - * string project_id = 1; + * string name = 1; */ - public Builder clearProjectId() { + public Builder clearName() { - projectId_ = getDefaultInstance().getProjectId(); + name_ = getDefaultInstance().getName(); onChanged(); return this; } @@ -804,39 +826,43 @@ public Builder clearProjectId() { * * *
-     * The GCP project ID. Not necessarily the same as the project_id for the
-     * config.
+     * A unique resource name for this InternalChecker. The format is:
+     *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+     * PROJECT_ID is the stackdriver workspace project for the
+     * uptime check config associated with the internal checker.
      * 
* - * string project_id = 1; + * string name = 1; */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - projectId_ = value; + name_ = value; onChanged(); return this; } - private java.lang.Object network_ = ""; + private java.lang.Object displayName_ = ""; /** * * *
-     * The internal network to perform this uptime check on.
+     * The checker's human-readable name. The display name
+     * should be unique within a Stackdriver Workspace in order to make it easier
+     * to identify; however, uniqueness is not enforced.
      * 
* - * string network = 2; + * string display_name = 2; */ - public java.lang.String getNetwork() { - java.lang.Object ref = network_; + 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(); - network_ = s; + displayName_ = s; return s; } else { return (java.lang.String) ref; @@ -846,17 +872,19 @@ public java.lang.String getNetwork() { * * *
-     * The internal network to perform this uptime check on.
+     * The checker's human-readable name. The display name
+     * should be unique within a Stackdriver Workspace in order to make it easier
+     * to identify; however, uniqueness is not enforced.
      * 
* - * string network = 2; + * string display_name = 2; */ - public com.google.protobuf.ByteString getNetworkBytes() { - java.lang.Object ref = network_; + 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); - network_ = b; + displayName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -866,17 +894,19 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * *
-     * The internal network to perform this uptime check on.
+     * The checker's human-readable name. The display name
+     * should be unique within a Stackdriver Workspace in order to make it easier
+     * to identify; however, uniqueness is not enforced.
      * 
* - * string network = 2; + * string display_name = 2; */ - public Builder setNetwork(java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - network_ = value; + displayName_ = value; onChanged(); return this; } @@ -884,14 +914,16 @@ public Builder setNetwork(java.lang.String value) { * * *
-     * The internal network to perform this uptime check on.
+     * The checker's human-readable name. The display name
+     * should be unique within a Stackdriver Workspace in order to make it easier
+     * to identify; however, uniqueness is not enforced.
      * 
* - * string network = 2; + * string display_name = 2; */ - public Builder clearNetwork() { + public Builder clearDisplayName() { - network_ = getDefaultInstance().getNetwork(); + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } @@ -899,39 +931,41 @@ public Builder clearNetwork() { * * *
-     * The internal network to perform this uptime check on.
+     * The checker's human-readable name. The display name
+     * should be unique within a Stackdriver Workspace in order to make it easier
+     * to identify; however, uniqueness is not enforced.
      * 
* - * string network = 2; + * string display_name = 2; */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - network_ = value; + displayName_ = value; onChanged(); return this; } - private java.lang.Object gcpZone_ = ""; + private java.lang.Object network_ = ""; /** * * *
-     * The GCP zone the uptime check should egress from. Only respected for
-     * internal uptime checks, where internal_network is specified.
+     * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+     * internal resource lives (ex: "default").
      * 
* - * string gcp_zone = 3; + * string network = 3; */ - public java.lang.String getGcpZone() { - java.lang.Object ref = gcpZone_; + 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(); - gcpZone_ = s; + network_ = s; return s; } else { return (java.lang.String) ref; @@ -941,18 +975,18 @@ public java.lang.String getGcpZone() { * * *
-     * The GCP zone the uptime check should egress from. Only respected for
-     * internal uptime checks, where internal_network is specified.
+     * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+     * internal resource lives (ex: "default").
      * 
* - * string gcp_zone = 3; + * string network = 3; */ - public com.google.protobuf.ByteString getGcpZoneBytes() { - java.lang.Object ref = gcpZone_; + 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); - gcpZone_ = b; + network_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -962,18 +996,18 @@ public com.google.protobuf.ByteString getGcpZoneBytes() { * * *
-     * The GCP zone the uptime check should egress from. Only respected for
-     * internal uptime checks, where internal_network is specified.
+     * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+     * internal resource lives (ex: "default").
      * 
* - * string gcp_zone = 3; + * string network = 3; */ - public Builder setGcpZone(java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - gcpZone_ = value; + network_ = value; onChanged(); return this; } @@ -981,15 +1015,15 @@ public Builder setGcpZone(java.lang.String value) { * * *
-     * The GCP zone the uptime check should egress from. Only respected for
-     * internal uptime checks, where internal_network is specified.
+     * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+     * internal resource lives (ex: "default").
      * 
* - * string gcp_zone = 3; + * string network = 3; */ - public Builder clearGcpZone() { + public Builder clearNetwork() { - gcpZone_ = getDefaultInstance().getGcpZone(); + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } @@ -997,39 +1031,40 @@ public Builder clearGcpZone() { * * *
-     * The GCP zone the uptime check should egress from. Only respected for
-     * internal uptime checks, where internal_network is specified.
+     * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+     * internal resource lives (ex: "default").
      * 
* - * string gcp_zone = 3; + * string network = 3; */ - public Builder setGcpZoneBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - gcpZone_ = value; + network_ = value; onChanged(); return this; } - private java.lang.Object checkerId_ = ""; + private java.lang.Object gcpZone_ = ""; /** * * *
-     * The checker ID.
+     * The GCP zone the uptime check should egress from. Only respected for
+     * internal uptime checks, where internal_network is specified.
      * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - public java.lang.String getCheckerId() { - java.lang.Object ref = checkerId_; + public java.lang.String getGcpZone() { + java.lang.Object ref = gcpZone_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - checkerId_ = s; + gcpZone_ = s; return s; } else { return (java.lang.String) ref; @@ -1039,17 +1074,18 @@ public java.lang.String getCheckerId() { * * *
-     * The checker ID.
+     * The GCP zone the uptime check should egress from. Only respected for
+     * internal uptime checks, where internal_network is specified.
      * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - public com.google.protobuf.ByteString getCheckerIdBytes() { - java.lang.Object ref = checkerId_; + public com.google.protobuf.ByteString getGcpZoneBytes() { + java.lang.Object ref = gcpZone_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - checkerId_ = b; + gcpZone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -1059,17 +1095,18 @@ public com.google.protobuf.ByteString getCheckerIdBytes() { * * *
-     * The checker ID.
+     * The GCP zone the uptime check should egress from. Only respected for
+     * internal uptime checks, where internal_network is specified.
      * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - public Builder setCheckerId(java.lang.String value) { + public Builder setGcpZone(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - checkerId_ = value; + gcpZone_ = value; onChanged(); return this; } @@ -1077,14 +1114,15 @@ public Builder setCheckerId(java.lang.String value) { * * *
-     * The checker ID.
+     * The GCP zone the uptime check should egress from. Only respected for
+     * internal uptime checks, where internal_network is specified.
      * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - public Builder clearCheckerId() { + public Builder clearGcpZone() { - checkerId_ = getDefaultInstance().getCheckerId(); + gcpZone_ = getDefaultInstance().getGcpZone(); onChanged(); return this; } @@ -1092,38 +1130,40 @@ public Builder clearCheckerId() { * * *
-     * The checker ID.
+     * The GCP zone the uptime check should egress from. Only respected for
+     * internal uptime checks, where internal_network is specified.
      * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - public Builder setCheckerIdBytes(com.google.protobuf.ByteString value) { + public Builder setGcpZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - checkerId_ = value; + gcpZone_ = value; onChanged(); return this; } - private java.lang.Object displayName_ = ""; + private java.lang.Object peerProjectId_ = ""; /** * * *
-     * The checker's human-readable name.
+     * The GCP project_id where the internal checker lives. Not necessary
+     * the same as the workspace project.
      * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; + public java.lang.String getPeerProjectId() { + java.lang.Object ref = peerProjectId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - displayName_ = s; + peerProjectId_ = s; return s; } else { return (java.lang.String) ref; @@ -1133,17 +1173,18 @@ public java.lang.String getDisplayName() { * * *
-     * The checker's human-readable name.
+     * The GCP project_id where the internal checker lives. Not necessary
+     * the same as the workspace project.
      * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; + public com.google.protobuf.ByteString getPeerProjectIdBytes() { + java.lang.Object ref = peerProjectId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; + peerProjectId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -1153,17 +1194,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * The checker's human-readable name.
+     * The GCP project_id where the internal checker lives. Not necessary
+     * the same as the workspace project.
      * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - public Builder setDisplayName(java.lang.String value) { + public Builder setPeerProjectId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - displayName_ = value; + peerProjectId_ = value; onChanged(); return this; } @@ -1171,14 +1213,15 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * The checker's human-readable name.
+     * The GCP project_id where the internal checker lives. Not necessary
+     * the same as the workspace project.
      * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - public Builder clearDisplayName() { + public Builder clearPeerProjectId() { - displayName_ = getDefaultInstance().getDisplayName(); + peerProjectId_ = getDefaultInstance().getPeerProjectId(); onChanged(); return this; } @@ -1186,18 +1229,19 @@ public Builder clearDisplayName() { * * *
-     * The checker's human-readable name.
+     * The GCP project_id where the internal checker lives. Not necessary
+     * the same as the workspace project.
      * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setPeerProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - displayName_ = value; + peerProjectId_ = value; onChanged(); return this; } diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java index a3d5cd6c4ede..35eb02a052ab 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java @@ -12,108 +12,120 @@ public interface InternalCheckerOrBuilder * * *
-   * The GCP project ID. Not necessarily the same as the project_id for the
-   * config.
+   * A unique resource name for this InternalChecker. The format is:
+   *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+   * PROJECT_ID is the stackdriver workspace project for the
+   * uptime check config associated with the internal checker.
    * 
* - * string project_id = 1; + * string name = 1; */ - java.lang.String getProjectId(); + java.lang.String getName(); /** * * *
-   * The GCP project ID. Not necessarily the same as the project_id for the
-   * config.
+   * A unique resource name for this InternalChecker. The format is:
+   *   `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
+   * PROJECT_ID is the stackdriver workspace project for the
+   * uptime check config associated with the internal checker.
    * 
* - * string project_id = 1; + * string name = 1; */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString getNameBytes(); /** * * *
-   * The internal network to perform this uptime check on.
+   * The checker's human-readable name. The display name
+   * should be unique within a Stackdriver Workspace in order to make it easier
+   * to identify; however, uniqueness is not enforced.
    * 
* - * string network = 2; + * string display_name = 2; */ - java.lang.String getNetwork(); + java.lang.String getDisplayName(); /** * * *
-   * The internal network to perform this uptime check on.
+   * The checker's human-readable name. The display name
+   * should be unique within a Stackdriver Workspace in order to make it easier
+   * to identify; however, uniqueness is not enforced.
    * 
* - * string network = 2; + * string display_name = 2; */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** * * *
-   * The GCP zone the uptime check should egress from. Only respected for
-   * internal uptime checks, where internal_network is specified.
+   * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+   * internal resource lives (ex: "default").
    * 
* - * string gcp_zone = 3; + * string network = 3; */ - java.lang.String getGcpZone(); + java.lang.String getNetwork(); /** * * *
-   * The GCP zone the uptime check should egress from. Only respected for
-   * internal uptime checks, where internal_network is specified.
+   * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
+   * internal resource lives (ex: "default").
    * 
* - * string gcp_zone = 3; + * string network = 3; */ - com.google.protobuf.ByteString getGcpZoneBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** * * *
-   * The checker ID.
+   * The GCP zone the uptime check should egress from. Only respected for
+   * internal uptime checks, where internal_network is specified.
    * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - java.lang.String getCheckerId(); + java.lang.String getGcpZone(); /** * * *
-   * The checker ID.
+   * The GCP zone the uptime check should egress from. Only respected for
+   * internal uptime checks, where internal_network is specified.
    * 
* - * string checker_id = 4; + * string gcp_zone = 4; */ - com.google.protobuf.ByteString getCheckerIdBytes(); + com.google.protobuf.ByteString getGcpZoneBytes(); /** * * *
-   * The checker's human-readable name.
+   * The GCP project_id where the internal checker lives. Not necessary
+   * the same as the workspace project.
    * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - java.lang.String getDisplayName(); + java.lang.String getPeerProjectId(); /** * * *
-   * The checker's human-readable name.
+   * The GCP project_id where the internal checker lives. Not necessary
+   * the same as the workspace project.
    * 
* - * string display_name = 5; + * string peer_project_id = 6; */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString getPeerProjectIdBytes(); } diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java index 67591cb858bc..962ca9e05a5d 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java @@ -78,98 +78,98 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "api/annotations.proto\032\'google/monitoring" + "/v3/notification.proto\032\033google/protobuf/" + "empty.proto\032 google/protobuf/field_mask." - + "proto\032\037google/protobuf/timestamp.proto\"`" - + "\n)ListNotificationChannelDescriptorsRequ" - + "est\022\014\n\004name\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"\227\001\n*ListNotificationCha" - + "nnelDescriptorsResponse\022P\n\023channel_descr" - + "iptors\030\001 \003(\01323.google.monitoring.v3.Noti" - + "ficationChannelDescriptor\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"7\n\'GetNotificationChannelDesc" - + "riptorRequest\022\014\n\004name\030\003 \001(\t\"y\n CreateNot" - + "ificationChannelRequest\022\014\n\004name\030\003 \001(\t\022G\n" - + "\024notification_channel\030\002 \001(\0132).google.mon" - + "itoring.v3.NotificationChannel\"x\n\037ListNo" - + "tificationChannelsRequest\022\014\n\004name\030\005 \001(\t\022" - + "\016\n\006filter\030\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\tpag" - + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\205\001\n Lis" - + "tNotificationChannelsResponse\022H\n\025notific" - + "ation_channels\030\003 \003(\0132).google.monitoring" - + ".v3.NotificationChannel\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"-\n\035GetNotificationChannelReques" - + "t\022\014\n\004name\030\003 \001(\t\"\234\001\n UpdateNotificationCh" - + "annelRequest\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\022G\n\024notification_ch" - + "annel\030\003 \001(\0132).google.monitoring.v3.Notif" - + "icationChannel\"?\n DeleteNotificationChan" - + "nelRequest\022\014\n\004name\030\003 \001(\t\022\r\n\005force\030\005 \001(\010\"" - + ">\n.SendNotificationChannelVerificationCo" - + "deRequest\022\014\n\004name\030\001 \001(\t\"n\n-GetNotificati" - + "onChannelVerificationCodeRequest\022\014\n\004name" - + "\030\001 \001(\t\022/\n\013expire_time\030\002 \001(\0132\032.google.pro" - + "tobuf.Timestamp\"o\n.GetNotificationChanne" - + "lVerificationCodeResponse\022\014\n\004code\030\001 \001(\t\022" - + "/\n\013expire_time\030\002 \001(\0132\032.google.protobuf.T" - + "imestamp\">\n VerifyNotificationChannelReq" - + "uest\022\014\n\004name\030\001 \001(\t\022\014\n\004code\030\002 \001(\t2\273\020\n\032Not" - + "ificationChannelService\022\345\001\n\"ListNotifica" - + "tionChannelDescriptors\022?.google.monitori" - + "ng.v3.ListNotificationChannelDescriptors" - + "Request\032@.google.monitoring.v3.ListNotif" - + "icationChannelDescriptorsResponse\"<\202\323\344\223\002" - + "6\0224/v3/{name=projects/*}/notificationCha" - + "nnelDescriptors\022\326\001\n GetNotificationChann" - + "elDescriptor\022=.google.monitoring.v3.GetN" - + "otificationChannelDescriptorRequest\0323.go" - + "ogle.monitoring.v3.NotificationChannelDe" - + "scriptor\">\202\323\344\223\0028\0226/v3/{name=projects/*/n" - + "otificationChannelDescriptors/*}\022\275\001\n\030Lis" - + "tNotificationChannels\0225.google.monitorin" - + "g.v3.ListNotificationChannelsRequest\0326.g" - + "oogle.monitoring.v3.ListNotificationChan" - + "nelsResponse\"2\202\323\344\223\002,\022*/v3/{name=projects" - + "/*}/notificationChannels\022\256\001\n\026GetNotifica" - + "tionChannel\0223.google.monitoring.v3.GetNo" - + "tificationChannelRequest\032).google.monito" - + "ring.v3.NotificationChannel\"4\202\323\344\223\002.\022,/v3" - + "/{name=projects/*/notificationChannels/*" - + "}\022\310\001\n\031CreateNotificationChannel\0226.google" - + ".monitoring.v3.CreateNotificationChannel" - + "Request\032).google.monitoring.v3.Notificat" - + "ionChannel\"H\202\323\344\223\002B\"*/v3/{name=projects/*" - + "}/notificationChannels:\024notification_cha" - + "nnel\022\337\001\n\031UpdateNotificationChannel\0226.goo" - + "gle.monitoring.v3.UpdateNotificationChan" - + "nelRequest\032).google.monitoring.v3.Notifi" - + "cationChannel\"_\202\323\344\223\002Y2A/v3/{notification" - + "_channel.name=projects/*/notificationCha" - + "nnels/*}:\024notification_channel\022\241\001\n\031Delet" - + "eNotificationChannel\0226.google.monitoring" - + ".v3.DeleteNotificationChannelRequest\032\026.g" - + "oogle.protobuf.Empty\"4\202\323\344\223\002.*,/v3/{name=" - + "projects/*/notificationChannels/*}\022\325\001\n\'S" - + "endNotificationChannelVerificationCode\022D" - + ".google.monitoring.v3.SendNotificationCh" - + "annelVerificationCodeRequest\032\026.google.pr" - + "otobuf.Empty\"L\202\323\344\223\002F\"A/v3/{name=projects" - + "/*/notificationChannels/*}:sendVerificat" - + "ionCode:\001*\022\200\002\n&GetNotificationChannelVer" - + "ificationCode\022C.google.monitoring.v3.Get" - + "NotificationChannelVerificationCodeReque" - + "st\032D.google.monitoring.v3.GetNotificatio" - + "nChannelVerificationCodeResponse\"K\202\323\344\223\002E" - + "\"@/v3/{name=projects/*/notificationChann" - + "els/*}:getVerificationCode:\001*\022\276\001\n\031Verify" - + "NotificationChannel\0226.google.monitoring." - + "v3.VerifyNotificationChannelRequest\032).go" - + "ogle.monitoring.v3.NotificationChannel\">" - + "\202\323\344\223\0028\"3/v3/{name=projects/*/notificatio" - + "nChannels/*}:verify:\001*B\260\001\n\030com.google.mo" - + "nitoring.v3B\030NotificationServiceProtoP\001Z" - + ">google.golang.org/genproto/googleapis/m" - + "onitoring/v3;monitoring\252\002\032Google.Cloud.M" - + "onitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V" - + "3b\006proto3" + + "proto\032\034google/protobuf/struct.proto\032\037goo" + + "gle/protobuf/timestamp.proto\"`\n)ListNoti" + + "ficationChannelDescriptorsRequest\022\014\n\004nam" + + "e\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + + "\030\003 \001(\t\"\227\001\n*ListNotificationChannelDescri" + + "ptorsResponse\022P\n\023channel_descriptors\030\001 \003" + + "(\01323.google.monitoring.v3.NotificationCh" + + "annelDescriptor\022\027\n\017next_page_token\030\002 \001(\t" + + "\"7\n\'GetNotificationChannelDescriptorRequ" + + "est\022\014\n\004name\030\003 \001(\t\"y\n CreateNotificationC" + + "hannelRequest\022\014\n\004name\030\003 \001(\t\022G\n\024notificat" + + "ion_channel\030\002 \001(\0132).google.monitoring.v3" + + ".NotificationChannel\"x\n\037ListNotification" + + "ChannelsRequest\022\014\n\004name\030\005 \001(\t\022\016\n\006filter\030" + + "\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\tpage_size\030\003 \001" + + "(\005\022\022\n\npage_token\030\004 \001(\t\"\205\001\n ListNotificat" + + "ionChannelsResponse\022H\n\025notification_chan" + + "nels\030\003 \003(\0132).google.monitoring.v3.Notifi" + + "cationChannel\022\027\n\017next_page_token\030\002 \001(\t\"-" + + "\n\035GetNotificationChannelRequest\022\014\n\004name\030" + + "\003 \001(\t\"\234\001\n UpdateNotificationChannelReque" + + "st\022/\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMask\022G\n\024notification_channel\030\003 \001(" + + "\0132).google.monitoring.v3.NotificationCha" + + "nnel\"?\n DeleteNotificationChannelRequest" + + "\022\014\n\004name\030\003 \001(\t\022\r\n\005force\030\005 \001(\010\">\n.SendNot" + + "ificationChannelVerificationCodeRequest\022" + + "\014\n\004name\030\001 \001(\t\"n\n-GetNotificationChannelV" + + "erificationCodeRequest\022\014\n\004name\030\001 \001(\t\022/\n\013" + + "expire_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\"o\n.GetNotificationChannelVerificat" + + "ionCodeResponse\022\014\n\004code\030\001 \001(\t\022/\n\013expire_" + + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\">" + + "\n VerifyNotificationChannelRequest\022\014\n\004na" + + "me\030\001 \001(\t\022\014\n\004code\030\002 \001(\t2\273\020\n\032NotificationC" + + "hannelService\022\345\001\n\"ListNotificationChanne" + + "lDescriptors\022?.google.monitoring.v3.List" + + "NotificationChannelDescriptorsRequest\032@." + + "google.monitoring.v3.ListNotificationCha" + + "nnelDescriptorsResponse\"<\202\323\344\223\0026\0224/v3/{na" + + "me=projects/*}/notificationChannelDescri" + + "ptors\022\326\001\n GetNotificationChannelDescript" + + "or\022=.google.monitoring.v3.GetNotificatio" + + "nChannelDescriptorRequest\0323.google.monit" + + "oring.v3.NotificationChannelDescriptor\">" + + "\202\323\344\223\0028\0226/v3/{name=projects/*/notificatio" + + "nChannelDescriptors/*}\022\275\001\n\030ListNotificat" + + "ionChannels\0225.google.monitoring.v3.ListN" + + "otificationChannelsRequest\0326.google.moni" + + "toring.v3.ListNotificationChannelsRespon" + + "se\"2\202\323\344\223\002,\022*/v3/{name=projects/*}/notifi" + + "cationChannels\022\256\001\n\026GetNotificationChanne" + + "l\0223.google.monitoring.v3.GetNotification" + + "ChannelRequest\032).google.monitoring.v3.No" + + "tificationChannel\"4\202\323\344\223\002.\022,/v3/{name=pro" + + "jects/*/notificationChannels/*}\022\310\001\n\031Crea" + + "teNotificationChannel\0226.google.monitorin" + + "g.v3.CreateNotificationChannelRequest\032)." + + "google.monitoring.v3.NotificationChannel" + + "\"H\202\323\344\223\002B\"*/v3/{name=projects/*}/notifica" + + "tionChannels:\024notification_channel\022\337\001\n\031U" + + "pdateNotificationChannel\0226.google.monito" + + "ring.v3.UpdateNotificationChannelRequest" + + "\032).google.monitoring.v3.NotificationChan" + + "nel\"_\202\323\344\223\002Y2A/v3/{notification_channel.n" + + "ame=projects/*/notificationChannels/*}:\024" + + "notification_channel\022\241\001\n\031DeleteNotificat" + + "ionChannel\0226.google.monitoring.v3.Delete" + + "NotificationChannelRequest\032\026.google.prot" + + "obuf.Empty\"4\202\323\344\223\002.*,/v3/{name=projects/*" + + "/notificationChannels/*}\022\325\001\n\'SendNotific" + + "ationChannelVerificationCode\022D.google.mo" + + "nitoring.v3.SendNotificationChannelVerif" + + "icationCodeRequest\032\026.google.protobuf.Emp" + + "ty\"L\202\323\344\223\002F\"A/v3/{name=projects/*/notific" + + "ationChannels/*}:sendVerificationCode:\001*" + + "\022\200\002\n&GetNotificationChannelVerificationC" + + "ode\022C.google.monitoring.v3.GetNotificati" + + "onChannelVerificationCodeRequest\032D.googl" + + "e.monitoring.v3.GetNotificationChannelVe" + + "rificationCodeResponse\"K\202\323\344\223\002E\"@/v3/{nam" + + "e=projects/*/notificationChannels/*}:get" + + "VerificationCode:\001*\022\276\001\n\031VerifyNotificati" + + "onChannel\0226.google.monitoring.v3.VerifyN" + + "otificationChannelRequest\032).google.monit" + + "oring.v3.NotificationChannel\">\202\323\344\223\0028\"3/v" + + "3/{name=projects/*/notificationChannels/" + + "*}:verify:\001*B\260\001\n\030com.google.monitoring.v" + + "3B\030NotificationServiceProtoP\001Z>google.go" + + "lang.org/genproto/googleapis/monitoring/" + + "v3;monitoring\252\002\032Google.Cloud.Monitoring." + + "V3\312\002\032Google\\Cloud\\Monitoring\\V3b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -186,6 +186,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.monitoring.v3.NotificationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }, assigner); @@ -302,6 +303,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.monitoring.v3.NotificationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java index 67f265d22d04..6adcff24a682 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java @@ -7,8 +7,8 @@ * * *
- * The tier of service for a Stackdriver account. Please see the
- * [service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers)
+ * The tier of service for a Workspace. Please see the
+ * [service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers)
  * for more details.
  * 
* @@ -33,7 +33,7 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum { * The Stackdriver Basic tier, a free tier of service that provides basic * features, a moderate allotment of logs, and access to built-in metrics. * A number of features are not available in this tier. For more details, - * see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + * see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). * * * SERVICE_TIER_BASIC = 1; @@ -46,7 +46,7 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum { * The Stackdriver Premium tier, a higher, more expensive tier of service * that provides access to all Stackdriver features, lets you use Stackdriver * with AWS accounts, and has a larger allotments for logs and metrics. For - * more details, see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + * more details, see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). * * * SERVICE_TIER_PREMIUM = 2; @@ -73,7 +73,7 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum { * The Stackdriver Basic tier, a free tier of service that provides basic * features, a moderate allotment of logs, and access to built-in metrics. * A number of features are not available in this tier. For more details, - * see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + * see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). * * * SERVICE_TIER_BASIC = 1; @@ -86,7 +86,7 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum { * The Stackdriver Premium tier, a higher, more expensive tier of service * that provides access to all Stackdriver features, lets you use Stackdriver * with AWS accounts, and has a larger allotments for logs and metrics. For - * more details, see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + * more details, see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). * * * SERVICE_TIER_PREMIUM = 2; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java index 1da2640803f2..cf8bce63ce91 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java @@ -4243,7 +4243,7 @@ public interface ContentMatcherOrBuilder * * *
-     * String content to match (max 1024 bytes)
+     * String or regex content to match (max 1024 bytes)
      * 
* * string content = 1; @@ -4253,7 +4253,7 @@ public interface ContentMatcherOrBuilder * * *
-     * String content to match (max 1024 bytes)
+     * String or regex content to match (max 1024 bytes)
      * 
* * string content = 1; @@ -4264,9 +4264,8 @@ public interface ContentMatcherOrBuilder * * *
-   * Used to perform string matching. Currently, this matches on the exact
-   * content. In the future, it can be expanded to allow for regular expressions
-   * and more complex matching.
+   * Used to perform string matching. It allows substring and regular
+   * expressions, together with their negations.
    * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher} @@ -4356,7 +4355,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * String content to match (max 1024 bytes)
+     * String or regex content to match (max 1024 bytes)
      * 
* * string content = 1; @@ -4376,7 +4375,7 @@ public java.lang.String getContent() { * * *
-     * String content to match (max 1024 bytes)
+     * String or regex content to match (max 1024 bytes)
      * 
* * string content = 1; @@ -4559,9 +4558,8 @@ protected Builder newBuilderForType( * * *
-     * Used to perform string matching. Currently, this matches on the exact
-     * content. In the future, it can be expanded to allow for regular expressions
-     * and more complex matching.
+     * Used to perform string matching. It allows substring and regular
+     * expressions, together with their negations.
      * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher} @@ -4724,7 +4722,7 @@ public Builder mergeFrom( * * *
-       * String content to match (max 1024 bytes)
+       * String or regex content to match (max 1024 bytes)
        * 
* * string content = 1; @@ -4744,7 +4742,7 @@ public java.lang.String getContent() { * * *
-       * String content to match (max 1024 bytes)
+       * String or regex content to match (max 1024 bytes)
        * 
* * string content = 1; @@ -4764,7 +4762,7 @@ public com.google.protobuf.ByteString getContentBytes() { * * *
-       * String content to match (max 1024 bytes)
+       * String or regex content to match (max 1024 bytes)
        * 
* * string content = 1; @@ -4782,7 +4780,7 @@ public Builder setContent(java.lang.String value) { * * *
-       * String content to match (max 1024 bytes)
+       * String or regex content to match (max 1024 bytes)
        * 
* * string content = 1; @@ -4797,7 +4795,7 @@ public Builder clearContent() { * * *
-       * String content to match (max 1024 bytes)
+       * String or regex content to match (max 1024 bytes)
        * 
* * string content = 1; @@ -5004,7 +5002,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * A human-friendly name for the uptime check configuration. The display name
-   * should be unique within a Stackdriver Account in order to make it easier
+   * should be unique within a Stackdriver Workspace in order to make it easier
    * to identify; however, uniqueness is not enforced. Required.
    * 
* @@ -5026,7 +5024,7 @@ public java.lang.String getDisplayName() { * *
    * A human-friendly name for the uptime check configuration. The display name
-   * should be unique within a Stackdriver Account in order to make it easier
+   * should be unique within a Stackdriver Workspace in order to make it easier
    * to identify; however, uniqueness is not enforced. Required.
    * 
* @@ -5449,6 +5447,7 @@ public com.google.monitoring.v3.UptimeCheckRegion convert(java.lang.Integer from * *
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -5467,6 +5466,7 @@ public java.util.List getSelectedReg
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -5483,6 +5483,7 @@ public int getSelectedRegionsCount() {
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -5499,6 +5500,7 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -5515,6 +5517,7 @@ public java.util.List getSelectedRegionsValueList() {
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -5535,7 +5538,10 @@ public int getSelectedRegionsValue(int index) {
    *
    *
    * 
-   * Denotes whether this is a check that egresses from InternalCheckers.
+   * If this is true, then checks are made only from the 'internal_checkers'.
+   * If it is false, then checks are made only from the 'selected_regions'.
+   * It is an error to provide 'selected_regions' when is_internal is true,
+   * or to provide 'internal_checkers' when is_internal is false.
    * 
* * bool is_internal = 15; @@ -5551,7 +5557,7 @@ public boolean getIsInternal() { * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -5565,7 +5571,7 @@ public java.util.List getInternalCheck * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -5580,7 +5586,7 @@ public java.util.List getInternalCheck * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -5594,7 +5600,7 @@ public int getInternalCheckersCount() { * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -5608,7 +5614,7 @@ public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -6477,7 +6483,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * A human-friendly name for the uptime check configuration. The display name
-     * should be unique within a Stackdriver Account in order to make it easier
+     * should be unique within a Stackdriver Workspace in order to make it easier
      * to identify; however, uniqueness is not enforced. Required.
      * 
* @@ -6499,7 +6505,7 @@ public java.lang.String getDisplayName() { * *
      * A human-friendly name for the uptime check configuration. The display name
-     * should be unique within a Stackdriver Account in order to make it easier
+     * should be unique within a Stackdriver Workspace in order to make it easier
      * to identify; however, uniqueness is not enforced. Required.
      * 
* @@ -6521,7 +6527,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * *
      * A human-friendly name for the uptime check configuration. The display name
-     * should be unique within a Stackdriver Account in order to make it easier
+     * should be unique within a Stackdriver Workspace in order to make it easier
      * to identify; however, uniqueness is not enforced. Required.
      * 
* @@ -6541,7 +6547,7 @@ public Builder setDisplayName(java.lang.String value) { * *
      * A human-friendly name for the uptime check configuration. The display name
-     * should be unique within a Stackdriver Account in order to make it easier
+     * should be unique within a Stackdriver Workspace in order to make it easier
      * to identify; however, uniqueness is not enforced. Required.
      * 
* @@ -6558,7 +6564,7 @@ public Builder clearDisplayName() { * *
      * A human-friendly name for the uptime check configuration. The display name
-     * should be unique within a Stackdriver Account in order to make it easier
+     * should be unique within a Stackdriver Workspace in order to make it easier
      * to identify; however, uniqueness is not enforced. Required.
      * 
* @@ -8320,6 +8326,7 @@ private void ensureSelectedRegionsIsMutable() { * *
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8338,6 +8345,7 @@ public java.util.List getSelectedReg
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8354,6 +8362,7 @@ public int getSelectedRegionsCount() {
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8370,6 +8379,7 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8392,6 +8402,7 @@ public Builder setSelectedRegions(int index, com.google.monitoring.v3.UptimeChec
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8414,6 +8425,7 @@ public Builder addSelectedRegions(com.google.monitoring.v3.UptimeCheckRegion val
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8436,6 +8448,7 @@ public Builder addAllSelectedRegions(
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8455,6 +8468,7 @@ public Builder clearSelectedRegions() {
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8471,6 +8485,7 @@ public java.util.List getSelectedRegionsValueList() {
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8487,6 +8502,7 @@ public int getSelectedRegionsValue(int index) {
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8506,6 +8522,7 @@ public Builder setSelectedRegionsValue(int index, int value) {
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8525,6 +8542,7 @@ public Builder addSelectedRegionsValue(int value) {
      *
      * 
      * The list of regions from which the check will be run.
+     * Some regions contain one location, and others contain more than one.
      * If this field is specified, enough regions to include a minimum of
      * 3 locations must be provided, or an error message is returned.
      * Not specifying this field will result in uptime checks running from all
@@ -8547,7 +8565,10 @@ public Builder addAllSelectedRegionsValue(java.lang.Iterable
      *
      *
      * 
-     * Denotes whether this is a check that egresses from InternalCheckers.
+     * If this is true, then checks are made only from the 'internal_checkers'.
+     * If it is false, then checks are made only from the 'selected_regions'.
+     * It is an error to provide 'selected_regions' when is_internal is true,
+     * or to provide 'internal_checkers' when is_internal is false.
      * 
* * bool is_internal = 15; @@ -8559,7 +8580,10 @@ public boolean getIsInternal() { * * *
-     * Denotes whether this is a check that egresses from InternalCheckers.
+     * If this is true, then checks are made only from the 'internal_checkers'.
+     * If it is false, then checks are made only from the 'selected_regions'.
+     * It is an error to provide 'selected_regions' when is_internal is true,
+     * or to provide 'internal_checkers' when is_internal is false.
      * 
* * bool is_internal = 15; @@ -8574,7 +8598,10 @@ public Builder setIsInternal(boolean value) { * * *
-     * Denotes whether this is a check that egresses from InternalCheckers.
+     * If this is true, then checks are made only from the 'internal_checkers'.
+     * If it is false, then checks are made only from the 'selected_regions'.
+     * It is an error to provide 'selected_regions' when is_internal is true,
+     * or to provide 'internal_checkers' when is_internal is false.
      * 
* * bool is_internal = 15; @@ -8608,7 +8635,7 @@ private void ensureInternalCheckersIsMutable() { * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8626,7 +8653,7 @@ public java.util.List getInternalCheck * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8644,7 +8671,7 @@ public int getInternalCheckersCount() { * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8662,7 +8689,7 @@ public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8686,7 +8713,7 @@ public Builder setInternalCheckers(int index, com.google.monitoring.v3.InternalC * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8708,7 +8735,7 @@ public Builder setInternalCheckers( * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8732,7 +8759,7 @@ public Builder addInternalCheckers(com.google.monitoring.v3.InternalChecker valu * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8756,7 +8783,7 @@ public Builder addInternalCheckers(int index, com.google.monitoring.v3.InternalC * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8778,7 +8805,7 @@ public Builder addInternalCheckers( * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8800,7 +8827,7 @@ public Builder addInternalCheckers( * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8822,7 +8849,7 @@ public Builder addAllInternalCheckers( * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8843,7 +8870,7 @@ public Builder clearInternalCheckers() { * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8864,7 +8891,7 @@ public Builder removeInternalCheckers(int index) { * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8878,7 +8905,7 @@ public com.google.monitoring.v3.InternalChecker.Builder getInternalCheckersBuild * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8897,7 +8924,7 @@ public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBu * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8916,7 +8943,7 @@ public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBu * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8931,7 +8958,7 @@ public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuild * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* @@ -8946,7 +8973,7 @@ public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuild * *
      * The internal checkers that this check will egress from. If `is_internal` is
-     * true and this list is empty, the check will egress from all
+     * true and this list is empty, the check will egress from all the
      * InternalCheckers configured for the project that owns this CheckConfig.
      * 
* diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java index 49a8c138f887..9adf4cd39d16 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java @@ -42,7 +42,7 @@ public interface UptimeCheckConfigOrBuilder * *
    * A human-friendly name for the uptime check configuration. The display name
-   * should be unique within a Stackdriver Account in order to make it easier
+   * should be unique within a Stackdriver Workspace in order to make it easier
    * to identify; however, uniqueness is not enforced. Required.
    * 
* @@ -54,7 +54,7 @@ public interface UptimeCheckConfigOrBuilder * *
    * A human-friendly name for the uptime check configuration. The display name
-   * should be unique within a Stackdriver Account in order to make it easier
+   * should be unique within a Stackdriver Workspace in order to make it easier
    * to identify; however, uniqueness is not enforced. Required.
    * 
* @@ -368,6 +368,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat * *
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -382,6 +383,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -396,6 +398,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -410,6 +413,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -424,6 +428,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    *
    * 
    * The list of regions from which the check will be run.
+   * Some regions contain one location, and others contain more than one.
    * If this field is specified, enough regions to include a minimum of
    * 3 locations must be provided, or an error message is returned.
    * Not specifying this field will result in uptime checks running from all
@@ -438,7 +443,10 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    *
    *
    * 
-   * Denotes whether this is a check that egresses from InternalCheckers.
+   * If this is true, then checks are made only from the 'internal_checkers'.
+   * If it is false, then checks are made only from the 'selected_regions'.
+   * It is an error to provide 'selected_regions' when is_internal is true,
+   * or to provide 'internal_checkers' when is_internal is false.
    * 
* * bool is_internal = 15; @@ -450,7 +458,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -462,7 +470,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -474,7 +482,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -486,7 +494,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* @@ -499,7 +507,7 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat * *
    * The internal checkers that this check will egress from. If `is_internal` is
-   * true and this list is empty, the check will egress from all
+   * true and this list is empty, the check will egress from all the
    * InternalCheckers configured for the project that owns this CheckConfig.
    * 
* diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java index dae55fc4b1e0..a4e10049c734 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java @@ -60,52 +60,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n!google/monitoring/v3/uptime.proto\022\024goo" + "gle.monitoring.v3\032#google/api/monitored_" + "resource.proto\032\036google/protobuf/duration" - + ".proto\"r\n\017InternalChecker\022\022\n\nproject_id\030" - + "\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\020\n\010gcp_zone\030\003 \001(\t" - + "\022\022\n\nchecker_id\030\004 \001(\t\022\024\n\014display_name\030\005 \001" - + "(\t\"\301\t\n\021UptimeCheckConfig\022\014\n\004name\030\001 \001(\t\022\024" - + "\n\014display_name\030\002 \001(\t\022;\n\022monitored_resour" - + "ce\030\003 \001(\0132\035.google.api.MonitoredResourceH" - + "\000\022O\n\016resource_group\030\004 \001(\01325.google.monit" - + "oring.v3.UptimeCheckConfig.ResourceGroup" - + "H\000\022G\n\nhttp_check\030\005 \001(\01321.google.monitori" - + "ng.v3.UptimeCheckConfig.HttpCheckH\001\022E\n\tt" - + "cp_check\030\006 \001(\01320.google.monitoring.v3.Up" - + "timeCheckConfig.TcpCheckH\001\022)\n\006period\030\007 \001" - + "(\0132\031.google.protobuf.Duration\022*\n\007timeout" - + "\030\010 \001(\0132\031.google.protobuf.Duration\022P\n\020con" - + "tent_matchers\030\t \003(\01326.google.monitoring." - + "v3.UptimeCheckConfig.ContentMatcher\022A\n\020s" - + "elected_regions\030\n \003(\0162\'.google.monitorin" - + "g.v3.UptimeCheckRegion\022\023\n\013is_internal\030\017 " - + "\001(\010\022@\n\021internal_checkers\030\016 \003(\0132%.google." - + "monitoring.v3.InternalChecker\032a\n\rResourc" - + "eGroup\022\020\n\010group_id\030\001 \001(\t\022>\n\rresource_typ" - + "e\030\002 \001(\0162\'.google.monitoring.v3.GroupReso" - + "urceType\032\344\002\n\tHttpCheck\022\017\n\007use_ssl\030\001 \001(\010\022" - + "\014\n\004path\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth_info" - + "\030\004 \001(\0132E.google.monitoring.v3.UptimeChec" - + "kConfig.HttpCheck.BasicAuthentication\022\024\n" - + "\014mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>.g" - + "oogle.monitoring.v3.UptimeCheckConfig.Ht" - + "tpCheck.HeadersEntry\0329\n\023BasicAuthenticat" - + "ion\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\032" - + ".\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001\032\030\n\010TcpCheck\022\014\n\004port\030\001 \001(\005\032!\n\016Con" - + "tentMatcher\022\017\n\007content\030\001 \001(\tB\n\n\010resource" - + "B\024\n\022check_request_type\"n\n\rUptimeCheckIp\022" - + "7\n\006region\030\001 \001(\0162\'.google.monitoring.v3.U" - + "ptimeCheckRegion\022\020\n\010location\030\002 \001(\t\022\022\n\nip" - + "_address\030\003 \001(\t*e\n\021UptimeCheckRegion\022\026\n\022R" - + "EGION_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n\n\006EUROPE\020\002" - + "\022\021\n\rSOUTH_AMERICA\020\003\022\020\n\014ASIA_PACIFIC\020\004*[\n" - + "\021GroupResourceType\022\035\n\031RESOURCE_TYPE_UNSP" - + "ECIFIED\020\000\022\014\n\010INSTANCE\020\001\022\031\n\025AWS_ELB_LOAD_" - + "BALANCER\020\002B\243\001\n\030com.google.monitoring.v3B" - + "\013UptimeProtoP\001Z>google.golang.org/genpro" - + "to/googleapis/monitoring/v3;monitoring\252\002" - + "\032Google.Cloud.Monitoring.V3\312\002\032Google\\Clo" - + "ud\\Monitoring\\V3b\006proto3" + + ".proto\"q\n\017InternalChecker\022\014\n\004name\030\001 \001(\t\022" + + "\024\n\014display_name\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\020" + + "\n\010gcp_zone\030\004 \001(\t\022\027\n\017peer_project_id\030\006 \001(" + + "\t\"\301\t\n\021UptimeCheckConfig\022\014\n\004name\030\001 \001(\t\022\024\n" + + "\014display_name\030\002 \001(\t\022;\n\022monitored_resourc" + + "e\030\003 \001(\0132\035.google.api.MonitoredResourceH\000" + + "\022O\n\016resource_group\030\004 \001(\01325.google.monito" + + "ring.v3.UptimeCheckConfig.ResourceGroupH" + + "\000\022G\n\nhttp_check\030\005 \001(\01321.google.monitorin" + + "g.v3.UptimeCheckConfig.HttpCheckH\001\022E\n\ttc" + + "p_check\030\006 \001(\01320.google.monitoring.v3.Upt" + + "imeCheckConfig.TcpCheckH\001\022)\n\006period\030\007 \001(" + + "\0132\031.google.protobuf.Duration\022*\n\007timeout\030" + + "\010 \001(\0132\031.google.protobuf.Duration\022P\n\020cont" + + "ent_matchers\030\t \003(\01326.google.monitoring.v" + + "3.UptimeCheckConfig.ContentMatcher\022A\n\020se" + + "lected_regions\030\n \003(\0162\'.google.monitoring" + + ".v3.UptimeCheckRegion\022\023\n\013is_internal\030\017 \001" + + "(\010\022@\n\021internal_checkers\030\016 \003(\0132%.google.m" + + "onitoring.v3.InternalChecker\032a\n\rResource" + + "Group\022\020\n\010group_id\030\001 \001(\t\022>\n\rresource_type" + + "\030\002 \001(\0162\'.google.monitoring.v3.GroupResou" + + "rceType\032\344\002\n\tHttpCheck\022\017\n\007use_ssl\030\001 \001(\010\022\014" + + "\n\004path\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth_info\030" + + "\004 \001(\0132E.google.monitoring.v3.UptimeCheck" + + "Config.HttpCheck.BasicAuthentication\022\024\n\014" + + "mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>.go" + + "ogle.monitoring.v3.UptimeCheckConfig.Htt" + + "pCheck.HeadersEntry\0329\n\023BasicAuthenticati" + + "on\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\032." + + "\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\032\030\n\010TcpCheck\022\014\n\004port\030\001 \001(\005\032!\n\016Cont" + + "entMatcher\022\017\n\007content\030\001 \001(\tB\n\n\010resourceB" + + "\024\n\022check_request_type\"n\n\rUptimeCheckIp\0227" + + "\n\006region\030\001 \001(\0162\'.google.monitoring.v3.Up" + + "timeCheckRegion\022\020\n\010location\030\002 \001(\t\022\022\n\nip_" + + "address\030\003 \001(\t*e\n\021UptimeCheckRegion\022\026\n\022RE" + + "GION_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n\n\006EUROPE\020\002\022" + + "\021\n\rSOUTH_AMERICA\020\003\022\020\n\014ASIA_PACIFIC\020\004*[\n\021" + + "GroupResourceType\022\035\n\031RESOURCE_TYPE_UNSPE" + + "CIFIED\020\000\022\014\n\010INSTANCE\020\001\022\031\n\025AWS_ELB_LOAD_B" + + "ALANCER\020\002B\243\001\n\030com.google.monitoring.v3B\013" + + "UptimeProtoP\001Z>google.golang.org/genprot" + + "o/googleapis/monitoring/v3;monitoring\252\002\032" + + "Google.Cloud.Monitoring.V3\312\002\032Google\\Clou" + + "d\\Monitoring\\V3b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -128,7 +128,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_monitoring_v3_InternalChecker_descriptor, new java.lang.String[] { - "ProjectId", "Network", "GcpZone", "CheckerId", "DisplayName", + "Name", "DisplayName", "Network", "GcpZone", "PeerProjectId", }); internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor = getDescriptor().getMessageTypes().get(1); diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto index 4c995b13bcc5..1e22e61c7941 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto index 4bcb9d36e862..c97e3dc0585f 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto index 3e9653a8588d..f33af523bd2c 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; @@ -391,8 +392,8 @@ enum ComparisonType { COMPARISON_NE = 6; } -// The tier of service for a Stackdriver account. Please see the -// [service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers) +// The tier of service for a Workspace. Please see the +// [service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers) // for more details. enum ServiceTier { option deprecated = true; @@ -404,12 +405,12 @@ enum ServiceTier { // The Stackdriver Basic tier, a free tier of service that provides basic // features, a moderate allotment of logs, and access to built-in metrics. // A number of features are not available in this tier. For more details, - // see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + // see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). SERVICE_TIER_BASIC = 1; // The Stackdriver Premium tier, a higher, more expensive tier of service // that provides access to all Stackdriver features, lets you use Stackdriver // with AWS accounts, and has a larger allotments for logs and metrics. For - // more details, see [the service tiers documentation](https://cloud.google.com/monitoring/accounts/tiers). + // more details, see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers). SERVICE_TIER_PREMIUM = 2; } diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto index bc3b8545b925..11287062e811 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto index bad5016c199e..f7f49615bd74 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto index 7cfae976940a..4af7e3719a10 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto index 9d2d8d72e00d..570313229cc9 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto index 170c4eae2a96..faf758e14a38 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; @@ -236,7 +237,6 @@ message ListTimeSeriesRequest { // // metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND // metric.label.instance_name = "my-instance-name" - // string filter = 2; // The time interval for which results should be returned. Only time series diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto index 3c979a179813..5f85864fe494 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto index ed6a56f78869..ac042762d3d1 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto index 745e3984ce39..e2c6a0ea7234 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; @@ -20,6 +21,7 @@ import "google/api/annotations.proto"; import "google/monitoring/v3/notification.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; @@ -68,7 +70,7 @@ service NotificationChannelService { } // Creates a new notification channel, representing a single notification - // endpoint such as an email address, SMS number, or pagerduty service. + // endpoint such as an email address, SMS number, or PagerDuty service. rpc CreateNotificationChannel(CreateNotificationChannelRequest) returns (NotificationChannel) { option (google.api.http) = { post: "/v3/{name=projects/*}/notificationChannels" diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto index c099bbb618e1..e870d8f669cc 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto index 4c280e9b8d88..4f1b7aaa114e 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; @@ -27,24 +28,34 @@ option java_package = "com.google.monitoring.v3"; option php_namespace = "Google\\Cloud\\Monitoring\\V3"; -// Nimbus InternalCheckers. +// An internal checker allows uptime checks to run on private/internal GCP +// resources. message InternalChecker { - // The GCP project ID. Not necessarily the same as the project_id for the - // config. - string project_id = 1; + // A unique resource name for this InternalChecker. The format is: + // + // + // `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`. + // + // PROJECT_ID is the stackdriver workspace project for the + // uptime check config associated with the internal checker. + string name = 1; + + // The checker's human-readable name. The display name + // should be unique within a Stackdriver Workspace in order to make it easier + // to identify; however, uniqueness is not enforced. + string display_name = 2; - // The internal network to perform this uptime check on. - string network = 2; + // The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the + // internal resource lives (ex: "default"). + string network = 3; // The GCP zone the uptime check should egress from. Only respected for // internal uptime checks, where internal_network is specified. - string gcp_zone = 3; - - // The checker ID. - string checker_id = 4; + string gcp_zone = 4; - // The checker's human-readable name. - string display_name = 5; + // The GCP project_id where the internal checker lives. Not necessary + // the same as the workspace project. + string peer_project_id = 6; } // This message configures which resources and services to monitor for @@ -118,11 +129,10 @@ message UptimeCheckConfig { int32 port = 1; } - // Used to perform string matching. Currently, this matches on the exact - // content. In the future, it can be expanded to allow for regular expressions - // and more complex matching. + // Used to perform string matching. It allows substring and regular + // expressions, together with their negations. message ContentMatcher { - // String content to match (max 1024 bytes) + // String or regex content to match (max 1024 bytes) string content = 1; } @@ -137,7 +147,7 @@ message UptimeCheckConfig { string name = 1; // A human-friendly name for the uptime check configuration. The display name - // should be unique within a Stackdriver Account in order to make it easier + // should be unique within a Stackdriver Workspace in order to make it easier // to identify; however, uniqueness is not enforced. Required. string display_name = 2; @@ -185,17 +195,21 @@ message UptimeCheckConfig { repeated ContentMatcher content_matchers = 9; // The list of regions from which the check will be run. + // Some regions contain one location, and others contain more than one. // If this field is specified, enough regions to include a minimum of // 3 locations must be provided, or an error message is returned. // Not specifying this field will result in uptime checks running from all // regions. repeated UptimeCheckRegion selected_regions = 10; - // Denotes whether this is a check that egresses from InternalCheckers. + // If this is true, then checks are made only from the 'internal_checkers'. + // If it is false, then checks are made only from the 'selected_regions'. + // It is an error to provide 'selected_regions' when is_internal is true, + // or to provide 'internal_checkers' when is_internal is false. bool is_internal = 15; // The internal checkers that this check will egress from. If `is_internal` is - // true and this list is empty, the check will egress from all + // true and this list is empty, the check will egress from all the // InternalCheckers configured for the project that owns this CheckConfig. repeated InternalChecker internal_checkers = 14; } diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto index 3293edaef15f..e79488332fdd 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java index 008078bf6f88..a5631ca108c5 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java @@ -680,7 +680,7 @@ public final NotificationChannel getNotificationChannel(GetNotificationChannelRe // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new notification channel, representing a single notification endpoint such as an - * email address, SMS number, or pagerduty service. + * email address, SMS number, or PagerDuty service. * *

Sample code: * @@ -715,7 +715,7 @@ public final NotificationChannel createNotificationChannel( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new notification channel, representing a single notification endpoint such as an - * email address, SMS number, or pagerduty service. + * email address, SMS number, or PagerDuty service. * *

Sample code: * @@ -750,7 +750,7 @@ public final NotificationChannel createNotificationChannel( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new notification channel, representing a single notification endpoint such as an - * email address, SMS number, or pagerduty service. + * email address, SMS number, or PagerDuty service. * *

Sample code: * @@ -777,7 +777,7 @@ public final NotificationChannel createNotificationChannel( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new notification channel, representing a single notification endpoint such as an - * email address, SMS number, or pagerduty service. + * email address, SMS number, or PagerDuty service. * *

Sample code: * diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java index ffb949448e63..def0eaef4971 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java @@ -237,7 +237,9 @@ public String extractNextToken(ListAlertPoliciesResponse payload) { @Override public Iterable extractResources(ListAlertPoliciesResponse payload) { - return payload.getAlertPoliciesList(); + return payload.getAlertPoliciesList() != null + ? payload.getAlertPoliciesList() + : ImmutableList.of(); } }; diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java index dafa9cf5b9c0..76f0df286f37 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java @@ -246,7 +246,9 @@ public String extractNextToken(ListGroupsResponse payload) { @Override public Iterable extractResources(ListGroupsResponse payload) { - return payload.getGroupList(); + return payload.getGroupList() != null + ? payload.getGroupList() + : ImmutableList.of(); } }; @@ -284,7 +286,9 @@ public String extractNextToken(ListGroupMembersResponse payload) { @Override public Iterable extractResources(ListGroupMembersResponse payload) { - return payload.getMembersList(); + return payload.getMembersList() != null + ? payload.getMembersList() + : ImmutableList.of(); } }; diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java index 4c9511c2f56d..494a442f33cc 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java @@ -302,7 +302,9 @@ public String extractNextToken(ListMonitoredResourceDescriptorsResponse payload) @Override public Iterable extractResources( ListMonitoredResourceDescriptorsResponse payload) { - return payload.getResourceDescriptorsList(); + return payload.getResourceDescriptorsList() != null + ? payload.getResourceDescriptorsList() + : ImmutableList.of(); } }; @@ -341,7 +343,9 @@ public String extractNextToken(ListMetricDescriptorsResponse payload) { @Override public Iterable extractResources( ListMetricDescriptorsResponse payload) { - return payload.getMetricDescriptorsList(); + return payload.getMetricDescriptorsList() != null + ? payload.getMetricDescriptorsList() + : ImmutableList.of(); } }; @@ -377,7 +381,9 @@ public String extractNextToken(ListTimeSeriesResponse payload) { @Override public Iterable extractResources(ListTimeSeriesResponse payload) { - return payload.getTimeSeriesList(); + return payload.getTimeSeriesList() != null + ? payload.getTimeSeriesList() + : ImmutableList.of(); } }; diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java index 5044bb9e15fd..19a9dc80ed74 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java @@ -291,7 +291,9 @@ public String extractNextToken(ListNotificationChannelDescriptorsResponse payloa @Override public Iterable extractResources( ListNotificationChannelDescriptorsResponse payload) { - return payload.getChannelDescriptorsList(); + return payload.getChannelDescriptorsList() != null + ? payload.getChannelDescriptorsList() + : ImmutableList.of(); } }; @@ -336,7 +338,9 @@ public String extractNextToken(ListNotificationChannelsResponse payload) { @Override public Iterable extractResources( ListNotificationChannelsResponse payload) { - return payload.getNotificationChannelsList(); + return payload.getNotificationChannelsList() != null + ? payload.getNotificationChannelsList() + : ImmutableList.of(); } }; diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java index 7500374c3cf5..b9bd5ca75dc7 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java @@ -267,7 +267,9 @@ public String extractNextToken(ListUptimeCheckConfigsResponse payload) { @Override public Iterable extractResources( ListUptimeCheckConfigsResponse payload) { - return payload.getUptimeCheckConfigsList(); + return payload.getUptimeCheckConfigsList() != null + ? payload.getUptimeCheckConfigsList() + : ImmutableList.of(); } }; @@ -305,7 +307,9 @@ public String extractNextToken(ListUptimeCheckIpsResponse payload) { @Override public Iterable extractResources(ListUptimeCheckIpsResponse payload) { - return payload.getUptimeCheckIpsList(); + return payload.getUptimeCheckIpsList() != null + ? payload.getUptimeCheckIpsList() + : ImmutableList.of(); } }; diff --git a/google-cloud-clients/google-cloud-monitoring/synth.metadata b/google-cloud-clients/google-cloud-monitoring/synth.metadata new file mode 100644 index 000000000000..3664c7a48fb1 --- /dev/null +++ b/google-cloud-clients/google-cloud-monitoring/synth.metadata @@ -0,0 +1,32 @@ +{ + "updateTime": "2019-01-10T00:28:17.515488Z", + "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + } + }, + { + "git": { + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "5125f9790658c36519a23d4c2106bcfb1de7b070", + "internalRef": "228534685" + } + } + ], + "destinations": [ + { + "client": { + "source": "googleapis", + "apiName": "monitoring", + "apiVersion": "v3", + "language": "java", + "generator": "gapic", + "config": "google/monitoring/artman_monitoring.yaml" + } + } + ] +} \ No newline at end of file From b9aeb1b8f0bf94faf4f4125b14170e040778d26a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 10 Jan 2019 06:03:56 -0800 Subject: [PATCH 13/90] Regenerate bigtable client (#4318) --- .../data/v2/BaseBigtableDataClientTest.java | 52 +++++++++++-------- .../google-cloud-bigtable/synth.metadata | 41 ++++++++++----- 2 files changed, 58 insertions(+), 35 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java index 0b55cb6ed4b0..8fa5813be340 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java @@ -40,7 +40,7 @@ import com.google.bigtable.v2.RowFilter; import com.google.bigtable.v2.SampleRowKeysRequest; import com.google.bigtable.v2.SampleRowKeysResponse; -import com.google.cloud.bigtable.data.v2.internal.NameUtil; +import com.google.bigtable.v2.TableName; import com.google.protobuf.ByteString; import com.google.protobuf.GeneratedMessageV3; import io.grpc.Status; @@ -101,8 +101,9 @@ public void readRowsTest() throws Exception { ReadRowsResponse expectedResponse = ReadRowsResponse.newBuilder().setLastScannedRowKey(lastScannedRowKey).build(); mockBigtable.addResponse(expectedResponse); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ReadRowsRequest request = ReadRowsRequest.newBuilder().setTableName(tableName).build(); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ReadRowsRequest request = + ReadRowsRequest.newBuilder().setTableName(tableName.toString()).build(); MockStreamObserver responseObserver = new MockStreamObserver<>(); @@ -119,8 +120,9 @@ public void readRowsTest() throws Exception { public void readRowsExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockBigtable.addException(exception); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ReadRowsRequest request = ReadRowsRequest.newBuilder().setTableName(tableName).build(); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ReadRowsRequest request = + ReadRowsRequest.newBuilder().setTableName(tableName.toString()).build(); MockStreamObserver responseObserver = new MockStreamObserver<>(); @@ -145,9 +147,9 @@ public void sampleRowKeysTest() throws Exception { SampleRowKeysResponse expectedResponse = SampleRowKeysResponse.newBuilder().setRowKey(rowKey).setOffsetBytes(offsetBytes).build(); mockBigtable.addResponse(expectedResponse); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); SampleRowKeysRequest request = - SampleRowKeysRequest.newBuilder().setTableName(tableName).build(); + SampleRowKeysRequest.newBuilder().setTableName(tableName.toString()).build(); MockStreamObserver responseObserver = new MockStreamObserver<>(); @@ -165,9 +167,9 @@ public void sampleRowKeysTest() throws Exception { public void sampleRowKeysExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockBigtable.addException(exception); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); SampleRowKeysRequest request = - SampleRowKeysRequest.newBuilder().setTableName(tableName).build(); + SampleRowKeysRequest.newBuilder().setTableName(tableName.toString()).build(); MockStreamObserver responseObserver = new MockStreamObserver<>(); @@ -191,7 +193,7 @@ public void mutateRowTest() { MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); mockBigtable.addResponse(expectedResponse); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); ByteString rowKey = ByteString.copyFromUtf8("122"); List mutations = new ArrayList<>(); @@ -202,7 +204,7 @@ public void mutateRowTest() { Assert.assertEquals(1, actualRequests.size()); MutateRowRequest actualRequest = (MutateRowRequest) actualRequests.get(0); - Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(tableName, TableName.parse(actualRequest.getTableName())); Assert.assertEquals(rowKey, actualRequest.getRowKey()); Assert.assertEquals(mutations, actualRequest.getMutationsList()); Assert.assertTrue( @@ -218,7 +220,7 @@ public void mutateRowExceptionTest() throws Exception { mockBigtable.addException(exception); try { - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); ByteString rowKey = ByteString.copyFromUtf8("122"); List mutations = new ArrayList<>(); @@ -234,10 +236,13 @@ public void mutateRowExceptionTest() throws Exception { public void mutateRowsTest() throws Exception { MutateRowsResponse expectedResponse = MutateRowsResponse.newBuilder().build(); mockBigtable.addResponse(expectedResponse); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); List entries = new ArrayList<>(); MutateRowsRequest request = - MutateRowsRequest.newBuilder().setTableName(tableName).addAllEntries(entries).build(); + MutateRowsRequest.newBuilder() + .setTableName(tableName.toString()) + .addAllEntries(entries) + .build(); MockStreamObserver responseObserver = new MockStreamObserver<>(); @@ -255,10 +260,13 @@ public void mutateRowsTest() throws Exception { public void mutateRowsExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockBigtable.addException(exception); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); List entries = new ArrayList<>(); MutateRowsRequest request = - MutateRowsRequest.newBuilder().setTableName(tableName).addAllEntries(entries).build(); + MutateRowsRequest.newBuilder() + .setTableName(tableName.toString()) + .addAllEntries(entries) + .build(); MockStreamObserver responseObserver = new MockStreamObserver<>(); @@ -284,7 +292,7 @@ public void checkAndMutateRowTest() { CheckAndMutateRowResponse.newBuilder().setPredicateMatched(predicateMatched).build(); mockBigtable.addResponse(expectedResponse); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); ByteString rowKey = ByteString.copyFromUtf8("122"); RowFilter predicateFilter = RowFilter.newBuilder().build(); List trueMutations = new ArrayList<>(); @@ -298,7 +306,7 @@ public void checkAndMutateRowTest() { Assert.assertEquals(1, actualRequests.size()); CheckAndMutateRowRequest actualRequest = (CheckAndMutateRowRequest) actualRequests.get(0); - Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(tableName, TableName.parse(actualRequest.getTableName())); Assert.assertEquals(rowKey, actualRequest.getRowKey()); Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); @@ -316,7 +324,7 @@ public void checkAndMutateRowExceptionTest() throws Exception { mockBigtable.addException(exception); try { - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); ByteString rowKey = ByteString.copyFromUtf8("122"); RowFilter predicateFilter = RowFilter.newBuilder().build(); List trueMutations = new ArrayList<>(); @@ -335,7 +343,7 @@ public void readModifyWriteRowTest() { ReadModifyWriteRowResponse expectedResponse = ReadModifyWriteRowResponse.newBuilder().build(); mockBigtable.addResponse(expectedResponse); - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); ByteString rowKey = ByteString.copyFromUtf8("122"); List rules = new ArrayList<>(); @@ -346,7 +354,7 @@ public void readModifyWriteRowTest() { Assert.assertEquals(1, actualRequests.size()); ReadModifyWriteRowRequest actualRequest = (ReadModifyWriteRowRequest) actualRequests.get(0); - Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(tableName, TableName.parse(actualRequest.getTableName())); Assert.assertEquals(rowKey, actualRequest.getRowKey()); Assert.assertEquals(rules, actualRequest.getRulesList()); Assert.assertTrue( @@ -362,7 +370,7 @@ public void readModifyWriteRowExceptionTest() throws Exception { mockBigtable.addException(exception); try { - String tableName = NameUtil.formatTableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); ByteString rowKey = ByteString.copyFromUtf8("122"); List rules = new ArrayList<>(); diff --git a/google-cloud-clients/google-cloud-bigtable/synth.metadata b/google-cloud-clients/google-cloud-bigtable/synth.metadata index 2bd4f07a69a5..383ad4e0b4d6 100644 --- a/google-cloud-clients/google-cloud-bigtable/synth.metadata +++ b/google-cloud-clients/google-cloud-bigtable/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-10T08:35:06.355856Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "fb44301b2b667c56a0f2a361a5a7d3709d5f6a69", + "internalRef": "228622745" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "bigtable", + "apiVersion": "v2", + "language": "java", + "generator": "gapic", + "config": "google/bigtable/artman_bigtable.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "bigtable-admin", + "apiVersion": "v2", + "language": "java", + "generator": "gapic", + "config": "google/bigtable/admin/artman_bigtableadmin.yaml" } } ] -} +} \ No newline at end of file From 6b37bc5858b76ddf9ef87702987fcc7e1ac140c7 Mon Sep 17 00:00:00 2001 From: andrey-qlogic <44769745+andrey-qlogic@users.noreply.github.com> Date: Thu, 10 Jan 2019 17:09:54 +0300 Subject: [PATCH 14/90] 3822: Fixed setDisableGZipContent call (#4314) * 3822: Fixed setDisableGZipContent call * 3822: Changes after review --- .../java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java index caaedf3018b8..a10b4ef8a973 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java @@ -288,8 +288,9 @@ public StorageObject create( new InputStreamContent(storageObject.getContentType(), content)); insert.getMediaHttpUploader().setDirectUploadEnabled(true); Boolean disableGzipContent = Option.IF_DISABLE_GZIP_CONTENT.getBoolean(options); - if (disableGzipContent != null) - insert.getMediaHttpUploader().setDisableGZipContent(disableGzipContent); + if (disableGzipContent != null) { + insert.setDisableGZipContent(disableGzipContent); + } setEncryptionHeaders(insert.getRequestHeaders(), ENCRYPTION_KEY_PREFIX, options); return insert .setProjection(DEFAULT_PROJECTION) From 9bf50e6901c9e261d018d1449e096e68ca42f189 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 10 Jan 2019 09:56:20 -0800 Subject: [PATCH 15/90] Regenerate speech client: enable multi-channel features (#4317) --- .../cloud/speech/v1/RecognitionConfig.java | 207 ++++++++++++++---- .../speech/v1/RecognitionConfigOrBuilder.java | 35 ++- .../google/cloud/speech/v1/SpeechProto.java | 121 +++++----- .../v1/SpeechRecognitionAlternative.java | 46 ++++ ...SpeechRecognitionAlternativeOrBuilder.java | 10 + .../speech/v1/SpeechRecognitionResult.java | 91 ++++++++ .../v1/SpeechRecognitionResultOrBuilder.java | 13 ++ .../speech/v1/StreamingRecognitionResult.java | 88 ++++++++ .../StreamingRecognitionResultOrBuilder.java | 13 ++ .../google/cloud/speech/v1/cloud_speech.proto | 40 +++- .../google-cloud-speech/synth.metadata | 41 ++-- 11 files changed, 573 insertions(+), 132 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java index b5d9ca4329ee..ddafe0dbc1f3 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java @@ -26,6 +26,7 @@ private RecognitionConfig(com.google.protobuf.GeneratedMessageV3.Builder buil private RecognitionConfig() { encoding_ = 0; sampleRateHertz_ = 0; + enableSeparateRecognitionPerChannel_ = false; languageCode_ = ""; maxAlternatives_ = 0; profanityFilter_ = false; @@ -91,10 +92,10 @@ private RecognitionConfig( } case 50: { - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000040; } speechContexts_.add( input.readMessage( @@ -111,6 +112,11 @@ private RecognitionConfig( enableAutomaticPunctuation_ = input.readBool(); break; } + case 96: + { + enableSeparateRecognitionPerChannel_ = input.readBool(); + break; + } case 106: { java.lang.String s = input.readStringRequireUtf8(); @@ -137,7 +143,7 @@ private RecognitionConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); } this.unknownFields = unknownFields.build(); @@ -527,6 +533,26 @@ public int getSampleRateHertz() { return sampleRateHertz_; } + public static final int ENABLE_SEPARATE_RECOGNITION_PER_CHANNEL_FIELD_NUMBER = 12; + private boolean enableSeparateRecognitionPerChannel_; + /** + * + * + *

+   * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+   * to get each channel recognized separately. The recognition result will
+   * contain a `channel_tag` field to state which channel that result belongs
+   * to. If this is not true, we will only recognize the first channel. The
+   * request is billed cumulatively for all channels recognized:
+   * `audio_channel_count` multiplied by the length of the audio.
+   * 
+ * + * bool enable_separate_recognition_per_channel = 12; + */ + public boolean getEnableSeparateRecognitionPerChannel() { + return enableSeparateRecognitionPerChannel_; + } + public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** @@ -841,15 +867,18 @@ public com.google.protobuf.ByteString getModelBytes() { * *
    * *Optional* Set to true to use an enhanced model for speech recognition.
-   * You must also set the `model` field to a valid, enhanced model. If
-   * `use_enhanced` is set to true and the `model` field is not set, then
-   * `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced
-   * version of the specified model does not exist, then the speech is
-   * recognized using the standard version of the specified model.
+   * If `use_enhanced` is set to true and the `model` field is not set, then
+   * an appropriate enhanced model is chosen if:
+   * 1. project is eligible for requesting enhanced models
+   * 2. an enhanced model exists for the audio
+   * If `use_enhanced` is true and an enhanced version of the specified model
+   * does not exist, then the speech is recognized using the standard version
+   * of the specified model.
    * Enhanced speech models require that you opt-in to data logging using
-   * instructions in the [documentation](/speech-to-text/enable-data-logging).
-   * If you set `use_enhanced` to true and you have not enabled audio logging,
-   * then you will receive an error.
+   * instructions in the
+   * [documentation](/speech-to-text/docs/enable-data-logging). If you set
+   * `use_enhanced` to true and you have not enabled audio logging, then you
+   * will receive an error.
    * 
* * bool use_enhanced = 14; @@ -898,6 +927,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableAutomaticPunctuation_ != false) { output.writeBool(11, enableAutomaticPunctuation_); } + if (enableSeparateRecognitionPerChannel_ != false) { + output.writeBool(12, enableSeparateRecognitionPerChannel_); + } if (!getModelBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, model_); } @@ -940,6 +972,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, enableAutomaticPunctuation_); } + if (enableSeparateRecognitionPerChannel_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 12, enableSeparateRecognitionPerChannel_); + } if (!getModelBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, model_); } @@ -965,6 +1002,10 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && encoding_ == other.encoding_; result = result && (getSampleRateHertz() == other.getSampleRateHertz()); + result = + result + && (getEnableSeparateRecognitionPerChannel() + == other.getEnableSeparateRecognitionPerChannel()); result = result && getLanguageCode().equals(other.getLanguageCode()); result = result && (getMaxAlternatives() == other.getMaxAlternatives()); result = result && (getProfanityFilter() == other.getProfanityFilter()); @@ -988,6 +1029,10 @@ public int hashCode() { hash = (53 * hash) + encoding_; hash = (37 * hash) + SAMPLE_RATE_HERTZ_FIELD_NUMBER; hash = (53 * hash) + getSampleRateHertz(); + hash = (37 * hash) + ENABLE_SEPARATE_RECOGNITION_PER_CHANNEL_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getEnableSeparateRecognitionPerChannel()); hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; hash = (53 * hash) + getLanguageCode().hashCode(); hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; @@ -1158,6 +1203,8 @@ public Builder clear() { sampleRateHertz_ = 0; + enableSeparateRecognitionPerChannel_ = false; + languageCode_ = ""; maxAlternatives_ = 0; @@ -1166,7 +1213,7 @@ public Builder clear() { if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); } else { speechContextsBuilder_.clear(); } @@ -1209,13 +1256,14 @@ public com.google.cloud.speech.v1.RecognitionConfig buildPartial() { int to_bitField0_ = 0; result.encoding_ = encoding_; result.sampleRateHertz_ = sampleRateHertz_; + result.enableSeparateRecognitionPerChannel_ = enableSeparateRecognitionPerChannel_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; result.profanityFilter_ = profanityFilter_; if (speechContextsBuilder_ == null) { - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000040) == 0x00000040)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); } result.speechContexts_ = speechContexts_; } else { @@ -1281,6 +1329,9 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { if (other.getSampleRateHertz() != 0) { setSampleRateHertz(other.getSampleRateHertz()); } + if (other.getEnableSeparateRecognitionPerChannel() != false) { + setEnableSeparateRecognitionPerChannel(other.getEnableSeparateRecognitionPerChannel()); + } if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); @@ -1295,7 +1346,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { if (!other.speechContexts_.isEmpty()) { if (speechContexts_.isEmpty()) { speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); } else { ensureSpeechContextsIsMutable(); speechContexts_.addAll(other.speechContexts_); @@ -1308,7 +1359,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { speechContextsBuilder_.dispose(); speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); speechContextsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpeechContextsFieldBuilder() @@ -1512,6 +1563,65 @@ public Builder clearSampleRateHertz() { return this; } + private boolean enableSeparateRecognitionPerChannel_; + /** + * + * + *
+     * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+     * to get each channel recognized separately. The recognition result will
+     * contain a `channel_tag` field to state which channel that result belongs
+     * to. If this is not true, we will only recognize the first channel. The
+     * request is billed cumulatively for all channels recognized:
+     * `audio_channel_count` multiplied by the length of the audio.
+     * 
+ * + * bool enable_separate_recognition_per_channel = 12; + */ + public boolean getEnableSeparateRecognitionPerChannel() { + return enableSeparateRecognitionPerChannel_; + } + /** + * + * + *
+     * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+     * to get each channel recognized separately. The recognition result will
+     * contain a `channel_tag` field to state which channel that result belongs
+     * to. If this is not true, we will only recognize the first channel. The
+     * request is billed cumulatively for all channels recognized:
+     * `audio_channel_count` multiplied by the length of the audio.
+     * 
+ * + * bool enable_separate_recognition_per_channel = 12; + */ + public Builder setEnableSeparateRecognitionPerChannel(boolean value) { + + enableSeparateRecognitionPerChannel_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+     * to get each channel recognized separately. The recognition result will
+     * contain a `channel_tag` field to state which channel that result belongs
+     * to. If this is not true, we will only recognize the first channel. The
+     * request is billed cumulatively for all channels recognized:
+     * `audio_channel_count` multiplied by the length of the audio.
+     * 
+ * + * bool enable_separate_recognition_per_channel = 12; + */ + public Builder clearEnableSeparateRecognitionPerChannel() { + + enableSeparateRecognitionPerChannel_ = false; + onChanged(); + return this; + } + private java.lang.Object languageCode_ = ""; /** * @@ -1742,10 +1852,10 @@ public Builder clearProfanityFilter() { java.util.Collections.emptyList(); private void ensureSpeechContextsIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { + if (!((bitField0_ & 0x00000040) == 0x00000040)) { speechContexts_ = new java.util.ArrayList(speechContexts_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; } } @@ -1983,7 +2093,7 @@ public Builder addAllSpeechContexts( public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { speechContextsBuilder_.clear(); @@ -2120,7 +2230,7 @@ public com.google.cloud.speech.v1.SpeechContext.Builder addSpeechContextsBuilder com.google.cloud.speech.v1.SpeechContext.Builder, com.google.cloud.speech.v1.SpeechContextOrBuilder>( speechContexts_, - ((bitField0_ & 0x00000020) == 0x00000020), + ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); speechContexts_ = null; @@ -2498,15 +2608,18 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) { * *
      * *Optional* Set to true to use an enhanced model for speech recognition.
-     * You must also set the `model` field to a valid, enhanced model. If
-     * `use_enhanced` is set to true and the `model` field is not set, then
-     * `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced
-     * version of the specified model does not exist, then the speech is
-     * recognized using the standard version of the specified model.
+     * If `use_enhanced` is set to true and the `model` field is not set, then
+     * an appropriate enhanced model is chosen if:
+     * 1. project is eligible for requesting enhanced models
+     * 2. an enhanced model exists for the audio
+     * If `use_enhanced` is true and an enhanced version of the specified model
+     * does not exist, then the speech is recognized using the standard version
+     * of the specified model.
      * Enhanced speech models require that you opt-in to data logging using
-     * instructions in the [documentation](/speech-to-text/enable-data-logging).
-     * If you set `use_enhanced` to true and you have not enabled audio logging,
-     * then you will receive an error.
+     * instructions in the
+     * [documentation](/speech-to-text/docs/enable-data-logging). If you set
+     * `use_enhanced` to true and you have not enabled audio logging, then you
+     * will receive an error.
      * 
* * bool use_enhanced = 14; @@ -2519,15 +2632,18 @@ public boolean getUseEnhanced() { * *
      * *Optional* Set to true to use an enhanced model for speech recognition.
-     * You must also set the `model` field to a valid, enhanced model. If
-     * `use_enhanced` is set to true and the `model` field is not set, then
-     * `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced
-     * version of the specified model does not exist, then the speech is
-     * recognized using the standard version of the specified model.
+     * If `use_enhanced` is set to true and the `model` field is not set, then
+     * an appropriate enhanced model is chosen if:
+     * 1. project is eligible for requesting enhanced models
+     * 2. an enhanced model exists for the audio
+     * If `use_enhanced` is true and an enhanced version of the specified model
+     * does not exist, then the speech is recognized using the standard version
+     * of the specified model.
      * Enhanced speech models require that you opt-in to data logging using
-     * instructions in the [documentation](/speech-to-text/enable-data-logging).
-     * If you set `use_enhanced` to true and you have not enabled audio logging,
-     * then you will receive an error.
+     * instructions in the
+     * [documentation](/speech-to-text/docs/enable-data-logging). If you set
+     * `use_enhanced` to true and you have not enabled audio logging, then you
+     * will receive an error.
      * 
* * bool use_enhanced = 14; @@ -2543,15 +2659,18 @@ public Builder setUseEnhanced(boolean value) { * *
      * *Optional* Set to true to use an enhanced model for speech recognition.
-     * You must also set the `model` field to a valid, enhanced model. If
-     * `use_enhanced` is set to true and the `model` field is not set, then
-     * `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced
-     * version of the specified model does not exist, then the speech is
-     * recognized using the standard version of the specified model.
+     * If `use_enhanced` is set to true and the `model` field is not set, then
+     * an appropriate enhanced model is chosen if:
+     * 1. project is eligible for requesting enhanced models
+     * 2. an enhanced model exists for the audio
+     * If `use_enhanced` is true and an enhanced version of the specified model
+     * does not exist, then the speech is recognized using the standard version
+     * of the specified model.
      * Enhanced speech models require that you opt-in to data logging using
-     * instructions in the [documentation](/speech-to-text/enable-data-logging).
-     * If you set `use_enhanced` to true and you have not enabled audio logging,
-     * then you will receive an error.
+     * instructions in the
+     * [documentation](/speech-to-text/docs/enable-data-logging). If you set
+     * `use_enhanced` to true and you have not enabled audio logging, then you
+     * will receive an error.
      * 
* * bool use_enhanced = 14; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java index 1f6a3a7a03dc..7ca833c9c5cc 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java @@ -50,6 +50,22 @@ public interface RecognitionConfigOrBuilder */ int getSampleRateHertz(); + /** + * + * + *
+   * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+   * to get each channel recognized separately. The recognition result will
+   * contain a `channel_tag` field to state which channel that result belongs
+   * to. If this is not true, we will only recognize the first channel. The
+   * request is billed cumulatively for all channels recognized:
+   * `audio_channel_count` multiplied by the length of the audio.
+   * 
+ * + * bool enable_separate_recognition_per_channel = 12; + */ + boolean getEnableSeparateRecognitionPerChannel(); + /** * * @@ -290,15 +306,18 @@ public interface RecognitionConfigOrBuilder * *
    * *Optional* Set to true to use an enhanced model for speech recognition.
-   * You must also set the `model` field to a valid, enhanced model. If
-   * `use_enhanced` is set to true and the `model` field is not set, then
-   * `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced
-   * version of the specified model does not exist, then the speech is
-   * recognized using the standard version of the specified model.
+   * If `use_enhanced` is set to true and the `model` field is not set, then
+   * an appropriate enhanced model is chosen if:
+   * 1. project is eligible for requesting enhanced models
+   * 2. an enhanced model exists for the audio
+   * If `use_enhanced` is true and an enhanced version of the specified model
+   * does not exist, then the speech is recognized using the standard version
+   * of the specified model.
    * Enhanced speech models require that you opt-in to data logging using
-   * instructions in the [documentation](/speech-to-text/enable-data-logging).
-   * If you set `use_enhanced` to true and you have not enabled audio logging,
-   * then you will receive an error.
+   * instructions in the
+   * [documentation](/speech-to-text/docs/enable-data-logging). If you set
+   * `use_enhanced` to true and you have not enabled audio logging, then you
+   * will receive an error.
    * 
* * bool use_enhanced = 14; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java index db8239592103..3dac3ed10b25 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java @@ -102,65 +102,67 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t\"\212\001\n\032StreamingRecognitionConfig\0229\n\006conf" + "ig\030\001 \001(\0132).google.cloud.speech.v1.Recogn" + "itionConfig\022\030\n\020single_utterance\030\002 \001(\010\022\027\n" - + "\017interim_results\030\003 \001(\010\"\377\003\n\021RecognitionCo" + + "\017interim_results\030\003 \001(\010\"\260\004\n\021RecognitionCo" + "nfig\022I\n\010encoding\030\001 \001(\01627.google.cloud.sp" + "eech.v1.RecognitionConfig.AudioEncoding\022" - + "\031\n\021sample_rate_hertz\030\002 \001(\005\022\025\n\rlanguage_c" - + "ode\030\003 \001(\t\022\030\n\020max_alternatives\030\004 \001(\005\022\030\n\020p" - + "rofanity_filter\030\005 \001(\010\022>\n\017speech_contexts" - + "\030\006 \003(\0132%.google.cloud.speech.v1.SpeechCo" - + "ntext\022 \n\030enable_word_time_offsets\030\010 \001(\010\022" - + "$\n\034enable_automatic_punctuation\030\013 \001(\010\022\r\n" - + "\005model\030\r \001(\t\022\024\n\014use_enhanced\030\016 \001(\010\"\213\001\n\rA" - + "udioEncoding\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\014" - + "\n\010LINEAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW\020\003\022\007\n\003AMR" - + "\020\004\022\n\n\006AMR_WB\020\005\022\014\n\010OGG_OPUS\020\006\022\032\n\026SPEEX_WI" - + "TH_HEADER_BYTE\020\007\" \n\rSpeechContext\022\017\n\007phr" - + "ases\030\001 \003(\t\"D\n\020RecognitionAudio\022\021\n\007conten" - + "t\030\001 \001(\014H\000\022\r\n\003uri\030\002 \001(\tH\000B\016\n\014audio_source" - + "\"U\n\021RecognizeResponse\022@\n\007results\030\002 \003(\0132/" - + ".google.cloud.speech.v1.SpeechRecognitio" - + "nResult\"`\n\034LongRunningRecognizeResponse\022" - + "@\n\007results\030\002 \003(\0132/.google.cloud.speech.v" - + "1.SpeechRecognitionResult\"\236\001\n\034LongRunnin" - + "gRecognizeMetadata\022\030\n\020progress_percent\030\001" - + " \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protob" - + "uf.Timestamp\0224\n\020last_update_time\030\003 \001(\0132\032" - + ".google.protobuf.Timestamp\"\261\002\n\032Streaming" - + "RecognizeResponse\022!\n\005error\030\001 \001(\0132\022.googl" - + "e.rpc.Status\022C\n\007results\030\002 \003(\01322.google.c" - + "loud.speech.v1.StreamingRecognitionResul" - + "t\022]\n\021speech_event_type\030\004 \001(\0162B.google.cl" - + "oud.speech.v1.StreamingRecognizeResponse" - + ".SpeechEventType\"L\n\017SpeechEventType\022\034\n\030S" - + "PEECH_EVENT_UNSPECIFIED\020\000\022\033\n\027END_OF_SING" - + "LE_UTTERANCE\020\001\"\215\001\n\032StreamingRecognitionR" - + "esult\022J\n\014alternatives\030\001 \003(\01324.google.clo" - + "ud.speech.v1.SpeechRecognitionAlternativ" - + "e\022\020\n\010is_final\030\002 \001(\010\022\021\n\tstability\030\003 \001(\002\"e" - + "\n\027SpeechRecognitionResult\022J\n\014alternative" - + "s\030\001 \003(\01324.google.cloud.speech.v1.SpeechR" - + "ecognitionAlternative\"w\n\034SpeechRecogniti" - + "onAlternative\022\022\n\ntranscript\030\001 \001(\t\022\022\n\ncon" - + "fidence\030\002 \001(\002\022/\n\005words\030\003 \003(\0132 .google.cl" - + "oud.speech.v1.WordInfo\"t\n\010WordInfo\022-\n\nst" - + "art_time\030\001 \001(\0132\031.google.protobuf.Duratio" - + "n\022+\n\010end_time\030\002 \001(\0132\031.google.protobuf.Du" - + "ration\022\014\n\004word\030\003 \001(\t2\251\003\n\006Speech\022\201\001\n\tReco" - + "gnize\022(.google.cloud.speech.v1.Recognize" - + "Request\032).google.cloud.speech.v1.Recogni" - + "zeResponse\"\037\202\323\344\223\002\031\"\024/v1/speech:recognize" - + ":\001*\022\226\001\n\024LongRunningRecognize\0223.google.cl" - + "oud.speech.v1.LongRunningRecognizeReques" - + "t\032\035.google.longrunning.Operation\"*\202\323\344\223\002$" - + "\"\037/v1/speech:longrunningrecognize:\001*\022\201\001\n" - + "\022StreamingRecognize\0221.google.cloud.speec" - + "h.v1.StreamingRecognizeRequest\0322.google." - + "cloud.speech.v1.StreamingRecognizeRespon" - + "se\"\000(\0010\001Bl\n\032com.google.cloud.speech.v1B\013" - + "SpeechProtoP\001Z\n\017speech" + + "_contexts\030\006 \003(\0132%.google.cloud.speech.v1" + + ".SpeechContext\022 \n\030enable_word_time_offse" + + "ts\030\010 \001(\010\022$\n\034enable_automatic_punctuation" + + "\030\013 \001(\010\022\r\n\005model\030\r \001(\t\022\024\n\014use_enhanced\030\016 " + + "\001(\010\"\213\001\n\rAudioEncoding\022\030\n\024ENCODING_UNSPEC" + + "IFIED\020\000\022\014\n\010LINEAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW" + + "\020\003\022\007\n\003AMR\020\004\022\n\n\006AMR_WB\020\005\022\014\n\010OGG_OPUS\020\006\022\032\n" + + "\026SPEEX_WITH_HEADER_BYTE\020\007\" \n\rSpeechConte" + + "xt\022\017\n\007phrases\030\001 \003(\t\"D\n\020RecognitionAudio\022" + + "\021\n\007content\030\001 \001(\014H\000\022\r\n\003uri\030\002 \001(\tH\000B\016\n\014aud" + + "io_source\"U\n\021RecognizeResponse\022@\n\007result" + + "s\030\002 \003(\0132/.google.cloud.speech.v1.SpeechR" + + "ecognitionResult\"`\n\034LongRunningRecognize" + + "Response\022@\n\007results\030\002 \003(\0132/.google.cloud" + + ".speech.v1.SpeechRecognitionResult\"\236\001\n\034L" + + "ongRunningRecognizeMetadata\022\030\n\020progress_" + + "percent\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.goog" + + "le.protobuf.Timestamp\0224\n\020last_update_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"\261\002\n\032" + + "StreamingRecognizeResponse\022!\n\005error\030\001 \001(" + + "\0132\022.google.rpc.Status\022C\n\007results\030\002 \003(\01322" + + ".google.cloud.speech.v1.StreamingRecogni" + + "tionResult\022]\n\021speech_event_type\030\004 \001(\0162B." + + "google.cloud.speech.v1.StreamingRecogniz" + + "eResponse.SpeechEventType\"L\n\017SpeechEvent" + + "Type\022\034\n\030SPEECH_EVENT_UNSPECIFIED\020\000\022\033\n\027EN" + + "D_OF_SINGLE_UTTERANCE\020\001\"\242\001\n\032StreamingRec" + + "ognitionResult\022J\n\014alternatives\030\001 \003(\01324.g" + + "oogle.cloud.speech.v1.SpeechRecognitionA" + + "lternative\022\020\n\010is_final\030\002 \001(\010\022\021\n\tstabilit" + + "y\030\003 \001(\002\022\023\n\013channel_tag\030\005 \001(\005\"z\n\027SpeechRe" + + "cognitionResult\022J\n\014alternatives\030\001 \003(\01324." + + "google.cloud.speech.v1.SpeechRecognition" + + "Alternative\022\023\n\013channel_tag\030\002 \001(\005\"w\n\034Spee" + + "chRecognitionAlternative\022\022\n\ntranscript\030\001" + + " \001(\t\022\022\n\nconfidence\030\002 \001(\002\022/\n\005words\030\003 \003(\0132" + + " .google.cloud.speech.v1.WordInfo\"t\n\010Wor" + + "dInfo\022-\n\nstart_time\030\001 \001(\0132\031.google.proto" + + "buf.Duration\022+\n\010end_time\030\002 \001(\0132\031.google." + + "protobuf.Duration\022\014\n\004word\030\003 \001(\t2\251\003\n\006Spee" + + "ch\022\201\001\n\tRecognize\022(.google.cloud.speech.v" + + "1.RecognizeRequest\032).google.cloud.speech" + + ".v1.RecognizeResponse\"\037\202\323\344\223\002\031\"\024/v1/speec" + + "h:recognize:\001*\022\226\001\n\024LongRunningRecognize\022" + + "3.google.cloud.speech.v1.LongRunningReco" + + "gnizeRequest\032\035.google.longrunning.Operat" + + "ion\"*\202\323\344\223\002$\"\037/v1/speech:longrunningrecog" + + "nize:\001*\022\201\001\n\022StreamingRecognize\0221.google." + + "cloud.speech.v1.StreamingRecognizeReques" + + "t\0322.google.cloud.speech.v1.StreamingReco" + + "gnizeResponse\"\000(\0010\001Bl\n\032com.google.cloud." + + "speech.v1B\013SpeechProtoP\001Z * Output only. A list of word-specific information for each recognized word. + * Note: When `enable_speaker_diarization` is true, you will see all the words + * from the beginning of the audio. *
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -196,6 +198,8 @@ public java.util.List getWordsList() { * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -209,6 +213,8 @@ public java.util.List getWordsList() { * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -221,6 +227,8 @@ public int getWordsCount() { * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -233,6 +241,8 @@ public com.google.cloud.speech.v1.WordInfo getWords(int index) { * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -816,6 +826,8 @@ private void ensureWordsIsMutable() { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -832,6 +844,8 @@ public java.util.List getWordsList() { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -848,6 +862,8 @@ public int getWordsCount() { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -864,6 +880,8 @@ public com.google.cloud.speech.v1.WordInfo getWords(int index) { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -886,6 +904,8 @@ public Builder setWords(int index, com.google.cloud.speech.v1.WordInfo value) { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -906,6 +926,8 @@ public Builder setWords( * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -928,6 +950,8 @@ public Builder addWords(com.google.cloud.speech.v1.WordInfo value) { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -950,6 +974,8 @@ public Builder addWords(int index, com.google.cloud.speech.v1.WordInfo value) { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -969,6 +995,8 @@ public Builder addWords(com.google.cloud.speech.v1.WordInfo.Builder builderForVa * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -989,6 +1017,8 @@ public Builder addWords( * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1009,6 +1039,8 @@ public Builder addAllWords( * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1028,6 +1060,8 @@ public Builder clearWords() { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1047,6 +1081,8 @@ public Builder removeWords(int index) { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1059,6 +1095,8 @@ public com.google.cloud.speech.v1.WordInfo.Builder getWordsBuilder(int index) { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1075,6 +1113,8 @@ public com.google.cloud.speech.v1.WordInfoOrBuilder getWordsOrBuilder(int index) * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1092,6 +1132,8 @@ public com.google.cloud.speech.v1.WordInfoOrBuilder getWordsOrBuilder(int index) * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1105,6 +1147,8 @@ public com.google.cloud.speech.v1.WordInfo.Builder addWordsBuilder() { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -1118,6 +1162,8 @@ public com.google.cloud.speech.v1.WordInfo.Builder addWordsBuilder(int index) { * *
      * Output only. A list of word-specific information for each recognized word.
+     * Note: When `enable_speaker_diarization` is true, you will see all the words
+     * from the beginning of the audio.
      * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java index ac3fed75f9ae..8798ff4f991d 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionAlternativeOrBuilder.java @@ -51,6 +51,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -61,6 +63,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -71,6 +75,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -81,6 +87,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; @@ -91,6 +99,8 @@ public interface SpeechRecognitionAlternativeOrBuilder * *
    * Output only. A list of word-specific information for each recognized word.
+   * Note: When `enable_speaker_diarization` is true, you will see all the words
+   * from the beginning of the audio.
    * 
* * repeated .google.cloud.speech.v1.WordInfo words = 3; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java index 307fad4846ae..ecccdf0d1b61 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResult.java @@ -24,6 +24,7 @@ private SpeechRecognitionResult(com.google.protobuf.GeneratedMessageV3.Builder alternatives_; /** @@ -182,6 +189,23 @@ public com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlter return alternatives_.get(index); } + public static final int CHANNEL_TAG_FIELD_NUMBER = 2; + private int channelTag_; + /** + * + * + *
+   * For multi-channel audio, this is the channel number corresponding to the
+   * recognized result for the audio from that channel.
+   * For audio_channel_count = N, its output values can range from '1' to 'N'.
+   * 
+ * + * int32 channel_tag = 2; + */ + public int getChannelTag() { + return channelTag_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -199,6 +223,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } + if (channelTag_ != 0) { + output.writeInt32(2, channelTag_); + } unknownFields.writeTo(output); } @@ -211,6 +238,9 @@ public int getSerializedSize() { for (int i = 0; i < alternatives_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i)); } + if (channelTag_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, channelTag_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -229,6 +259,7 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && getAlternativesList().equals(other.getAlternativesList()); + result = result && (getChannelTag() == other.getChannelTag()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -244,6 +275,8 @@ public int hashCode() { hash = (37 * hash) + ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getAlternativesList().hashCode(); } + hash = (37 * hash) + CHANNEL_TAG_FIELD_NUMBER; + hash = (53 * hash) + getChannelTag(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -397,6 +430,8 @@ public Builder clear() { } else { alternativesBuilder_.clear(); } + channelTag_ = 0; + return this; } @@ -425,6 +460,7 @@ public com.google.cloud.speech.v1.SpeechRecognitionResult buildPartial() { com.google.cloud.speech.v1.SpeechRecognitionResult result = new com.google.cloud.speech.v1.SpeechRecognitionResult(this); int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -434,6 +470,8 @@ public com.google.cloud.speech.v1.SpeechRecognitionResult buildPartial() { } else { result.alternatives_ = alternativesBuilder_.build(); } + result.channelTag_ = channelTag_; + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -511,6 +549,9 @@ public Builder mergeFrom(com.google.cloud.speech.v1.SpeechRecognitionResult othe } } } + if (other.getChannelTag() != 0) { + setChannelTag(other.getChannelTag()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -964,6 +1005,56 @@ public com.google.cloud.speech.v1.SpeechRecognitionAlternative.Builder addAltern return alternativesBuilder_; } + private int channelTag_; + /** + * + * + *
+     * For multi-channel audio, this is the channel number corresponding to the
+     * recognized result for the audio from that channel.
+     * For audio_channel_count = N, its output values can range from '1' to 'N'.
+     * 
+ * + * int32 channel_tag = 2; + */ + public int getChannelTag() { + return channelTag_; + } + /** + * + * + *
+     * For multi-channel audio, this is the channel number corresponding to the
+     * recognized result for the audio from that channel.
+     * For audio_channel_count = N, its output values can range from '1' to 'N'.
+     * 
+ * + * int32 channel_tag = 2; + */ + public Builder setChannelTag(int value) { + + channelTag_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * For multi-channel audio, this is the channel number corresponding to the
+     * recognized result for the audio from that channel.
+     * For audio_channel_count = N, its output values can range from '1' to 'N'.
+     * 
+ * + * int32 channel_tag = 2; + */ + public Builder clearChannelTag() { + + channelTag_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java index f5a6b729930d..bde2b700b595 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechRecognitionResultOrBuilder.java @@ -75,4 +75,17 @@ public interface SpeechRecognitionResultOrBuilder */ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( int index); + + /** + * + * + *
+   * For multi-channel audio, this is the channel number corresponding to the
+   * recognized result for the audio from that channel.
+   * For audio_channel_count = N, its output values can range from '1' to 'N'.
+   * 
+ * + * int32 channel_tag = 2; + */ + int getChannelTag(); } diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java index a27578f77897..70d70fa14659 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResult.java @@ -27,6 +27,7 @@ private StreamingRecognitionResult() { alternatives_ = java.util.Collections.emptyList(); isFinal_ = false; stability_ = 0F; + channelTag_ = 0; } @java.lang.Override @@ -77,6 +78,11 @@ private StreamingRecognitionResult( stability_ = input.readFloat(); break; } + case 40: + { + channelTag_ = input.readInt32(); + break; + } default: { if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { @@ -234,6 +240,23 @@ public float getStability() { return stability_; } + public static final int CHANNEL_TAG_FIELD_NUMBER = 5; + private int channelTag_; + /** + * + * + *
+   * For multi-channel audio, this is the channel number corresponding to the
+   * recognized result for the audio from that channel.
+   * For audio_channel_count = N, its output values can range from '1' to 'N'.
+   * 
+ * + * int32 channel_tag = 5; + */ + public int getChannelTag() { + return channelTag_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -257,6 +280,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (stability_ != 0F) { output.writeFloat(3, stability_); } + if (channelTag_ != 0) { + output.writeInt32(5, channelTag_); + } unknownFields.writeTo(output); } @@ -275,6 +301,9 @@ public int getSerializedSize() { if (stability_ != 0F) { size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, stability_); } + if (channelTag_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, channelTag_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -298,6 +327,7 @@ public boolean equals(final java.lang.Object obj) { result && (java.lang.Float.floatToIntBits(getStability()) == java.lang.Float.floatToIntBits(other.getStability())); + result = result && (getChannelTag() == other.getChannelTag()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -317,6 +347,8 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsFinal()); hash = (37 * hash) + STABILITY_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits(getStability()); + hash = (37 * hash) + CHANNEL_TAG_FIELD_NUMBER; + hash = (53 * hash) + getChannelTag(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -476,6 +508,8 @@ public Builder clear() { stability_ = 0F; + channelTag_ = 0; + return this; } @@ -516,6 +550,7 @@ public com.google.cloud.speech.v1.StreamingRecognitionResult buildPartial() { } result.isFinal_ = isFinal_; result.stability_ = stability_; + result.channelTag_ = channelTag_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -600,6 +635,9 @@ public Builder mergeFrom(com.google.cloud.speech.v1.StreamingRecognitionResult o if (other.getStability() != 0F) { setStability(other.getStability()); } + if (other.getChannelTag() != 0) { + setChannelTag(other.getChannelTag()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1165,6 +1203,56 @@ public Builder clearStability() { return this; } + private int channelTag_; + /** + * + * + *
+     * For multi-channel audio, this is the channel number corresponding to the
+     * recognized result for the audio from that channel.
+     * For audio_channel_count = N, its output values can range from '1' to 'N'.
+     * 
+ * + * int32 channel_tag = 5; + */ + public int getChannelTag() { + return channelTag_; + } + /** + * + * + *
+     * For multi-channel audio, this is the channel number corresponding to the
+     * recognized result for the audio from that channel.
+     * For audio_channel_count = N, its output values can range from '1' to 'N'.
+     * 
+ * + * int32 channel_tag = 5; + */ + public Builder setChannelTag(int value) { + + channelTag_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * For multi-channel audio, this is the channel number corresponding to the
+     * recognized result for the audio from that channel.
+     * For audio_channel_count = N, its output values can range from '1' to 'N'.
+     * 
+ * + * int32 channel_tag = 5; + */ + public Builder clearChannelTag() { + + channelTag_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java index 1420c3a4136c..ed6952d4bfb6 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognitionResultOrBuilder.java @@ -105,4 +105,17 @@ com.google.cloud.speech.v1.SpeechRecognitionAlternativeOrBuilder getAlternatives * float stability = 3; */ float getStability(); + + /** + * + * + *
+   * For multi-channel audio, this is the channel number corresponding to the
+   * recognized result for the audio from that channel.
+   * For audio_channel_count = N, its output values can range from '1' to 'N'.
+   * 
+ * + * int32 channel_tag = 5; + */ + int getChannelTag(); } diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto b/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto index 001d54b3c17c..fe8e774806d7 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto @@ -215,6 +215,14 @@ message RecognitionConfig { // for all other audio formats. For details, see [AudioEncoding][google.cloud.speech.v1.RecognitionConfig.AudioEncoding]. int32 sample_rate_hertz = 2; + // This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1 + // to get each channel recognized separately. The recognition result will + // contain a `channel_tag` field to state which channel that result belongs + // to. If this is not true, we will only recognize the first channel. The + // request is billed cumulatively for all channels recognized: + // `audio_channel_count` multiplied by the length of the audio. + bool enable_separate_recognition_per_channel = 12; + // *Required* The language of the supplied audio as a // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. // Example: "en-US". @@ -291,16 +299,20 @@ message RecognitionConfig { string model = 13; // *Optional* Set to true to use an enhanced model for speech recognition. - // You must also set the `model` field to a valid, enhanced model. If - // `use_enhanced` is set to true and the `model` field is not set, then - // `use_enhanced` is ignored. If `use_enhanced` is true and an enhanced - // version of the specified model does not exist, then the speech is - // recognized using the standard version of the specified model. + // If `use_enhanced` is set to true and the `model` field is not set, then + // an appropriate enhanced model is chosen if: + // 1. project is eligible for requesting enhanced models + // 2. an enhanced model exists for the audio + // + // If `use_enhanced` is true and an enhanced version of the specified model + // does not exist, then the speech is recognized using the standard version + // of the specified model. // // Enhanced speech models require that you opt-in to data logging using - // instructions in the [documentation](/speech-to-text/enable-data-logging). - // If you set `use_enhanced` to true and you have not enabled audio logging, - // then you will receive an error. + // instructions in the + // [documentation](/speech-to-text/docs/enable-data-logging). If you set + // `use_enhanced` to true and you have not enabled audio logging, then you + // will receive an error. bool use_enhanced = 14; } @@ -476,6 +488,11 @@ message StreamingRecognitionResult { // This field is only provided for interim results (`is_final=false`). // The default of 0.0 is a sentinel value indicating `stability` was not set. float stability = 3; + + // For multi-channel audio, this is the channel number corresponding to the + // recognized result for the audio from that channel. + // For audio_channel_count = N, its output values can range from '1' to 'N'. + int32 channel_tag = 5; } // A speech recognition result corresponding to a portion of the audio. @@ -485,6 +502,11 @@ message SpeechRecognitionResult { // These alternatives are ordered in terms of accuracy, with the top (first) // alternative being the most probable, as ranked by the recognizer. repeated SpeechRecognitionAlternative alternatives = 1; + + // For multi-channel audio, this is the channel number corresponding to the + // recognized result for the audio from that channel. + // For audio_channel_count = N, its output values can range from '1' to 'N'. + int32 channel_tag = 2; } // Alternative hypotheses (a.k.a. n-best list). @@ -502,6 +524,8 @@ message SpeechRecognitionAlternative { float confidence = 2; // Output only. A list of word-specific information for each recognized word. + // Note: When `enable_speaker_diarization` is true, you will see all the words + // from the beginning of the audio. repeated WordInfo words = 3; } diff --git a/google-cloud-clients/google-cloud-speech/synth.metadata b/google-cloud-clients/google-cloud-speech/synth.metadata index 2bd4f07a69a5..3be29e90377f 100644 --- a/google-cloud-clients/google-cloud-speech/synth.metadata +++ b/google-cloud-clients/google-cloud-speech/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-10T00:31:48.503770Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "deeb0a29ecc3e746c6fd82f72117360c4ef984cf", + "internalRef": "228610851" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "speech", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/speech/artman_speech_v1.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "speech", + "apiVersion": "v1p1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/speech/artman_speech_v1p1beta1.yaml" } } ] -} +} \ No newline at end of file From 8463514b02972e29ad1193e93e73d223bf7f6f38 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 10 Jan 2019 16:03:52 -0500 Subject: [PATCH 16/90] Release v0.77.0 (#4324) --- README.md | 8 +- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 204 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/README.md | 2 +- google-cloud-bom/pom.xml | 286 +++++++-------- .../google-cloud-asset/README.md | 6 +- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/README.md | 6 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/README.md | 6 +- .../google-cloud-bigquery/pom.xml | 4 +- .../README.md | 6 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/README.md | 6 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/README.md | 6 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/README.md | 6 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/README.md | 6 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/README.md | 6 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-contrib/README.md | 6 +- .../google-cloud-logging-logback/README.md | 6 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/README.md | 6 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/README.md | 6 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/README.md | 6 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/README.md | 6 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/README.md | 6 +- .../google-cloud-dialogflow/pom.xml | 4 +- .../google-cloud-dlp/README.md | 6 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- .../google-cloud-dns/README.md | 6 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/README.md | 6 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/README.md | 6 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/README.md | 6 +- .../google-cloud-iamcredentials/pom.xml | 4 +- .../google-cloud-iot/README.md | 6 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- .../google-cloud-kms/README.md | 6 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/README.md | 6 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/README.md | 6 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/README.md | 6 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/README.md | 6 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/README.md | 6 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/README.md | 6 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/README.md | 6 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/README.md | 6 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/README.md | 6 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/README.md | 6 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/README.md | 6 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/README.md | 6 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/README.md | 6 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/README.md | 6 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/README.md | 6 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/README.md | 6 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/README.md | 6 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/README.md | 6 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/README.md | 6 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/README.md | 6 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/README.md | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/README.md | 14 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 326 +++++++++--------- 211 files changed, 876 insertions(+), 876 deletions(-) diff --git a/README.md b/README.md index 1ab2a6b37238..0705e3d7f1e0 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.76.0-alpha + 0.77.0-alpha pom import @@ -85,11 +85,11 @@ If you are using Maven, add this to your pom.xml file [//]: # ({x-version-update-start:google-cloud-storage:released}) If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.58.0' +compile 'com.google.cloud:google-cloud-storage:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.59.0" ``` [//]: # ({x-version-update-end}) @@ -110,7 +110,7 @@ If you are running into problems with version conflicts, the easiest way to solv com.google.cloud google-cloud-bom - 0.76.0-alpha + 0.77.0-alpha pom import diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index 8777b5c64a85..8936f8757a23 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 0c762b214144..5a7cc2b1e940 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 6702323cbfd4..cee766407170 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 87ce697aeac4..a434a68c8e4b 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index 42a1957ee8eb..c07143cd2961 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index 28d77daed58f..693a7d1f5701 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index b6c7d08a7dc1..73f3a872b528 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index 72df83a0a18e..afb81a99b770 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index ff0ad2559748..b8c6984dbc0f 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index 4e0a8102fd5b..63cfbf3e2808 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index 5a85716a7ffa..b3e7323814a9 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index b4959662c6e5..8dd2686e5102 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index f3e67e748dcf..7c1b4906f974 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index d072f087a675..72ccf9d41978 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index ce1a511a3954..9aa9d85eb1f8 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index 1c21068abab0..25b518a227e3 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index add93dde52ca..8aa06b2dea3e 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index 7b7063eba02d..f8d2447c2651 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 007e0bf052c5..2e00331f3d9c 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.40.1-SNAPSHOT + 1.41.0 grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index d3c51bb8f9f4..27a374a558e1 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index 1c7fa216637b..6133066050ee 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index cb54fe7efd1b..14cf38254c5e 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.40.1-SNAPSHOT + 1.41.0 grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index 2f100cf88d5e..6e2c1a47c3d4 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index 8d6f2b58053f..0f2551d0c898 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.40.1-SNAPSHOT + 1.41.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index 0e2d9f07dc38..a7925910da1f 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index 1d26910ed564..cb009feb83eb 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index 06fb5d86a3ea..44f305c45bb7 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index e04255beb812..e792e9263eb8 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index bd276c6fcdd8..ed1e50ff5ef9 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.3.1-SNAPSHOT + 1.4.0 grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index c06ee90006c9..3ce6c8f8adfb 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.3.1-SNAPSHOT + 1.4.0 grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index 0852e076b39a..0215f2b09086 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.3.1-SNAPSHOT + 1.4.0 grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index bf3000b1b08e..760cf8e1d1c3 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 75a613a352b5..5fae6be69488 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index 07e543426e9f..1f65acab94d9 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index 205230018a70..fa884309ae7b 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index 631b98f98f52..4f6ec03a979f 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index 0f2e08610df2..f20e23f07b18 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index b946ab3ff992..cc8632dbc7bb 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index 085fce8cacfa..f2c4c67c0696 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index 74df396eb656..b2974d18da3b 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index 9778d96d5826..aa1386c6ca60 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index a9bf98044eb2..d1781f0cb4a5 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 84f5d04cc596..015a53069bca 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index 0be1ae244499..7ca5a56b2cfe 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index c94a072bf6b1..fef141db3172 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index d51484b6db24..4f4536a1be81 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.40.1-SNAPSHOT + 1.41.0 grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index 95fac11c8801..ac0402ac51c3 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index b3d1b69de5fb..4db43625f56f 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.40.1-SNAPSHOT + 1.41.0 grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 9b32970e2e25..98a4395f35ef 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index d62f2f61f91f..bbfbf758f60d 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.41.1-SNAPSHOT + 0.42.0 grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 879fcb38c23f..2009aead6b65 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.41.1-SNAPSHOT + 0.42.0 Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,507 +142,507 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-container-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-dlp-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-os-login-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-trace-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index 14f948e8aa20..0d2cc7d6f5c0 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index ed425c48a569..489465ff0628 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 516bbeabbf19..641257b57867 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 34b45fc1f7be..c811697b1415 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index a7ab52849775..af71236a10d4 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index 47126e84a1d4..8b41592c3227 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index bc4276fcf030..bd9ce4b20a6d 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index da6013b36b0a..8ea9548b167e 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index 2ee55a939231..475db1849fa8 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index cbce37e72528..37167f673c37 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index acd95c27df47..0912dc0bd99b 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index 56ff08f5eee2..666b4e038c8b 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index 4a0093cecda7..1ebe9ea36405 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index 07e84cf39194..d29f6920689f 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index 36b101453544..f98cb9ea9b9e 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index 752dd2231807..9a3d70a55c94 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index 7cfc795a1ce2..c66ed3bd3141 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index e1d0943faf04..476f787329ee 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index 207b4aea98af..b006ee55d8bf 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index 12ddbde0183d..a727d08e15c5 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.40.1-SNAPSHOT + 1.41.0 proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 722c1db4495b..06ba7f469d3c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index 0fec6a6172fd..6d6f695ec7fc 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 2637e55a9ed7..08f14dc6f676 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.40.1-SNAPSHOT + 1.41.0 proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index c5d507651e96..0961af2d538d 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index a49627941656..d8a8cc2e8f88 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.40.1-SNAPSHOT + 1.41.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index 1212f6893b09..b849ad5c78e2 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index 9a10ca848fa2..effb7d0e6b42 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index c6f961be97ba..5d3d90839616 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index aa9b57792c7d..bd6c1e3081b9 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index 7bcb5c79b4dd..23ca165ecd13 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.3.1-SNAPSHOT + 1.4.0 proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index df8678804cad..1cb1a067dffc 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.3.1-SNAPSHOT + 1.4.0 proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index 899bc94c4c65..0cd1a5641b22 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.3.1-SNAPSHOT + 1.4.0 proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index 1ca6a0ba343e..cd021bc54c94 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index 53497b37ae89..9c3a553d881c 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index cf9a593eeb48..a3d7c544e2e3 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index 68b43a95eb9e..19a3fe5d526f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index 56968200a202..ef56da61606f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index 8106c058b492..61de597b5ea2 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index 7fd36957b8aa..efdeac081911 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index 7596be704810..95312daf8a66 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index 785ce0ee71dc..714b0f16bcfc 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index 891ccaaf1465..475f50f2f2b1 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 2a02080be0ff..0f18feeae68c 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index b9a056ea081f..c5675641de46 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index cc8e12f1391e..a6ddf99a18de 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index bf256a32d955..2a2d3d9591f5 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index 6df5d545947e..0db5c48dac11 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.40.1-SNAPSHOT + 1.41.0 proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index 2751bd90a080..372bda311c2c 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index 66edaa901eae..0a9301518972 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.40.1-SNAPSHOT + 1.41.0 proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index 6c2f9e7a19d9..ff58d1fa89ab 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 3d9e57a5089b..e005d556a52a 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.41.1-SNAPSHOT + 0.42.0 proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.41.1-SNAPSHOT + 0.42.0 diff --git a/google-cloud-bom/README.md b/google-cloud-bom/README.md index f9f0d01435d8..76dfe509cfe7 100644 --- a/google-cloud-bom/README.md +++ b/google-cloud-bom/README.md @@ -13,7 +13,7 @@ To use it in Maven, add the following to your POM: com.google.cloud google-cloud-bom - 0.76.0-alpha + 0.77.0-alpha pom import diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 59e06190368a..5785b9f37401 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,713 +197,713 @@ com.google.cloud google-cloud-asset - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-automl - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-bigtable - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-bigtable-admin - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-bigtable-emulator - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.cloud google-cloud-bigquery - 1.58.1-SNAPSHOT + 1.59.0 com.google.cloud google-cloud-bigquerydatatransfer - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-compute - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.cloud google-cloud-container - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-container-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-containeranalysis - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-contrib - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.cloud google-cloud-nio - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.cloud google-cloud-core - 1.58.1-SNAPSHOT + 1.59.0 com.google.cloud google-cloud-core-grpc - 1.58.1-SNAPSHOT + 1.59.0 com.google.cloud google-cloud-core-http - 1.58.1-SNAPSHOT + 1.59.0 com.google.cloud google-cloud-dataproc - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-datastore - 1.58.1-SNAPSHOT + 1.59.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-dlp - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-dlp-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-dialogflow - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-dns - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.cloud google-cloud-errorreporting - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-firestore - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-kms - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-kms-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-language - 1.58.1-SNAPSHOT + 1.59.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-logging - 1.58.1-SNAPSHOT + 1.59.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-logging-logback - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.cloud google-cloud-monitoring - 1.58.1-SNAPSHOT + 1.59.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.40.1-SNAPSHOT + 1.41.0 com.google.cloud google-cloud-os-login - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.api.grpc proto-google-cloud-os-login-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-pubsub - 1.58.1-SNAPSHOT + 1.59.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.cloud google-cloud-redis - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-resourcemanager - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-spanner - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.3.1-SNAPSHOT + 1.4.0 com.google.cloud google-cloud-speech - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-storage - 1.58.1-SNAPSHOT + 1.59.0 com.google.cloud google-cloud-tasks - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-texttospeech - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-trace - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-trace-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-translate - 1.58.1-SNAPSHOT + 1.59.0 com.google.cloud google-cloud-vision - 1.58.1-SNAPSHOT + 1.59.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.40.1-SNAPSHOT + 1.41.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.cloud google-cloud-video-intelligence - 0.76.1-beta-SNAPSHOT + 0.77.0-beta com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.41.1-SNAPSHOT + 0.42.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha com.google.cloud google-cloud-iamcredentials - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha diff --git a/google-cloud-clients/google-cloud-asset/README.md b/google-cloud-clients/google-cloud-asset/README.md index 90aa48e1392c..c755efac1b9d 100644 --- a/google-cloud-clients/google-cloud-asset/README.md +++ b/google-cloud-clients/google-cloud-asset/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-asset - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-asset:0.76.0-beta' +compile 'com.google.cloud:google-cloud-asset:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index 662c936a9746..4d0cf0a91d9b 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/README.md b/google-cloud-clients/google-cloud-automl/README.md index 4e89150fae85..e01766e9aeb6 100644 --- a/google-cloud-clients/google-cloud-automl/README.md +++ b/google-cloud-clients/google-cloud-automl/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-automl - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-automl:0.76.0-beta' +compile 'com.google.cloud:google-cloud-automl:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index 7c7c424962b6..9f97f2873286 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/README.md b/google-cloud-clients/google-cloud-bigquery/README.md index 8532db06d8e8..74c49aae4e62 100644 --- a/google-cloud-clients/google-cloud-bigquery/README.md +++ b/google-cloud-clients/google-cloud-bigquery/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigquery - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquery:1.58.0' +compile 'com.google.cloud:google-cloud-bigquery:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 5bbda202daeb..07d7ea3b6aab 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md index 8cf5f2afd489..57a64303c57e 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md @@ -23,16 +23,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerydatatransfer - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.76.0-beta' +compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index 135771ab9a6f..8aa22de1d0d6 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/README.md b/google-cloud-clients/google-cloud-bigquerystorage/README.md index 211ead343951..dc40975d018e 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/README.md +++ b/google-cloud-clients/google-cloud-bigquerystorage/README.md @@ -20,16 +20,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerystorage - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerystorage:0.76.0-beta' +compile 'com.google.cloud:google-cloud-bigquerystorage:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index 127e9d67f027..d7d9141bc804 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index 3102554f3079..25741ee27b20 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha diff --git a/google-cloud-clients/google-cloud-bigtable/README.md b/google-cloud-clients/google-cloud-bigtable/README.md index 125293844e57..b9bda7a07c9b 100644 --- a/google-cloud-clients/google-cloud-bigtable/README.md +++ b/google-cloud-clients/google-cloud-bigtable/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigtable - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index c6fdad0327cc..c4441d1b4366 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/README.md b/google-cloud-clients/google-cloud-compute/README.md index 1e7dd987ade2..fe873e010409 100644 --- a/google-cloud-clients/google-cloud-compute/README.md +++ b/google-cloud-clients/google-cloud-compute/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-compute - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-compute:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-compute:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 40b0530cbbdc..1844e4d68a85 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/README.md b/google-cloud-clients/google-cloud-container/README.md index 2d33cae76cab..61423ba3b8ed 100644 --- a/google-cloud-clients/google-cloud-container/README.md +++ b/google-cloud-clients/google-cloud-container/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-container - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-container:0.76.0-beta' +compile 'com.google.cloud:google-cloud-container:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index 1914af1e6378..84c7a9510c7a 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/README.md b/google-cloud-clients/google-cloud-containeranalysis/README.md index a62c3cb0c939..1e915404b686 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/README.md +++ b/google-cloud-clients/google-cloud-containeranalysis/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-containeranalysis - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-containeranalysis:0.76.0-beta' +compile 'com.google.cloud:google-cloud-containeranalysis:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index 79caa1531f01..0b26d0dbaeb2 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/README.md b/google-cloud-clients/google-cloud-contrib/README.md index c91e4b5648f5..773858dce97e 100644 --- a/google-cloud-clients/google-cloud-contrib/README.md +++ b/google-cloud-clients/google-cloud-contrib/README.md @@ -25,16 +25,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-contrib - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-contrib:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-contrib:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md index 2d0504e4505e..964c3be8f772 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-logging-logback - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging-logback:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-logging-logback:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index f682e3be6321..b1af47450496 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index dbb2a0019e68..f989b7b2c0da 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.76.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.76.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.77.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.76.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index 80ba189ea273..3b1482838cf4 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md index eaeef5c9919f..ee59552663ac 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md @@ -26,16 +26,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-nio - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-nio:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-nio:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index d2abba653523..1441b28aeab0 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index b793c5d11dfc..efc8dfa66323 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index 8798734dde68..72ee09296a83 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index a5ea61302144..0c4786391794 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/README.md b/google-cloud-clients/google-cloud-core/README.md index df46bd804056..74ee83bb2ea1 100644 --- a/google-cloud-clients/google-cloud-core/README.md +++ b/google-cloud-clients/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.58.0' +compile 'com.google.cloud:google-cloud-core:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index bfaf412be7ab..29256c1d8cd7 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/README.md b/google-cloud-clients/google-cloud-dataproc/README.md index 1c8c76b13e8d..ec60a8f0349e 100644 --- a/google-cloud-clients/google-cloud-dataproc/README.md +++ b/google-cloud-clients/google-cloud-dataproc/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-dataproc - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dataproc:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-dataproc:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index b206f18fe1dc..33db07829c05 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/README.md b/google-cloud-clients/google-cloud-datastore/README.md index e8c9a1aede29..3edf9caa2ff3 100644 --- a/google-cloud-clients/google-cloud-datastore/README.md +++ b/google-cloud-clients/google-cloud-datastore/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-datastore - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-datastore:1.58.0' +compile 'com.google.cloud:google-cloud-datastore:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index c7ba606a01a9..6626fbc39625 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/README.md b/google-cloud-clients/google-cloud-dialogflow/README.md index 47bbd6d17c86..6f17618417bf 100644 --- a/google-cloud-clients/google-cloud-dialogflow/README.md +++ b/google-cloud-clients/google-cloud-dialogflow/README.md @@ -23,16 +23,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dialogflow - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dialogflow:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-dialogflow:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index 1ddc73c0a673..af3f4fef883a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/README.md b/google-cloud-clients/google-cloud-dlp/README.md index 5e967e48f6cf..7fc39e87613a 100644 --- a/google-cloud-clients/google-cloud-dlp/README.md +++ b/google-cloud-clients/google-cloud-dlp/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dlp - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dlp:0.76.0-beta' +compile 'com.google.cloud:google-cloud-dlp:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index d4ba1913165d..27af418de330 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/README.md b/google-cloud-clients/google-cloud-dns/README.md index 55ea1a7f58aa..aa5ebfe95b28 100644 --- a/google-cloud-clients/google-cloud-dns/README.md +++ b/google-cloud-clients/google-cloud-dns/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dns - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dns:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-dns:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index ae5464798300..dc4b334f8b36 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/README.md b/google-cloud-clients/google-cloud-errorreporting/README.md index 16dfc7120b25..1dd87c3ba0c1 100644 --- a/google-cloud-clients/google-cloud-errorreporting/README.md +++ b/google-cloud-clients/google-cloud-errorreporting/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-errorreporting - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-errorreporting:0.76.0-beta' +compile 'com.google.cloud:google-cloud-errorreporting:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index 8f1735fcfb14..4ed41f13c87c 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/README.md b/google-cloud-clients/google-cloud-firestore/README.md index 8a4779c2e353..0b4b3645c626 100644 --- a/google-cloud-clients/google-cloud-firestore/README.md +++ b/google-cloud-clients/google-cloud-firestore/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-firestore - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-firestore:0.76.0-beta' +compile 'com.google.cloud:google-cloud-firestore:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 70a307e93ead..42f3796afe20 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/README.md b/google-cloud-clients/google-cloud-iamcredentials/README.md index d885aa5041ea..78c0ce7ff348 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/README.md +++ b/google-cloud-clients/google-cloud-iamcredentials/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iamcredentials - 0.3.0-alpha + 0.4.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iamcredentials:0.3.0-alpha' +compile 'com.google.cloud:google-cloud-iamcredentials:0.4.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.3.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.4.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index b9e0ed76b96f..ae9e060bfee9 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.3.1-alpha-SNAPSHOT + 0.4.0-alpha jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/README.md b/google-cloud-clients/google-cloud-iot/README.md index c158c9d117e5..29d7a1f25a1b 100644 --- a/google-cloud-clients/google-cloud-iot/README.md +++ b/google-cloud-clients/google-cloud-iot/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iot - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iot:0.76.0-beta' +compile 'com.google.cloud:google-cloud-iot:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index d9d5a76c9542..076bca201140 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/README.md b/google-cloud-clients/google-cloud-kms/README.md index fe904b88df17..480f8b1c3296 100644 --- a/google-cloud-clients/google-cloud-kms/README.md +++ b/google-cloud-clients/google-cloud-kms/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-kms - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-kms:0.76.0-beta' +compile 'com.google.cloud:google-cloud-kms:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 3bb233a66179..7440a013ced3 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/README.md b/google-cloud-clients/google-cloud-language/README.md index 8a2484788633..f9d3b6fd1be7 100644 --- a/google-cloud-clients/google-cloud-language/README.md +++ b/google-cloud-clients/google-cloud-language/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-language - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-language:1.58.0' +compile 'com.google.cloud:google-cloud-language:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index f1582d1779c7..a18f370f50d5 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/README.md b/google-cloud-clients/google-cloud-logging/README.md index c37cbf149cdb..7238034bb0df 100644 --- a/google-cloud-clients/google-cloud-logging/README.md +++ b/google-cloud-clients/google-cloud-logging/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-logging - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging:1.58.0' +compile 'com.google.cloud:google-cloud-logging:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 3ff81b98553f..6fb8dfda4e48 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/README.md b/google-cloud-clients/google-cloud-monitoring/README.md index ab7211f4c101..8140e3e7c27c 100644 --- a/google-cloud-clients/google-cloud-monitoring/README.md +++ b/google-cloud-clients/google-cloud-monitoring/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-monitoring - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-monitoring:1.58.0' +compile 'com.google.cloud:google-cloud-monitoring:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index 6e11d5b307df..fa004740e831 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/README.md b/google-cloud-clients/google-cloud-notification/README.md index 7f051577ec31..9d52c7d5ebcd 100644 --- a/google-cloud-clients/google-cloud-notification/README.md +++ b/google-cloud-clients/google-cloud-notification/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-notification - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-notification:0.76.0-beta' +compile 'com.google.cloud:google-cloud-notification:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index a533606036a0..348f94e9a1f7 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/README.md b/google-cloud-clients/google-cloud-os-login/README.md index a1ec63a184a0..ff5e4ba70315 100644 --- a/google-cloud-clients/google-cloud-os-login/README.md +++ b/google-cloud-clients/google-cloud-os-login/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-os-login - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-os-login:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-os-login:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index 9312ed671b1f..9e36104d6c8a 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/README.md b/google-cloud-clients/google-cloud-pubsub/README.md index c0550d5f0240..253fa8cd7ef5 100644 --- a/google-cloud-clients/google-cloud-pubsub/README.md +++ b/google-cloud-clients/google-cloud-pubsub/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-pubsub - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-pubsub:1.58.0' +compile 'com.google.cloud:google-cloud-pubsub:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index 6458665c3f49..b434507031b2 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/README.md b/google-cloud-clients/google-cloud-redis/README.md index 42cd401072f4..b754fa7f079a 100644 --- a/google-cloud-clients/google-cloud-redis/README.md +++ b/google-cloud-clients/google-cloud-redis/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-redis - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-redis:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-redis:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index 6a00a97d5d54..439a85eb5d3f 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/README.md b/google-cloud-clients/google-cloud-resourcemanager/README.md index 660ac286860b..0544f1db7700 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/README.md +++ b/google-cloud-clients/google-cloud-resourcemanager/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-resourcemanager - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-resourcemanager:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-resourcemanager:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index eb6476e3cabe..f3d33ad61800 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/README.md b/google-cloud-clients/google-cloud-scheduler/README.md index c27f64f0e2a8..fa7a529f1cf0 100644 --- a/google-cloud-clients/google-cloud-scheduler/README.md +++ b/google-cloud-clients/google-cloud-scheduler/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-scheduler - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-scheduler:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-scheduler:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index 56a015e4005e..8581b528f201 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/README.md b/google-cloud-clients/google-cloud-securitycenter/README.md index 2502bc78a65d..e37e2ce4c8ee 100644 --- a/google-cloud-clients/google-cloud-securitycenter/README.md +++ b/google-cloud-clients/google-cloud-securitycenter/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-securitycenter - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-securitycenter:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-securitycenter:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index 177db1823b2f..5afc49fcefcc 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/README.md b/google-cloud-clients/google-cloud-spanner/README.md index bed834b61850..ee9cd086e71a 100644 --- a/google-cloud-clients/google-cloud-spanner/README.md +++ b/google-cloud-clients/google-cloud-spanner/README.md @@ -20,16 +20,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-spanner - 1.3.0 + 1.4.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-spanner:1.3.0' +compile 'com.google.cloud:google-cloud-spanner:1.4.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.4.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index 0ca3e48b5dc1..a1ec7c8852e7 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.3.1-SNAPSHOT + 1.4.0 jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/README.md b/google-cloud-clients/google-cloud-speech/README.md index 344e9e3129e8..58416ae61e8f 100644 --- a/google-cloud-clients/google-cloud-speech/README.md +++ b/google-cloud-clients/google-cloud-speech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-speech - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-speech:0.76.0-beta' +compile 'com.google.cloud:google-cloud-speech:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index a350f1db1861..a0e1ad0ea044 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/README.md b/google-cloud-clients/google-cloud-storage/README.md index 5ecba77c4410..10f6d979fce9 100644 --- a/google-cloud-clients/google-cloud-storage/README.md +++ b/google-cloud-clients/google-cloud-storage/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-storage - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.58.0' +compile 'com.google.cloud:google-cloud-storage:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index e1d69fa3a24c..584424d8caca 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/README.md b/google-cloud-clients/google-cloud-tasks/README.md index 3ae839a2289a..c41325174ebe 100644 --- a/google-cloud-clients/google-cloud-tasks/README.md +++ b/google-cloud-clients/google-cloud-tasks/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-tasks - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-tasks:0.76.0-beta' +compile 'com.google.cloud:google-cloud-tasks:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index 36e19330df8b..9427c84364f4 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/README.md b/google-cloud-clients/google-cloud-texttospeech/README.md index d45f46c45110..ddaf3226b181 100644 --- a/google-cloud-clients/google-cloud-texttospeech/README.md +++ b/google-cloud-clients/google-cloud-texttospeech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-texttospeech - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-texttospeech:0.76.0-beta' +compile 'com.google.cloud:google-cloud-texttospeech:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index 41d19c612077..945c1d1dd65f 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/README.md b/google-cloud-clients/google-cloud-trace/README.md index 9d216da3356d..0f52d851afe1 100644 --- a/google-cloud-clients/google-cloud-trace/README.md +++ b/google-cloud-clients/google-cloud-trace/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-trace - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-trace:0.76.0-beta' +compile 'com.google.cloud:google-cloud-trace:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index 43213f5b9b46..5891b36a8eb8 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/README.md b/google-cloud-clients/google-cloud-translate/README.md index 5c447a66218d..2d662d4ba0c3 100644 --- a/google-cloud-clients/google-cloud-translate/README.md +++ b/google-cloud-clients/google-cloud-translate/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-translate - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-translate:1.58.0' +compile 'com.google.cloud:google-cloud-translate:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index 93889a681438..c9ba949ad562 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/README.md b/google-cloud-clients/google-cloud-video-intelligence/README.md index a8765f810b58..ef37d38ccaa7 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/README.md +++ b/google-cloud-clients/google-cloud-video-intelligence/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-video-intelligence - 0.76.0-beta + 0.77.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-video-intelligence:0.76.0-beta' +compile 'com.google.cloud:google-cloud-video-intelligence:0.77.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.76.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.77.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index 7275f929de79..f00413501ea6 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.76.1-beta-SNAPSHOT + 0.77.0-beta jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/README.md b/google-cloud-clients/google-cloud-vision/README.md index c2f20d163bbf..01e4ea9baadc 100644 --- a/google-cloud-clients/google-cloud-vision/README.md +++ b/google-cloud-clients/google-cloud-vision/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-vision - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-vision:1.58.0' +compile 'com.google.cloud:google-cloud-vision:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index 28f22c424148..6bb61fb128d8 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/README.md b/google-cloud-clients/google-cloud-websecurityscanner/README.md index 9b63eb44fc39..2dac3332923e 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/README.md +++ b/google-cloud-clients/google-cloud-websecurityscanner/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-websecurityscanner - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-websecurityscanner:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-websecurityscanner:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index 900d11fe39ab..56205f73d930 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index a1a2b1d00d5c..1cbe948d2c67 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha 1.27.0 1.35.1 1.7.0 @@ -238,7 +238,7 @@ com.google.cloud google-cloud-core - 1.58.1-SNAPSHOT + 1.59.0 test-jar diff --git a/google-cloud-examples/README.md b/google-cloud-examples/README.md index 18e30d1aca2c..68baa2c3cfcc 100644 --- a/google-cloud-examples/README.md +++ b/google-cloud-examples/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-examples - 0.76.0-alpha + 0.77.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-examples:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-examples:0.77.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.76.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.77.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index a96ce675a5f2..c35521f4968c 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index 84705ef1daae..412ce450380a 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha war google-cloud-testing com.google.cloud - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index 8d0b9a709038..642018cf4b1b 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha war google-cloud-testing com.google.cloud - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index 6763f431be69..da4b039d3c80 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha war google-cloud-testing com.google.cloud - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index ccbbf93c0618..c6587bc304a8 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha war google-cloud-testing com.google.cloud - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/README.md b/google-cloud-testing/google-cloud-bigtable-emulator/README.md index bb8aa8c3d938..5c230af55397 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/README.md +++ b/google-cloud-testing/google-cloud-bigtable-emulator/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.76.0-alpha + 0.77.0-alpha pom import @@ -53,16 +53,16 @@ If you are using Maven, add this to your pom.xml file If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.76.0-alpha' -compile 'com.google.cloud:google-cloud-bigtable-admin:0.76.0-alpha' -testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.76.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable-admin:0.77.0-alpha' +testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.77.0-alpha' testCompile 'junit:junit:4.12' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.76.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.76.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.76.0-alpha" % Test +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.77.0-alpha" % Test libraryDependencies += "junit" % "junit" % "4.12" % Test ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 25d1d59d42aa..23ca49a4dd73 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha @@ -121,7 +121,7 @@ com.google.cloud google-cloud-bom - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index 17d0a6583bd1..ed42e4e1dc99 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-gcloud-maven-plugin - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index c53554f650e4..4e70e80c7723 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar google-cloud-testing com.google.cloud - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index 49e72d92ce5b..b895dc777c8f 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha pom import com.google.cloud google-cloud-core - 1.58.1-SNAPSHOT + 1.59.0 test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index c98528cef2a9..074343543b0d 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index c42d023261a9..894f4302a487 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index cffa2a9863d5..7cb60d951d5e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,166 +1,166 @@ # Format: # module:released-version:current-version -google-api-grpc:0.41.0:0.41.1-SNAPSHOT -google-cloud:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-appengineflexcompat:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-appengineflexcustom:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-appengineflexjava:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-appenginejava8:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-asset:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-automl:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-bigquery:1.58.0:1.58.1-SNAPSHOT -google-cloud-bigquerydatatransfer:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-bigquerystorage:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-bigtable:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-bigtable-admin:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-bigtable-emulator:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-bom:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-clients:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-compat-checker:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-compute:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-container:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-containeranalysis:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-contrib:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-core:1.58.0:1.58.1-SNAPSHOT -google-cloud-core-grpc:1.58.0:1.58.1-SNAPSHOT -google-cloud-core-http:1.58.0:1.58.1-SNAPSHOT -google-cloud-dataproc:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-datastore:1.58.0:1.58.1-SNAPSHOT -google-cloud-dialogflow:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-dlp:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-dns:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-errorreporting:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-examples:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-firestore:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-gcloud-maven-plugin:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-iamcredentials:0.3.0-alpha:0.3.1-alpha-SNAPSHOT -google-cloud-iot:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-kms:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-language:1.58.0:1.58.1-SNAPSHOT -google-cloud-logging:1.58.0:1.58.1-SNAPSHOT -google-cloud-logging-logback:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-managedtest:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-monitoring:1.58.0:1.58.1-SNAPSHOT -google-cloud-nio:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-nio-examples:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-notification:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-os-login:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-pubsub:1.58.0:1.58.1-SNAPSHOT -google-cloud-redis:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-resourcemanager:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-scheduler:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-securitycenter:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-spanner:1.3.0:1.3.1-SNAPSHOT -google-cloud-speech:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-storage:1.58.0:1.58.1-SNAPSHOT -google-cloud-tasks:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-testing:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-texttospeech:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-trace:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-translate:1.58.0:1.58.1-SNAPSHOT -google-cloud-util:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -google-cloud-video-intelligence:0.76.0-beta:0.76.1-beta-SNAPSHOT -google-cloud-vision:1.58.0:1.58.1-SNAPSHOT -google-cloud-websecurityscanner:0.76.0-alpha:0.76.1-alpha-SNAPSHOT -grpc-google-cloud-asset-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-automl-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-bigquerydatatransfer-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-bigtable-admin-v2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-bigtable-v2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-container-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-containeranalysis-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-dataproc-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-dataproc-v1beta2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-dlp-v2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-error-reporting-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-firestore-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-iamcredentials-v1:0.3.0-alpha:0.3.1-alpha-SNAPSHOT -grpc-google-cloud-iot-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-kms-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-language-v1:1.40.0:1.40.1-SNAPSHOT -grpc-google-cloud-language-v1beta2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-logging-v2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-monitoring-v3:1.40.0:1.40.1-SNAPSHOT -grpc-google-cloud-os-login-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.40.0:1.40.1-SNAPSHOT -grpc-google-cloud-redis-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-redis-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-scheduler-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-securitycenter-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-spanner-admin-database-v1:1.3.0:1.3.1-SNAPSHOT -grpc-google-cloud-spanner-admin-instance-v1:1.3.0:1.3.1-SNAPSHOT -grpc-google-cloud-spanner-v1:1.3.0:1.3.1-SNAPSHOT -grpc-google-cloud-speech-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-speech-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-speech-v1p1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta3:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-trace-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-trace-v2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta2:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p2beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-vision-v1:1.40.0:1.40.1-SNAPSHOT -grpc-google-cloud-vision-v1p1beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-vision-v1p2beta1:1.40.0:1.40.1-SNAPSHOT -grpc-google-cloud-vision-v1p3beta1:0.41.0:0.41.1-SNAPSHOT -grpc-google-cloud-websecurityscanner-v1alpha:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-asset-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-automl-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-bigquerydatatransfer-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-bigtable-admin-v2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-bigtable-v2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-container-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-containeranalysis-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-dataproc-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-dataproc-v1beta2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-datastore-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-dialogflow-v2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-dialogflow-v2beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-dlp-v2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-error-reporting-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-firestore-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-iamcredentials-v1:0.3.0-alpha:0.3.1-alpha-SNAPSHOT -proto-google-cloud-iot-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-kms-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-language-v1:1.40.0:1.40.1-SNAPSHOT -proto-google-cloud-language-v1beta2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-logging-v2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-monitoring-v3:1.40.0:1.40.1-SNAPSHOT -proto-google-cloud-os-login-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.40.0:1.40.1-SNAPSHOT -proto-google-cloud-redis-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-redis-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-scheduler-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-securitycenter-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-spanner-admin-database-v1:1.3.0:1.3.1-SNAPSHOT -proto-google-cloud-spanner-admin-instance-v1:1.3.0:1.3.1-SNAPSHOT -proto-google-cloud-spanner-v1:1.3.0:1.3.1-SNAPSHOT -proto-google-cloud-speech-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-speech-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-speech-v1p1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-tasks-v2beta2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-tasks-v2beta3:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-texttospeech-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-texttospeech-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-trace-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-trace-v2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta2:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p2beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-vision-v1:1.40.0:1.40.1-SNAPSHOT -proto-google-cloud-vision-v1p1beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-vision-v1p2beta1:1.40.0:1.40.1-SNAPSHOT -proto-google-cloud-vision-v1p3beta1:0.41.0:0.41.1-SNAPSHOT -proto-google-cloud-websecurityscanner-v1alpha:0.41.0:0.41.1-SNAPSHOT +google-api-grpc:0.42.0:0.42.0 +google-cloud:0.77.0-alpha:0.77.0-alpha +google-cloud-appengineflexcompat:0.77.0-alpha:0.77.0-alpha +google-cloud-appengineflexcustom:0.77.0-alpha:0.77.0-alpha +google-cloud-appengineflexjava:0.77.0-alpha:0.77.0-alpha +google-cloud-appenginejava8:0.77.0-alpha:0.77.0-alpha +google-cloud-asset:0.77.0-beta:0.77.0-beta +google-cloud-automl:0.77.0-beta:0.77.0-beta +google-cloud-bigquery:1.59.0:1.59.0 +google-cloud-bigquerydatatransfer:0.77.0-beta:0.77.0-beta +google-cloud-bigquerystorage:0.77.0-beta:0.77.0-beta +google-cloud-bigtable:0.77.0-alpha:0.77.0-alpha +google-cloud-bigtable-admin:0.77.0-alpha:0.77.0-alpha +google-cloud-bigtable-emulator:0.77.0-alpha:0.77.0-alpha +google-cloud-bom:0.77.0-alpha:0.77.0-alpha +google-cloud-clients:0.77.0-alpha:0.77.0-alpha +google-cloud-compat-checker:0.77.0-alpha:0.77.0-alpha +google-cloud-compute:0.77.0-alpha:0.77.0-alpha +google-cloud-container:0.77.0-beta:0.77.0-beta +google-cloud-containeranalysis:0.77.0-beta:0.77.0-beta +google-cloud-contrib:0.77.0-alpha:0.77.0-alpha +google-cloud-core:1.59.0:1.59.0 +google-cloud-core-grpc:1.59.0:1.59.0 +google-cloud-core-http:1.59.0:1.59.0 +google-cloud-dataproc:0.77.0-alpha:0.77.0-alpha +google-cloud-datastore:1.59.0:1.59.0 +google-cloud-dialogflow:0.77.0-alpha:0.77.0-alpha +google-cloud-dlp:0.77.0-beta:0.77.0-beta +google-cloud-dns:0.77.0-alpha:0.77.0-alpha +google-cloud-errorreporting:0.77.0-beta:0.77.0-beta +google-cloud-examples:0.77.0-alpha:0.77.0-alpha +google-cloud-firestore:0.77.0-beta:0.77.0-beta +google-cloud-gcloud-maven-plugin:0.77.0-alpha:0.77.0-alpha +google-cloud-iamcredentials:0.4.0-alpha:0.4.0-alpha +google-cloud-iot:0.77.0-beta:0.77.0-beta +google-cloud-kms:0.77.0-beta:0.77.0-beta +google-cloud-language:1.59.0:1.59.0 +google-cloud-logging:1.59.0:1.59.0 +google-cloud-logging-logback:0.77.0-alpha:0.77.0-alpha +google-cloud-managedtest:0.77.0-alpha:0.77.0-alpha +google-cloud-monitoring:1.59.0:1.59.0 +google-cloud-nio:0.77.0-alpha:0.77.0-alpha +google-cloud-nio-examples:0.77.0-alpha:0.77.0-alpha +google-cloud-notification:0.77.0-beta:0.77.0-beta +google-cloud-os-login:0.77.0-alpha:0.77.0-alpha +google-cloud-pubsub:1.59.0:1.59.0 +google-cloud-redis:0.77.0-alpha:0.77.0-alpha +google-cloud-resourcemanager:0.77.0-alpha:0.77.0-alpha +google-cloud-scheduler:0.77.0-alpha:0.77.0-alpha +google-cloud-securitycenter:0.77.0-alpha:0.77.0-alpha +google-cloud-spanner:1.4.0:1.4.0 +google-cloud-speech:0.77.0-beta:0.77.0-beta +google-cloud-storage:1.59.0:1.59.0 +google-cloud-tasks:0.77.0-beta:0.77.0-beta +google-cloud-testing:0.77.0-alpha:0.77.0-alpha +google-cloud-texttospeech:0.77.0-beta:0.77.0-beta +google-cloud-trace:0.77.0-beta:0.77.0-beta +google-cloud-translate:1.59.0:1.59.0 +google-cloud-util:0.77.0-alpha:0.77.0-alpha +google-cloud-video-intelligence:0.77.0-beta:0.77.0-beta +google-cloud-vision:1.59.0:1.59.0 +google-cloud-websecurityscanner:0.77.0-alpha:0.77.0-alpha +grpc-google-cloud-asset-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-automl-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.0 +grpc-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-bigtable-admin-v2:0.42.0:0.42.0 +grpc-google-cloud-bigtable-v2:0.42.0:0.42.0 +grpc-google-cloud-container-v1:0.42.0:0.42.0 +grpc-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-dataproc-v1:0.42.0:0.42.0 +grpc-google-cloud-dataproc-v1beta2:0.42.0:0.42.0 +grpc-google-cloud-dialogflow-v2:0.42.0:0.42.0 +grpc-google-cloud-dialogflow-v2beta1:0.42.0:0.42.0 +grpc-google-cloud-dlp-v2:0.42.0:0.42.0 +grpc-google-cloud-error-reporting-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-firestore-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.0-alpha +grpc-google-cloud-iot-v1:0.42.0:0.42.0 +grpc-google-cloud-kms-v1:0.42.0:0.42.0 +grpc-google-cloud-language-v1:1.41.0:1.41.0 +grpc-google-cloud-language-v1beta2:0.42.0:0.42.0 +grpc-google-cloud-logging-v2:0.42.0:0.42.0 +grpc-google-cloud-monitoring-v3:1.41.0:1.41.0 +grpc-google-cloud-os-login-v1:0.42.0:0.42.0 +grpc-google-cloud-pubsub-v1:1.41.0:1.41.0 +grpc-google-cloud-redis-v1:0.42.0:0.42.0 +grpc-google-cloud-redis-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-scheduler-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-securitycenter-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-spanner-admin-database-v1:1.4.0:1.4.0 +grpc-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.0 +grpc-google-cloud-spanner-v1:1.4.0:1.4.0 +grpc-google-cloud-speech-v1:0.42.0:0.42.0 +grpc-google-cloud-speech-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-speech-v1p1beta1:0.42.0:0.42.0 +grpc-google-cloud-tasks-v2beta2:0.42.0:0.42.0 +grpc-google-cloud-tasks-v2beta3:0.42.0:0.42.0 +grpc-google-cloud-texttospeech-v1:0.42.0:0.42.0 +grpc-google-cloud-texttospeech-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-trace-v1:0.42.0:0.42.0 +grpc-google-cloud-trace-v2:0.42.0:0.42.0 +grpc-google-cloud-video-intelligence-v1:0.42.0:0.42.0 +grpc-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.0 +grpc-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.0 +grpc-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.0 +grpc-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.0 +grpc-google-cloud-vision-v1:1.41.0:1.41.0 +grpc-google-cloud-vision-v1p1beta1:0.42.0:0.42.0 +grpc-google-cloud-vision-v1p2beta1:1.41.0:1.41.0 +grpc-google-cloud-vision-v1p3beta1:0.42.0:0.42.0 +grpc-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.0 +proto-google-cloud-asset-v1beta1:0.42.0:0.42.0 +proto-google-cloud-automl-v1beta1:0.42.0:0.42.0 +proto-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.0 +proto-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.0 +proto-google-cloud-bigtable-admin-v2:0.42.0:0.42.0 +proto-google-cloud-bigtable-v2:0.42.0:0.42.0 +proto-google-cloud-container-v1:0.42.0:0.42.0 +proto-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.0 +proto-google-cloud-dataproc-v1:0.42.0:0.42.0 +proto-google-cloud-dataproc-v1beta2:0.42.0:0.42.0 +proto-google-cloud-datastore-v1:0.42.0:0.42.0 +proto-google-cloud-dialogflow-v2:0.42.0:0.42.0 +proto-google-cloud-dialogflow-v2beta1:0.42.0:0.42.0 +proto-google-cloud-dlp-v2:0.42.0:0.42.0 +proto-google-cloud-error-reporting-v1beta1:0.42.0:0.42.0 +proto-google-cloud-firestore-v1beta1:0.42.0:0.42.0 +proto-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.0-alpha +proto-google-cloud-iot-v1:0.42.0:0.42.0 +proto-google-cloud-kms-v1:0.42.0:0.42.0 +proto-google-cloud-language-v1:1.41.0:1.41.0 +proto-google-cloud-language-v1beta2:0.42.0:0.42.0 +proto-google-cloud-logging-v2:0.42.0:0.42.0 +proto-google-cloud-monitoring-v3:1.41.0:1.41.0 +proto-google-cloud-os-login-v1:0.42.0:0.42.0 +proto-google-cloud-pubsub-v1:1.41.0:1.41.0 +proto-google-cloud-redis-v1:0.42.0:0.42.0 +proto-google-cloud-redis-v1beta1:0.42.0:0.42.0 +proto-google-cloud-scheduler-v1beta1:0.42.0:0.42.0 +proto-google-cloud-securitycenter-v1beta1:0.42.0:0.42.0 +proto-google-cloud-spanner-admin-database-v1:1.4.0:1.4.0 +proto-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.0 +proto-google-cloud-spanner-v1:1.4.0:1.4.0 +proto-google-cloud-speech-v1:0.42.0:0.42.0 +proto-google-cloud-speech-v1beta1:0.42.0:0.42.0 +proto-google-cloud-speech-v1p1beta1:0.42.0:0.42.0 +proto-google-cloud-tasks-v2beta2:0.42.0:0.42.0 +proto-google-cloud-tasks-v2beta3:0.42.0:0.42.0 +proto-google-cloud-texttospeech-v1:0.42.0:0.42.0 +proto-google-cloud-texttospeech-v1beta1:0.42.0:0.42.0 +proto-google-cloud-trace-v1:0.42.0:0.42.0 +proto-google-cloud-trace-v2:0.42.0:0.42.0 +proto-google-cloud-video-intelligence-v1:0.42.0:0.42.0 +proto-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.0 +proto-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.0 +proto-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.0 +proto-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.0 +proto-google-cloud-vision-v1:1.41.0:1.41.0 +proto-google-cloud-vision-v1p1beta1:0.42.0:0.42.0 +proto-google-cloud-vision-v1p2beta1:1.41.0:1.41.0 +proto-google-cloud-vision-v1p3beta1:0.42.0:0.42.0 +proto-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.0 From 28a85a77883ccf5d48f297fd0ef3b3dca6ce01f0 Mon Sep 17 00:00:00 2001 From: charlesliqlogic <45208557+charlesliqlogic@users.noreply.github.com> Date: Thu, 10 Jan 2019 18:00:52 -0500 Subject: [PATCH 17/90] Created enum Region.java to retrieve Regions without doing request. (#4309) --- .../com/google/cloud/compute/Regions.java | 97 +++++++++++++++++++ .../com/google/cloud/compute/RegionsTest.java | 41 ++++++++ 2 files changed, 138 insertions(+) create mode 100644 google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/Regions.java create mode 100644 google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/RegionsTest.java diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/Regions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/Regions.java new file mode 100644 index 000000000000..82c60f800308 --- /dev/null +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/Regions.java @@ -0,0 +1,97 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute; + +import java.util.HashMap; +import java.util.Map; + +/** + * Enumeration of Regions. + * + * @see Regions and Zones + */ +public enum Regions { + ASIA_EAST1("asia-east1", new String[] {"asia-east1-a", "asia-east1-b", "asia-east1-c"}), + ASIA_EAST2("asia-east2", new String[] {"asia-east2-a", "asia-east2-b", "asia-east2-c"}), + ASIA_NORTHEAST1( + "asia-northeast1", + new String[] {"asia-northeast1-a", "asia-northeast1-b", "asia-northeast1-c"}), + ASIA_SOUTH1("asia-south1", new String[] {"asia-south1-a", "asia-south1-b", "asia-south1-c"}), + ASIA_SOUTHEAST1( + "asia-southeast1", + new String[] {"asia-southeast1-a", "asia-southeast1-b", "asia-southeast1-c"}), + AUSTRALIA_SOUTHEAST1( + "australia-southeast1", + new String[] {"australia-southeast1-a", "australia-southeast1-b", "australia-southeast1-c"}), + EUROPE_NORTH1( + "europe-north1", new String[] {"europe-north1-a", "europe-north1-b", "europe-north1-c"}), + EUROPE_WEST1("europe-west1", new String[] {"europe-west1-b", "europe-west1-c", "europe-west1-d"}), + EUROPE_WEST2("europe-west2", new String[] {"europe-west2-a", "europe-west2-b", "europe-west2-c"}), + EUROPE_WEST3("europe-west3", new String[] {"europe-west3-a", "europe-west3-b", "europe-west3-c"}), + EUROPE_WEST4("europe-west4", new String[] {"europe-west4-a", "europe-west4-b", "europe-west4-c"}), + NORTHAMERICA_NORTHEAST1( + "northamerica-northeast1", + new String[] { + "northamerica-northeast1-a", "northamerica-northeast1-b", "northamerica-northeast1-c" + }), + SOUTHAMERICA_EAST1( + "southamerica-east1", + new String[] {"southamerica-east1-a", "southamerica-east1-b", "southamerica-east1-c"}), + US_CENTRAL1( + "us-central1", + new String[] {"us-central1-a", "us-central1-b", "us-central1-c", "us-central1-f"}), + US_EAST1("us-east1", new String[] {"us-east1-b", "us-east1-c", "us-east1-d"}), + US_EAST4("us-east4", new String[] {"us-east4-a", "us-east4-b", "us-east4-c"}), + US_WEST1("us-west1", new String[] {"us-west1-a", "us-west1-b", "us-west1-c"}), + US_WEST2("us-west2", new String[] {"us-west2-a", "us-west2-b", "us-west2-c"}); + + private static final Map REGIONS = new HashMap<>(); + + static { + for (Regions region : Regions.values()) { + REGIONS.put(region.name, region); + } + } + + private final String name; + private final String[] zones; + + private Regions(String name, String[] zones) { + this.name = name; + this.zones = zones; + } + + /** The name of this region. */ + public String getName() { + return name; + } + + /** The zones of this region. */ + public String[] getZones() { + return zones; + } + + /** + * Returns a Regions enum corresponding to the given region name. + * + * @param regionName The name of the region. + * @return Regions enum representing the given region name, or a null if there is no Regions enum + * that is representing the given region name. + */ + public static Regions fromName(String regionName) { + return REGIONS.get(regionName); + } +} diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/RegionsTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/RegionsTest.java new file mode 100644 index 000000000000..5ce28eddb0c7 --- /dev/null +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/RegionsTest.java @@ -0,0 +1,41 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute; + +import org.junit.Assert; +import org.junit.Test; + +public class RegionsTest { + @Test + public void fromNameWhenNullReturnNull() { + Assert.assertNull(Regions.fromName(null)); + } + + @Test + public void fromNameWhenEmptyReturnNull() { + Assert.assertNull(Regions.fromName("")); + } + + @Test + public void fromNameWhenInvalidReturnNull() { + Assert.assertNull(Regions.fromName("mars")); + } + + @Test + public void fromNameWhenValidReturnRegion() { + Assert.assertEquals(Regions.ASIA_EAST1, Regions.fromName("asia-east1")); + } +} From d468e04b9750b8e624d8ffe672feca453026d079 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 10 Jan 2019 20:31:39 -0500 Subject: [PATCH 18/90] Bump next snapshot (#4325) --- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 204 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/pom.xml | 286 +++++++-------- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/pom.xml | 4 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/pom.xml | 4 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/pom.xml | 4 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 326 +++++++++--------- 164 files changed, 732 insertions(+), 732 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index 8936f8757a23..2f3f137245a3 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 5a7cc2b1e940..14508606cd41 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index cee766407170..496ba5ef0b86 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index a434a68c8e4b..83cb08bd0636 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index c07143cd2961..69dfcc4a7b32 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index 693a7d1f5701..f0880b186277 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index 73f3a872b528..eb7fc1622622 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index afb81a99b770..b7a531dbf50a 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index b8c6984dbc0f..11532be9abc9 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index 63cfbf3e2808..9c0d1051a7dd 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index b3e7323814a9..07ea177119aa 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 8dd2686e5102..21f8e2c88e71 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index 7c1b4906f974..102f07d45a16 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index 72ccf9d41978..e42e51c807f1 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index 9aa9d85eb1f8..580e9c2fdb2b 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index 25b518a227e3..ef56b3b5d050 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index 8aa06b2dea3e..f72929e11b48 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index f8d2447c2651..78cd6da87ce3 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 2e00331f3d9c..7dd5e2f99b15 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.41.0 + 1.41.1-SNAPSHOT grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index 27a374a558e1..894d820081d0 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index 6133066050ee..a8c8bb1a331a 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index 14cf38254c5e..34f3d972976c 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.41.0 + 1.41.1-SNAPSHOT grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index 6e2c1a47c3d4..54e56d479e49 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index 0f2551d0c898..d83690341733 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.41.0 + 1.41.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index a7925910da1f..96de524d0576 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index cb009feb83eb..9bfa0ba65291 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index 44f305c45bb7..ed4b0ca48996 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index e792e9263eb8..dbb1405517dd 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index ed1e50ff5ef9..6c86da7c4dba 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.4.0 + 1.4.1-SNAPSHOT grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index 3ce6c8f8adfb..bf81f9fd1eee 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.4.0 + 1.4.1-SNAPSHOT grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index 0215f2b09086..377e22ff334c 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.4.0 + 1.4.1-SNAPSHOT grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index 760cf8e1d1c3..ca637bfbc6c2 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 5fae6be69488..64da92a2afe7 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index 1f65acab94d9..1b24d60ad88a 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index fa884309ae7b..65e3e6ae59c1 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index 4f6ec03a979f..0e4ece09ef4f 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index f20e23f07b18..7602b86cf635 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index cc8632dbc7bb..5372982fd91b 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index f2c4c67c0696..86a98e869be7 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index b2974d18da3b..328df351a3a5 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index aa1386c6ca60..06f06fab73be 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index d1781f0cb4a5..b06eec4c19d5 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 015a53069bca..28a0e2fac75f 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index 7ca5a56b2cfe..8f4df7a97a99 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index fef141db3172..f05287868712 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index 4f4536a1be81..b8123482996c 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.41.0 + 1.41.1-SNAPSHOT grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index ac0402ac51c3..a062922b7dfc 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index 4db43625f56f..05801a649bc1 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.41.0 + 1.41.1-SNAPSHOT grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 98a4395f35ef..4e1f5202b262 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index bbfbf758f60d..fa1761fba7aa 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.42.0 + 0.42.1-SNAPSHOT grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 2009aead6b65..211920fca88b 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.42.0 + 0.42.1-SNAPSHOT Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,507 +142,507 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index 0d2cc7d6f5c0..f09a16fe5bec 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index 489465ff0628..fcc200ae7826 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 641257b57867..fb03b541cd7d 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index c811697b1415..aa1ef41493ea 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index af71236a10d4..12b60c02250f 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index 8b41592c3227..b6e23002b0d7 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index bd9ce4b20a6d..6c7d643165b5 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index 8ea9548b167e..b342fdba9a49 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index 475db1849fa8..91dabcce3fdd 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index 37167f673c37..af6252049e4e 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 0912dc0bd99b..8e1c339e3e97 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index 666b4e038c8b..5886b00b89f2 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index 1ebe9ea36405..b0068b61d4ce 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index d29f6920689f..07e1f604c7dc 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index f98cb9ea9b9e..7ecf3ebccbbd 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index 9a3d70a55c94..e21882ea0c8e 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index c66ed3bd3141..704f20d24e7d 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index 476f787329ee..41174040e58b 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index b006ee55d8bf..1a3c9b877b3f 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index a727d08e15c5..507f5d2c6ac8 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.41.0 + 1.41.1-SNAPSHOT proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 06ba7f469d3c..5c78236b8369 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index 6d6f695ec7fc..893b4b9c2344 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 08f14dc6f676..47189b8236b7 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.41.0 + 1.41.1-SNAPSHOT proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index 0961af2d538d..755e0cddd220 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index d8a8cc2e8f88..448ec6ec0309 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.41.0 + 1.41.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index b849ad5c78e2..e0eb60df05ab 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index effb7d0e6b42..3e0d3db0e3d0 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index 5d3d90839616..cd403239ee38 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index bd6c1e3081b9..babd6c62fd82 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index 23ca165ecd13..0f50f8541788 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.4.0 + 1.4.1-SNAPSHOT proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 1cb1a067dffc..85959237144f 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.4.0 + 1.4.1-SNAPSHOT proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index 0cd1a5641b22..69a4f77639d9 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.4.0 + 1.4.1-SNAPSHOT proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index cd021bc54c94..ac81ab5c1636 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index 9c3a553d881c..5d3af6b1f576 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index a3d7c544e2e3..5f59b76e6ff7 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index 19a3fe5d526f..5ac441366fe4 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index ef56da61606f..2565f7a8fd26 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index 61de597b5ea2..d7ac1e2f4949 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index efdeac081911..c26faa948e55 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index 95312daf8a66..b70852aa4cea 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index 714b0f16bcfc..3a490b941828 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index 475f50f2f2b1..f6edb7f8e554 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 0f18feeae68c..bafae178b566 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index c5675641de46..61af3c9ec0e6 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index a6ddf99a18de..8f8a3984c2ab 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index 2a2d3d9591f5..c52180b00e04 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index 0db5c48dac11..2fb3d8e90c12 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.41.0 + 1.41.1-SNAPSHOT proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index 372bda311c2c..2056cc9a895b 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index 0a9301518972..e80f9a3615c6 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.41.0 + 1.41.1-SNAPSHOT proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index ff58d1fa89ab..14b7f6e1ff26 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index e005d556a52a..55f10680cb7a 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.42.0 + 0.42.1-SNAPSHOT proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.42.0 + 0.42.1-SNAPSHOT diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 5785b9f37401..585038b1954a 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,713 +197,713 @@ com.google.cloud google-cloud-asset - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-automl - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-bigtable - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-bigtable-admin - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-bigtable-emulator - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.cloud google-cloud-bigquery - 1.59.0 + 1.59.1-SNAPSHOT com.google.cloud google-cloud-bigquerydatatransfer - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-compute - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.cloud google-cloud-container - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-containeranalysis - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-contrib - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.cloud google-cloud-nio - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.cloud google-cloud-core - 1.59.0 + 1.59.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.59.0 + 1.59.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.59.0 + 1.59.1-SNAPSHOT com.google.cloud google-cloud-dataproc - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-datastore - 1.59.0 + 1.59.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-dlp - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-dialogflow - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-dns - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.cloud google-cloud-errorreporting - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-firestore - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-kms - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-language - 1.59.0 + 1.59.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-logging - 1.59.0 + 1.59.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-logging-logback - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.cloud google-cloud-monitoring - 1.59.0 + 1.59.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.41.0 + 1.41.1-SNAPSHOT com.google.cloud google-cloud-os-login - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.59.0 + 1.59.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.cloud google-cloud-redis - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-resourcemanager - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-spanner - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.4.0 + 1.4.1-SNAPSHOT com.google.cloud google-cloud-speech - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-storage - 1.59.0 + 1.59.1-SNAPSHOT com.google.cloud google-cloud-tasks - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-texttospeech - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-trace - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-translate - 1.59.0 + 1.59.1-SNAPSHOT com.google.cloud google-cloud-vision - 1.59.0 + 1.59.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.41.0 + 1.41.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.cloud google-cloud-video-intelligence - 0.77.0-beta + 0.77.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.42.0 + 0.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT com.google.cloud google-cloud-iamcredentials - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index 4d0cf0a91d9b..0618dc405a2e 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index 9f97f2873286..585d163cb9fc 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 07d7ea3b6aab..9ea24b93a95b 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index 8aa22de1d0d6..4f813101c0f2 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index d7d9141bc804..f2d6631a3fb5 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index 25741ee27b20..dcb6862313d6 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index c4441d1b4366..f5e5616dc578 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 1844e4d68a85..88ee7d510ad8 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index 84c7a9510c7a..4e5bbec46b53 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index 0b26d0dbaeb2..f7f7cd45135f 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index b1af47450496..900b8ba30533 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index f989b7b2c0da..3bc61c75c76d 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.77.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.77.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index 3b1482838cf4..912c1c5e079a 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index 1441b28aeab0..567575c73bfa 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index efc8dfa66323..8a274386d577 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index 72ee09296a83..ead2eced0de4 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index 0c4786391794..8d4e42653b82 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index 29256c1d8cd7..242b8d07fc11 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index 33db07829c05..6394ba60de6c 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index 6626fbc39625..d22ad4397db7 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index af3f4fef883a..99f5bcf41a97 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index 27af418de330..518ab833c950 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index dc4b334f8b36..81822d5d188e 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index 4ed41f13c87c..1ce9dc34050f 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 42f3796afe20..49ff441347a1 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index ae9e060bfee9..861ad7a4976f 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.4.0-alpha + 0.4.1-alpha-SNAPSHOT jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index 076bca201140..fb060bc9781f 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 7440a013ced3..35fe44ad7871 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index a18f370f50d5..592d58f94646 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 6fb8dfda4e48..68c93ef66b6f 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index fa004740e831..8ef1b838b72a 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index 348f94e9a1f7..ad6bfda51266 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index 9e36104d6c8a..c40903672471 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index b434507031b2..dc2b4ef513b9 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index 439a85eb5d3f..cf3182920b3d 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index f3d33ad61800..07eb4c22ccf4 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index 8581b528f201..f806e76b992a 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index 5afc49fcefcc..5ae90a755d0b 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index a1ec7c8852e7..6ba733b0d6c6 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.4.0 + 1.4.1-SNAPSHOT jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index a0e1ad0ea044..f3aea2de33b9 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index 584424d8caca..40a938a38093 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index 9427c84364f4..bce350509544 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index 945c1d1dd65f..5f55a14b3649 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index 5891b36a8eb8..f9bc265777b9 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index c9ba949ad562..6411b27f2704 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index f00413501ea6..b63a318c2c89 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.77.0-beta + 0.77.1-beta-SNAPSHOT jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index 6bb61fb128d8..3ce413051e2c 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index 56205f73d930..81cc51fadef9 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 1cbe948d2c67..c01bdbea913f 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT 1.27.0 1.35.1 1.7.0 @@ -238,7 +238,7 @@ com.google.cloud google-cloud-core - 1.59.0 + 1.59.1-SNAPSHOT test-jar diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index c35521f4968c..4e9548286f2d 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index 412ce450380a..ce512834ef5c 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index 642018cf4b1b..6e1606d85aef 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index da4b039d3c80..42d776444bda 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index c6587bc304a8..b1c3ab543357 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 23ca49a4dd73..e39665d3ffb6 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT @@ -121,7 +121,7 @@ com.google.cloud google-cloud-bom - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index ed42e4e1dc99..6fe58b2dad0e 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-gcloud-maven-plugin - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index 4e70e80c7723..4d81e63834ca 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar google-cloud-testing com.google.cloud - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index b895dc777c8f..bad30a4f2a3e 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT pom import com.google.cloud google-cloud-core - 1.59.0 + 1.59.1-SNAPSHOT test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index 074343543b0d..bfc896744531 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index 894f4302a487..5575493c9ed1 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index 7cb60d951d5e..6f6eb0eb4aa1 100644 --- a/versions.txt +++ b/versions.txt @@ -1,166 +1,166 @@ # Format: # module:released-version:current-version -google-api-grpc:0.42.0:0.42.0 -google-cloud:0.77.0-alpha:0.77.0-alpha -google-cloud-appengineflexcompat:0.77.0-alpha:0.77.0-alpha -google-cloud-appengineflexcustom:0.77.0-alpha:0.77.0-alpha -google-cloud-appengineflexjava:0.77.0-alpha:0.77.0-alpha -google-cloud-appenginejava8:0.77.0-alpha:0.77.0-alpha -google-cloud-asset:0.77.0-beta:0.77.0-beta -google-cloud-automl:0.77.0-beta:0.77.0-beta -google-cloud-bigquery:1.59.0:1.59.0 -google-cloud-bigquerydatatransfer:0.77.0-beta:0.77.0-beta -google-cloud-bigquerystorage:0.77.0-beta:0.77.0-beta -google-cloud-bigtable:0.77.0-alpha:0.77.0-alpha -google-cloud-bigtable-admin:0.77.0-alpha:0.77.0-alpha -google-cloud-bigtable-emulator:0.77.0-alpha:0.77.0-alpha -google-cloud-bom:0.77.0-alpha:0.77.0-alpha -google-cloud-clients:0.77.0-alpha:0.77.0-alpha -google-cloud-compat-checker:0.77.0-alpha:0.77.0-alpha -google-cloud-compute:0.77.0-alpha:0.77.0-alpha -google-cloud-container:0.77.0-beta:0.77.0-beta -google-cloud-containeranalysis:0.77.0-beta:0.77.0-beta -google-cloud-contrib:0.77.0-alpha:0.77.0-alpha -google-cloud-core:1.59.0:1.59.0 -google-cloud-core-grpc:1.59.0:1.59.0 -google-cloud-core-http:1.59.0:1.59.0 -google-cloud-dataproc:0.77.0-alpha:0.77.0-alpha -google-cloud-datastore:1.59.0:1.59.0 -google-cloud-dialogflow:0.77.0-alpha:0.77.0-alpha -google-cloud-dlp:0.77.0-beta:0.77.0-beta -google-cloud-dns:0.77.0-alpha:0.77.0-alpha -google-cloud-errorreporting:0.77.0-beta:0.77.0-beta -google-cloud-examples:0.77.0-alpha:0.77.0-alpha -google-cloud-firestore:0.77.0-beta:0.77.0-beta -google-cloud-gcloud-maven-plugin:0.77.0-alpha:0.77.0-alpha -google-cloud-iamcredentials:0.4.0-alpha:0.4.0-alpha -google-cloud-iot:0.77.0-beta:0.77.0-beta -google-cloud-kms:0.77.0-beta:0.77.0-beta -google-cloud-language:1.59.0:1.59.0 -google-cloud-logging:1.59.0:1.59.0 -google-cloud-logging-logback:0.77.0-alpha:0.77.0-alpha -google-cloud-managedtest:0.77.0-alpha:0.77.0-alpha -google-cloud-monitoring:1.59.0:1.59.0 -google-cloud-nio:0.77.0-alpha:0.77.0-alpha -google-cloud-nio-examples:0.77.0-alpha:0.77.0-alpha -google-cloud-notification:0.77.0-beta:0.77.0-beta -google-cloud-os-login:0.77.0-alpha:0.77.0-alpha -google-cloud-pubsub:1.59.0:1.59.0 -google-cloud-redis:0.77.0-alpha:0.77.0-alpha -google-cloud-resourcemanager:0.77.0-alpha:0.77.0-alpha -google-cloud-scheduler:0.77.0-alpha:0.77.0-alpha -google-cloud-securitycenter:0.77.0-alpha:0.77.0-alpha -google-cloud-spanner:1.4.0:1.4.0 -google-cloud-speech:0.77.0-beta:0.77.0-beta -google-cloud-storage:1.59.0:1.59.0 -google-cloud-tasks:0.77.0-beta:0.77.0-beta -google-cloud-testing:0.77.0-alpha:0.77.0-alpha -google-cloud-texttospeech:0.77.0-beta:0.77.0-beta -google-cloud-trace:0.77.0-beta:0.77.0-beta -google-cloud-translate:1.59.0:1.59.0 -google-cloud-util:0.77.0-alpha:0.77.0-alpha -google-cloud-video-intelligence:0.77.0-beta:0.77.0-beta -google-cloud-vision:1.59.0:1.59.0 -google-cloud-websecurityscanner:0.77.0-alpha:0.77.0-alpha -grpc-google-cloud-asset-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-automl-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.0 -grpc-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-bigtable-admin-v2:0.42.0:0.42.0 -grpc-google-cloud-bigtable-v2:0.42.0:0.42.0 -grpc-google-cloud-container-v1:0.42.0:0.42.0 -grpc-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-dataproc-v1:0.42.0:0.42.0 -grpc-google-cloud-dataproc-v1beta2:0.42.0:0.42.0 -grpc-google-cloud-dialogflow-v2:0.42.0:0.42.0 -grpc-google-cloud-dialogflow-v2beta1:0.42.0:0.42.0 -grpc-google-cloud-dlp-v2:0.42.0:0.42.0 -grpc-google-cloud-error-reporting-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-firestore-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.0-alpha -grpc-google-cloud-iot-v1:0.42.0:0.42.0 -grpc-google-cloud-kms-v1:0.42.0:0.42.0 -grpc-google-cloud-language-v1:1.41.0:1.41.0 -grpc-google-cloud-language-v1beta2:0.42.0:0.42.0 -grpc-google-cloud-logging-v2:0.42.0:0.42.0 -grpc-google-cloud-monitoring-v3:1.41.0:1.41.0 -grpc-google-cloud-os-login-v1:0.42.0:0.42.0 -grpc-google-cloud-pubsub-v1:1.41.0:1.41.0 -grpc-google-cloud-redis-v1:0.42.0:0.42.0 -grpc-google-cloud-redis-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-scheduler-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-securitycenter-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-spanner-admin-database-v1:1.4.0:1.4.0 -grpc-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.0 -grpc-google-cloud-spanner-v1:1.4.0:1.4.0 -grpc-google-cloud-speech-v1:0.42.0:0.42.0 -grpc-google-cloud-speech-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-speech-v1p1beta1:0.42.0:0.42.0 -grpc-google-cloud-tasks-v2beta2:0.42.0:0.42.0 -grpc-google-cloud-tasks-v2beta3:0.42.0:0.42.0 -grpc-google-cloud-texttospeech-v1:0.42.0:0.42.0 -grpc-google-cloud-texttospeech-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-trace-v1:0.42.0:0.42.0 -grpc-google-cloud-trace-v2:0.42.0:0.42.0 -grpc-google-cloud-video-intelligence-v1:0.42.0:0.42.0 -grpc-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.0 -grpc-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.0 -grpc-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.0 -grpc-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.0 -grpc-google-cloud-vision-v1:1.41.0:1.41.0 -grpc-google-cloud-vision-v1p1beta1:0.42.0:0.42.0 -grpc-google-cloud-vision-v1p2beta1:1.41.0:1.41.0 -grpc-google-cloud-vision-v1p3beta1:0.42.0:0.42.0 -grpc-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.0 -proto-google-cloud-asset-v1beta1:0.42.0:0.42.0 -proto-google-cloud-automl-v1beta1:0.42.0:0.42.0 -proto-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.0 -proto-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.0 -proto-google-cloud-bigtable-admin-v2:0.42.0:0.42.0 -proto-google-cloud-bigtable-v2:0.42.0:0.42.0 -proto-google-cloud-container-v1:0.42.0:0.42.0 -proto-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.0 -proto-google-cloud-dataproc-v1:0.42.0:0.42.0 -proto-google-cloud-dataproc-v1beta2:0.42.0:0.42.0 -proto-google-cloud-datastore-v1:0.42.0:0.42.0 -proto-google-cloud-dialogflow-v2:0.42.0:0.42.0 -proto-google-cloud-dialogflow-v2beta1:0.42.0:0.42.0 -proto-google-cloud-dlp-v2:0.42.0:0.42.0 -proto-google-cloud-error-reporting-v1beta1:0.42.0:0.42.0 -proto-google-cloud-firestore-v1beta1:0.42.0:0.42.0 -proto-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.0-alpha -proto-google-cloud-iot-v1:0.42.0:0.42.0 -proto-google-cloud-kms-v1:0.42.0:0.42.0 -proto-google-cloud-language-v1:1.41.0:1.41.0 -proto-google-cloud-language-v1beta2:0.42.0:0.42.0 -proto-google-cloud-logging-v2:0.42.0:0.42.0 -proto-google-cloud-monitoring-v3:1.41.0:1.41.0 -proto-google-cloud-os-login-v1:0.42.0:0.42.0 -proto-google-cloud-pubsub-v1:1.41.0:1.41.0 -proto-google-cloud-redis-v1:0.42.0:0.42.0 -proto-google-cloud-redis-v1beta1:0.42.0:0.42.0 -proto-google-cloud-scheduler-v1beta1:0.42.0:0.42.0 -proto-google-cloud-securitycenter-v1beta1:0.42.0:0.42.0 -proto-google-cloud-spanner-admin-database-v1:1.4.0:1.4.0 -proto-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.0 -proto-google-cloud-spanner-v1:1.4.0:1.4.0 -proto-google-cloud-speech-v1:0.42.0:0.42.0 -proto-google-cloud-speech-v1beta1:0.42.0:0.42.0 -proto-google-cloud-speech-v1p1beta1:0.42.0:0.42.0 -proto-google-cloud-tasks-v2beta2:0.42.0:0.42.0 -proto-google-cloud-tasks-v2beta3:0.42.0:0.42.0 -proto-google-cloud-texttospeech-v1:0.42.0:0.42.0 -proto-google-cloud-texttospeech-v1beta1:0.42.0:0.42.0 -proto-google-cloud-trace-v1:0.42.0:0.42.0 -proto-google-cloud-trace-v2:0.42.0:0.42.0 -proto-google-cloud-video-intelligence-v1:0.42.0:0.42.0 -proto-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.0 -proto-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.0 -proto-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.0 -proto-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.0 -proto-google-cloud-vision-v1:1.41.0:1.41.0 -proto-google-cloud-vision-v1p1beta1:0.42.0:0.42.0 -proto-google-cloud-vision-v1p2beta1:1.41.0:1.41.0 -proto-google-cloud-vision-v1p3beta1:0.42.0:0.42.0 -proto-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.0 +google-api-grpc:0.42.0:0.42.1-SNAPSHOT +google-cloud:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-appengineflexcompat:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-appengineflexcustom:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-appengineflexjava:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-appenginejava8:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-asset:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-automl:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-bigquery:1.59.0:1.59.1-SNAPSHOT +google-cloud-bigquerydatatransfer:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-bigquerystorage:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-bigtable:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-bigtable-admin:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-bigtable-emulator:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-bom:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-clients:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-compat-checker:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-compute:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-container:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-containeranalysis:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-contrib:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-core:1.59.0:1.59.1-SNAPSHOT +google-cloud-core-grpc:1.59.0:1.59.1-SNAPSHOT +google-cloud-core-http:1.59.0:1.59.1-SNAPSHOT +google-cloud-dataproc:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-datastore:1.59.0:1.59.1-SNAPSHOT +google-cloud-dialogflow:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-dlp:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-dns:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-errorreporting:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-examples:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-firestore:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-gcloud-maven-plugin:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-iamcredentials:0.4.0-alpha:0.4.1-alpha-SNAPSHOT +google-cloud-iot:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-kms:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-language:1.59.0:1.59.1-SNAPSHOT +google-cloud-logging:1.59.0:1.59.1-SNAPSHOT +google-cloud-logging-logback:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-managedtest:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-monitoring:1.59.0:1.59.1-SNAPSHOT +google-cloud-nio:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-nio-examples:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-notification:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-os-login:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-pubsub:1.59.0:1.59.1-SNAPSHOT +google-cloud-redis:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-resourcemanager:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-scheduler:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-securitycenter:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-spanner:1.4.0:1.4.1-SNAPSHOT +google-cloud-speech:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-storage:1.59.0:1.59.1-SNAPSHOT +google-cloud-tasks:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-testing:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-texttospeech:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-trace:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-translate:1.59.0:1.59.1-SNAPSHOT +google-cloud-util:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +google-cloud-video-intelligence:0.77.0-beta:0.77.1-beta-SNAPSHOT +google-cloud-vision:1.59.0:1.59.1-SNAPSHOT +google-cloud-websecurityscanner:0.77.0-alpha:0.77.1-alpha-SNAPSHOT +grpc-google-cloud-asset-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-automl-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-bigtable-admin-v2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-bigtable-v2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-container-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-dataproc-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-dataproc-v1beta2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-dlp-v2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-error-reporting-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-firestore-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.1-alpha-SNAPSHOT +grpc-google-cloud-iot-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-kms-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-language-v1:1.41.0:1.41.1-SNAPSHOT +grpc-google-cloud-language-v1beta2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-logging-v2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-monitoring-v3:1.41.0:1.41.1-SNAPSHOT +grpc-google-cloud-os-login-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.41.0:1.41.1-SNAPSHOT +grpc-google-cloud-redis-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-redis-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-scheduler-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-spanner-admin-database-v1:1.4.0:1.4.1-SNAPSHOT +grpc-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.1-SNAPSHOT +grpc-google-cloud-spanner-v1:1.4.0:1.4.1-SNAPSHOT +grpc-google-cloud-speech-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-speech-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-speech-v1p1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta3:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-trace-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-trace-v2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-vision-v1:1.41.0:1.41.1-SNAPSHOT +grpc-google-cloud-vision-v1p1beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-vision-v1p2beta1:1.41.0:1.41.1-SNAPSHOT +grpc-google-cloud-vision-v1p3beta1:0.42.0:0.42.1-SNAPSHOT +grpc-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-asset-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-automl-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-bigtable-admin-v2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-bigtable-v2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-container-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-dataproc-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-dataproc-v1beta2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-datastore-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-dialogflow-v2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-dialogflow-v2beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-dlp-v2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-error-reporting-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-firestore-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.1-alpha-SNAPSHOT +proto-google-cloud-iot-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-kms-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-language-v1:1.41.0:1.41.1-SNAPSHOT +proto-google-cloud-language-v1beta2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-logging-v2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-monitoring-v3:1.41.0:1.41.1-SNAPSHOT +proto-google-cloud-os-login-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.41.0:1.41.1-SNAPSHOT +proto-google-cloud-redis-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-redis-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-scheduler-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-securitycenter-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-spanner-admin-database-v1:1.4.0:1.4.1-SNAPSHOT +proto-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.1-SNAPSHOT +proto-google-cloud-spanner-v1:1.4.0:1.4.1-SNAPSHOT +proto-google-cloud-speech-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-speech-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-speech-v1p1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-tasks-v2beta2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-tasks-v2beta3:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-texttospeech-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-texttospeech-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-trace-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-trace-v2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-vision-v1:1.41.0:1.41.1-SNAPSHOT +proto-google-cloud-vision-v1p1beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-vision-v1p2beta1:1.41.0:1.41.1-SNAPSHOT +proto-google-cloud-vision-v1p3beta1:0.42.0:0.42.1-SNAPSHOT +proto-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.1-SNAPSHOT From 6ada2226d58a3528d4d818d96e70b5edc83ce936 Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Fri, 11 Jan 2019 08:56:01 -0500 Subject: [PATCH 19/90] Bigtable: fix handling of unset rpc timeouts (#4323) When the rpc timeout is zero, then it should be treated as disabled not actual 0 --- .../mutaterows/MutateRowsAttemptCallable.java | 28 +++++++++---------- .../MutateRowsAttemptCallableTest.java | 24 +++++++++++++++- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java index 6e228d741b35..cb66f767d98f 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java @@ -101,14 +101,14 @@ public Object getTransportCode() { }; // Everything needed to issue an RPC - private final UnaryCallable> innerCallable; - private final ApiCallContext callContext; - private MutateRowsRequest currentRequest; + @Nonnull private final UnaryCallable> innerCallable; + @Nonnull private final ApiCallContext callContext; + @Nonnull private MutateRowsRequest currentRequest; // Everything needed to build a retry request - private List originalIndexes; - private final Set retryableCodes; - private final List permanentFailures; + @Nullable private List originalIndexes; + @Nonnull private final Set retryableCodes; + @Nullable private final List permanentFailures; // Parent controller private RetryingFuture externalFuture; @@ -135,12 +135,12 @@ public List apply(Throwable throwable) { MutateRowsAttemptCallable( @Nonnull UnaryCallable> innerCallable, @Nonnull MutateRowsRequest originalRequest, - @Nullable ApiCallContext callContext, + @Nonnull ApiCallContext callContext, @Nonnull Set retryableCodes) { - this.innerCallable = Preconditions.checkNotNull(innerCallable); - this.currentRequest = Preconditions.checkNotNull(originalRequest); - this.callContext = callContext; - this.retryableCodes = Preconditions.checkNotNull(retryableCodes); + this.innerCallable = Preconditions.checkNotNull(innerCallable, "innerCallable"); + this.currentRequest = Preconditions.checkNotNull(originalRequest, "currentRequest"); + this.callContext = Preconditions.checkNotNull(callContext, "callContext"); + this.retryableCodes = Preconditions.checkNotNull(retryableCodes, "retryableCodes"); permanentFailures = Lists.newArrayList(); } @@ -167,10 +167,10 @@ public Void call() { currentRequest.getEntriesCount() > 0, "Request doesn't have any mutations to send"); // Configure the deadline - ApiCallContext currentCallContext = null; - if (callContext != null) { + ApiCallContext currentCallContext = callContext; + if (!externalFuture.getAttemptSettings().getRpcTimeout().isZero()) { currentCallContext = - callContext.withTimeout(externalFuture.getAttemptSettings().getRpcTimeout()); + currentCallContext.withTimeout(externalFuture.getAttemptSettings().getRpcTimeout()); } // Handle concurrent cancellation diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallableTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallableTest.java index ae4397c4db48..2df2aaf2b4a9 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallableTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallableTest.java @@ -92,6 +92,28 @@ public void singleEntrySuccessTest() throws Exception { assertThat(innerCallable.lastRequest).isEqualTo(request); } + @Test + public void testNoRpcTimeout() { + parentFuture.timedAttemptSettings = + parentFuture.timedAttemptSettings.toBuilder().setRpcTimeout(Duration.ZERO).build(); + + MutateRowsRequest request = + MutateRowsRequest.newBuilder().addEntries(Entry.getDefaultInstance()).build(); + + innerCallable.response.add( + MutateRowsResponse.newBuilder() + .addEntries( + MutateRowsResponse.Entry.newBuilder().setIndex(0).setStatus(OK_STATUS_PROTO)) + .build()); + + MutateRowsAttemptCallable attemptCallable = + new MutateRowsAttemptCallable(innerCallable, request, callContext, retryCodes); + attemptCallable.setExternalFuture(parentFuture); + attemptCallable.call(); + + assertThat(innerCallable.lastContext.getTimeout()).isNull(); + } + @Test public void mixedTest() { // Setup the request & response @@ -340,7 +362,7 @@ public ApiFuture> futureCall( static class MockRetryingFuture extends AbstractApiFuture implements RetryingFuture { ApiFuture attemptFuture; - final TimedAttemptSettings timedAttemptSettings; + TimedAttemptSettings timedAttemptSettings; MockRetryingFuture() { this(Duration.ofSeconds(5)); From 388c1bb5ae63aeaefbfbf0677f6732952ff15b95 Mon Sep 17 00:00:00 2001 From: Rahul Kesharwani <42969463+rahulKQL@users.noreply.github.com> Date: Fri, 11 Jan 2019 19:26:43 +0530 Subject: [PATCH 20/90] Bigtable: Expose single row read settings (#4321) * exposing ReadRowSettings thru BigtableDataSettings * fixed typo error --- .../cloud/bigtable/data/v2/BigtableDataSettings.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java index 58991620a52b..cf7fd5255c8d 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java @@ -97,6 +97,11 @@ public ServerStreamingCallSettings readRowsSettings() { return getTypedStubSettings().readRowsSettings(); } + /** Returns the object with the settings used for point reads via ReadRow. */ + public UnaryCallSettings readRowSettings() { + return getTypedStubSettings().readRowSettings(); + } + /** Returns the object with the settings used for calls to sampleRowKeys. */ public UnaryCallSettings> sampleRowKeysSettings() { return getTypedStubSettings().sampleRowKeysSettings(); @@ -227,6 +232,11 @@ public ServerStreamingCallSettings.Builder readRowsSettings() { return getTypedStubSettings().readRowsSettings(); } + /** Returns the builder for the settings used for point reads using readRow. */ + public UnaryCallSettings.Builder readRowSettings() { + return getTypedStubSettings().readRowSettings(); + } + /** Returns the builder for the settings used for calls to SampleRowKeysSettings. */ public UnaryCallSettings.Builder> sampleRowKeysSettings() { return getTypedStubSettings().sampleRowKeysSettings(); From 74261258b4cbec61d55dc9b5312f6438eb34a2ef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 11 Jan 2019 06:01:03 -0800 Subject: [PATCH 21/90] Regenerate compute client (#4327) --- .../com/google/cloud/compute/v1/Instance.java | 32 ++++ .../compute/v1/InstanceGroupManager.java | 47 ++++- ...InstanceGroupManagerAutoHealingPolicy.java | 175 ++++++++++++++++++ .../compute/v1/InstanceTemplateClient.java | 27 ++- .../compute/v1/InterconnectLocation.java | 40 +++- .../cloud/compute/v1/NodeGroupClient.java | 4 +- .../com/google/cloud/compute/v1/Quota.java | 35 +++- .../cloud/compute/v1/InstanceClientTest.java | 2 + .../v1/InterconnectLocationClientTest.java | 2 + .../google-cloud-compute/synth.metadata | 8 +- 10 files changed, 343 insertions(+), 29 deletions(-) create mode 100644 google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java index f4a9705d21c6..db87714459cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java @@ -34,6 +34,7 @@ public final class Instance implements ApiMessage { private final String description; private final List disks; private final List guestAccelerators; + private final String hostname; private final String id; private final String kind; private final String labelFingerprint; @@ -60,6 +61,7 @@ private Instance() { this.description = null; this.disks = null; this.guestAccelerators = null; + this.hostname = null; this.id = null; this.kind = null; this.labelFingerprint = null; @@ -87,6 +89,7 @@ private Instance( String description, List disks, List guestAccelerators, + String hostname, String id, String kind, String labelFingerprint, @@ -111,6 +114,7 @@ private Instance( this.description = description; this.disks = disks; this.guestAccelerators = guestAccelerators; + this.hostname = hostname; this.id = id; this.kind = kind; this.labelFingerprint = labelFingerprint; @@ -153,6 +157,9 @@ public Object getFieldValue(String fieldName) { if (fieldName.equals("guestAccelerators")) { return guestAccelerators; } + if (fieldName.equals("hostname")) { + return hostname; + } if (fieldName.equals("id")) { return id; } @@ -247,6 +254,10 @@ public List getGuestAcceleratorsList() { return guestAccelerators; } + public String getHostname() { + return hostname; + } + public String getId() { return id; } @@ -345,6 +356,7 @@ public static class Builder { private String description; private List disks; private List guestAccelerators; + private String hostname; private String id; private String kind; private String labelFingerprint; @@ -388,6 +400,9 @@ public Builder mergeFrom(Instance other) { if (other.getGuestAcceleratorsList() != null) { this.guestAccelerators = other.guestAccelerators; } + if (other.getHostname() != null) { + this.hostname = other.hostname; + } if (other.getId() != null) { this.id = other.id; } @@ -450,6 +465,7 @@ public Builder mergeFrom(Instance other) { this.description = source.description; this.disks = source.disks; this.guestAccelerators = source.guestAccelerators; + this.hostname = source.hostname; this.id = source.id; this.kind = source.kind; this.labelFingerprint = source.labelFingerprint; @@ -554,6 +570,15 @@ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { return this; } + public String getHostname() { + return hostname; + } + + public Builder setHostname(String hostname) { + this.hostname = hostname; + return this; + } + public String getId() { return id; } @@ -739,6 +764,7 @@ public Instance build() { description, disks, guestAccelerators, + hostname, id, kind, labelFingerprint, @@ -767,6 +793,7 @@ public Builder clone() { newBuilder.setDescription(this.description); newBuilder.addAllDisks(this.disks); newBuilder.addAllGuestAccelerators(this.guestAccelerators); + newBuilder.setHostname(this.hostname); newBuilder.setId(this.id); newBuilder.setKind(this.kind); newBuilder.setLabelFingerprint(this.labelFingerprint); @@ -812,6 +839,9 @@ public String toString() { + "guestAccelerators=" + guestAccelerators + ", " + + "hostname=" + + hostname + + ", " + "id=" + id + ", " @@ -879,6 +909,7 @@ public boolean equals(Object o) { && Objects.equals(this.description, that.getDescription()) && Objects.equals(this.disks, that.getDisksList()) && Objects.equals(this.guestAccelerators, that.getGuestAcceleratorsList()) + && Objects.equals(this.hostname, that.getHostname()) && Objects.equals(this.id, that.getId()) && Objects.equals(this.kind, that.getKind()) && Objects.equals(this.labelFingerprint, that.getLabelFingerprint()) @@ -910,6 +941,7 @@ public int hashCode() { description, disks, guestAccelerators, + hostname, id, kind, labelFingerprint, diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java index ed6aa863574e..1a445955a6da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi public final class InstanceGroupManager implements ApiMessage { + private final List autoHealingPolicies; private final String baseInstanceName; private final String creationTimestamp; private final InstanceGroupManagerActionsSummary currentActions; @@ -45,6 +46,7 @@ public final class InstanceGroupManager implements ApiMessage { private final String zone; private InstanceGroupManager() { + this.autoHealingPolicies = null; this.baseInstanceName = null; this.creationTimestamp = null; this.currentActions = null; @@ -65,6 +67,7 @@ private InstanceGroupManager() { } private InstanceGroupManager( + List autoHealingPolicies, String baseInstanceName, String creationTimestamp, InstanceGroupManagerActionsSummary currentActions, @@ -82,6 +85,7 @@ private InstanceGroupManager( List targetPools, Integer targetSize, String zone) { + this.autoHealingPolicies = autoHealingPolicies; this.baseInstanceName = baseInstanceName; this.creationTimestamp = creationTimestamp; this.currentActions = currentActions; @@ -103,6 +107,9 @@ private InstanceGroupManager( @Override public Object getFieldValue(String fieldName) { + if (fieldName.equals("autoHealingPolicies")) { + return autoHealingPolicies; + } if (fieldName.equals("baseInstanceName")) { return baseInstanceName; } @@ -169,6 +176,10 @@ public List getFieldMask() { return null; } + public List getAutoHealingPoliciesList() { + return autoHealingPolicies; + } + public String getBaseInstanceName() { return baseInstanceName; } @@ -260,6 +271,7 @@ public static InstanceGroupManager getDefaultInstance() { } public static class Builder { + private List autoHealingPolicies; private String baseInstanceName; private String creationTimestamp; private InstanceGroupManagerActionsSummary currentActions; @@ -282,6 +294,9 @@ public static class Builder { public Builder mergeFrom(InstanceGroupManager other) { if (other == InstanceGroupManager.getDefaultInstance()) return this; + if (other.getAutoHealingPoliciesList() != null) { + this.autoHealingPolicies = other.autoHealingPolicies; + } if (other.getBaseInstanceName() != null) { this.baseInstanceName = other.baseInstanceName; } @@ -337,6 +352,7 @@ public Builder mergeFrom(InstanceGroupManager other) { } Builder(InstanceGroupManager source) { + this.autoHealingPolicies = source.autoHealingPolicies; this.baseInstanceName = source.baseInstanceName; this.creationTimestamp = source.creationTimestamp; this.currentActions = source.currentActions; @@ -356,6 +372,28 @@ public Builder mergeFrom(InstanceGroupManager other) { this.zone = source.zone; } + public List getAutoHealingPoliciesList() { + return autoHealingPolicies; + } + + public Builder addAllAutoHealingPolicies( + List autoHealingPolicies) { + if (this.autoHealingPolicies == null) { + this.autoHealingPolicies = new LinkedList<>(); + } + this.autoHealingPolicies.addAll(autoHealingPolicies); + return this; + } + + public Builder addAutoHealingPolicies( + InstanceGroupManagerAutoHealingPolicy autoHealingPolicies) { + if (this.autoHealingPolicies == null) { + this.autoHealingPolicies = new LinkedList<>(); + } + this.autoHealingPolicies.add(autoHealingPolicies); + return this; + } + public String getBaseInstanceName() { return baseInstanceName; } @@ -534,6 +572,7 @@ public Builder setZone(String zone) { public InstanceGroupManager build() { return new InstanceGroupManager( + autoHealingPolicies, baseInstanceName, creationTimestamp, currentActions, @@ -555,6 +594,7 @@ public InstanceGroupManager build() { public Builder clone() { Builder newBuilder = new Builder(); + newBuilder.addAllAutoHealingPolicies(this.autoHealingPolicies); newBuilder.setBaseInstanceName(this.baseInstanceName); newBuilder.setCreationTimestamp(this.creationTimestamp); newBuilder.setCurrentActions(this.currentActions); @@ -579,6 +619,9 @@ public Builder clone() { @Override public String toString() { return "InstanceGroupManager{" + + "autoHealingPolicies=" + + autoHealingPolicies + + ", " + "baseInstanceName=" + baseInstanceName + ", " @@ -639,7 +682,8 @@ public boolean equals(Object o) { } if (o instanceof InstanceGroupManager) { InstanceGroupManager that = (InstanceGroupManager) o; - return Objects.equals(this.baseInstanceName, that.getBaseInstanceName()) + return Objects.equals(this.autoHealingPolicies, that.getAutoHealingPoliciesList()) + && Objects.equals(this.baseInstanceName, that.getBaseInstanceName()) && Objects.equals(this.creationTimestamp, that.getCreationTimestamp()) && Objects.equals(this.currentActions, that.getCurrentActions()) && Objects.equals(this.description, that.getDescription()) @@ -663,6 +707,7 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( + autoHealingPolicies, baseInstanceName, creationTimestamp, currentActions, diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java new file mode 100644 index 000000000000..b6913aa6f81c --- /dev/null +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java @@ -0,0 +1,175 @@ +/* + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class InstanceGroupManagerAutoHealingPolicy implements ApiMessage { + private final String healthCheck; + private final Integer initialDelaySec; + + private InstanceGroupManagerAutoHealingPolicy() { + this.healthCheck = null; + this.initialDelaySec = null; + } + + private InstanceGroupManagerAutoHealingPolicy(String healthCheck, Integer initialDelaySec) { + this.healthCheck = healthCheck; + this.initialDelaySec = initialDelaySec; + } + + @Override + public Object getFieldValue(String fieldName) { + if (fieldName.equals("healthCheck")) { + return healthCheck; + } + if (fieldName.equals("initialDelaySec")) { + return initialDelaySec; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + public List getFieldMask() { + return null; + } + + public String getHealthCheck() { + return healthCheck; + } + + public Integer getInitialDelaySec() { + return initialDelaySec; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(InstanceGroupManagerAutoHealingPolicy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static InstanceGroupManagerAutoHealingPolicy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final InstanceGroupManagerAutoHealingPolicy DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new InstanceGroupManagerAutoHealingPolicy(); + } + + public static class Builder { + private String healthCheck; + private Integer initialDelaySec; + + Builder() {} + + public Builder mergeFrom(InstanceGroupManagerAutoHealingPolicy other) { + if (other == InstanceGroupManagerAutoHealingPolicy.getDefaultInstance()) return this; + if (other.getHealthCheck() != null) { + this.healthCheck = other.healthCheck; + } + if (other.getInitialDelaySec() != null) { + this.initialDelaySec = other.initialDelaySec; + } + return this; + } + + Builder(InstanceGroupManagerAutoHealingPolicy source) { + this.healthCheck = source.healthCheck; + this.initialDelaySec = source.initialDelaySec; + } + + public String getHealthCheck() { + return healthCheck; + } + + public Builder setHealthCheck(String healthCheck) { + this.healthCheck = healthCheck; + return this; + } + + public Integer getInitialDelaySec() { + return initialDelaySec; + } + + public Builder setInitialDelaySec(Integer initialDelaySec) { + this.initialDelaySec = initialDelaySec; + return this; + } + + public InstanceGroupManagerAutoHealingPolicy build() { + + return new InstanceGroupManagerAutoHealingPolicy(healthCheck, initialDelaySec); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setHealthCheck(this.healthCheck); + newBuilder.setInitialDelaySec(this.initialDelaySec); + return newBuilder; + } + } + + @Override + public String toString() { + return "InstanceGroupManagerAutoHealingPolicy{" + + "healthCheck=" + + healthCheck + + ", " + + "initialDelaySec=" + + initialDelaySec + + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof InstanceGroupManagerAutoHealingPolicy) { + InstanceGroupManagerAutoHealingPolicy that = (InstanceGroupManagerAutoHealingPolicy) o; + return Objects.equals(this.healthCheck, that.getHealthCheck()) + && Objects.equals(this.initialDelaySec, that.getInitialDelaySec()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(healthCheck, initialDelaySec); + } +} diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java index 3f85bf192fcb..cfdb8d7cc3f8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java @@ -156,7 +156,8 @@ public InstanceTemplateStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Deletes the specified instance template. Deleting an instance template is permanent and cannot - * be undone. It's not possible to delete templates which are in use by an instance group. + * be undone. It is not possible to delete templates that are already in use by a managed instance + * group. * *

Sample code: * @@ -184,7 +185,8 @@ public final Operation deleteInstanceTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Deletes the specified instance template. Deleting an instance template is permanent and cannot - * be undone. It's not possible to delete templates which are in use by an instance group. + * be undone. It is not possible to delete templates that are already in use by a managed instance + * group. * *

Sample code: * @@ -211,7 +213,8 @@ public final Operation deleteInstanceTemplate(String instanceTemplate) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Deletes the specified instance template. Deleting an instance template is permanent and cannot - * be undone. It's not possible to delete templates which are in use by an instance group. + * be undone. It is not possible to delete templates that are already in use by a managed instance + * group. * *

Sample code: * @@ -236,7 +239,8 @@ public final Operation deleteInstanceTemplate(DeleteInstanceTemplateHttpRequest // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Deletes the specified instance template. Deleting an instance template is permanent and cannot - * be undone. It's not possible to delete templates which are in use by an instance group. + * be undone. It is not possible to delete templates that are already in use by a managed instance + * group. * *

Sample code: * @@ -593,8 +597,7 @@ public final Operation insertInstanceTemplate(InsertInstanceTemplateHttpRequest // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves a list of instance templates that are contained within the specified project and - * zone. + * Retrieves a list of instance templates that are contained within the specified project. * *

Sample code: * @@ -621,8 +624,7 @@ public final ListInstanceTemplatesPagedResponse listInstanceTemplates(ProjectNam // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves a list of instance templates that are contained within the specified project and - * zone. + * Retrieves a list of instance templates that are contained within the specified project. * *

Sample code: * @@ -647,8 +649,7 @@ public final ListInstanceTemplatesPagedResponse listInstanceTemplates(String pro // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves a list of instance templates that are contained within the specified project and - * zone. + * Retrieves a list of instance templates that are contained within the specified project. * *

Sample code: * @@ -675,8 +676,7 @@ public final ListInstanceTemplatesPagedResponse listInstanceTemplates( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves a list of instance templates that are contained within the specified project and - * zone. + * Retrieves a list of instance templates that are contained within the specified project. * *

Sample code: * @@ -702,8 +702,7 @@ public final ListInstanceTemplatesPagedResponse listInstanceTemplates( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves a list of instance templates that are contained within the specified project and - * zone. + * Retrieves a list of instance templates that are contained within the specified project. * *

Sample code: * diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java index 8e4b43ac2442..dfdcc35b6fa7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java @@ -40,6 +40,7 @@ public final class InterconnectLocation implements ApiMessage { private final String peeringdbFacilityId; private final List regionInfos; private final String selfLink; + private final String status; private InterconnectLocation() { this.address = null; @@ -56,6 +57,7 @@ private InterconnectLocation() { this.peeringdbFacilityId = null; this.regionInfos = null; this.selfLink = null; + this.status = null; } private InterconnectLocation( @@ -72,7 +74,8 @@ private InterconnectLocation( String name, String peeringdbFacilityId, List regionInfos, - String selfLink) { + String selfLink, + String status) { this.address = address; this.availabilityZone = availabilityZone; this.city = city; @@ -87,6 +90,7 @@ private InterconnectLocation( this.peeringdbFacilityId = peeringdbFacilityId; this.regionInfos = regionInfos; this.selfLink = selfLink; + this.status = status; } @Override @@ -133,6 +137,9 @@ public Object getFieldValue(String fieldName) { if (fieldName.equals("selfLink")) { return selfLink; } + if (fieldName.equals("status")) { + return status; + } return null; } @@ -204,6 +211,10 @@ public String getSelfLink() { return selfLink; } + public String getStatus() { + return status; + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } @@ -241,6 +252,7 @@ public static class Builder { private String peeringdbFacilityId; private List regionInfos; private String selfLink; + private String status; Builder() {} @@ -288,6 +300,9 @@ public Builder mergeFrom(InterconnectLocation other) { if (other.getSelfLink() != null) { this.selfLink = other.selfLink; } + if (other.getStatus() != null) { + this.status = other.status; + } return this; } @@ -306,6 +321,7 @@ public Builder mergeFrom(InterconnectLocation other) { this.peeringdbFacilityId = source.peeringdbFacilityId; this.regionInfos = source.regionInfos; this.selfLink = source.selfLink; + this.status = source.status; } public String getAddress() { @@ -445,6 +461,15 @@ public Builder setSelfLink(String selfLink) { return this; } + public String getStatus() { + return status; + } + + public Builder setStatus(String status) { + this.status = status; + return this; + } + public InterconnectLocation build() { return new InterconnectLocation( @@ -461,7 +486,8 @@ public InterconnectLocation build() { name, peeringdbFacilityId, regionInfos, - selfLink); + selfLink, + status); } public Builder clone() { @@ -480,6 +506,7 @@ public Builder clone() { newBuilder.setPeeringdbFacilityId(this.peeringdbFacilityId); newBuilder.addAllRegionInfos(this.regionInfos); newBuilder.setSelfLink(this.selfLink); + newBuilder.setStatus(this.status); return newBuilder; } } @@ -528,6 +555,9 @@ public String toString() { + ", " + "selfLink=" + selfLink + + ", " + + "status=" + + status + "}"; } @@ -551,7 +581,8 @@ public boolean equals(Object o) { && Objects.equals(this.name, that.getName()) && Objects.equals(this.peeringdbFacilityId, that.getPeeringdbFacilityId()) && Objects.equals(this.regionInfos, that.getRegionInfosList()) - && Objects.equals(this.selfLink, that.getSelfLink()); + && Objects.equals(this.selfLink, that.getSelfLink()) + && Objects.equals(this.status, that.getStatus()); } return false; } @@ -572,6 +603,7 @@ public int hashCode() { name, peeringdbFacilityId, regionInfos, - selfLink); + selfLink, + status); } } diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java index 832217d070fb..980786a857a0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java @@ -1348,7 +1348,7 @@ public final Policy setIamPolicyNodeGroup(SetIamPolicyNodeGroupHttpRequest reque * } *

* - * @param nodeGroup Name of the NodeGroup resource to delete. + * @param nodeGroup Name of the NodeGroup resource to update. * @param nodeGroupsSetNodeTemplateRequestResource * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1379,7 +1379,7 @@ public final Operation setNodeTemplateNodeGroup( * } *
* - * @param nodeGroup Name of the NodeGroup resource to delete. + * @param nodeGroup Name of the NodeGroup resource to update. * @param nodeGroupsSetNodeTemplateRequestResource * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java index 0001cdcba466..321b03560fdc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java @@ -27,17 +27,20 @@ public final class Quota implements ApiMessage { private final Double limit; private final String metric; + private final String owner; private final Double usage; private Quota() { this.limit = null; this.metric = null; + this.owner = null; this.usage = null; } - private Quota(Double limit, String metric, Double usage) { + private Quota(Double limit, String metric, String owner, Double usage) { this.limit = limit; this.metric = metric; + this.owner = owner; this.usage = usage; } @@ -49,6 +52,9 @@ public Object getFieldValue(String fieldName) { if (fieldName.equals("metric")) { return metric; } + if (fieldName.equals("owner")) { + return owner; + } if (fieldName.equals("usage")) { return usage; } @@ -75,6 +81,10 @@ public String getMetric() { return metric; } + public String getOwner() { + return owner; + } + public Double getUsage() { return usage; } @@ -104,6 +114,7 @@ public static Quota getDefaultInstance() { public static class Builder { private Double limit; private String metric; + private String owner; private Double usage; Builder() {} @@ -116,6 +127,9 @@ public Builder mergeFrom(Quota other) { if (other.getMetric() != null) { this.metric = other.metric; } + if (other.getOwner() != null) { + this.owner = other.owner; + } if (other.getUsage() != null) { this.usage = other.usage; } @@ -125,6 +139,7 @@ public Builder mergeFrom(Quota other) { Builder(Quota source) { this.limit = source.limit; this.metric = source.metric; + this.owner = source.owner; this.usage = source.usage; } @@ -146,6 +161,15 @@ public Builder setMetric(String metric) { return this; } + public String getOwner() { + return owner; + } + + public Builder setOwner(String owner) { + this.owner = owner; + return this; + } + public Double getUsage() { return usage; } @@ -157,13 +181,14 @@ public Builder setUsage(Double usage) { public Quota build() { - return new Quota(limit, metric, usage); + return new Quota(limit, metric, owner, usage); } public Builder clone() { Builder newBuilder = new Builder(); newBuilder.setLimit(this.limit); newBuilder.setMetric(this.metric); + newBuilder.setOwner(this.owner); newBuilder.setUsage(this.usage); return newBuilder; } @@ -171,7 +196,8 @@ public Builder clone() { @Override public String toString() { - return "Quota{" + "limit=" + limit + ", " + "metric=" + metric + ", " + "usage=" + usage + "}"; + return "Quota{" + "limit=" + limit + ", " + "metric=" + metric + ", " + "owner=" + owner + ", " + + "usage=" + usage + "}"; } @Override @@ -183,6 +209,7 @@ public boolean equals(Object o) { Quota that = (Quota) o; return Objects.equals(this.limit, that.getLimit()) && Objects.equals(this.metric, that.getMetric()) + && Objects.equals(this.owner, that.getOwner()) && Objects.equals(this.usage, that.getUsage()); } return false; @@ -190,6 +217,6 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(limit, metric, usage); + return Objects.hash(limit, metric, owner, usage); } } diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java index 35683f38a24c..6f15af28ae58 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java @@ -679,6 +679,7 @@ public void getInstanceTest() { String creationTimestamp = "creationTimestamp567396278"; Boolean deletionProtection = true; String description = "description-1724546052"; + String hostname = "hostname-299803597"; String id = "id3355"; String kind = "kind3292052"; String labelFingerprint = "labelFingerprint714995737"; @@ -698,6 +699,7 @@ public void getInstanceTest() { .setCreationTimestamp(creationTimestamp) .setDeletionProtection(deletionProtection) .setDescription(description) + .setHostname(hostname) .setId(id) .setKind(kind) .setLabelFingerprint(labelFingerprint) diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java index 356a3a0f83c4..489b69546dab 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java @@ -94,6 +94,7 @@ public void getInterconnectLocationTest() { String name = "name3373707"; String peeringdbFacilityId = "peeringdbFacilityId-303818"; String selfLink = "selfLink-1691268851"; + String status = "status-892481550"; InterconnectLocation expectedResponse = InterconnectLocation.newBuilder() .setAddress(address.toString()) @@ -109,6 +110,7 @@ public void getInterconnectLocationTest() { .setName(name) .setPeeringdbFacilityId(peeringdbFacilityId) .setSelfLink(selfLink) + .setStatus(status) .build(); mockService.addResponse(expectedResponse); diff --git a/google-cloud-clients/google-cloud-compute/synth.metadata b/google-cloud-clients/google-cloud-compute/synth.metadata index d270120aa795..c9c3aef4a486 100644 --- a/google-cloud-clients/google-cloud-compute/synth.metadata +++ b/google-cloud-clients/google-cloud-compute/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2018-12-11T08:36:44.801706Z", + "updateTime": "2019-01-11T08:36:38.993872Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "0c2b7d9787d601bce81e5f8f2d1ad320d67c3792" + "sha": "8349004ea788d5abad27dc84761eb94ea3e6fc86" } }, { "generator": { "name": "artman", - "version": "0.16.2", - "dockerImage": "googleapis/artman@sha256:2f6b261ee7fe1aedf238991c93a20b3820de37a343d0cacf3e3e9555c2aaf2ea" + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" } } ] From 813feac471723246b4ea08bef9e8a84a68c80a98 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 11 Jan 2019 06:01:23 -0800 Subject: [PATCH 22/90] Regenerate speech client (#4328) --- .../com/google/cloud/speech/v1/RecognitionConfig.java | 8 ++++---- .../cloud/speech/v1/RecognitionConfigOrBuilder.java | 2 +- .../main/proto/google/cloud/speech/v1/cloud_speech.proto | 2 +- google-cloud-clients/google-cloud-speech/synth.metadata | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java index ddafe0dbc1f3..12f86d28f193 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java @@ -539,7 +539,7 @@ public int getSampleRateHertz() { * * *
-   * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+   * This needs to be set to `true` explicitly and `audio_channel_count` > 1
    * to get each channel recognized separately. The recognition result will
    * contain a `channel_tag` field to state which channel that result belongs
    * to. If this is not true, we will only recognize the first channel. The
@@ -1568,7 +1568,7 @@ public Builder clearSampleRateHertz() {
      *
      *
      * 
-     * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+     * This needs to be set to `true` explicitly and `audio_channel_count` > 1
      * to get each channel recognized separately. The recognition result will
      * contain a `channel_tag` field to state which channel that result belongs
      * to. If this is not true, we will only recognize the first channel. The
@@ -1585,7 +1585,7 @@ public boolean getEnableSeparateRecognitionPerChannel() {
      *
      *
      * 
-     * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+     * This needs to be set to `true` explicitly and `audio_channel_count` > 1
      * to get each channel recognized separately. The recognition result will
      * contain a `channel_tag` field to state which channel that result belongs
      * to. If this is not true, we will only recognize the first channel. The
@@ -1605,7 +1605,7 @@ public Builder setEnableSeparateRecognitionPerChannel(boolean value) {
      *
      *
      * 
-     * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+     * This needs to be set to `true` explicitly and `audio_channel_count` > 1
      * to get each channel recognized separately. The recognition result will
      * contain a `channel_tag` field to state which channel that result belongs
      * to. If this is not true, we will only recognize the first channel. The
diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java
index 7ca833c9c5cc..52da3c26b3dd 100644
--- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java
@@ -54,7 +54,7 @@ public interface RecognitionConfigOrBuilder
    *
    *
    * 
-   * This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+   * This needs to be set to `true` explicitly and `audio_channel_count` > 1
    * to get each channel recognized separately. The recognition result will
    * contain a `channel_tag` field to state which channel that result belongs
    * to. If this is not true, we will only recognize the first channel. The
diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto b/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto
index fe8e774806d7..6e477f3cba24 100644
--- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto
+++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech.proto
@@ -215,7 +215,7 @@ message RecognitionConfig {
   // for all other audio formats. For details, see [AudioEncoding][google.cloud.speech.v1.RecognitionConfig.AudioEncoding].
   int32 sample_rate_hertz = 2;
 
-  // This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+  // This needs to be set to `true` explicitly and `audio_channel_count` > 1
   // to get each channel recognized separately. The recognition result will
   // contain a `channel_tag` field to state which channel that result belongs
   // to. If this is not true, we will only recognize the first channel. The
diff --git a/google-cloud-clients/google-cloud-speech/synth.metadata b/google-cloud-clients/google-cloud-speech/synth.metadata
index 3be29e90377f..ffe7ca0006e0 100644
--- a/google-cloud-clients/google-cloud-speech/synth.metadata
+++ b/google-cloud-clients/google-cloud-speech/synth.metadata
@@ -1,5 +1,5 @@
 {
-  "updateTime": "2019-01-10T00:31:48.503770Z",
+  "updateTime": "2019-01-11T08:49:02.528645Z",
   "sources": [
     {
       "generator": {
@@ -12,8 +12,8 @@
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "deeb0a29ecc3e746c6fd82f72117360c4ef984cf",
-        "internalRef": "228610851"
+        "sha": "73babd109ac827701c8d957646aa0caa237e23cd",
+        "internalRef": "228781294"
       }
     }
   ],

From 2aa9d803ed532d91a5f430368f1ec4fd21f3dd24 Mon Sep 17 00:00:00 2001
From: Solomon Duskis 
Date: Fri, 11 Jan 2019 09:02:13 -0500
Subject: [PATCH 23/90] Update README version to use bom version (#4322)

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 0705e3d7f1e0..cc4cc99a33a9 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Google Cloud Client Library for Java
 Java idiomatic client for [Google Cloud Platform][cloud-platform] services.
 
 [![Kokoro CI](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.svg)](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.html)
-[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.google.cloud%22%20a%3A%22google-cloud%22)
+[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bom.svg)](https://search.maven.org/search?q=g:com.google.cloud%20a:google-cloud-bom)
 [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java)
 
 - [Google Cloud Platform Documentation][cloud-platform-docs]

From ea68410f175b64ab06ff8bd1371935d12e3ce3e9 Mon Sep 17 00:00:00 2001
From: Jeff Ching 
Date: Tue, 15 Jan 2019 11:23:49 -0800
Subject: [PATCH 24/90] BigQuery: Fix NPE for null table schema fields (#4338)

* Add failing test for empty table schema

* Fix NPE if table schema returns null for fields
---
 .../src/main/java/com/google/cloud/bigquery/Schema.java  | 9 ++++++++-
 .../test/java/com/google/cloud/bigquery/SchemaTest.java  | 8 ++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Schema.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Schema.java
index 81c8cd279694..c2061c6777d9 100644
--- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Schema.java
+++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Schema.java
@@ -18,10 +18,13 @@
 
 import static com.google.common.base.Preconditions.checkNotNull;
 
+import com.google.api.services.bigquery.model.TableFieldSchema;
 import com.google.api.services.bigquery.model.TableSchema;
 import com.google.common.base.Function;
 import com.google.common.base.MoreObjects;
 import java.io.Serializable;
+import java.util.Collections;
+import java.util.List;
 import java.util.Objects;
 
 /** This class represents the schema for a Google BigQuery Table or data source. */
@@ -90,6 +93,10 @@ TableSchema toPb() {
   }
 
   static Schema fromPb(com.google.api.services.bigquery.model.TableSchema tableSchemaPb) {
-    return Schema.of(FieldList.fromPb(tableSchemaPb.getFields()));
+    List fields = tableSchemaPb.getFields();
+    if (fields == null) {
+      fields = Collections.emptyList();
+    }
+    return Schema.of(FieldList.fromPb(fields));
   }
 }
diff --git a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/SchemaTest.java b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/SchemaTest.java
index 4e8fedc5d4a4..090bb8a27a03 100644
--- a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/SchemaTest.java
+++ b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/SchemaTest.java
@@ -18,6 +18,7 @@
 
 import static org.junit.Assert.assertEquals;
 
+import com.google.api.services.bigquery.model.TableSchema;
 import com.google.common.collect.ImmutableList;
 import java.util.List;
 import org.junit.Test;
@@ -57,4 +58,11 @@ private void compareTableSchema(Schema expected, Schema value) {
     assertEquals(expected, value);
     assertEquals(expected.getFields(), value.getFields());
   }
+
+  @Test
+  public void testEmptySchema() {
+    TableSchema tableSchema = new TableSchema();
+    Schema schema = Schema.fromPb(tableSchema);
+    assertEquals(0, schema.getFields().size());
+  }
 }

From 209fc2a6bf942ee064851558ea4f3c495d34dcc1 Mon Sep 17 00:00:00 2001
From: Igor Bernstein 
Date: Wed, 16 Jan 2019 13:28:20 -0500
Subject: [PATCH 25/90] Bump gax, grpc & opencensus version (#4336)

---
 google-cloud-bom/pom.xml                          | 2 +-
 google-cloud-clients/google-cloud-spanner/pom.xml | 6 ------
 google-cloud-clients/pom.xml                      | 9 +++++----
 3 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml
index 585038b1954a..2f72fb9d6e76 100644
--- a/google-cloud-bom/pom.xml
+++ b/google-cloud-bom/pom.xml
@@ -168,7 +168,7 @@
       
         com.google.api
         gax-bom
-        1.35.1
+        1.37.0
         pom
         import
       
diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml
index 6ba733b0d6c6..f5d89d02698e 100644
--- a/google-cloud-clients/google-cloud-spanner/pom.xml
+++ b/google-cloud-clients/google-cloud-spanner/pom.xml
@@ -116,12 +116,6 @@
     
       io.grpc
       grpc-netty-shaded
-      
-        
-          io.opencensus
-          opencensus-api
-        
-      
     
     
       io.grpc
diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml
index c01bdbea913f..7e05ee2fae17 100644
--- a/google-cloud-clients/pom.xml
+++ b/google-cloud-clients/pom.xml
@@ -154,16 +154,17 @@
     google-cloud-clients
     0.77.1-alpha-SNAPSHOT
     1.27.0
-    1.35.1
+    
+    1.37.0
     1.7.0
     0.12.0
-    1.16.1
-    2.0.7.Final
+    1.17.1
     26.0-android
     1.27.0
     1.27.0
     3.6.1
-    0.15.0
+    
+    0.17.0
     
     3.4
     2.6

From 8ce9aef323f4c87af9f1cc013b9e568e32342330 Mon Sep 17 00:00:00 2001
From: elisheva-qlogic <43041115+elisheva-qlogic@users.noreply.github.com>
Date: Wed, 16 Jan 2019 13:31:20 -0500
Subject: [PATCH 26/90] Cloud Bigtable: HelloWorld sample updates (#4339)

* comments added in HelloWorld and ITHelloWorld

* removed typsafe name

* separate properties for bigtable.project and bigtable.instance
---
 .../cloud/examples/bigtable/HelloWorld.java   | 38 ++++++++++++-----
 .../cloud/examples/bigtable/ITHelloWorld.java | 41 +++++++++++--------
 2 files changed, 50 insertions(+), 29 deletions(-)

diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/HelloWorld.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/HelloWorld.java
index 7d4ebde8787b..c24ffccbda4e 100644
--- a/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/HelloWorld.java
+++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/HelloWorld.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Google LLC.  All Rights Reserved.
+ * Copyright 2019 Google LLC.  All Rights Reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,13 +22,25 @@
 import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest;
 import com.google.cloud.bigtable.data.v2.BigtableDataClient;
 import com.google.cloud.bigtable.data.v2.BigtableDataSettings;
-import com.google.cloud.bigtable.data.v2.models.InstanceName;
 import com.google.cloud.bigtable.data.v2.models.Query;
 import com.google.cloud.bigtable.data.v2.models.Row;
 import com.google.cloud.bigtable.data.v2.models.RowCell;
 import com.google.cloud.bigtable.data.v2.models.RowMutation;
 import java.io.IOException;
 
+/**
+ * An example of using Google Cloud Bigtable.
+ *
+ * 

This example is a very simple "hello world" application, that illustrates how to create a new + * table, write to the table, read the data back, and delete the table. + * + *

    + *
  • create table + *
  • read single row + *
  • read table + *
  • delete table + *
+ */ public class HelloWorld { private static final String COLUMN_FAMILY = "cf1"; @@ -55,22 +67,21 @@ public HelloWorld(String projectId, String instanceId, String tableId) throws IO this.tableId = tableId; // [START connecting_to_bigtable] - // Create the settings to configure a bigtable data client + // Creates the settings to configure a bigtable data client. BigtableDataSettings settings = - BigtableDataSettings.newBuilder() - .setInstanceName(InstanceName.of(projectId, instanceId)) - .build(); + BigtableDataSettings.newBuilder().setProjectId(projectId).setInstanceId(instanceId).build(); - // Create bigtable data client + // Creates a bigtable data client. dataClient = BigtableDataClient.create(settings); - // Create the settings to configure a bigtable table admin client + // Creates the settings to configure a bigtable table admin client. BigtableTableAdminSettings adminSettings = BigtableTableAdminSettings.newBuilder() - .setInstanceName(com.google.bigtable.admin.v2.InstanceName.of(projectId, instanceId)) + .setProjectId(projectId) + .setInstanceId(instanceId) .build(); - // Create bigtable table admin client + // Creates a bigtable table admin client. adminClient = BigtableTableAdminClient.create(adminSettings); // [END connecting_to_bigtable] } @@ -85,9 +96,10 @@ public void run() throws Exception { adminClient.close(); } + /** Demonstrates how to create a table. */ public void createTable() { // [START creating_a_table] - // Check if table exists, create table if does not exist + // Checks if table exists, creates table if does not exist. if (!adminClient.exists(tableId)) { System.out.println("Creating table: " + tableId); CreateTableRequest createTableRequest = @@ -98,6 +110,7 @@ public void createTable() { // [END creating_a_table] } + /** Demonstrates how to write some rows to a table. */ public void writeToTable() { // [START writing_rows] try { @@ -116,6 +129,7 @@ public void writeToTable() { // [END writing_rows] } + /** Demonstrates how to read a single row from a table. */ public void readSingleRow() { // [START reading_a_row] try { @@ -133,6 +147,7 @@ public void readSingleRow() { // [END reading_a_row] } + /** Demonstrates how to read an entire table. */ public void readTable() { // [START scanning_all_rows] try { @@ -153,6 +168,7 @@ public void readTable() { // [END scanning_all_rows] } + /** Demonstrates how to delete a table. */ public void deleteTable() { // [START deleting_a_table] System.out.println("\nDeleting table: " + tableId); diff --git a/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITHelloWorld.java b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITHelloWorld.java index ba8010046fc0..c45650cab0e1 100644 --- a/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITHelloWorld.java +++ b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITHelloWorld.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC. All Rights Reserved. + * Copyright 2019 Google LLC. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest; import com.google.cloud.bigtable.data.v2.BigtableDataClient; import com.google.cloud.bigtable.data.v2.BigtableDataSettings; -import com.google.cloud.bigtable.data.v2.models.InstanceName; import com.google.cloud.bigtable.data.v2.models.Row; import java.io.IOException; import java.util.Random; @@ -37,31 +36,35 @@ import org.junit.BeforeClass; import org.junit.Test; +/** Integration tests for {@link HelloWorld} */ public class ITHelloWorld { + private static final String PROJECT_PROPERTY_NAME = "bigtable.project"; private static final String INSTANCE_PROPERTY_NAME = "bigtable.instance"; private static final String TABLE_PREFIX = "table"; private static String tableId; private static BigtableDataClient dataClient; private static BigtableTableAdminClient adminClient; - private static InstanceName instanceName; + private static String projectId; + private static String instanceId; private HelloWorld helloWorld; @BeforeClass public static void beforeClass() throws IOException { - String targetInstance = System.getProperty(INSTANCE_PROPERTY_NAME); - if (targetInstance == null) { + projectId = System.getProperty(PROJECT_PROPERTY_NAME); + instanceId = System.getProperty(INSTANCE_PROPERTY_NAME); + if (projectId == null || instanceId == null) { dataClient = null; adminClient = null; return; } - instanceName = InstanceName.parse(targetInstance); BigtableDataSettings settings = - BigtableDataSettings.newBuilder().setInstanceName(instanceName).build(); + BigtableDataSettings.newBuilder().setProjectId(projectId).setInstanceId(instanceId).build(); dataClient = BigtableDataClient.create(settings); BigtableTableAdminSettings adminSettings = BigtableTableAdminSettings.newBuilder() - .setInstanceName(com.google.bigtable.admin.v2.InstanceName.parse(targetInstance)) + .setProjectId(projectId) + .setInstanceId(instanceId) .build(); adminClient = BigtableTableAdminClient.create(adminSettings); } @@ -77,10 +80,13 @@ public static void afterClass() throws Exception { public void setup() throws IOException { if (adminClient == null || dataClient == null) { throw new AssumptionViolatedException( - INSTANCE_PROPERTY_NAME + " property is not set, skipping integration tests."); + PROJECT_PROPERTY_NAME + + " or " + + INSTANCE_PROPERTY_NAME + + " property is not set, skipping integration tests."); } tableId = generateTableId(); - helloWorld = new HelloWorld(instanceName.getProject(), instanceName.getInstance(), tableId); + helloWorld = new HelloWorld(projectId, instanceId, tableId); adminClient.createTable(CreateTableRequest.of(tableId).addFamily("cf1")); } @@ -93,21 +99,20 @@ public void after() { @Test public void testCreateAndDeleteTable() throws IOException { - // Create table - String fakeTable = generateTableId(); - HelloWorld testHelloWorld = - new HelloWorld(instanceName.getProject(), instanceName.getInstance(), fakeTable); + // Creates a table. + String testTable = generateTableId(); + HelloWorld testHelloWorld = new HelloWorld(projectId, instanceId, testTable); testHelloWorld.createTable(); - assertTrue(adminClient.exists(fakeTable)); + assertTrue(adminClient.exists(testTable)); - // Delete table + // Deletes a table. testHelloWorld.deleteTable(); - assertTrue(!adminClient.exists(fakeTable)); + assertTrue(!adminClient.exists(testTable)); } @Test public void testWriteToTable() { - // Write to table + // Writes to a table. helloWorld.writeToTable(); Row row = dataClient.readRow(tableId, "rowKey0"); assertNotNull(row); From 821bf93dc663f0d249575f6117a4f3a0e121ae1d Mon Sep 17 00:00:00 2001 From: elisheva-qlogic <43041115+elisheva-qlogic@users.noreply.github.com> Date: Wed, 16 Jan 2019 13:32:27 -0500 Subject: [PATCH 27/90] separate properties for bigtable.project and bigtable.instance (#4346) --- .../bigtable/ITInstanceAdminExample.java | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java index bb800f683838..541216427609 100644 --- a/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java +++ b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITInstanceAdminExample.java @@ -20,7 +20,6 @@ import static org.junit.Assert.assertTrue; import com.google.api.gax.rpc.NotFoundException; -import com.google.bigtable.admin.v2.InstanceName; import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminClient; import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings; import com.google.cloud.bigtable.admin.v2.models.Cluster; @@ -42,10 +41,10 @@ /** Integration tests for {@link InstanceAdminExample} */ public class ITInstanceAdminExample { - private static final String INSTANCE_PROPERTY_NAME = "bigtable.instance"; + private static final String PROJECT_PROPERTY_NAME = "bigtable.project"; private static final String ID_PREFIX = "instanceadmin"; private static final String CLUSTER = "cluster"; - private static String projectName; + private static String projectId; private static BigtableInstanceAdminClient adminClient; private String clusterId; private String instanceId; @@ -53,14 +52,13 @@ public class ITInstanceAdminExample { @BeforeClass public static void beforeClass() throws IOException { - String targetProject = System.getProperty(INSTANCE_PROPERTY_NAME); - if (targetProject == null) { + projectId = System.getProperty(PROJECT_PROPERTY_NAME); + if (projectId == null) { adminClient = null; return; } - projectName = InstanceName.parse(targetProject).getProject(); BigtableInstanceAdminSettings instanceAdminSettings = - BigtableInstanceAdminSettings.newBuilder().setProjectId(projectName).build(); + BigtableInstanceAdminSettings.newBuilder().setProjectId(projectId).build(); adminClient = BigtableInstanceAdminClient.create(instanceAdminSettings); } @@ -74,11 +72,11 @@ public static void afterClass() { public void setup() throws IOException { if (adminClient == null) { throw new AssumptionViolatedException( - INSTANCE_PROPERTY_NAME + " property is not set, skipping integration tests."); + PROJECT_PROPERTY_NAME + " property is not set, skipping integration tests."); } instanceId = generateId(); clusterId = generateId(); - instanceAdmin = new InstanceAdminExample(projectName, instanceId, clusterId); + instanceAdmin = new InstanceAdminExample(projectId, instanceId, clusterId); adminClient.createInstance( CreateInstanceRequest.of(instanceId) .addCluster(clusterId, "us-central1-f", 3, StorageType.SSD) @@ -99,7 +97,7 @@ public void testCreateAndDeleteInstance() throws IOException { String testInstance = generateId(); String testCluster = generateId(); InstanceAdminExample testInstanceAdmin = - new InstanceAdminExample(projectName, testInstance, testCluster); + new InstanceAdminExample(projectId, testInstance, testCluster); testInstanceAdmin.createProdInstance(); assertTrue(adminClient.exists(testInstance)); From 052c4a9826fa988ec129bea3dc1324ff5f5cd430 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Wed, 16 Jan 2019 13:02:12 -0800 Subject: [PATCH 28/90] Pub/Sub: default values in batch settings comments (#4350) * Pub/Sub: default values in batch settings comments Ref: https://github.com/googleapis/gax-java/blob/master/gax/src/main/java/com/google/api/gax/batching/BatchingSettings.java * Verbose comment --- .../cloud/examples/pubsub/snippets/PublisherSnippets.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java index dbb8045861d4..32f438d0daba 100644 --- a/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java +++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java @@ -90,8 +90,8 @@ public Publisher getPublisherWithCustomBatchSettings(ProjectTopicName topicName) throws Exception { // [START pubsub_publisher_batch_settings] // Batch settings control how the publisher batches messages - long requestBytesThreshold = 5000L; // default : 1kb - long messageCountBatchSize = 10L; // default : 100 + long requestBytesThreshold = 5000L; // default : 1 byte + long messageCountBatchSize = 10L; // default : 1 message Duration publishDelayThreshold = Duration.ofMillis(100); // default : 1 ms From fe59de257cd8535d486c11a67df8db664c7379b4 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 16 Jan 2019 15:10:12 -0800 Subject: [PATCH 29/90] Update maven-surefire-plugin to 3.0.0-M3 to fix Java 8 classloader (#4344) * Update maven-surefire-plugin to 3.0.0-M3 to fix Java 8 classloader * Update failsafe plugin to 3.0.0-M3 too * Specify maven-surefire-plugin version in bigtable-emulator --- google-cloud-clients/google-cloud-bigtable/pom.xml | 8 ++++---- google-cloud-clients/google-cloud-logging/pom.xml | 4 ++-- google-cloud-clients/google-cloud-spanner/pom.xml | 4 ++-- google-cloud-clients/pom.xml | 6 +++--- google-cloud-examples/pom.xml | 4 ++-- .../google-cloud-bigtable-emulator/pom.xml | 5 +++++ google-cloud-util/pom.xml | 6 +++--- 7 files changed, 21 insertions(+), 16 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index f5e5616dc578..5fe54ce7457b 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -103,7 +103,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 3.0.0-M3 @@ -121,18 +121,18 @@ org.apache.maven.surefire surefire-junit4 - 2.19.1 + 3.0.0-M3 maven-surefire-plugin - 2.19.1 + 3.0.0-M3 org.apache.maven.surefire surefire-junit4 - 2.19.1 + 3.0.0-M3 diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 68c93ef66b6f..28a158cd025b 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -96,12 +96,12 @@ maven-surefire-plugin - 2.19.1 + 3.0.0-M3 org.apache.maven.surefire surefire-junit4 - 2.19.1 + 3.0.0-M3 diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index f5d89d02698e..81e8f2826340 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -44,7 +44,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.12.4 + 3.0.0-M3 com.google.cloud.spanner.IntegrationTest sponge_log @@ -53,7 +53,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 3.0.0-M3 com.google.cloud.spanner.GceTestEnvConfig diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 7e05ee2fae17..3fafd1597153 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -516,7 +516,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + 3.0.0-M3 @@ -574,7 +574,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 3.0.0-M3 @@ -906,7 +906,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 3.0.0-M3 diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index 4e9548286f2d..3cf54eda1279 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -189,7 +189,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 3.0.0-M3 **/IT*.java @@ -223,7 +223,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 3.0.0-M3 diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index e39665d3ffb6..b016b5a42d8a 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -113,6 +113,11 @@ false + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index 5575493c9ed1..ebdb3f6ff70e 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -17,7 +17,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.17 + 3.0.0-M3 test @@ -25,12 +25,12 @@ maven-surefire-plugin - 2.17 + 3.0.0-M3 org.apache.maven.surefire surefire-junit4 - 2.17 + 3.0.0-M3 From a6961059a534d4dbc4b6a5a75d58bc49f6caf01d Mon Sep 17 00:00:00 2001 From: Rahul Kesharwani <42969463+rahulKQL@users.noreply.github.com> Date: Thu, 17 Jan 2019 23:45:56 +0530 Subject: [PATCH 30/90] Bigtable: Fixing a typo for KeyOffSet#geyKey to getKey (#4342) --- .../com/google/cloud/bigtable/data/v2/models/KeyOffset.java | 4 ++-- .../java/com/google/cloud/bigtable/data/v2/models/Query.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/KeyOffset.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/KeyOffset.java index 57b11594ecd5..bba22bb39287 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/KeyOffset.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/KeyOffset.java @@ -39,10 +39,10 @@ public static KeyOffset create(ByteString key, long offsetBytes) { *

Note that row key may not have ever been written to or read from, and users should therefore * not make any assumptions about the row key structure that are specific to their use case. */ - public abstract ByteString geyKey(); + public abstract ByteString getKey(); /** - * Approximate total storage space used by all rows in the table which precede {@link #geyKey()}. + * Approximate total storage space used by all rows in the table which precede {@link #getKey()}. * Buffering the contents of all rows between two subsequent samples would require space roughly * equal to the difference in their {@link #getOffsetBytes()} fields. */ diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java index 9ec36d5a7a52..5288ee0109a2 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java @@ -198,8 +198,8 @@ public List shard(List sampledRowKeys) { ImmutableSortedSet.orderedBy(ByteStringComparator.INSTANCE); for (KeyOffset keyOffset : sampledRowKeys) { - if (!keyOffset.geyKey().isEmpty()) { - splitPoints.add(keyOffset.geyKey()); + if (!keyOffset.getKey().isEmpty()) { + splitPoints.add(keyOffset.getKey()); } } From 6b5582a11c79a08e1d9f5fee02c4123ca156bced Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 17 Jan 2019 10:21:43 -0800 Subject: [PATCH 31/90] Regenerate spanner client (#4332) --- .../cloud/spanner/v1/SpannerClient.java | 1 - .../cloud/spanner/v1/SpannerSettings.java | 1 - .../spanner/v1/stub/SpannerStubSettings.java | 1 - .../google-cloud-spanner/synth.metadata | 49 ++++++++++++++----- 4 files changed, 37 insertions(+), 15 deletions(-) diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java index c426e20aa865..1643ab8936db 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java @@ -127,7 +127,6 @@ *

*/ @Generated("by gapic-generator") -@BetaApi public class SpannerClient implements BackgroundResource { private final SpannerSettings settings; private final SpannerStub stub; diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java index e356e2919da6..c1471cc59bdc 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java @@ -80,7 +80,6 @@ *
*/ @Generated("by gapic-generator") -@BetaApi public class SpannerSettings extends ClientSettings { /** Returns the object with the settings used for calls to createSession. */ public UnaryCallSettings createSessionSettings() { diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java index f9d42de35cfd..4c3220ad3224 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java @@ -95,7 +95,6 @@ *
*/ @Generated("by gapic-generator") -@BetaApi public class SpannerStubSettings extends StubSettings { /** The default scopes of the service. */ private static final ImmutableList DEFAULT_SERVICE_SCOPES = diff --git a/google-cloud-clients/google-cloud-spanner/synth.metadata b/google-cloud-clients/google-cloud-spanner/synth.metadata index 2bd4f07a69a5..35baf201b6fe 100644 --- a/google-cloud-clients/google-cloud-spanner/synth.metadata +++ b/google-cloud-clients/google-cloud-spanner/synth.metadata @@ -1,27 +1,52 @@ { + "updateTime": "2019-01-12T08:49:01.135927Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "2156b3490f9fe4d79bcb34754a3aaed7ea52114d", + "internalRef": "228970571" + } + } + ], + "destinations": [ + { + "client": { + "source": "googleapis", + "apiName": "spanner", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/spanner/artman_spanner.yaml" } }, { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "spanner", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/spanner/admin/database/artman_spanner_admin_database.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "spanner", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/spanner/admin/instance/artman_spanner_admin_instance.yaml" } } ] -} +} \ No newline at end of file From cf7585b43ceb115dcfc28c31e5eb90f98cc3d000 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 17 Jan 2019 19:45:35 +0100 Subject: [PATCH 32/90] Spanner: remove junit from compile dependencies (#4334) --- google-cloud-clients/google-cloud-spanner/pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index 81e8f2826340..7a39e4410b87 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -133,12 +133,13 @@ joda-time joda-time + + junit junit + test - - com.google.truth truth From 1750585e2f5777c8d8a444a7dfacdb004a12fdd6 Mon Sep 17 00:00:00 2001 From: Michael Lehenbauer Date: Thu, 17 Jan 2019 12:51:21 -0800 Subject: [PATCH 33/90] Firestore: change timestampsInSnapshots default to true. (#4353) BREAKING CHANGE: The `areTimestampsInSnapshotsEnabled()` setting is now enabled by default so timestamp fields read from a `DocumentSnapshot` will be returned as `Timestamp` objects instead of `Date`. Any code expecting to receive a `Date` object must be updated. --- .../google/cloud/firestore/FirestoreImpl.java | 28 ---------------- .../cloud/firestore/FirestoreOptions.java | 32 +++++++++---------- .../firestore/CollectionReferenceTest.java | 5 +-- .../cloud/firestore/ConformanceTest.java | 6 +--- .../firestore/DocumentReferenceTest.java | 5 +-- .../google/cloud/firestore/FirestoreTest.java | 5 +-- .../com/google/cloud/firestore/QueryTest.java | 5 +-- .../cloud/firestore/TransactionTest.java | 6 +--- .../com/google/cloud/firestore/WatchTest.java | 6 +--- .../cloud/firestore/WriteBatchTest.java | 5 +-- .../cloud/firestore/it/ITSystemTest.java | 3 +- 11 files changed, 25 insertions(+), 81 deletions(-) diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java index 54d479fbda22..568ee6f0b87b 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java @@ -85,34 +85,6 @@ class FirestoreImpl implements Firestore { + "Please explicitly set your Project ID in FirestoreOptions."); this.databasePath = ResourcePath.create(DatabaseRootName.of(options.getProjectId(), options.getDatabaseId())); - - if (!options.areTimestampsInSnapshotsEnabled()) { - LOGGER.warning( - "The behavior for java.util.Date objects stored in Firestore is going to change " - + "AND YOUR APP MAY BREAK.\n" - + "To hide this warning and ensure your app does not break, you need to add " - + "the following code to your app before calling any other Cloud Firestore " - + "methods:\n" - + "\n" - + "FirestoreOptions options = \n" - + " FirestoreOptions.newBuilder().setTimestampsInSnapshotsEnabled(true).build();\n" - + "Firestore firestore = options.getService();\n" - + "\n" - + "With this change, timestamps stored in Cloud Firestore will be read back as " - + "com.google.cloud.Timestamp objects instead of as system java.util.Date " - + "objects. So you will also need to update code expecting a java.util.Date to " - + "instead expect a Timestamp. For example:\n" - + "\n" - + "// Old:\n" - + "java.util.Date date = (java.util.Date) snapshot.get(\"created_at\");\n" - + "// New:\n" - + "Timestamp timestamp = (Timestamp) snapshot.get(\"created_at\");\n" - + "java.util.Date date = timestamp.toDate();\n" - + "\n" - + "Please audit all existing usages of java.util.Date when you enable the new " - + "behavior. In a future release, the behavior will be changed to the new " - + "behavior, so if you do not follow these steps, YOUR APP MAY BREAK."); - } } /** Creates a pseudo-random 20-character ID that can be used for Firestore documents. */ diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java index 7eb23074a73b..7bee4c05b871 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java @@ -44,7 +44,7 @@ public final class FirestoreOptions extends ServiceOptionsCurrently, Firestore returns timestamp fields as {@link java.util.Date} but {@link - * java.util.Date Date} only supports millisecond precision, which leads to truncation and - * causes unexpected behavior when using a timestamp from a snapshot as a part of a subsequent - * query. + *

Previously, Firestore returned timestamp fields as {@link java.util.Date} but {@link + * java.util.Date} only supports millisecond precision, which leads to truncation and causes + * unexpected behavior when using a timestamp from a snapshot as a part of a subsequent query. * - *

Setting {@code setTimestampsInSnapshotsEnabled(true)} will cause Firestore to return - * {@link com.google.cloud.Timestamp Timestamp} values instead of {@link java.util.Date Date}, - * avoiding this kind of problem. To make this work you must also change any code that uses - * {@link java.util.Date Date} to use {@link com.google.cloud.Timestamp Timestamp} instead. + *

So now Firestore returns {@link com.google.cloud.Timestamp Timestamp} values instead of + * {@link java.util.Date}, avoiding this kind of problem. * - *

NOTE: in the future {@link FirestoreOptions#areTimestampsInSnapshotsEnabled} will default - * to true and this option will be removed so you should change your code to use Timestamp now - * and opt-in to this new behavior as soon as you can. + *

To opt into the old behavior of returning {@link java.util.Date Dates}, you can + * temporarily set {@link FirestoreOptions#areTimestampsInSnapshotsEnabled} to false. * - * @return A settings object on which the return type for timestamp fields is configured as - * specified by the given {@code value}. + * @deprecated This setting now defaults to true and will be removed in a future release. If you + * are already setting it to true, just remove the setting. If you are setting it to false, + * you should update your code to expect {@link com.google.cloud.Timestamp Timestamps} + * instead of {@link java.util.Date Dates} and then remove the setting. */ + @Deprecated @Nonnull public Builder setTimestampsInSnapshotsEnabled(boolean value) { this.timestampsInSnapshotsEnabled = value; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java index e119bbead18c..47934c4d2890 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java @@ -43,10 +43,7 @@ public class CollectionReferenceTest { @Spy private FirestoreImpl firestoreMock = new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("test-project") - .setTimestampsInSnapshotsEnabled(true) - .build(), + FirestoreOptions.newBuilder().setProjectId("test-project").build(), Mockito.mock(FirestoreRpc.class)); @Captor private ArgumentCaptor argCaptor; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java index 8342b4b611f0..64e97ac86cbd 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java @@ -133,11 +133,7 @@ public ConformanceTest() { firestoreMock = Mockito.spy( new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("projectID") - .setTimestampsInSnapshotsEnabled(true) - .build(), - firestoreRpc)); + FirestoreOptions.newBuilder().setProjectId("projectID").build(), firestoreRpc)); watchQuery = collection("projects/projectID/databases/(default)/documents/C").orderBy("a"); } diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java index daa10e18ee37..eb4a165b1732 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java @@ -94,10 +94,7 @@ public class DocumentReferenceTest { @Spy private FirestoreImpl firestoreMock = new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("test-project") - .setTimestampsInSnapshotsEnabled(true) - .build(), + FirestoreOptions.newBuilder().setProjectId("test-project").build(), Mockito.mock(FirestoreRpc.class)); @Captor private ArgumentCaptor commitCapture; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java index 71557f9b84f4..2051b7b05939 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java @@ -44,10 +44,7 @@ public class FirestoreTest { @Spy private FirestoreImpl firestoreMock = new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("test-project") - .setTimestampsInSnapshotsEnabled(true) - .build(), + FirestoreOptions.newBuilder().setProjectId("test-project").build(), Mockito.mock(FirestoreRpc.class)); @Captor private ArgumentCaptor getAllCapture; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java index 557ed6d00d10..564c1b335de3 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java @@ -61,10 +61,7 @@ public class QueryTest { @Spy private FirestoreImpl firestoreMock = new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("test-project") - .setTimestampsInSnapshotsEnabled(true) - .build(), + FirestoreOptions.newBuilder().setProjectId("test-project").build(), Mockito.mock(FirestoreRpc.class)); @Captor private ArgumentCaptor runQuery; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java index c37631ee0688..528309195c9d 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java @@ -77,11 +77,7 @@ public class TransactionTest { @Spy private FirestoreImpl firestoreMock = new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("test-project") - .setTimestampsInSnapshotsEnabled(true) - .build(), - firestoreRpc); + FirestoreOptions.newBuilder().setProjectId("test-project").build(), firestoreRpc); @Captor private ArgumentCaptor requestCapture; @Captor private ArgumentCaptor> streamObserverCapture; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java index 43b713312643..7d450e397f7c 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java @@ -97,11 +97,7 @@ public class WatchTest { @Spy private FirestoreImpl firestoreMock = new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("test-project") - .setTimestampsInSnapshotsEnabled(true) - .build(), - firestoreRpc); + FirestoreOptions.newBuilder().setProjectId("test-project").build(), firestoreRpc); @Captor private ArgumentCaptor> streamObserverCapture; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java index 299660fa4205..f29d87ca0948 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java @@ -52,10 +52,7 @@ public class WriteBatchTest { @Spy private FirestoreImpl firestoreMock = new FirestoreImpl( - FirestoreOptions.newBuilder() - .setProjectId("test-project") - .setTimestampsInSnapshotsEnabled(true) - .build(), + FirestoreOptions.newBuilder().setProjectId("test-project").build(), Mockito.mock(FirestoreRpc.class)); @Captor private ArgumentCaptor commitCapture; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITSystemTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITSystemTest.java index c935702f544b..c4940f6ff38b 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITSystemTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITSystemTest.java @@ -86,8 +86,7 @@ public class ITSystemTest { @Before public void before() { - FirestoreOptions firestoreOptions = - FirestoreOptions.newBuilder().setTimestampsInSnapshotsEnabled(true).build(); + FirestoreOptions firestoreOptions = FirestoreOptions.newBuilder().build(); firestore = firestoreOptions.getService(); randomColl = firestore.collection( From 77b70e2eb5332ace11be28c1a2587db93c2bd7c6 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 17 Jan 2019 12:55:35 -0800 Subject: [PATCH 34/90] Regenerate clients with updated copyright year (#4382) * Regenerate asset client * Regenerate automl client * Regenerate bigquerydatatransfer client * Regenerate bigquerystorage client * Regenerate bigtable client * Regenerate container client * Regenerate containeranalysis client * Regenerate dataproc client * Regenerate dialogflow client * Regenerate dlp client * Regenerate errorreporting client * Regenerate iamcredentials client * Regenerate iot client * Regenerate kms client * Regenerate language client * Regenerate logging client * Regenerate monitoring client * Regenerate os-login client * Regenerate pubsub client * Regenerate redis client * Regenerate securitycenter client * Regenerate speech client * Regenerate tasks client * Regenerate trace client * Regenerate video-intelligence client * Regenerate websecurityscanner client --- .../asset/v1beta1/AssetServiceClient.java | 2 +- .../asset/v1beta1/AssetServiceSettings.java | 2 +- .../cloud/asset/v1beta1/package-info.java | 2 +- .../asset/v1beta1/stub/AssetServiceStub.java | 2 +- .../stub/AssetServiceStubSettings.java | 2 +- .../stub/GrpcAssetServiceCallableFactory.java | 2 +- .../v1beta1/stub/GrpcAssetServiceStub.java | 2 +- .../asset/v1beta1/AssetServiceClientTest.java | 2 +- .../cloud/asset/v1beta1/MockAssetService.java | 2 +- .../asset/v1beta1/MockAssetServiceImpl.java | 2 +- .../google-cloud-asset/synth.metadata | 35 ++++++---- .../cloud/automl/v1beta1/AutoMlClient.java | 2 +- .../cloud/automl/v1beta1/AutoMlSettings.java | 2 +- .../v1beta1/PredictionServiceClient.java | 2 +- .../v1beta1/PredictionServiceSettings.java | 2 +- .../cloud/automl/v1beta1/package-info.java | 2 +- .../cloud/automl/v1beta1/stub/AutoMlStub.java | 2 +- .../v1beta1/stub/AutoMlStubSettings.java | 2 +- .../stub/GrpcAutoMlCallableFactory.java | 2 +- .../automl/v1beta1/stub/GrpcAutoMlStub.java | 2 +- .../GrpcPredictionServiceCallableFactory.java | 2 +- .../stub/GrpcPredictionServiceStub.java | 2 +- .../v1beta1/stub/PredictionServiceStub.java | 2 +- .../stub/PredictionServiceStubSettings.java | 2 +- .../automl/v1beta1/AutoMlClientTest.java | 2 +- .../cloud/automl/v1beta1/MockAutoMl.java | 2 +- .../cloud/automl/v1beta1/MockAutoMlImpl.java | 2 +- .../automl/v1beta1/MockPredictionService.java | 2 +- .../v1beta1/MockPredictionServiceImpl.java | 2 +- .../v1beta1/PredictionServiceClientTest.java | 2 +- .../google-cloud-automl/synth.metadata | 10 +-- .../v1/DataTransferServiceClient.java | 2 +- .../v1/DataTransferServiceSettings.java | 2 +- .../datatransfer/v1/package-info.java | 2 +- .../v1/stub/DataTransferServiceStub.java | 2 +- .../stub/DataTransferServiceStubSettings.java | 2 +- ...rpcDataTransferServiceCallableFactory.java | 2 +- .../v1/stub/GrpcDataTransferServiceStub.java | 2 +- .../v1/DataTransferServiceClientTest.java | 2 +- .../v1/DataTransferServiceSmokeTest.java | 2 +- .../v1/MockDataTransferService.java | 2 +- .../v1/MockDataTransferServiceImpl.java | 2 +- .../synth.metadata | 35 ++++++---- .../v1beta1/BaseBigQueryStorageClient.java | 2 +- .../v1beta1/BaseBigQueryStorageSettings.java | 2 +- .../storage/v1beta1/package-info.java | 2 +- .../v1beta1/stub/BigQueryStorageStub.java | 2 +- .../stub/BigQueryStorageStubSettings.java | 2 +- .../GrpcBigQueryStorageCallableFactory.java | 2 +- .../v1beta1/stub/GrpcBigQueryStorageStub.java | 2 +- .../BaseBigQueryStorageClientTest.java | 2 +- .../storage/v1beta1/MockBigQueryStorage.java | 2 +- .../v1beta1/MockBigQueryStorageImpl.java | 2 +- .../synth.metadata | 35 ++++++---- .../v2/BaseBigtableInstanceAdminClient.java | 2 +- .../v2/BaseBigtableInstanceAdminSettings.java | 2 +- .../v2/BaseBigtableTableAdminClient.java | 2 +- .../v2/BaseBigtableTableAdminSettings.java | 2 +- .../cloud/bigtable/admin/v2/package-info.java | 2 +- .../v2/stub/BigtableInstanceAdminStub.java | 2 +- .../BigtableInstanceAdminStubSettings.java | 2 +- .../admin/v2/stub/BigtableTableAdminStub.java | 2 +- .../stub/BigtableTableAdminStubSettings.java | 2 +- ...cBigtableInstanceAdminCallableFactory.java | 2 +- .../stub/GrpcBigtableInstanceAdminStub.java | 2 +- ...GrpcBigtableTableAdminCallableFactory.java | 2 +- .../v2/stub/GrpcBigtableTableAdminStub.java | 2 +- .../data/v2/BaseBigtableDataClient.java | 2 +- .../data/v2/BaseBigtableDataSettings.java | 2 +- .../cloud/bigtable/data/v2/package-info.java | 2 +- .../bigtable/data/v2/stub/BigtableStub.java | 2 +- .../data/v2/stub/BigtableStubSettings.java | 2 +- .../v2/stub/GrpcBigtableCallableFactory.java | 2 +- .../data/v2/stub/GrpcBigtableStub.java | 2 +- .../BaseBigtableInstanceAdminClientTest.java | 2 +- .../v2/BaseBigtableTableAdminClientTest.java | 2 +- .../admin/v2/MockBigtableInstanceAdmin.java | 2 +- .../v2/MockBigtableInstanceAdminImpl.java | 2 +- .../admin/v2/MockBigtableTableAdmin.java | 2 +- .../admin/v2/MockBigtableTableAdminImpl.java | 2 +- .../data/v2/BaseBigtableDataClientTest.java | 2 +- .../cloud/bigtable/data/v2/MockBigtable.java | 2 +- .../bigtable/data/v2/MockBigtableImpl.java | 2 +- .../google-cloud-bigtable/synth.metadata | 10 +-- .../container/v1/ClusterManagerClient.java | 2 +- .../container/v1/ClusterManagerSettings.java | 2 +- .../cloud/container/v1/package-info.java | 2 +- .../container/v1/stub/ClusterManagerStub.java | 2 +- .../v1/stub/ClusterManagerStubSettings.java | 2 +- .../GrpcClusterManagerCallableFactory.java | 2 +- .../v1/stub/GrpcClusterManagerStub.java | 2 +- .../v1/ClusterManagerClientTest.java | 2 +- .../container/v1/ClusterManagerSmokeTest.java | 2 +- .../container/v1/MockClusterManager.java | 2 +- .../container/v1/MockClusterManagerImpl.java | 2 +- .../google-cloud-container/synth.metadata | 10 +-- .../ContainerAnalysisV1Beta1Client.java | 2 +- .../ContainerAnalysisV1Beta1Settings.java | 2 +- .../v1beta1/GrafeasV1Beta1Client.java | 2 +- .../v1beta1/GrafeasV1Beta1Settings.java | 2 +- .../v1beta1/package-info.java | 2 +- .../stub/ContainerAnalysisV1Beta1Stub.java | 2 +- .../ContainerAnalysisV1Beta1StubSettings.java | 2 +- .../v1beta1/stub/GrafeasV1Beta1Stub.java | 2 +- .../stub/GrafeasV1Beta1StubSettings.java | 2 +- ...ntainerAnalysisV1Beta1CallableFactory.java | 2 +- .../GrpcContainerAnalysisV1Beta1Stub.java | 2 +- .../GrpcGrafeasV1Beta1CallableFactory.java | 2 +- .../v1beta1/stub/GrpcGrafeasV1Beta1Stub.java | 2 +- .../ContainerAnalysisV1Beta1ClientTest.java | 2 +- .../v1beta1/GrafeasV1Beta1ClientTest.java | 2 +- .../v1beta1/MockContainerAnalysisV1Beta1.java | 2 +- .../MockContainerAnalysisV1Beta1Impl.java | 2 +- .../v1beta1/MockGrafeasV1Beta1.java | 2 +- .../v1beta1/MockGrafeasV1Beta1Impl.java | 2 +- .../synth.metadata | 35 ++++++---- .../dataproc/v1/ClusterControllerClient.java | 2 +- .../v1/ClusterControllerSettings.java | 2 +- .../dataproc/v1/JobControllerClient.java | 2 +- .../dataproc/v1/JobControllerSettings.java | 2 +- .../v1/WorkflowTemplateServiceClient.java | 2 +- .../v1/WorkflowTemplateServiceSettings.java | 2 +- .../cloud/dataproc/v1/package-info.java | 2 +- .../v1/stub/ClusterControllerStub.java | 2 +- .../stub/ClusterControllerStubSettings.java | 2 +- .../GrpcClusterControllerCallableFactory.java | 2 +- .../v1/stub/GrpcClusterControllerStub.java | 2 +- .../GrpcJobControllerCallableFactory.java | 2 +- .../v1/stub/GrpcJobControllerStub.java | 2 +- ...orkflowTemplateServiceCallableFactory.java | 2 +- .../stub/GrpcWorkflowTemplateServiceStub.java | 2 +- .../dataproc/v1/stub/JobControllerStub.java | 2 +- .../v1/stub/JobControllerStubSettings.java | 2 +- .../v1/stub/WorkflowTemplateServiceStub.java | 2 +- .../WorkflowTemplateServiceStubSettings.java | 2 +- .../v1beta2/ClusterControllerClient.java | 2 +- .../v1beta2/ClusterControllerSettings.java | 2 +- .../dataproc/v1beta2/JobControllerClient.java | 2 +- .../v1beta2/JobControllerSettings.java | 2 +- .../WorkflowTemplateServiceClient.java | 2 +- .../WorkflowTemplateServiceSettings.java | 2 +- .../cloud/dataproc/v1beta2/package-info.java | 2 +- .../v1beta2/stub/ClusterControllerStub.java | 2 +- .../stub/ClusterControllerStubSettings.java | 2 +- .../GrpcClusterControllerCallableFactory.java | 2 +- .../stub/GrpcClusterControllerStub.java | 2 +- .../GrpcJobControllerCallableFactory.java | 2 +- .../v1beta2/stub/GrpcJobControllerStub.java | 2 +- ...orkflowTemplateServiceCallableFactory.java | 2 +- .../stub/GrpcWorkflowTemplateServiceStub.java | 2 +- .../v1beta2/stub/JobControllerStub.java | 2 +- .../stub/JobControllerStubSettings.java | 2 +- .../stub/WorkflowTemplateServiceStub.java | 2 +- .../WorkflowTemplateServiceStubSettings.java | 2 +- .../v1/ClusterControllerClientTest.java | 2 +- .../v1/ClusterControllerSmokeTest.java | 2 +- .../dataproc/v1/JobControllerClientTest.java | 2 +- .../dataproc/v1/MockClusterController.java | 2 +- .../v1/MockClusterControllerImpl.java | 2 +- .../cloud/dataproc/v1/MockJobController.java | 2 +- .../dataproc/v1/MockJobControllerImpl.java | 2 +- .../v1/MockWorkflowTemplateService.java | 2 +- .../v1/MockWorkflowTemplateServiceImpl.java | 2 +- .../v1/WorkflowTemplateServiceClientTest.java | 2 +- .../v1beta2/ClusterControllerClientTest.java | 2 +- .../v1beta2/ClusterControllerSmokeTest.java | 2 +- .../v1beta2/JobControllerClientTest.java | 2 +- .../v1beta2/MockClusterController.java | 2 +- .../v1beta2/MockClusterControllerImpl.java | 2 +- .../dataproc/v1beta2/MockJobController.java | 2 +- .../v1beta2/MockJobControllerImpl.java | 2 +- .../v1beta2/MockWorkflowTemplateService.java | 2 +- .../MockWorkflowTemplateServiceImpl.java | 2 +- .../WorkflowTemplateServiceClientTest.java | 2 +- .../google-cloud-dataproc/synth.metadata | 10 +-- .../cloud/dialogflow/v2/AgentsClient.java | 2 +- .../cloud/dialogflow/v2/AgentsSettings.java | 2 +- .../cloud/dialogflow/v2/ContextsClient.java | 2 +- .../cloud/dialogflow/v2/ContextsSettings.java | 2 +- .../dialogflow/v2/EntityTypesClient.java | 2 +- .../dialogflow/v2/EntityTypesSettings.java | 2 +- .../cloud/dialogflow/v2/IntentsClient.java | 2 +- .../cloud/dialogflow/v2/IntentsSettings.java | 2 +- .../v2/SessionEntityTypesClient.java | 2 +- .../v2/SessionEntityTypesSettings.java | 2 +- .../cloud/dialogflow/v2/SessionsClient.java | 2 +- .../cloud/dialogflow/v2/SessionsSettings.java | 2 +- .../cloud/dialogflow/v2/package-info.java | 2 +- .../cloud/dialogflow/v2/stub/AgentsStub.java | 2 +- .../v2/stub/AgentsStubSettings.java | 2 +- .../dialogflow/v2/stub/ContextsStub.java | 2 +- .../v2/stub/ContextsStubSettings.java | 2 +- .../dialogflow/v2/stub/EntityTypesStub.java | 2 +- .../v2/stub/EntityTypesStubSettings.java | 2 +- .../v2/stub/GrpcAgentsCallableFactory.java | 2 +- .../dialogflow/v2/stub/GrpcAgentsStub.java | 2 +- .../v2/stub/GrpcContextsCallableFactory.java | 2 +- .../dialogflow/v2/stub/GrpcContextsStub.java | 2 +- .../stub/GrpcEntityTypesCallableFactory.java | 2 +- .../v2/stub/GrpcEntityTypesStub.java | 2 +- .../v2/stub/GrpcIntentsCallableFactory.java | 2 +- .../dialogflow/v2/stub/GrpcIntentsStub.java | 2 +- ...GrpcSessionEntityTypesCallableFactory.java | 2 +- .../v2/stub/GrpcSessionEntityTypesStub.java | 2 +- .../v2/stub/GrpcSessionsCallableFactory.java | 2 +- .../dialogflow/v2/stub/GrpcSessionsStub.java | 2 +- .../cloud/dialogflow/v2/stub/IntentsStub.java | 2 +- .../v2/stub/IntentsStubSettings.java | 2 +- .../v2/stub/SessionEntityTypesStub.java | 2 +- .../stub/SessionEntityTypesStubSettings.java | 2 +- .../dialogflow/v2/stub/SessionsStub.java | 2 +- .../v2/stub/SessionsStubSettings.java | 2 +- .../dialogflow/v2beta1/AgentsClient.java | 2 +- .../dialogflow/v2beta1/AgentsSettings.java | 2 +- .../dialogflow/v2beta1/ContextsClient.java | 2 +- .../dialogflow/v2beta1/ContextsSettings.java | 2 +- .../dialogflow/v2beta1/DocumentsClient.java | 2 +- .../dialogflow/v2beta1/DocumentsSettings.java | 2 +- .../dialogflow/v2beta1/EntityTypesClient.java | 2 +- .../v2beta1/EntityTypesSettings.java | 2 +- .../dialogflow/v2beta1/IntentsClient.java | 2 +- .../dialogflow/v2beta1/IntentsSettings.java | 2 +- .../v2beta1/KnowledgeBasesClient.java | 2 +- .../v2beta1/KnowledgeBasesSettings.java | 2 +- .../v2beta1/SessionEntityTypesClient.java | 2 +- .../v2beta1/SessionEntityTypesSettings.java | 2 +- .../dialogflow/v2beta1/SessionsClient.java | 2 +- .../dialogflow/v2beta1/SessionsSettings.java | 2 +- .../dialogflow/v2beta1/package-info.java | 2 +- .../dialogflow/v2beta1/stub/AgentsStub.java | 2 +- .../v2beta1/stub/AgentsStubSettings.java | 2 +- .../dialogflow/v2beta1/stub/ContextsStub.java | 2 +- .../v2beta1/stub/ContextsStubSettings.java | 2 +- .../v2beta1/stub/DocumentsStub.java | 2 +- .../v2beta1/stub/DocumentsStubSettings.java | 2 +- .../v2beta1/stub/EntityTypesStub.java | 2 +- .../v2beta1/stub/EntityTypesStubSettings.java | 2 +- .../stub/GrpcAgentsCallableFactory.java | 2 +- .../v2beta1/stub/GrpcAgentsStub.java | 2 +- .../stub/GrpcContextsCallableFactory.java | 2 +- .../v2beta1/stub/GrpcContextsStub.java | 2 +- .../stub/GrpcDocumentsCallableFactory.java | 2 +- .../v2beta1/stub/GrpcDocumentsStub.java | 2 +- .../stub/GrpcEntityTypesCallableFactory.java | 2 +- .../v2beta1/stub/GrpcEntityTypesStub.java | 2 +- .../stub/GrpcIntentsCallableFactory.java | 2 +- .../v2beta1/stub/GrpcIntentsStub.java | 2 +- .../GrpcKnowledgeBasesCallableFactory.java | 2 +- .../v2beta1/stub/GrpcKnowledgeBasesStub.java | 2 +- ...GrpcSessionEntityTypesCallableFactory.java | 2 +- .../stub/GrpcSessionEntityTypesStub.java | 2 +- .../stub/GrpcSessionsCallableFactory.java | 2 +- .../v2beta1/stub/GrpcSessionsStub.java | 2 +- .../dialogflow/v2beta1/stub/IntentsStub.java | 2 +- .../v2beta1/stub/IntentsStubSettings.java | 2 +- .../v2beta1/stub/KnowledgeBasesStub.java | 2 +- .../stub/KnowledgeBasesStubSettings.java | 2 +- .../v2beta1/stub/SessionEntityTypesStub.java | 2 +- .../stub/SessionEntityTypesStubSettings.java | 2 +- .../dialogflow/v2beta1/stub/SessionsStub.java | 2 +- .../v2beta1/stub/SessionsStubSettings.java | 2 +- .../cloud/dialogflow/v2/AgentsClientTest.java | 2 +- .../dialogflow/v2/ContextsClientTest.java | 2 +- .../dialogflow/v2/EntityTypesClientTest.java | 2 +- .../dialogflow/v2/IntentsClientTest.java | 2 +- .../cloud/dialogflow/v2/MockAgents.java | 2 +- .../cloud/dialogflow/v2/MockAgentsImpl.java | 2 +- .../cloud/dialogflow/v2/MockContexts.java | 2 +- .../cloud/dialogflow/v2/MockContextsImpl.java | 2 +- .../cloud/dialogflow/v2/MockEntityTypes.java | 2 +- .../dialogflow/v2/MockEntityTypesImpl.java | 2 +- .../cloud/dialogflow/v2/MockIntents.java | 2 +- .../cloud/dialogflow/v2/MockIntentsImpl.java | 2 +- .../dialogflow/v2/MockSessionEntityTypes.java | 2 +- .../v2/MockSessionEntityTypesImpl.java | 2 +- .../cloud/dialogflow/v2/MockSessions.java | 2 +- .../cloud/dialogflow/v2/MockSessionsImpl.java | 2 +- .../v2/SessionEntityTypesClientTest.java | 2 +- .../dialogflow/v2/SessionsClientTest.java | 2 +- .../dialogflow/v2beta1/AgentsClientTest.java | 2 +- .../v2beta1/ContextsClientTest.java | 2 +- .../v2beta1/DocumentsClientTest.java | 2 +- .../v2beta1/EntityTypesClientTest.java | 2 +- .../dialogflow/v2beta1/IntentsClientTest.java | 2 +- .../v2beta1/KnowledgeBasesClientTest.java | 2 +- .../cloud/dialogflow/v2beta1/MockAgents.java | 2 +- .../dialogflow/v2beta1/MockAgentsImpl.java | 2 +- .../dialogflow/v2beta1/MockContexts.java | 2 +- .../dialogflow/v2beta1/MockContextsImpl.java | 2 +- .../dialogflow/v2beta1/MockDocuments.java | 2 +- .../dialogflow/v2beta1/MockDocumentsImpl.java | 2 +- .../dialogflow/v2beta1/MockEntityTypes.java | 2 +- .../v2beta1/MockEntityTypesImpl.java | 2 +- .../cloud/dialogflow/v2beta1/MockIntents.java | 2 +- .../dialogflow/v2beta1/MockIntentsImpl.java | 2 +- .../v2beta1/MockKnowledgeBases.java | 2 +- .../v2beta1/MockKnowledgeBasesImpl.java | 2 +- .../v2beta1/MockSessionEntityTypes.java | 2 +- .../v2beta1/MockSessionEntityTypesImpl.java | 2 +- .../dialogflow/v2beta1/MockSessions.java | 2 +- .../dialogflow/v2beta1/MockSessionsImpl.java | 2 +- .../v2beta1/SessionEntityTypesClientTest.java | 2 +- .../v2beta1/SessionsClientTest.java | 2 +- .../google-cloud-dialogflow/synth.metadata | 41 +++++++---- .../google/cloud/dlp/v2/DlpServiceClient.java | 2 +- .../cloud/dlp/v2/DlpServiceSettings.java | 2 +- .../com/google/cloud/dlp/v2/package-info.java | 2 +- .../cloud/dlp/v2/stub/DlpServiceStub.java | 2 +- .../dlp/v2/stub/DlpServiceStubSettings.java | 2 +- .../stub/GrpcDlpServiceCallableFactory.java | 2 +- .../cloud/dlp/v2/stub/GrpcDlpServiceStub.java | 2 +- .../cloud/dlp/v2/DlpServiceClientTest.java | 2 +- .../google/cloud/dlp/v2/MockDlpService.java | 2 +- .../cloud/dlp/v2/MockDlpServiceImpl.java | 2 +- .../google-cloud-dlp/synth.metadata | 35 ++++++---- .../v1beta1/ErrorGroupServiceClient.java | 2 +- .../v1beta1/ErrorGroupServiceSettings.java | 2 +- .../v1beta1/ErrorStatsServiceClient.java | 2 +- .../v1beta1/ErrorStatsServiceSettings.java | 2 +- .../v1beta1/ReportErrorsServiceClient.java | 2 +- .../v1beta1/ReportErrorsServiceSettings.java | 2 +- .../errorreporting/v1beta1/package-info.java | 2 +- .../v1beta1/stub/ErrorGroupServiceStub.java | 2 +- .../stub/ErrorGroupServiceStubSettings.java | 2 +- .../v1beta1/stub/ErrorStatsServiceStub.java | 2 +- .../stub/ErrorStatsServiceStubSettings.java | 2 +- .../GrpcErrorGroupServiceCallableFactory.java | 2 +- .../stub/GrpcErrorGroupServiceStub.java | 2 +- .../GrpcErrorStatsServiceCallableFactory.java | 2 +- .../stub/GrpcErrorStatsServiceStub.java | 2 +- ...rpcReportErrorsServiceCallableFactory.java | 2 +- .../stub/GrpcReportErrorsServiceStub.java | 2 +- .../v1beta1/stub/ReportErrorsServiceStub.java | 2 +- .../stub/ReportErrorsServiceStubSettings.java | 2 +- .../v1beta1/ErrorGroupServiceClientTest.java | 2 +- .../v1beta1/ErrorStatsServiceClientTest.java | 2 +- .../v1beta1/MockErrorGroupService.java | 2 +- .../v1beta1/MockErrorGroupServiceImpl.java | 2 +- .../v1beta1/MockErrorStatsService.java | 2 +- .../v1beta1/MockErrorStatsServiceImpl.java | 2 +- .../v1beta1/MockReportErrorsService.java | 2 +- .../v1beta1/MockReportErrorsServiceImpl.java | 2 +- .../ReportErrorsServiceClientTest.java | 2 +- .../v1beta1/ReportErrorsServiceSmokeTest.java | 2 +- .../synth.metadata | 35 ++++++---- .../credentials/v1/IamCredentialsClient.java | 2 +- .../v1/IamCredentialsSettings.java | 2 +- .../iam/credentials/v1/package-info.java | 2 +- .../GrpcIamCredentialsCallableFactory.java | 2 +- .../v1/stub/GrpcIamCredentialsStub.java | 2 +- .../v1/stub/IamCredentialsStub.java | 2 +- .../v1/stub/IamCredentialsStubSettings.java | 2 +- .../v1/IamCredentialsClientTest.java | 2 +- .../credentials/v1/MockIAMCredentials.java | 2 +- .../v1/MockIAMCredentialsImpl.java | 2 +- .../synth.metadata | 10 +-- .../cloud/iot/v1/DeviceManagerClient.java | 2 +- .../cloud/iot/v1/DeviceManagerSettings.java | 2 +- .../com/google/cloud/iot/v1/package-info.java | 2 +- .../cloud/iot/v1/stub/DeviceManagerStub.java | 2 +- .../v1/stub/DeviceManagerStubSettings.java | 2 +- .../GrpcDeviceManagerCallableFactory.java | 2 +- .../iot/v1/stub/GrpcDeviceManagerStub.java | 2 +- .../cloud/iot/v1/DeviceManagerClientTest.java | 2 +- .../cloud/iot/v1/DeviceManagerSmokeTest.java | 2 +- .../cloud/iot/v1/MockDeviceManager.java | 2 +- .../cloud/iot/v1/MockDeviceManagerImpl.java | 2 +- .../google-cloud-iot/synth.metadata | 35 ++++++---- .../kms/v1/KeyManagementServiceClient.java | 2 +- .../kms/v1/KeyManagementServiceSettings.java | 2 +- .../com/google/cloud/kms/v1/package-info.java | 2 +- ...pcKeyManagementServiceCallableFactory.java | 2 +- .../v1/stub/GrpcKeyManagementServiceStub.java | 2 +- .../kms/v1/stub/KeyManagementServiceStub.java | 2 +- .../KeyManagementServiceStubSettings.java | 2 +- .../v1/KeyManagementServiceClientTest.java | 2 +- .../google/cloud/kms/v1/MockIAMPolicy.java | 2 +- .../cloud/kms/v1/MockIAMPolicyImpl.java | 2 +- .../kms/v1/MockKeyManagementService.java | 2 +- .../kms/v1/MockKeyManagementServiceImpl.java | 2 +- .../google-cloud-kms/synth.metadata | 35 ++++++---- .../language/v1/LanguageServiceClient.java | 2 +- .../language/v1/LanguageServiceSettings.java | 2 +- .../cloud/language/v1/package-info.java | 2 +- .../GrpcLanguageServiceCallableFactory.java | 2 +- .../v1/stub/GrpcLanguageServiceStub.java | 2 +- .../language/v1/stub/LanguageServiceStub.java | 2 +- .../v1/stub/LanguageServiceStubSettings.java | 2 +- .../v1beta2/LanguageServiceClient.java | 2 +- .../v1beta2/LanguageServiceSettings.java | 2 +- .../cloud/language/v1beta2/package-info.java | 2 +- .../GrpcLanguageServiceCallableFactory.java | 2 +- .../v1beta2/stub/GrpcLanguageServiceStub.java | 2 +- .../v1beta2/stub/LanguageServiceStub.java | 2 +- .../stub/LanguageServiceStubSettings.java | 2 +- .../v1/LanguageServiceClientTest.java | 2 +- .../language/v1/LanguageServiceSmokeTest.java | 2 +- .../language/v1/MockLanguageService.java | 2 +- .../language/v1/MockLanguageServiceImpl.java | 2 +- .../v1beta2/LanguageServiceClientTest.java | 2 +- .../v1beta2/LanguageServiceSmokeTest.java | 2 +- .../language/v1beta2/MockLanguageService.java | 2 +- .../v1beta2/MockLanguageServiceImpl.java | 2 +- .../google-cloud-language/synth.metadata | 41 +++++++---- .../google/cloud/logging/v2/ConfigClient.java | 2 +- .../cloud/logging/v2/ConfigSettings.java | 2 +- .../cloud/logging/v2/LoggingClient.java | 2 +- .../cloud/logging/v2/LoggingSettings.java | 2 +- .../cloud/logging/v2/MetricsClient.java | 2 +- .../cloud/logging/v2/MetricsSettings.java | 2 +- .../google/cloud/logging/v2/package-info.java | 2 +- .../logging/v2/stub/ConfigServiceV2Stub.java | 2 +- .../v2/stub/ConfigServiceV2StubSettings.java | 2 +- .../GrpcConfigServiceV2CallableFactory.java | 2 +- .../v2/stub/GrpcConfigServiceV2Stub.java | 2 +- .../GrpcLoggingServiceV2CallableFactory.java | 2 +- .../v2/stub/GrpcLoggingServiceV2Stub.java | 2 +- .../GrpcMetricsServiceV2CallableFactory.java | 2 +- .../v2/stub/GrpcMetricsServiceV2Stub.java | 2 +- .../logging/v2/stub/LoggingServiceV2Stub.java | 2 +- .../v2/stub/LoggingServiceV2StubSettings.java | 4 +- .../logging/v2/stub/MetricsServiceV2Stub.java | 2 +- .../v2/stub/MetricsServiceV2StubSettings.java | 2 +- .../cloud/logging/v2/ConfigClientTest.java | 2 +- .../cloud/logging/v2/LoggingClientTest.java | 2 +- .../cloud/logging/v2/MetricsClientTest.java | 2 +- .../cloud/logging/v2/MockConfigServiceV2.java | 2 +- .../logging/v2/MockConfigServiceV2Impl.java | 2 +- .../logging/v2/MockLoggingServiceV2.java | 2 +- .../logging/v2/MockLoggingServiceV2Impl.java | 2 +- .../logging/v2/MockMetricsServiceV2.java | 2 +- .../logging/v2/MockMetricsServiceV2Impl.java | 2 +- .../google-cloud-logging/synth.metadata | 35 ++++++---- .../v3/AlertPolicyServiceClient.java | 2 +- .../v3/AlertPolicyServiceSettings.java | 2 +- .../monitoring/v3/GroupServiceClient.java | 2 +- .../monitoring/v3/GroupServiceSettings.java | 2 +- .../monitoring/v3/MetricServiceClient.java | 2 +- .../monitoring/v3/MetricServiceSettings.java | 2 +- .../v3/NotificationChannelServiceClient.java | 2 +- .../NotificationChannelServiceSettings.java | 2 +- .../v3/UptimeCheckServiceClient.java | 2 +- .../v3/UptimeCheckServiceSettings.java | 2 +- .../cloud/monitoring/v3/package-info.java | 2 +- .../v3/stub/AlertPolicyServiceStub.java | 2 +- .../stub/AlertPolicyServiceStubSettings.java | 2 +- .../monitoring/v3/stub/GroupServiceStub.java | 2 +- .../v3/stub/GroupServiceStubSettings.java | 2 +- ...GrpcAlertPolicyServiceCallableFactory.java | 2 +- .../v3/stub/GrpcAlertPolicyServiceStub.java | 2 +- .../stub/GrpcGroupServiceCallableFactory.java | 2 +- .../v3/stub/GrpcGroupServiceStub.java | 2 +- .../GrpcMetricServiceCallableFactory.java | 2 +- .../v3/stub/GrpcMetricServiceStub.java | 2 +- ...ficationChannelServiceCallableFactory.java | 2 +- .../GrpcNotificationChannelServiceStub.java | 2 +- ...GrpcUptimeCheckServiceCallableFactory.java | 2 +- .../v3/stub/GrpcUptimeCheckServiceStub.java | 2 +- .../monitoring/v3/stub/MetricServiceStub.java | 2 +- .../v3/stub/MetricServiceStubSettings.java | 2 +- .../stub/NotificationChannelServiceStub.java | 2 +- ...otificationChannelServiceStubSettings.java | 2 +- .../v3/stub/UptimeCheckServiceStub.java | 2 +- .../stub/UptimeCheckServiceStubSettings.java | 2 +- .../v3/AlertPolicyServiceClientTest.java | 2 +- .../monitoring/v3/GroupServiceClientTest.java | 2 +- .../v3/MetricServiceClientTest.java | 2 +- .../monitoring/v3/MetricServiceSmokeTest.java | 2 +- .../monitoring/v3/MockAlertPolicyService.java | 2 +- .../v3/MockAlertPolicyServiceImpl.java | 2 +- .../cloud/monitoring/v3/MockGroupService.java | 2 +- .../monitoring/v3/MockGroupServiceImpl.java | 2 +- .../monitoring/v3/MockMetricService.java | 2 +- .../monitoring/v3/MockMetricServiceImpl.java | 2 +- .../v3/MockNotificationChannelService.java | 2 +- .../MockNotificationChannelServiceImpl.java | 2 +- .../monitoring/v3/MockUptimeCheckService.java | 2 +- .../v3/MockUptimeCheckServiceImpl.java | 2 +- .../NotificationChannelServiceClientTest.java | 2 +- .../v3/UptimeCheckServiceClientTest.java | 2 +- .../google-cloud-monitoring/synth.metadata | 10 +-- .../oslogin/v1/OsLoginServiceClient.java | 2 +- .../oslogin/v1/OsLoginServiceSettings.java | 2 +- .../google/cloud/oslogin/v1/package-info.java | 2 +- .../GrpcOsLoginServiceCallableFactory.java | 2 +- .../v1/stub/GrpcOsLoginServiceStub.java | 2 +- .../oslogin/v1/stub/OsLoginServiceStub.java | 2 +- .../v1/stub/OsLoginServiceStubSettings.java | 2 +- .../cloud/oslogin/v1/MockOsLoginService.java | 2 +- .../oslogin/v1/MockOsLoginServiceImpl.java | 2 +- .../oslogin/v1/OsLoginServiceClientTest.java | 2 +- .../google-cloud-os-login/synth.metadata | 35 ++++++---- .../pubsub/v1/SubscriptionAdminClient.java | 2 +- .../pubsub/v1/SubscriptionAdminSettings.java | 2 +- .../cloud/pubsub/v1/TopicAdminClient.java | 2 +- .../cloud/pubsub/v1/TopicAdminSettings.java | 2 +- .../google/cloud/pubsub/v1/package-info.java | 2 +- .../v1/stub/GrpcPublisherCallableFactory.java | 2 +- .../pubsub/v1/stub/GrpcPublisherStub.java | 2 +- .../stub/GrpcSubscriberCallableFactory.java | 2 +- .../pubsub/v1/stub/GrpcSubscriberStub.java | 2 +- .../cloud/pubsub/v1/stub/PublisherStub.java | 2 +- .../pubsub/v1/stub/PublisherStubSettings.java | 2 +- .../cloud/pubsub/v1/stub/SubscriberStub.java | 2 +- .../v1/stub/SubscriberStubSettings.java | 2 +- .../google/cloud/pubsub/v1/MockIAMPolicy.java | 2 +- .../cloud/pubsub/v1/MockIAMPolicyImpl.java | 2 +- .../google/cloud/pubsub/v1/MockPublisher.java | 2 +- .../cloud/pubsub/v1/MockPublisherImpl.java | 2 +- .../cloud/pubsub/v1/MockSubscriber.java | 2 +- .../cloud/pubsub/v1/MockSubscriberImpl.java | 2 +- .../v1/SubscriptionAdminClientTest.java | 2 +- .../cloud/pubsub/v1/TopicAdminClientTest.java | 2 +- .../cloud/pubsub/v1/TopicAdminSmokeTest.java | 2 +- .../google-cloud-pubsub/synth.metadata | 10 +-- .../cloud/redis/v1/CloudRedisClient.java | 2 +- .../cloud/redis/v1/CloudRedisSettings.java | 2 +- .../google/cloud/redis/v1/package-info.java | 2 +- .../cloud/redis/v1/stub/CloudRedisStub.java | 2 +- .../redis/v1/stub/CloudRedisStubSettings.java | 2 +- .../stub/GrpcCloudRedisCallableFactory.java | 2 +- .../redis/v1/stub/GrpcCloudRedisStub.java | 2 +- .../cloud/redis/v1beta1/CloudRedisClient.java | 2 +- .../redis/v1beta1/CloudRedisSettings.java | 2 +- .../cloud/redis/v1beta1/package-info.java | 2 +- .../redis/v1beta1/stub/CloudRedisStub.java | 2 +- .../v1beta1/stub/CloudRedisStubSettings.java | 2 +- .../stub/GrpcCloudRedisCallableFactory.java | 2 +- .../v1beta1/stub/GrpcCloudRedisStub.java | 2 +- .../cloud/redis/v1/CloudRedisClientTest.java | 2 +- .../google/cloud/redis/v1/MockCloudRedis.java | 2 +- .../cloud/redis/v1/MockCloudRedisImpl.java | 2 +- .../redis/v1beta1/CloudRedisClientTest.java | 2 +- .../cloud/redis/v1beta1/MockCloudRedis.java | 2 +- .../redis/v1beta1/MockCloudRedisImpl.java | 2 +- .../google-cloud-redis/synth.metadata | 41 +++++++---- .../v1beta1/SecurityCenterClient.java | 2 +- .../v1beta1/SecurityCenterSettings.java | 2 +- .../securitycenter/v1beta1/package-info.java | 2 +- .../GrpcSecurityCenterCallableFactory.java | 2 +- .../v1beta1/stub/GrpcSecurityCenterStub.java | 2 +- .../v1beta1/stub/SecurityCenterStub.java | 2 +- .../stub/SecurityCenterStubSettings.java | 2 +- .../v1beta1/MockSecurityCenter.java | 2 +- .../v1beta1/MockSecurityCenterImpl.java | 2 +- .../v1beta1/SecurityCenterClientTest.java | 2 +- .../synth.metadata | 10 +-- .../google/cloud/speech/v1/SpeechClient.java | 2 +- .../cloud/speech/v1/SpeechSettings.java | 2 +- .../google/cloud/speech/v1/package-info.java | 2 +- .../v1/stub/GrpcSpeechCallableFactory.java | 2 +- .../cloud/speech/v1/stub/GrpcSpeechStub.java | 2 +- .../cloud/speech/v1/stub/SpeechStub.java | 2 +- .../speech/v1/stub/SpeechStubSettings.java | 2 +- .../cloud/speech/v1p1beta1/SpeechClient.java | 2 +- .../speech/v1p1beta1/SpeechSettings.java | 2 +- .../cloud/speech/v1p1beta1/package-info.java | 2 +- .../stub/GrpcSpeechCallableFactory.java | 2 +- .../speech/v1p1beta1/stub/GrpcSpeechStub.java | 2 +- .../speech/v1p1beta1/stub/SpeechStub.java | 2 +- .../v1p1beta1/stub/SpeechStubSettings.java | 2 +- .../google/cloud/speech/v1/MockSpeech.java | 2 +- .../cloud/speech/v1/MockSpeechImpl.java | 2 +- .../cloud/speech/v1/SpeechClientTest.java | 2 +- .../cloud/speech/v1/SpeechSmokeTest.java | 2 +- .../cloud/speech/v1p1beta1/MockSpeech.java | 2 +- .../speech/v1p1beta1/MockSpeechImpl.java | 2 +- .../speech/v1p1beta1/SpeechClientTest.java | 2 +- .../speech/v1p1beta1/SpeechSmokeTest.java | 2 +- .../google-cloud-speech/synth.metadata | 10 +-- .../cloud/tasks/v2beta2/CloudTasksClient.java | 2 +- .../tasks/v2beta2/CloudTasksSettings.java | 2 +- .../cloud/tasks/v2beta2/package-info.java | 2 +- .../tasks/v2beta2/stub/CloudTasksStub.java | 2 +- .../v2beta2/stub/CloudTasksStubSettings.java | 2 +- .../stub/GrpcCloudTasksCallableFactory.java | 2 +- .../v2beta2/stub/GrpcCloudTasksStub.java | 2 +- .../cloud/tasks/v2beta3/CloudTasksClient.java | 2 +- .../tasks/v2beta3/CloudTasksSettings.java | 2 +- .../cloud/tasks/v2beta3/package-info.java | 2 +- .../tasks/v2beta3/stub/CloudTasksStub.java | 2 +- .../v2beta3/stub/CloudTasksStubSettings.java | 2 +- .../stub/GrpcCloudTasksCallableFactory.java | 2 +- .../v2beta3/stub/GrpcCloudTasksStub.java | 2 +- .../tasks/v2beta2/CloudTasksClientTest.java | 2 +- .../cloud/tasks/v2beta2/MockCloudTasks.java | 2 +- .../tasks/v2beta2/MockCloudTasksImpl.java | 2 +- .../tasks/v2beta3/CloudTasksClientTest.java | 2 +- .../cloud/tasks/v2beta3/MockCloudTasks.java | 2 +- .../tasks/v2beta3/MockCloudTasksImpl.java | 2 +- .../google-cloud-tasks/synth.metadata | 41 +++++++---- .../cloud/trace/v1/TraceServiceClient.java | 2 +- .../cloud/trace/v1/TraceServiceSettings.java | 2 +- .../google/cloud/trace/v1/package-info.java | 2 +- .../stub/GrpcTraceServiceCallableFactory.java | 2 +- .../trace/v1/stub/GrpcTraceServiceStub.java | 2 +- .../cloud/trace/v1/stub/TraceServiceStub.java | 2 +- .../v1/stub/TraceServiceStubSettings.java | 2 +- .../cloud/trace/v2/TraceServiceClient.java | 2 +- .../cloud/trace/v2/TraceServiceSettings.java | 2 +- .../google/cloud/trace/v2/package-info.java | 2 +- .../stub/GrpcTraceServiceCallableFactory.java | 2 +- .../trace/v2/stub/GrpcTraceServiceStub.java | 2 +- .../cloud/trace/v2/stub/TraceServiceStub.java | 2 +- .../v2/stub/TraceServiceStubSettings.java | 2 +- .../cloud/trace/v1/MockTraceService.java | 2 +- .../cloud/trace/v1/MockTraceServiceImpl.java | 2 +- .../trace/v1/TraceServiceClientTest.java | 2 +- .../cloud/trace/v1/TraceServiceSmokeTest.java | 2 +- .../cloud/trace/v2/MockTraceService.java | 2 +- .../cloud/trace/v2/MockTraceServiceImpl.java | 2 +- .../trace/v2/TraceServiceClientTest.java | 2 +- .../cloud/trace/v2/TraceServiceSmokeTest.java | 2 +- .../google-cloud-trace/synth.metadata | 41 +++++++---- .../v1/VideoIntelligenceServiceClient.java | 2 +- .../v1/VideoIntelligenceServiceSettings.java | 2 +- .../videointelligence/v1/package-info.java | 2 +- ...deoIntelligenceServiceCallableFactory.java | 2 +- .../GrpcVideoIntelligenceServiceStub.java | 2 +- .../v1/stub/VideoIntelligenceServiceStub.java | 2 +- .../VideoIntelligenceServiceStubSettings.java | 2 +- .../VideoIntelligenceServiceClient.java | 2 +- .../VideoIntelligenceServiceSettings.java | 2 +- .../v1beta1/package-info.java | 2 +- ...deoIntelligenceServiceCallableFactory.java | 2 +- .../GrpcVideoIntelligenceServiceStub.java | 2 +- .../stub/VideoIntelligenceServiceStub.java | 2 +- .../VideoIntelligenceServiceStubSettings.java | 2 +- .../VideoIntelligenceServiceClient.java | 2 +- .../VideoIntelligenceServiceSettings.java | 2 +- .../v1beta2/package-info.java | 2 +- ...deoIntelligenceServiceCallableFactory.java | 2 +- .../GrpcVideoIntelligenceServiceStub.java | 2 +- .../stub/VideoIntelligenceServiceStub.java | 2 +- .../VideoIntelligenceServiceStubSettings.java | 2 +- .../VideoIntelligenceServiceClient.java | 2 +- .../VideoIntelligenceServiceSettings.java | 2 +- .../v1p1beta1/package-info.java | 2 +- ...deoIntelligenceServiceCallableFactory.java | 2 +- .../GrpcVideoIntelligenceServiceStub.java | 2 +- .../stub/VideoIntelligenceServiceStub.java | 2 +- .../VideoIntelligenceServiceStubSettings.java | 2 +- .../VideoIntelligenceServiceClient.java | 2 +- .../VideoIntelligenceServiceSettings.java | 2 +- .../v1p2beta1/package-info.java | 2 +- ...deoIntelligenceServiceCallableFactory.java | 2 +- .../GrpcVideoIntelligenceServiceStub.java | 2 +- .../stub/VideoIntelligenceServiceStub.java | 2 +- .../VideoIntelligenceServiceStubSettings.java | 2 +- .../v1/MockVideoIntelligenceService.java | 2 +- .../v1/MockVideoIntelligenceServiceImpl.java | 2 +- .../VideoIntelligenceServiceClientTest.java | 2 +- .../v1/VideoIntelligenceServiceSmokeTest.java | 2 +- .../v1beta1/MockVideoIntelligenceService.java | 2 +- .../MockVideoIntelligenceServiceImpl.java | 2 +- .../VideoIntelligenceServiceClientTest.java | 2 +- .../v1beta2/MockVideoIntelligenceService.java | 2 +- .../MockVideoIntelligenceServiceImpl.java | 2 +- .../VideoIntelligenceServiceClientTest.java | 2 +- .../MockVideoIntelligenceService.java | 2 +- .../MockVideoIntelligenceServiceImpl.java | 2 +- .../VideoIntelligenceServiceClientTest.java | 2 +- .../VideoIntelligenceServiceSmokeTest.java | 2 +- .../MockVideoIntelligenceService.java | 2 +- .../MockVideoIntelligenceServiceImpl.java | 2 +- .../VideoIntelligenceServiceClientTest.java | 2 +- .../VideoIntelligenceServiceSmokeTest.java | 2 +- .../synth.metadata | 69 +++++++++++++++---- .../v1alpha/WebSecurityScannerClient.java | 2 +- .../v1alpha/WebSecurityScannerSettings.java | 2 +- .../v1alpha/package-info.java | 2 +- ...GrpcWebSecurityScannerCallableFactory.java | 2 +- .../stub/GrpcWebSecurityScannerStub.java | 2 +- .../v1alpha/stub/WebSecurityScannerStub.java | 2 +- .../stub/WebSecurityScannerStubSettings.java | 2 +- .../v1alpha/MockWebSecurityScanner.java | 2 +- .../v1alpha/MockWebSecurityScannerImpl.java | 2 +- .../v1alpha/WebSecurityScannerClientTest.java | 2 +- .../synth.metadata | 35 ++++++---- 679 files changed, 1116 insertions(+), 941 deletions(-) diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java index 94d9efa8d551..c5bf8602a493 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceSettings.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceSettings.java index 6f14f233dcf7..16ab8fbf27e0 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceSettings.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/package-info.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/package-info.java index 702ff114f979..3c335f24c5e2 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStub.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStub.java index 4a89a94337ad..29808398bb5a 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStub.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStubSettings.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStubSettings.java index 72cdb5736e06..2d8ef9f95a53 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceCallableFactory.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceCallableFactory.java index 5ff3aa92e426..1d044f52f365 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceStub.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceStub.java index e459d1062248..1fa7a30c55e8 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceStub.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/AssetServiceClientTest.java b/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/AssetServiceClientTest.java index 0b44b0f28d1a..5d48e4bb7998 100644 --- a/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/AssetServiceClientTest.java +++ b/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/AssetServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetService.java b/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetService.java index 40378803e631..58a4e1a37c4b 100644 --- a/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetService.java +++ b/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetServiceImpl.java b/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetServiceImpl.java index 0e8d5a260f63..5d16139a86b7 100644 --- a/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetServiceImpl.java +++ b/google-cloud-clients/google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-asset/synth.metadata b/google-cloud-clients/google-cloud-asset/synth.metadata index 2bd4f07a69a5..991df3e55add 100644 --- a/google-cloud-clients/google-cloud-asset/synth.metadata +++ b/google-cloud-clients/google-cloud-asset/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:33:36.590398Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "asset", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/asset/artman_cloudasset_v1beta1.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java index 9238ab225bc9..3ba4d60974fb 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlSettings.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlSettings.java index 5e2457138e92..07bb3dc51dee 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlSettings.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java index 4acf550c9d4f..f4ab8caa8c36 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceSettings.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceSettings.java index 04484e7a32d0..156026f33cfc 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceSettings.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java index 78c349836a5f..72e48b5ae17a 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStub.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStub.java index 4cb2ca1a4388..edf6b6562c2d 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStub.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java index eb4c50c9a3d4..22d8d6b97a86 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlCallableFactory.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlCallableFactory.java index 4fed307ca97a..dc89d99200a3 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlCallableFactory.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlStub.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlStub.java index 6ba3f8699059..648c8be7ab2b 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlStub.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcAutoMlStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceCallableFactory.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceCallableFactory.java index 2805b1d32e8e..70d3744ed0e0 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceStub.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceStub.java index 1db990c8b656..3cf1c157199e 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceStub.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/GrpcPredictionServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStub.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStub.java index 01f7cf357b92..555376df9c45 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStub.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java index bc8cbbb07a79..aeda92c09d14 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java index b6768a33360e..68acdc4cd05d 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMl.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMl.java index 2e5d8289d391..054a5903ec18 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMl.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMlImpl.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMlImpl.java index b4c4bacb3eaf..599561502780 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMlImpl.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockAutoMlImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionService.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionService.java index 502be6c843a8..cd080009f545 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionService.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionServiceImpl.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionServiceImpl.java index 91dc5e89cb96..9110ce63d3ae 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionServiceImpl.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/MockPredictionServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java index 4dec684819a1..8bf0eb767503 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-automl/synth.metadata b/google-cloud-clients/google-cloud-automl/synth.metadata index 819f6b529d0b..4330c7f2264d 100644 --- a/google-cloud-clients/google-cloud-automl/synth.metadata +++ b/google-cloud-clients/google-cloud-automl/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2018-12-11T08:33:38.889666Z", + "updateTime": "2019-01-17T08:34:13.304271Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.2", - "dockerImage": "googleapis/artman@sha256:2f6b261ee7fe1aedf238991c93a20b3820de37a343d0cacf3e3e9555c2aaf2ea" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "bbafa41feac6aff3b08a54fb4adc35afa64a503d", - "internalRef": "224940619" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java index 7faf3a69d6ea..953859658182 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java index 709e94a67841..0a407eb35027 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java index 2c94020a082e..b2333eaff502 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java index bbcb0229e9e7..0d71e0efcd7e 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java index a2c6a5023163..2c72ecd2e7dd 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/DataTransferServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java index 2b1e4c85713a..641a26b93e1c 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java index 8b987e99fe24..d17aa2596074 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java index 1ec33f4c071a..257218c3e79e 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSmokeTest.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSmokeTest.java index 15b439b9cf7b..de4a69b03b90 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java index 8e5e90ec3491..8f411af79425 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java index d0ff5666794f..be5e7f172b15 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/src/test/java/com/google/cloud/bigquery/datatransfer/v1/MockDataTransferServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata b/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata index 2bd4f07a69a5..82d48adf58bc 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:34:48.853225Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "bigquerydatatransfer", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/bigquery/datatransfer/artman_bigquerydatatransfer.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java index d6a38b4b6c4d..686c258b5574 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java index 5516289421bf..3b591b8fc2e5 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java index 7e77b32fa65b..14396c12e371 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java index 6aa6546e8583..0a73707a8123 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java index 0079499b29be..ee99b3fe07d5 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java index d7252511a0ac..fdd70282093d 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java index a676ee3e2eca..16b243dfe9a3 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java b/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java index 81156db13902..84b11657531c 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java b/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java index 3d8ca1ebc69e..33652826d3ff 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java b/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java index 313d8d086246..3b912800334e 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java +++ b/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigquerystorage/synth.metadata b/google-cloud-clients/google-cloud-bigquerystorage/synth.metadata index 2bd4f07a69a5..c3b801021fc6 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/synth.metadata +++ b/google-cloud-clients/google-cloud-bigquerystorage/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:35:19.865695Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "bigquerystorage", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/bigquery/storage/artman_bigquerystorage_v1beta1.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java index 8a6466e18bc4..bb51e111379d 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java index 8069e05658b6..0b8f4025d53a 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index 25005f1ed0aa..cab11901a522 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java index b11f94ff4c26..3ce390b3e554 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java index 64642f97400f..4b3b5360e474 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java index 181b8e2beb97..a394891f96ba 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java index 2f591436e728..07bab404ad22 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java index 0c12b84d4a5f..463589fb4e32 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java index 4ee935113e58..077edc38a09e 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java index b9ab514b29da..025403e7a437 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java index 7175c6b8428a..ced9014618d3 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java index d1c85cb02b8e..dca920650a46 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java index a5b1d69146ba..233e37e7cc80 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java index 8600b1dc811e..ea657d44ea5d 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java index a472edda6789..ae6339e1b385 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java index 8c4f8f13f305..0f3011b71eed 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java index 679fbe083aab..a2d51e0db1a1 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java index 5a2a03039fb3..d422250cb548 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java index ddcb50cd3c57..78e88a175779 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java index 807f72fa601e..2cc7f1b0b092 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java index 0e083776f040..3e0fad89198c 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java index 9673e0fd3136..c06b5be5e736 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java index ac0e99c382b0..c0deb0911485 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java index eefc936c2f74..3e0a92410c08 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java index 91c63dbbf13d..b5463e256798 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java index f7eede92d013..ab3442d67bfc 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java index 8fa5813be340..278720a9aaa8 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java index 77323bae58bd..50f786a69ce3 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java index 8fac3cefa9c1..7b0503563cfe 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-bigtable/synth.metadata b/google-cloud-clients/google-cloud-bigtable/synth.metadata index 383ad4e0b4d6..1530c0474e8d 100644 --- a/google-cloud-clients/google-cloud-bigtable/synth.metadata +++ b/google-cloud-clients/google-cloud-bigtable/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-10T08:35:06.355856Z", + "updateTime": "2019-01-17T08:36:21.634857Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.5", - "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "fb44301b2b667c56a0f2a361a5a7d3709d5f6a69", - "internalRef": "228622745" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java index 5e5f8a384280..47ff38541c9b 100644 --- a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java +++ b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java index 47617f83cb82..0da4fa482ca0 100644 --- a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java +++ b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java index d6b2d453d5e8..25dbdf0011df 100644 --- a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java +++ b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java index 729a8f8505ba..4d32c13c019f 100644 --- a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java +++ b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java index 17cfd87afd68..3c3ef7018ca3 100644 --- a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java +++ b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java index 6d80db7dfe51..83968c3c6379 100644 --- a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java +++ b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java index 2b7f406a7ddd..4323733402ca 100644 --- a/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java +++ b/google-cloud-clients/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java index abf049b9620c..cab2395881f5 100644 --- a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java +++ b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerSmokeTest.java b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerSmokeTest.java index 2abb7b4e7807..bd5819cf6bbf 100644 --- a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerSmokeTest.java +++ b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java index 89c7eca4ac6c..76f2c7b8ba4b 100644 --- a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java +++ b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java index 14b4f0097c3d..b1ad3f7b494a 100644 --- a/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java +++ b/google-cloud-clients/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-container/synth.metadata b/google-cloud-clients/google-cloud-container/synth.metadata index 4eb2777c5143..402f28863dad 100644 --- a/google-cloud-clients/google-cloud-container/synth.metadata +++ b/google-cloud-clients/google-cloud-container/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2018-12-07T08:37:06.811527Z", + "updateTime": "2019-01-17T08:38:36.958Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.2", - "dockerImage": "googleapis/artman@sha256:2f6b261ee7fe1aedf238991c93a20b3820de37a343d0cacf3e3e9555c2aaf2ea" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "200fbbe59cc7b0077ae525eb5f3d6420c0c53e61", - "internalRef": "224174014" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java index 477022e632b5..d0cd434b8acd 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Client.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Settings.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Settings.java index 1842c441f1b9..fe43407ac74e 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Settings.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1Settings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java index 4a759d3aa186..bf9ecf347ff4 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Client.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Settings.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Settings.java index 6043c220f652..0fdc25e6ed03 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Settings.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1Settings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/package-info.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/package-info.java index f80cbd0599e9..b9bcddea80d7 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1Stub.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1Stub.java index 81b7fc6c983a..f47a173954a3 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1Stub.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1StubSettings.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1StubSettings.java index 0db203d39adc..ea86d086ce6d 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1StubSettings.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/ContainerAnalysisV1Beta1StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1Stub.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1Stub.java index 9d823cf9461f..a38d92488d82 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1Stub.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1StubSettings.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1StubSettings.java index a9beb6e54c30..d9c6e8214b4e 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1StubSettings.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrafeasV1Beta1StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1CallableFactory.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1CallableFactory.java index 6ddd68b82b7a..9f6bd6041e1e 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1CallableFactory.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1Stub.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1Stub.java index fe6680cc6d4d..f5315ad444aa 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1Stub.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcContainerAnalysisV1Beta1Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1CallableFactory.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1CallableFactory.java index 6b5db4df59fe..f42094a49434 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1CallableFactory.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1Stub.java b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1Stub.java index 863d5373f476..e8bb2577d884 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1Stub.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/GrpcGrafeasV1Beta1Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1ClientTest.java b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1ClientTest.java index 8f4fda8b057a..c0954db534f8 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1ClientTest.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/ContainerAnalysisV1Beta1ClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1ClientTest.java b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1ClientTest.java index 945030ecc747..85ae0d77e340 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1ClientTest.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/GrafeasV1Beta1ClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1.java b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1.java index fdc96befcbba..d72e871e21ee 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1Impl.java b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1Impl.java index 5f1029c4f249..925224a6107c 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1Impl.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockContainerAnalysisV1Beta1Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1.java b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1.java index 1d5de9f4987c..e0ff516ee193 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1Impl.java b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1Impl.java index 2e8b4ba6bceb..c5d3158e910d 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1Impl.java +++ b/google-cloud-clients/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1beta1/MockGrafeasV1Beta1Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-containeranalysis/synth.metadata b/google-cloud-clients/google-cloud-containeranalysis/synth.metadata index 2bd4f07a69a5..ba5b76d221c1 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/synth.metadata +++ b/google-cloud-clients/google-cloud-containeranalysis/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:39:23.489812Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "containeranalysis", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/devtools/containeranalysis/artman_containeranalysis_v1beta1.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java index d5775877d2c2..6d587ca289d9 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java index da346afa0a14..e72b0d69c5cd 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java index e2c58608a232..555008e4fdb4 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java index d27a4a821c69..59a2e99584e6 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java index 1eb41bf19bf2..c46ff24c11d2 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java index b778c18283ce..ba95445366d2 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java index f457fd43a683..f45f26cb2357 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java index b50c37666113..960ac1a9cd97 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java index 5c427eafa258..64466f6c5ebb 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java index de84a8066919..f86dd7842a05 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java index 8096ad9d00c4..1f9e09bbbd11 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java index f76be64def40..6b0fcff44e65 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java index 49773186a962..8489bb244ece 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java index b791f176cc23..3bdc3eacf40b 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java index 7fc18d3c1794..5097a73e8e0f 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java index c7a692f05724..e7fc34d21274 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java index f52f26746dd4..256811497680 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java index 53824d152941..c04f9c4a0c79 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java index 7e2f255377cb..5df0f1e006a5 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java index 71edf031f41e..553b012148be 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java index 0fe0068986f8..4174f788d7ce 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java index 35e63386f67c..6899c213bf19 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java index 00264006fe17..6c07ac93899f 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java index bcd58a2308f5..7729ba206df3 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java index 03be8b8a2df1..911751bca58c 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java index b648f64c96e4..447f877a62fa 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java index 075bb9dec63c..a2b9ca80c3f4 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java index 8b55df3b079b..3d30d3b459a5 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java index 1e7e41686480..0f62339d7067 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java index 0be21db42d9b..dff0bd801337 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java index 4eb456b59532..4a87130cdc09 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java index 8fd6500f579b..51aecaf78b56 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java index 046d5b34be5e..4dfa6a6ab2bb 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java index 73257a772cd5..b6b5bea2c846 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java index 98c36f652c0d..79fb34986db9 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java index 26e66244b93e..3d801ef1478e 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java index b4b0caf43ea4..950bae5c51f9 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java index e65251993870..96cb5f977f69 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java index 0f61c681688b..49460a5ed039 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerSmokeTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerSmokeTest.java index 54f74094e0bf..d97e1458b203 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerSmokeTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java index e166329af662..487f2e1349dd 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java index ee85065e97f4..40cde7ed8996 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java index 0a2e08b90bb8..36d0a2d775eb 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java index bc35787e868e..b5423e4e4768 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java index 3e98f66f2f13..85461331f40e 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java index 1e93124704c0..837e0a03b3c5 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java index 3ea7c8f95b88..63c62c10d581 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java index 37fef7ef6bd3..f7a992e05b52 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java index 881ee90c359f..b4bcb1e867b2 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSmokeTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSmokeTest.java index 203aded85de6..83381c13b769 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSmokeTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java index 40d534d3dbb7..5711a6697247 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java index 7f2b12ed892b..b8bad4b134c3 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java index 5981c106734e..82555172ecbb 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java index 304e10d06c24..fd0cedf5cceb 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java index 4a47fc125c3d..67d2f4d6cf13 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java index 7ff76b3dedd1..85432f8bed31 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java index 672de8f28ad7..fadc76d87180 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java index 06fc340f38b7..42fdab91477e 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java +++ b/google-cloud-clients/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dataproc/synth.metadata b/google-cloud-clients/google-cloud-dataproc/synth.metadata index ac2817da5c99..1375739b900c 100644 --- a/google-cloud-clients/google-cloud-dataproc/synth.metadata +++ b/google-cloud-clients/google-cloud-dataproc/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-08T08:38:59.642663Z", + "updateTime": "2019-01-17T08:40:33.945540Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.4", - "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "c911062bb7a1c41a208957bed923b8750f3b6f28", - "internalRef": "228244749" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java index 03b7e2763f4d..a56877e47544 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java index fbcaedbdf6d8..9c8876b4def8 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java index 8b728061c240..47ebfc78f660 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java index fac994710722..b90982be82dd 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java index e94aa548b774..2ce9d286272d 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java index b4a1b64dc267..4a7ff834a3ba 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index 74d10ccdc405..dd9b3589b95a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java index 19503dbc022d..030a9e09b87a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java index 6b7b083e6da5..0e18a0a716cc 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java index bec0b1771aa1..3d166656f363 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java index 07dbc0146263..7dd361b4a807 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java index f96dbd11fdbc..36b1bca9118d 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java index 2c7bae85f0a1..cb77f2e3a9a6 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java index 2590b644249d..564db19818ac 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java index 7ab25a63b13a..d73f3a246d8f 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/AgentsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java index e2396da1a1f9..8950a965a990 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java index 8f883dae3947..ce559660bdf5 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/ContextsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java index b3e26e770a59..48b1845fb662 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java index 069ec3342d0d..93c0eb5a1c2c 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/EntityTypesStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsCallableFactory.java index cbd1f13a3cf6..30fc3fceb6ef 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java index 2370136ec49e..08f18f020b44 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcAgentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsCallableFactory.java index 3874a04d4a2d..e803063fcc47 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java index b6b4a3584e4a..2c0d8059bc36 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcContextsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesCallableFactory.java index c35183b1113f..843ed7a33541 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java index 3b4f8aaa8893..6e30a196c44f 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcEntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsCallableFactory.java index 2e19d7d2a710..a26d6f38bb9b 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java index 63e843b6d59a..af0994828c68 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcIntentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesCallableFactory.java index f9e3b485704c..ffcbbf89e2c7 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java index e86bbe1bc970..66854f5e0a9b 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionEntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsCallableFactory.java index 3c197caa7d10..7799f64d7c86 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsStub.java index 2a969efd918d..8b3513c6cb12 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/GrpcSessionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java index 3952a17ffdc5..c5a42d7f3a32 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java index 0e7ba5ca03a1..8c2218453796 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/IntentsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java index b82531b18a25..cd756e845a52 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java index 677dcba073db..4987f22a5ae5 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionEntityTypesStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStub.java index bcc2fccbb95c..2f37cf4d51be 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java index e5386f41727f..e69afceaf881 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/SessionsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java index dd9d6fc40413..39034a5ffaf8 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java index a4a34c7fc860..11c1eba89788 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java index 6dafef3b764b..d19d0a7e44bd 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java index e0b6d6ffd422..43114e26d413 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java index c8af6604e0b6..4ea829873915 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java index 472e2f145789..8b278a62916d 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java index 96e4a38166a9..180d58a04f2b 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java index 1e913fd08769..d6c0b8948dbb 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java index ff8323bc70f0..57a802c8d785 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java index 7fcfd322053b..3245338efb8f 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java index 7e5f1b6b86ed..74ccd386a906 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java index 9079f81fc331..5ac1b92cf491 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java index 8bf3318c2036..78f3d667f485 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java index 408c6addc0c7..256507f230b9 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java index 279dcd65321f..b96135c17f57 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java index c797159397c3..ea1e707286e7 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java index 393a7c956e44..e979877623a7 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStub.java index b499a09d9363..200518930800 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java index ca5e87afe6de..f56ef0fb32d5 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/AgentsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStub.java index d0d958bde9a7..c8e97ee2b54d 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java index 146c9332b74d..12e26d8d3772 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/ContextsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStub.java index 23f711dc4cb7..bf9de443bcfb 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java index 2f3be7ded502..6d309779410c 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/DocumentsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStub.java index e6df8fb988ea..235ed90821d7 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java index c34ce42daabc..faac5d682310 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/EntityTypesStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsCallableFactory.java index 41dadd82f9f9..88c53c8632e5 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsStub.java index 8b4aebda7287..0182cecf7c94 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcAgentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsCallableFactory.java index 675dd00bda3d..1f51832a26ae 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsStub.java index 1178ae8d666c..d98d68e47d28 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcContextsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsCallableFactory.java index dbcac2f7cd0a..83380fd14078 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsStub.java index 8eb4fd5c605a..490977271011 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcDocumentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesCallableFactory.java index 0602bb029374..e0d224e4332d 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesStub.java index e099720d4fce..6291a9058af5 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcEntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsCallableFactory.java index 1d803257cca3..0b7c7cd96672 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsStub.java index 57a2e1e84b19..d4348f080a00 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcIntentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesCallableFactory.java index d7bcb5edf161..083981770e2a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesStub.java index 57b2a5243ec2..af9593b146ca 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcKnowledgeBasesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesCallableFactory.java index 6ab3a9823e12..25cef4e61d5f 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesStub.java index 8e6fdd1be753..a6b4bddfd0d0 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionEntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsCallableFactory.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsCallableFactory.java index e30989ac83c0..5ff13ef679de 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsCallableFactory.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsStub.java index 79eabf3aeb8b..21ff749b2fba 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/GrpcSessionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStub.java index 6d68ef3b3a2b..8ce9934b04a3 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java index ededdc6d5492..79a242a159fc 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/IntentsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStub.java index 22204be9d9d5..24e8eaf2f1c9 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java index 614aa400300b..37b4282aee4e 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/KnowledgeBasesStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStub.java index 1cc1262cb808..3889886b78a6 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java index 7e0de24b66ab..fd5a28239b43 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionEntityTypesStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStub.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStub.java index e03f1b5f9517..9a71d3c8a1fc 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStub.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java index e0d57c4738b5..6edc2d8862d2 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/SessionsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java index ef4d104c64f9..e20b24d9a213 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/AgentsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java index 452d5d09ebe2..46d6fa76c840 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java index cd54c25a3f39..0dc002482884 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/EntityTypesClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java index 4dcb52ac883d..ff4ff9e0e5bd 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/IntentsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgents.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgents.java index 6deff00d85f9..c5cbafc74d5b 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgents.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgents.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgentsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgentsImpl.java index 3e198ed818ce..1bc862150526 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgentsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockAgentsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContexts.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContexts.java index 56b507d1872a..473c04687bc3 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContexts.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContexts.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContextsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContextsImpl.java index 41c490d98225..0434ec9f9d38 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContextsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockContextsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypes.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypes.java index 82d5615eac0c..9dd7d28beec8 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypes.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypesImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypesImpl.java index 24b682822619..3753142b8ae6 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypesImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockEntityTypesImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntents.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntents.java index 8067ac76129c..8390a517b5f0 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntents.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntents.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntentsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntentsImpl.java index 3c50682bc4ef..20b962b4f3b9 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntentsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockIntentsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypes.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypes.java index 9c766167c8bc..3c8888bb0093 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypes.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypesImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypesImpl.java index ad3b60a26438..c968f9c7ad89 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypesImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionEntityTypesImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessions.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessions.java index d643b74640a3..160f7eb2d777 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessions.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessions.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java index 345a96250409..10dd6c1bdc40 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/MockSessionsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java index 729c4d5b1aa2..33e83087d72c 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java index ab321a1e01ee..97d035d41346 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/SessionsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java index a2fcee1aa6e3..cca45442057c 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/AgentsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java index 7ad96acf27ee..427f218e2e24 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/ContextsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java index 8ac410f83b5b..9ebd4492b68b 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/DocumentsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java index 030f25edf95d..61ca940b6d3d 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java index 7e8031d193f3..5ee8579653bc 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/IntentsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java index fffb06708573..ff4799bfc1cb 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgents.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgents.java index 3b0a0f6cfc27..4e4e4722c329 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgents.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgents.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgentsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgentsImpl.java index fa5cd08af4f6..c4c3798fefa8 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgentsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockAgentsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContexts.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContexts.java index 4da5586838b3..0d132ff0b217 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContexts.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContexts.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContextsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContextsImpl.java index d377b225e1ca..e4762e07befb 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContextsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockContextsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocuments.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocuments.java index 1f2d6f4a8bc0..73cde4461b67 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocuments.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocuments.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocumentsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocumentsImpl.java index 086984143c29..85b68fb9f7ec 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocumentsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockDocumentsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypes.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypes.java index c4942bc45824..28a2555d7b13 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypes.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypesImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypesImpl.java index 5d68d9b292f7..66d1b143f13e 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypesImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockEntityTypesImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntents.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntents.java index 2ba09fe99cc3..9022841e180a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntents.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntents.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntentsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntentsImpl.java index 69d1a7efb7df..54c9091df26a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntentsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockIntentsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBases.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBases.java index 2bc9265044cb..44d0363c34f1 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBases.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBases.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBasesImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBasesImpl.java index 7483ed02c69f..8f33b70ed530 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBasesImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockKnowledgeBasesImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypes.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypes.java index f1e9529ed41c..af200b04fce8 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypes.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypesImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypesImpl.java index aebb30cffe66..fc92ce3a5798 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypesImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionEntityTypesImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessions.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessions.java index 66f7cc771d6a..a3fd1a2ffe15 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessions.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessions.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java index befd12dd0196..ac37f6b2ce1a 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/MockSessionsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java index 2e01b10b04d3..8529ca55a685 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java index 60dbecd60dde..58bb6eeb17ed 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2beta1/SessionsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dialogflow/synth.metadata b/google-cloud-clients/google-cloud-dialogflow/synth.metadata index 2bd4f07a69a5..1833730c6840 100644 --- a/google-cloud-clients/google-cloud-dialogflow/synth.metadata +++ b/google-cloud-clients/google-cloud-dialogflow/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-17T08:42:27.093781Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "dialogflow", + "apiVersion": "v2", + "language": "java", + "generator": "gapic", + "config": "google/cloud/dialogflow/artman_dialogflow_v2.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "dialogflow", + "apiVersion": "v2beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/dialogflow/artman_dialogflow_v2beta1_java.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java index 3844a1e8ff31..c19ea07fae1f 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java index b4209a9414e1..64296f863be1 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java index 8a9fa3b38e6c..62ac4638fd1c 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java index f43f49d35d16..1220d16ca9b5 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java index a609978acb5f..8d0b70826390 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java index b77afc9eb141..2d84bcb7c8a9 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java index dbce1d07d25b..de97f9911272 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java b/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java index c9972fde0df6..dd85f708d15b 100644 --- a/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java +++ b/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java b/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java index d321a1b2ef35..ca4c3b831013 100644 --- a/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java +++ b/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java b/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java index 1c7aa7c79e93..dee93b4c3e22 100644 --- a/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java +++ b/google-cloud-clients/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-dlp/synth.metadata b/google-cloud-clients/google-cloud-dlp/synth.metadata index 2bd4f07a69a5..b435a70f2921 100644 --- a/google-cloud-clients/google-cloud-dlp/synth.metadata +++ b/google-cloud-clients/google-cloud-dlp/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:43:16.350139Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "dlp", + "apiVersion": "v2", + "language": "java", + "generator": "gapic", + "config": "google/privacy/dlp/artman_dlp_v2.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java index 53c21cf4da48..40f1355787fb 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceSettings.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceSettings.java index 589607938920..4f2fc537d700 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceSettings.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java index 53d14a44da66..c5bbe82536c3 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceSettings.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceSettings.java index ae667f78d38c..bc42a77cc201 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceSettings.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java index 505e3021e3c1..d4f9d89b678a 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSettings.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSettings.java index 5c827b3ca12f..d1fa25c334c4 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSettings.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java index 3dc52e1334e7..a61797863779 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStub.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStub.java index 5d9b164bbc6c..03c5f373f93b 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStub.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java index 9cfc2d016983..155832bf18dc 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStub.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStub.java index 258903726bf4..8025eaf29246 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStub.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java index 777fce58d494..efc070e2893d 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceCallableFactory.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceCallableFactory.java index 6153056f2e1f..a0b568281acf 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceStub.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceStub.java index a579c3d7db26..d013c0afbf49 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceStub.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceCallableFactory.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceCallableFactory.java index 4eaa7d506aae..5f8a532be12f 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceStub.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceStub.java index 2dd4cd4dcee5..bb0ab4777286 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceStub.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceCallableFactory.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceCallableFactory.java index aecc90490e6d..dfa9f95e60e4 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceStub.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceStub.java index 27f5d9f2cc22..3678ecd88e0a 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceStub.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStub.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStub.java index aea2f606c1ab..4a935897294e 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStub.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStubSettings.java b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStubSettings.java index b4799027d68b..f369b25f3318 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java index ebfefdb39f78..933b268a6bf8 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClientTest.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClientTest.java index f331c705788f..71c257794b09 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClientTest.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupService.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupService.java index 198ecfd209f8..6074323a80c2 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupService.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupServiceImpl.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupServiceImpl.java index bff3b9762bb9..8cb62ba32905 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupServiceImpl.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsService.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsService.java index 6dae99a9bcce..4bc2bfd6d461 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsService.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsServiceImpl.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsServiceImpl.java index 1ddd6a26b08d..110d941ecef3 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsServiceImpl.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsService.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsService.java index f6aa12a3f5d6..54f2491e8ea5 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsService.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsServiceImpl.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsServiceImpl.java index 9fd752d99d3c..c658fda1d682 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsServiceImpl.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClientTest.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClientTest.java index 5e2966480861..3f53e7358581 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClientTest.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSmokeTest.java b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSmokeTest.java index 5b0d905065db..c998b47d3eed 100644 --- a/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-errorreporting/synth.metadata b/google-cloud-clients/google-cloud-errorreporting/synth.metadata index 2bd4f07a69a5..28248ca2c82a 100644 --- a/google-cloud-clients/google-cloud-errorreporting/synth.metadata +++ b/google-cloud-clients/google-cloud-errorreporting/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:43:47.907788Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "error-reporting", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/devtools/clouderrorreporting/artman_errorreporting.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java index 318ad4fb44e5..c914b58778ba 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java index 8ddcd066b153..9a433eab05a9 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/package-info.java b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/package-info.java index 8a52bac81454..61f2ddfa4165 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/package-info.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java index 38aa9a995eed..94a89293d3bd 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java index 7d633fa7386a..ec3c3a89f963 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java index c8f06442cdb6..5af6a6e44f90 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java index e2b3a0656e90..76185bd70529 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/IamCredentialsClientTest.java b/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/IamCredentialsClientTest.java index 772298437149..c84bf6668005 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/IamCredentialsClientTest.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/IamCredentialsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java b/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java index 5b89bfa9de2f..492a337cb564 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java b/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java index e44b8a4c179e..17940f07aa07 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java +++ b/google-cloud-clients/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iamcredentials/synth.metadata b/google-cloud-clients/google-cloud-iamcredentials/synth.metadata index 0f4f16349096..4310fc59431b 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/synth.metadata +++ b/google-cloud-clients/google-cloud-iamcredentials/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-03T17:46:37.271512Z", + "updateTime": "2019-01-17T08:44:16.541917Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.4", - "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2a5caab4315cb5ab3d5c97c90c6d4e9441052b16", - "internalRef": "227195651" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java index 3ac319b83553..91a4d4fca8ff 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerSettings.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerSettings.java index 419d39afb037..0299081d4c26 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerSettings.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/DeviceManagerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/package-info.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/package-info.java index bb3d760b274e..16326463e63c 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/package-info.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStub.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStub.java index fe374b36066c..142b38d0207a 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStub.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStubSettings.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStubSettings.java index fece93ca6e9d..6332aa2ba4d5 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStubSettings.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/DeviceManagerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerCallableFactory.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerCallableFactory.java index ce1599f6c5c4..f5bddb7ac46a 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerCallableFactory.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerStub.java b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerStub.java index 4cefb4ea4e91..bd41a94c62b6 100644 --- a/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerStub.java +++ b/google-cloud-clients/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/GrpcDeviceManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerClientTest.java b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerClientTest.java index abd9a18d249e..107c8539e74b 100644 --- a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerClientTest.java +++ b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerSmokeTest.java b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerSmokeTest.java index 507896c73c3c..fc110f61f593 100644 --- a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerSmokeTest.java +++ b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/DeviceManagerSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManager.java b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManager.java index aaa8f7a936bb..7ff558548a4d 100644 --- a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManager.java +++ b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManagerImpl.java b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManagerImpl.java index 53874def53c9..f8610231e2ab 100644 --- a/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManagerImpl.java +++ b/google-cloud-clients/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/MockDeviceManagerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-iot/synth.metadata b/google-cloud-clients/google-cloud-iot/synth.metadata index 2bd4f07a69a5..9b6def21ed8f 100644 --- a/google-cloud-clients/google-cloud-iot/synth.metadata +++ b/google-cloud-clients/google-cloud-iot/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:44:51.668915Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "iot", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/iot/artman_cloudiot.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java index 4e38707e554c..d2c7c7235d97 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceSettings.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceSettings.java index 788b75825b62..54dd0672871c 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceSettings.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java index ed754e8915c0..8bde094a6658 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java index f3671c0eb147..74eab0fa3ec2 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java index 39dc03da5b31..86fd265d9332 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/GrpcKeyManagementServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java index 1bb034fd9401..ee5db1033df8 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java index e9358450c9c0..8d204ac37723 100644 --- a/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java index 2a63e8c9cc9c..c273056b96c7 100644 --- a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java +++ b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/KeyManagementServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicy.java b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicy.java index d3e7bc726951..08456991fcf4 100644 --- a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicy.java +++ b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicyImpl.java b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicyImpl.java index 01f0624d0e9a..9e3f07419a33 100644 --- a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicyImpl.java +++ b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockIAMPolicyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementService.java b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementService.java index 21be21210afa..1e218a0d15b2 100644 --- a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementService.java +++ b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java index e9c17ef37616..e09ff54b9550 100644 --- a/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java +++ b/google-cloud-clients/google-cloud-kms/src/test/java/com/google/cloud/kms/v1/MockKeyManagementServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-kms/synth.metadata b/google-cloud-clients/google-cloud-kms/synth.metadata index 2bd4f07a69a5..af2fb47b3210 100644 --- a/google-cloud-clients/google-cloud-kms/synth.metadata +++ b/google-cloud-clients/google-cloud-kms/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:45:26.677473Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "kms", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/kms/artman_cloudkms.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java index d48b4f607c85..59686ad491a9 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceSettings.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceSettings.java index 7af3c8ff0f2e..2122cc0fadf9 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceSettings.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/LanguageServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/package-info.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/package-info.java index af209e769eab..14349d0d96cf 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/package-info.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceCallableFactory.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceCallableFactory.java index e0f8bc654bd4..b52d426b912a 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceStub.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceStub.java index b33c086a5c7c..4da34dd16c66 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceStub.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/GrpcLanguageServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStub.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStub.java index ed4a6d5040ee..77dddb2fe08b 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStub.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStubSettings.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStubSettings.java index 2e0f73e35165..c10ed89aab72 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/LanguageServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java index 152294c3ef80..e3be7b87a972 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceSettings.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceSettings.java index 84db767357c7..91695407f189 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceSettings.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/package-info.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/package-info.java index b9b5d1c7f696..343760e9e2a0 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/package-info.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceCallableFactory.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceCallableFactory.java index 3d3e61f48b77..74ad32fd0e6c 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceStub.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceStub.java index 0a5e5415c42b..5f28aee49cf6 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceStub.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/GrpcLanguageServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStub.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStub.java index 66755f9a78e4..67c5f665b67d 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStub.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStubSettings.java b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStubSettings.java index 87758c1cb431..dde0fbb4b12e 100644 --- a/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/LanguageServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceClientTest.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceClientTest.java index 7268ddf00e5e..dcc2b2c6b9ab 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceClientTest.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceSmokeTest.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceSmokeTest.java index d09e66623e25..208f60cf1351 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/LanguageServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageService.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageService.java index 1b75f8944748..770e9623b0b1 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageService.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageServiceImpl.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageServiceImpl.java index 3b93c01a3e79..6a4c5c39742c 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageServiceImpl.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1/MockLanguageServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceClientTest.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceClientTest.java index 3ea87a9e4c7f..a8820c5e185e 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceClientTest.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceSmokeTest.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceSmokeTest.java index 8dd86e7cca33..1e120297b55d 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/LanguageServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageService.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageService.java index 5780c51acc86..9ef0bc8a759b 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageService.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageServiceImpl.java b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageServiceImpl.java index ddef302447bd..e9813e34c799 100644 --- a/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageServiceImpl.java +++ b/google-cloud-clients/google-cloud-language/src/test/java/com/google/cloud/language/v1beta2/MockLanguageServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-language/synth.metadata b/google-cloud-clients/google-cloud-language/synth.metadata index 2bd4f07a69a5..2ca07fbc5bf0 100644 --- a/google-cloud-clients/google-cloud-language/synth.metadata +++ b/google-cloud-clients/google-cloud-language/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-17T08:46:18.627684Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "language", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/language/artman_language_v1.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "language", + "apiVersion": "v1beta2", + "language": "java", + "generator": "gapic", + "config": "google/cloud/language/artman_language_v1beta2.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java index 6cf01b5d9d79..ccc6bee49746 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java index 373c73d0249c..09559a09e0e5 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java index a3e7d6498b49..1f3bf042ea6d 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java index 47f517f1ee5b..0bd87c9664b4 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java index a87fe8a89996..82b70a58f747 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java index 72b505bd5d8d..d5e4dcb2e25c 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java index 61061f0cfde5..6e10a41ad819 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java index a6c08a1a9d05..af4780332369 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index abe760a9a13d..4d1c69325188 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java index 54c1ab3d0447..1a2a686435e2 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java index 93cc0ab6236e..e1538b942637 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java index f15dfcafaafa..13e330ebb463 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java index 343657c6020e..91d19e1d6894 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java index 5ec6b86ee16c..4636e1b8fd7b 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java index 7d950ecfdcb1..0a8ed821bd9a 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java index d121ba4eb4df..4a68f0585038 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java index 9a33e6ee8de2..d0113629b9af 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -611,7 +611,7 @@ private static Builder initDefaults(Builder builder) { .build()); builder .writeLogEntriesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); builder diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java index acacf8c85f4f..757dfd08a1c2 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java index 9a6af63de6bd..06d7aa53d9d7 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java index 882dd5360741..e1d9b376cbae 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java index afa15355fe99..0b83db624d53 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java index bf14c826c624..9d1c5e630ffd 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java index abb5ffa94017..254e95823ee7 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java index f19205711b7e..3aec9661b8d3 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java index b5e82fb05893..564cd7e0ace5 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java index e4fa00dbdad4..076b8725a1e2 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java index 7532d0ce1014..5c1ef2009539 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java index 346bc4210b31..0630817d421b 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-logging/synth.metadata b/google-cloud-clients/google-cloud-logging/synth.metadata index 2bd4f07a69a5..e38d70fae106 100644 --- a/google-cloud-clients/google-cloud-logging/synth.metadata +++ b/google-cloud-clients/google-cloud-logging/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:46:57.311851Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "logging", + "apiVersion": "v2", + "language": "java", + "generator": "gapic", + "config": "google/logging/artman_logging.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java index 5146babb13fb..8a1c87361b17 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java index f58080deebfe..86979c79656a 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java index be9c25389726..3badeb060a5a 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java index 58d9debfa9b6..727587ae8f00 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java index 1607eb769d4c..a929908add2f 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java index 33c496cbb6e8..2f66562b492d 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java index a5631ca108c5..82b00915caa8 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java index 81a643a2695b..f9cfc17edcb9 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java index 9383a478bf29..c812cdbc41c5 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java index 84f1dd749434..f51804eab5e2 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java index 136562d3b7e5..5c405dc40d7a 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java index 4229a0b3b590..8af23ae29060 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java index def0eaef4971..a1ef478661a0 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java index a6cb5f1219b9..30c3ba285c45 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java index 76f0df286f37..585465e27d93 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java index af8f6b733c54..959fa30b2b98 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java index 79eb5d60e9b4..910fc0c5b659 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java index 7a45020ec86f..344a0b165d00 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java index 945c3acc9f26..0d5dcdc226a6 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java index 83ca6dbc18c5..a9e34bea12cd 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java index 467ae6c33191..c748cab81b80 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java index a5c48313cc74..40f8719b8b5d 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java index 04f0ef4c682a..97e85fecb798 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java index 97c6fc9d90b4..aa1cbcf79470 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java index 6c2de165c1c6..d429882619e9 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java index 0bfaafbaee2d..bff3e58d51d9 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java index 494a442f33cc..e09da031835f 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java index b656bca7e2f2..7a16f15d65fa 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java index 19a9dc80ed74..76cb35e4a6ff 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java index fb9c7f59e584..ef9d02ff9da4 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java index b9bd5ca75dc7..ba3fd6628db2 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java index 16560fe21446..1897bfe95000 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java index 107d8b9b50cf..29d33d133a10 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java index 2e4382516e77..0d79d7cec208 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceSmokeTest.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceSmokeTest.java index 749e501751b9..2f61f966dd57 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java index 6a923a0ed81e..3818a2ba517a 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java index ef5f5ab42ed6..5070250afd45 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java index 2739d18b1d71..31410e9ca184 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java index ec0f08fbcd65..a8ff86cf8cf1 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java index 2d47402ac41c..91d5bed0b69e 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java index a4fb0d023567..3dc276006b03 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java index cecd13b10687..0826e48a9838 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java index 84b38e12781b..49f124decd21 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java index 4bf08a9c3c6b..e9ed9ab7ce94 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java index 1d4feb22930e..77a811e90293 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java index 33bda9be8b8b..4c886a9250f4 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java index 006fac06ea70..1c367c49f0e0 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java +++ b/google-cloud-clients/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-monitoring/synth.metadata b/google-cloud-clients/google-cloud-monitoring/synth.metadata index 3664c7a48fb1..a7922dbc18e3 100644 --- a/google-cloud-clients/google-cloud-monitoring/synth.metadata +++ b/google-cloud-clients/google-cloud-monitoring/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-10T00:28:17.515488Z", + "updateTime": "2019-01-17T08:47:44.052944Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.5", - "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5125f9790658c36519a23d4c2106bcfb1de7b070", - "internalRef": "228534685" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java index 125369b60eb0..f78ec396459a 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceSettings.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceSettings.java index 9a0b8cd8e39f..6e7b5f58c929 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceSettings.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/OsLoginServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/package-info.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/package-info.java index b71992ed64f8..ad8ba34fcf9d 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/package-info.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceCallableFactory.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceCallableFactory.java index ac6cf532ef63..4b2b28597863 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceStub.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceStub.java index d5b78bc58adc..5786fcab9913 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceStub.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/GrpcOsLoginServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStub.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStub.java index 23538a5f0274..b37cbab51553 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStub.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStubSettings.java b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStubSettings.java index 3a59fda44671..0969b05e6641 100644 --- a/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/OsLoginServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginService.java b/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginService.java index 545b633000ee..6713a417743c 100644 --- a/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginService.java +++ b/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginServiceImpl.java b/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginServiceImpl.java index a073649ab90d..c9a1d8366c39 100644 --- a/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginServiceImpl.java +++ b/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/MockOsLoginServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/OsLoginServiceClientTest.java b/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/OsLoginServiceClientTest.java index c737c3577e56..91bbc3aeff1f 100644 --- a/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/OsLoginServiceClientTest.java +++ b/google-cloud-clients/google-cloud-os-login/src/test/java/com/google/cloud/oslogin/v1/OsLoginServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-os-login/synth.metadata b/google-cloud-clients/google-cloud-os-login/synth.metadata index 2bd4f07a69a5..570f9d07465e 100644 --- a/google-cloud-clients/google-cloud-os-login/synth.metadata +++ b/google-cloud-clients/google-cloud-os-login/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:48:12.508385Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "os-login", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/oslogin/artman_oslogin_v1.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java index 75046eeeacb6..aad805519f65 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java index b5e212783e7b..6a302d1b0e2f 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java index 0f497ce565a2..0a26402ade29 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java index f30593c608b1..2fa642dc468e 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java index 8e653a185a6b..1f2e48ce0d1e 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java index d12b34c6a4da..8cfb399722da 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java index 9266f235c210..e2c442b4a106 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java index c3f529bdcd1d..077a1e9322aa 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java index 172a80e40c0e..ba05a6290919 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java index 82ce2773df21..51fe9adb7498 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java index 612fbb6b44a9..83545a032e92 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java index e6cab8a91af1..b8860a5e9fcb 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java index d66dca70da74..4ba60dea6b45 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java index 2ffd5eaf21fe..15d84f60c63d 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java index 8d30c2d6e1f8..0b2084391413 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java index b8c126a37c6e..306787cd1ff5 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java index 2348ad11c143..e458610a89b0 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java index 1d8d4d90a470..238f36fbe818 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java index 4c7f5407a16f..f6d387ef7476 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java index 67f27f7f3f9c..f01f120089bd 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java index 59596160a482..a87462aedabb 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminSmokeTest.java b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminSmokeTest.java index 6eb34fa87bee..e9c579b02990 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminSmokeTest.java +++ b/google-cloud-clients/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-pubsub/synth.metadata b/google-cloud-clients/google-cloud-pubsub/synth.metadata index 05048bef9909..7af19ab59c17 100644 --- a/google-cloud-clients/google-cloud-pubsub/synth.metadata +++ b/google-cloud-clients/google-cloud-pubsub/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-05T08:46:07.715668Z", + "updateTime": "2019-01-17T08:48:48.620536Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.4", - "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a111a53c0c6722afcd793b64724ceef7862db5b9", - "internalRef": "227896184" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java index 31b2aaf16ea2..efdf41c9d556 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisSettings.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisSettings.java index 147927b04922..670b110935a4 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisSettings.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/package-info.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/package-info.java index 0c17f3a67e8d..7732d6404573 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/package-info.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStub.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStub.java index 796a5a50a900..e4a67005e794 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStub.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStubSettings.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStubSettings.java index ee9d0576162f..8f73fc336ad7 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStubSettings.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisCallableFactory.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisCallableFactory.java index a2c4946bb5a5..1393b627928e 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisCallableFactory.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisStub.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisStub.java index ce0855f72b60..f9c50d089ef8 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisStub.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java index c1713ee8090d..b731b850ce07 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisSettings.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisSettings.java index fe99bd458794..d516a7e35f3b 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisSettings.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/package-info.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/package-info.java index 417e81179934..4824c0bc8ca8 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java index 174cc7370cc0..3f1f50012396 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java index ab731babfad4..fbfd30923346 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java index 305047a4e91c..a5d1514e887f 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java index e30fb6d02de9..61b09faeda93 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/CloudRedisClientTest.java b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/CloudRedisClientTest.java index 3d61eb5467db..dc2a400edde1 100644 --- a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/CloudRedisClientTest.java +++ b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/CloudRedisClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedis.java b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedis.java index cee6f5f1dbfc..5fbf49c7a1c9 100644 --- a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedis.java +++ b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedis.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedisImpl.java b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedisImpl.java index 0fe2e9c2ae82..8175fb6201a2 100644 --- a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedisImpl.java +++ b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1/MockCloudRedisImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java index 9871362ea9fb..89bbeffb5bf9 100644 --- a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java +++ b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/CloudRedisClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedis.java b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedis.java index 56635c7a71fd..498040646421 100644 --- a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedis.java +++ b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedis.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java index 9728915a135b..1cd7db15e1d4 100644 --- a/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java +++ b/google-cloud-clients/google-cloud-redis/src/test/java/com/google/cloud/redis/v1beta1/MockCloudRedisImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-redis/synth.metadata b/google-cloud-clients/google-cloud-redis/synth.metadata index 2bd4f07a69a5..c4deaff1c724 100644 --- a/google-cloud-clients/google-cloud-redis/synth.metadata +++ b/google-cloud-clients/google-cloud-redis/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-17T08:49:36.458402Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "redis", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/redis/artman_redis_v1.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "redis", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/redis/artman_redis_v1beta1.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java index 2a07796d2c02..cf7e993da758 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java index afb5ec905919..8e7378e9c35c 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java index 29875c63f3d7..3412a8114d44 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterCallableFactory.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterCallableFactory.java index 72e2e0563da6..75415d956e03 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterCallableFactory.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterStub.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterStub.java index b87e69db2b04..ba4e2e62bafe 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterStub.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStub.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStub.java index bb147c826cf0..21bc246c3733 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStub.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java index b28b6902ab26..58c0adc1c950 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenter.java b/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenter.java index 3cda1cb801f6..5aaf4a2301e9 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenter.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenter.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenterImpl.java b/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenterImpl.java index 05e2a3d27cdb..97624dddba57 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenterImpl.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientTest.java b/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientTest.java index 4322a27d5b30..74f9b0974f1a 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientTest.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-securitycenter/synth.metadata b/google-cloud-clients/google-cloud-securitycenter/synth.metadata index fafa47a43f2e..80499cd1a1e2 100644 --- a/google-cloud-clients/google-cloud-securitycenter/synth.metadata +++ b/google-cloud-clients/google-cloud-securitycenter/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-09T08:46:01.510426Z", + "updateTime": "2019-01-17T08:50:12.007255Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.5", - "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "659d66ec24bf40b35a41a0b79218d96ba3add3d3", - "internalRef": "228437827" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java index dac031076164..da36a9936c52 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechSettings.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechSettings.java index d06cb6d23bd4..ad051fc9685f 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechSettings.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/package-info.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/package-info.java index 6f5c00a68594..2b5ece8de3da 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/package-info.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechCallableFactory.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechCallableFactory.java index f98b2b2a6b02..de84ff3a518f 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechCallableFactory.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechStub.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechStub.java index 84359877b744..7838a98ff0bd 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechStub.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/GrpcSpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStub.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStub.java index deab1b76e3a9..2dd6572c3964 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStub.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStubSettings.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStubSettings.java index f65b6052dbd3..906cdc1cad27 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStubSettings.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java index d71ea9bfb344..ad8a97657024 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechSettings.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechSettings.java index 8fec2526d25b..bd43283a1276 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechSettings.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/package-info.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/package-info.java index b718f74243ea..fc270604948c 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechCallableFactory.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechCallableFactory.java index 61e865650b80..819322ad0b0f 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechCallableFactory.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechStub.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechStub.java index bc85f501e1cd..89cd0dedae6c 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechStub.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/GrpcSpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStub.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStub.java index 53ee455cd5b4..9ac8a31b834f 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStub.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java index 53aef143fdc5..9efd9a56d06d 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeech.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeech.java index b05014e05999..414c5386d483 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeech.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeech.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeechImpl.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeechImpl.java index 8b1a66124b56..9b7868a8b0b7 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeechImpl.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/MockSpeechImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechClientTest.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechClientTest.java index 2351fa4e4eea..c224f6b173eb 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechClientTest.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechSmokeTest.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechSmokeTest.java index 916446ea3eeb..5a71258c0282 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechSmokeTest.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeech.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeech.java index eba186bf7c17..ca68f5406235 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeech.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeech.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeechImpl.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeechImpl.java index f1a690412eb4..906b3fa88402 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeechImpl.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/MockSpeechImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechClientTest.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechClientTest.java index 928cc93ae5b8..80c9fab5f1a5 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechClientTest.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechSmokeTest.java b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechSmokeTest.java index d5114631d2d3..b79277cd9d79 100644 --- a/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechSmokeTest.java +++ b/google-cloud-clients/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-speech/synth.metadata b/google-cloud-clients/google-cloud-speech/synth.metadata index ffe7ca0006e0..f16c7066f21e 100644 --- a/google-cloud-clients/google-cloud-speech/synth.metadata +++ b/google-cloud-clients/google-cloud-speech/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-11T08:49:02.528645Z", + "updateTime": "2019-01-17T08:50:59.718229Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.5", - "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "73babd109ac827701c8d957646aa0caa237e23cd", - "internalRef": "228781294" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } } ], diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java index 13a9989e2a8b..1741272844e7 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java index 81e13dc23e00..eef01ad56b13 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java index fa544dc91c27..0dd510beb00d 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java index 8ba54acd13d6..090f03aec198 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java index 920bd9c4c6a7..1137c5742afa 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java index 6fda58e0396b..ce7c48300c76 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java index b9d8ab0179ef..af0471026eb8 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java index 50569d2d1a61..3ee194cbbba5 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java index 74b11bbf742e..75c25ea1bfd9 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java index 426aadb51254..57b1569ba3ba 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java index 51d56ef6146f..5c4a34e621ec 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java index 0f666bcb7f42..08fc57b59c91 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java index 769dc2830d31..2f7b49828922 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java index be1067ccc041..bd5f54bb292c 100644 --- a/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java +++ b/google-cloud-clients/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java index 18c73efe8c70..66dba4580794 100644 --- a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java +++ b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java index bcc7cb2a60f3..72ba188c5973 100644 --- a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java +++ b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java index 18702113fde9..5d6be4d7b236 100644 --- a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java +++ b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java index 809396fa59f6..fadd4eda983e 100644 --- a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java +++ b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java index 12f94d47cd37..6f5538031acc 100644 --- a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java +++ b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java index 255a378d7625..e4c20cc470fc 100644 --- a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java +++ b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-tasks/synth.metadata b/google-cloud-clients/google-cloud-tasks/synth.metadata index 2bd4f07a69a5..cd7ae9e69070 100644 --- a/google-cloud-clients/google-cloud-tasks/synth.metadata +++ b/google-cloud-clients/google-cloud-tasks/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-17T08:51:59.668739Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "tasks", + "apiVersion": "v2beta2", + "language": "java", + "generator": "gapic", + "config": "google/cloud/tasks/artman_cloudtasks_v2beta2.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "tasks", + "apiVersion": "v2beta3", + "language": "java", + "generator": "gapic", + "config": "google/cloud/tasks/artman_cloudtasks_v2beta3.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java index d1bee6a1138f..005dd1629282 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java index 793721b1a077..92221b52c02f 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java index 903f8b51d65e..f9a8e9a80f68 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceCallableFactory.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceCallableFactory.java index 7f96d8c13da6..34f8da829351 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java index 5e0adb5b1a1d..3697f843edfb 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java index f1c320bea530..f2c11504b086 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java index 4f24e1ec4abd..26297aaeb3e4 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java index 54b585a91ce1..f5426fbaee35 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceSettings.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceSettings.java index da5a32b0bfda..35a32e9c26be 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceSettings.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java index 4feb17c55bbf..787848c0ca44 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceCallableFactory.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceCallableFactory.java index 4962d1fbd380..99a010ac8eee 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceStub.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceStub.java index 42824a57dac2..efc2187e243e 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceStub.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/GrpcTraceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStub.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStub.java index b75772f052cb..77b4911d0a3c 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStub.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java index 47df0215327f..5840de2a7de1 100644 --- a/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceService.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceService.java index fd0260b5a3e1..978ac9f2c6b5 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceService.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceServiceImpl.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceServiceImpl.java index 2719b648e562..f9e4a68b7ca5 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceServiceImpl.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/MockTraceServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java index 444b9987aea1..401e5d498e9c 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceSmokeTest.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceSmokeTest.java index 89541924fbcf..bad06bc95394 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceService.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceService.java index 5cf544795a07..f51dcb39fce0 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceService.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceServiceImpl.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceServiceImpl.java index 0eafb3b625d2..8c560281a458 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceServiceImpl.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/MockTraceServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceClientTest.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceClientTest.java index 508cae60ea68..e4358c46d04e 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceClientTest.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceSmokeTest.java b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceSmokeTest.java index 3c8a15ff5970..b4f9d8addabe 100644 --- a/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/TraceServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-trace/synth.metadata b/google-cloud-clients/google-cloud-trace/synth.metadata index 2bd4f07a69a5..99e0ef7571d4 100644 --- a/google-cloud-clients/google-cloud-trace/synth.metadata +++ b/google-cloud-clients/google-cloud-trace/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-17T08:52:44.387918Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "trace", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/devtools/cloudtrace/artman_cloudtrace_v1.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "trace", + "apiVersion": "v2", + "language": "java", + "generator": "gapic", + "config": "google/devtools/cloudtrace/artman_cloudtrace_v2.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java index ebdf1da95483..c65f6ab0d868 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java index ebc1c0bed5fc..ddb29ac3ff7d 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java index 4db37157b399..98bfe8f17a54 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java index 39984ef311c9..3687b728670d 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java index b38e5e30c4cd..59d4bd49f7eb 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java index 1ac51d0d92a3..5d0e2043d184 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java index 965703c13061..d9391e60cb72 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java index b0743b65824d..7ced173837c2 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceSettings.java index 51a6780e006b..67cd81e7bdd5 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/package-info.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/package-info.java index 5b481c51c40b..0edbc3974b3e 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java index 3722e150b7c1..097f2cea641c 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceStub.java index 8acff716734b..30120c4a7a5a 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/GrpcVideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStub.java index eae1c558a752..9288749b0611 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStubSettings.java index ddcf849d83c3..a3b2daf694c2 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java index 44d026869861..6cdeee193404 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java index 4e9425bf7790..322b8fac5954 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java index 5dc0160f8d7e..41dc9b87986b 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java index 561fe40e9c0a..74edd77cc2aa 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java index 1bc30620fcaa..0bd16fa928a5 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java index a6b782c35a50..7185359a4be8 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java index e129032e2ee5..79320eee3fd2 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java index 79517e16195c..963e3f5b7e44 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java index 8ca0eb34de7e..932d843c1186 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java index c0778efbf06a..53634466ed0f 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java index a7818c371006..7f2390a9b213 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java index 41b814ad68b8..581a83432267 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java index 0555e4b09a99..1e7299f906d7 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java index 66302b973cd7..e0599fded487 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java index 4391d5f75a43..c6eae2b84afc 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java index 1fb265e62626..2c0d1acb2dc0 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java index 3477c47bb675..c8fead2d579d 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java index 020f1877ff10..a8523b0669ef 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java index 2391fbf5d1b7..804eacbbd880 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java index 3bb5daec9b6f..1a02060721cf 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java index e270bde83520..fe417a6ba27b 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java index 33b0177dd3dc..6b5aa22f6f42 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java index b63e560e83b7..7e74fd9ecf8b 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java index f1adc0ba63e3..492e49879d3e 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSmokeTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSmokeTest.java index ac52723a15c1..fb8f57341da9 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceService.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceService.java index 18332772c708..4e858b37b6de 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceService.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceServiceImpl.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceServiceImpl.java index f1934809a439..51889d034b44 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceServiceImpl.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/MockVideoIntelligenceServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClientTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClientTest.java index 33a2b13ea1d6..66d618a46a94 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClientTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java index b104697c373d..bb03ece5e6e0 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java index fb7ae0972e36..60764e5a84a1 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java index ee40b26b3db9..b47a000ed88f 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java index ad7eb61ca408..3778f059676e 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java index 25f2f6c3cdac..d240ff33aa52 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java index e0e7381b8def..c2079951732c 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSmokeTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSmokeTest.java index 888223d885ba..eb92dda3cb58 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java index 6f537cdf7493..094e0833cd6e 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java index 11ba75d8620a..865f6cf9dec2 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java index 0cbaf299cff1..7491ce824d93 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSmokeTest.java b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSmokeTest.java index 54b1fb5771b2..a8b258048440 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSmokeTest.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-video-intelligence/synth.metadata b/google-cloud-clients/google-cloud-video-intelligence/synth.metadata index 2bd4f07a69a5..92578b4e1965 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/synth.metadata +++ b/google-cloud-clients/google-cloud-video-intelligence/synth.metadata @@ -1,27 +1,72 @@ { + "updateTime": "2019-01-17T08:54:28.082730Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" + } + } + ], + "destinations": [ + { + "client": { + "source": "googleapis", + "apiName": "video-intelligence", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/videointelligence/artman_videointelligence_v1.yaml" } }, { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "video-intelligence", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/videointelligence/artman_videointelligence_v1beta1.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "video-intelligence", + "apiVersion": "v1beta2", + "language": "java", + "generator": "gapic", + "config": "google/cloud/videointelligence/artman_videointelligence_v1beta2.yaml" + } + }, + { + "client": { + "source": "googleapis", + "apiName": "video-intelligence", + "apiVersion": "v1p1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/videointelligence/artman_videointelligence_v1p1beta1.yaml" + } + }, + { + "client": { + "source": "googleapis", + "apiName": "video-intelligence", + "apiVersion": "v1p2beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/videointelligence/artman_videointelligence_v1p2beta1.yaml" } } ] -} +} \ No newline at end of file diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java index a34a8317bcc6..1fb2de0943bd 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerSettings.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerSettings.java index dbfbf3cdd3b4..5072b460b013 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerSettings.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java index 2597fbba4bd3..9498bdc4a92c 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerCallableFactory.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerCallableFactory.java index dc3ab436077c..0dbb3b570797 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerCallableFactory.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerStub.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerStub.java index 56886f38d113..addad8e01f29 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerStub.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/GrpcWebSecurityScannerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStub.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStub.java index 08a16023a596..da07b9b812fb 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStub.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStubSettings.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStubSettings.java index 126f98a68447..6b49913fe37b 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStubSettings.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/WebSecurityScannerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScanner.java b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScanner.java index 88323eb229b1..411244ab0935 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScanner.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScanner.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScannerImpl.java b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScannerImpl.java index e58371ef43dc..bfaa2c5c5ec4 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScannerImpl.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/MockWebSecurityScannerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java index 1cf61bfa3e6b..1adb90f7652a 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata b/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata index 2bd4f07a69a5..987fc288f345 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata +++ b/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-17T08:55:02.517910Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", + "internalRef": "229626798" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "websecurityscanner", + "apiVersion": "v1alpha", + "language": "java", + "generator": "gapic", + "config": "google/cloud/websecurityscanner/artman_websecurityscanner_v1alpha.yaml" } } ] -} +} \ No newline at end of file From 62d4bd30605ab3578f9a08d84487fb0b33ac2ff5 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 17 Jan 2019 13:26:07 -0800 Subject: [PATCH 35/90] Release google-cloud-java v0.78.0 (#4386) --- README.md | 8 +- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 204 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/README.md | 2 +- google-cloud-bom/pom.xml | 286 +++++++-------- .../google-cloud-asset/README.md | 6 +- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/README.md | 6 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/README.md | 6 +- .../google-cloud-bigquery/pom.xml | 4 +- .../README.md | 6 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/README.md | 6 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/README.md | 6 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/README.md | 6 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/README.md | 6 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/README.md | 6 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-contrib/README.md | 6 +- .../google-cloud-logging-logback/README.md | 6 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/README.md | 6 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/README.md | 6 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/README.md | 6 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/README.md | 6 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/README.md | 6 +- .../google-cloud-dialogflow/pom.xml | 4 +- .../google-cloud-dlp/README.md | 6 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- .../google-cloud-dns/README.md | 6 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/README.md | 6 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/README.md | 6 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/README.md | 6 +- .../google-cloud-iamcredentials/pom.xml | 4 +- .../google-cloud-iot/README.md | 6 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- .../google-cloud-kms/README.md | 6 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/README.md | 6 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/README.md | 6 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/README.md | 6 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/README.md | 6 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/README.md | 6 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/README.md | 6 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/README.md | 6 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/README.md | 6 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/README.md | 6 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/README.md | 6 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/README.md | 6 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/README.md | 6 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/README.md | 6 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/README.md | 6 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/README.md | 6 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/README.md | 6 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/README.md | 6 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/README.md | 6 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/README.md | 6 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/README.md | 6 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/README.md | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/README.md | 14 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 326 +++++++++--------- 211 files changed, 876 insertions(+), 876 deletions(-) diff --git a/README.md b/README.md index cc4cc99a33a9..8ec83ebc3b1b 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.77.0-alpha + 0.78.0-alpha pom import @@ -85,11 +85,11 @@ If you are using Maven, add this to your pom.xml file [//]: # ({x-version-update-start:google-cloud-storage:released}) If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.59.0' +compile 'com.google.cloud:google-cloud-storage:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.60.0" ``` [//]: # ({x-version-update-end}) @@ -110,7 +110,7 @@ If you are running into problems with version conflicts, the easiest way to solv com.google.cloud google-cloud-bom - 0.77.0-alpha + 0.78.0-alpha pom import diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index 2f3f137245a3..6c512de6432f 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 14508606cd41..4c362f404e93 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 496ba5ef0b86..500832108651 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 83cb08bd0636..0da42fd65f82 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index 69dfcc4a7b32..1a5c98d81768 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index f0880b186277..c263be2b6bf4 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index eb7fc1622622..c659ef746c18 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index b7a531dbf50a..dfcbeaced397 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index 11532be9abc9..cf4242bf980e 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index 9c0d1051a7dd..9f90ad9d4111 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index 07ea177119aa..d3fd0a690bec 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 21f8e2c88e71..791be74d1edf 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index 102f07d45a16..c1dd4e88aa68 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index e42e51c807f1..0d13efb99d73 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index 580e9c2fdb2b..5e6aceed31f2 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index ef56b3b5d050..3d75dbdbdda2 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index f72929e11b48..ee42a054b1bc 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index 78cd6da87ce3..43375664b3f4 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 7dd5e2f99b15..16639cac69b0 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.41.1-SNAPSHOT + 1.42.0 grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index 894d820081d0..55ff3fb21c00 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index a8c8bb1a331a..b93b4c3dae1e 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index 34f3d972976c..1a3048fe2a94 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.41.1-SNAPSHOT + 1.42.0 grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index 54e56d479e49..f40de324199f 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index d83690341733..0c39739da9d4 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.41.1-SNAPSHOT + 1.42.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index 96de524d0576..5029cfffe696 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index 9bfa0ba65291..a64a0b1e0e87 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index ed4b0ca48996..a67f5b0a7603 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index dbb1405517dd..e160d4bfd1b0 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index 6c86da7c4dba..9a821252ceb9 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.4.1-SNAPSHOT + 1.5.0 grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index bf81f9fd1eee..1c6395e92289 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.4.1-SNAPSHOT + 1.5.0 grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index 377e22ff334c..a99f19fda2dd 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.4.1-SNAPSHOT + 1.5.0 grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index ca637bfbc6c2..29b4a37e6cd9 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 64da92a2afe7..60940b67d09e 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index 1b24d60ad88a..acad6eac6008 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index 65e3e6ae59c1..0b2ef7d28e80 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index 0e4ece09ef4f..3f126ff150b2 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index 7602b86cf635..767ae054c596 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index 5372982fd91b..4c322668e806 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index 86a98e869be7..ffb8d54cdbe5 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index 328df351a3a5..4f1bd3730a61 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index 06f06fab73be..564bc94f32b4 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index b06eec4c19d5..e99a279977c9 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 28a0e2fac75f..982d40c779b2 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index 8f4df7a97a99..d359068d836c 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index f05287868712..279eb1a92724 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index b8123482996c..212212d629d5 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.41.1-SNAPSHOT + 1.42.0 grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index a062922b7dfc..716271afc105 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index 05801a649bc1..22c2bd3427b8 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.41.1-SNAPSHOT + 1.42.0 grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 4e1f5202b262..6845f7f1ed67 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index fa1761fba7aa..07e62db28bd2 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.42.1-SNAPSHOT + 0.43.0 grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 211920fca88b..0bcffeaed610 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.42.1-SNAPSHOT + 0.43.0 Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,507 +142,507 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-container-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-dlp-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-os-login-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-trace-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index f09a16fe5bec..6182d2b26d9b 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index fcc200ae7826..3a69bbb1f2ee 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index fb03b541cd7d..9fb265d31cf0 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index aa1ef41493ea..d87c731ea434 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index 12b60c02250f..4aa67b68bee7 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index b6e23002b0d7..e5593a58bdc2 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index 6c7d643165b5..cd9bf7a3e558 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index b342fdba9a49..62d6c509b521 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index 91dabcce3fdd..a1c774b4d3b1 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index af6252049e4e..2afd535ca12b 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 8e1c339e3e97..03902d34ce03 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index 5886b00b89f2..e5ac1732d77e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index b0068b61d4ce..1738d0d25f4e 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index 07e1f604c7dc..1f59b9bce50a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index 7ecf3ebccbbd..c29cc2f60a8b 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index e21882ea0c8e..cf46e9689542 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index 704f20d24e7d..9d84fee18c16 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index 41174040e58b..fe5e1ddf2658 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index 1a3c9b877b3f..b24aba9d2acc 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index 507f5d2c6ac8..d11e7326ed6a 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.41.1-SNAPSHOT + 1.42.0 proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 5c78236b8369..816857dd8afb 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index 893b4b9c2344..dd27ed62b243 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 47189b8236b7..53a7b1644bdc 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.41.1-SNAPSHOT + 1.42.0 proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index 755e0cddd220..888283fe688e 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index 448ec6ec0309..b7c20d9b7fb9 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.41.1-SNAPSHOT + 1.42.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index e0eb60df05ab..529717e38137 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index 3e0d3db0e3d0..be41af48ea52 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index cd403239ee38..051e7898d65a 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index babd6c62fd82..066af029f84d 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index 0f50f8541788..a9dacbdf8c1b 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.4.1-SNAPSHOT + 1.5.0 proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 85959237144f..1fd67ae6ac2f 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.4.1-SNAPSHOT + 1.5.0 proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index 69a4f77639d9..0525e8946969 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.4.1-SNAPSHOT + 1.5.0 proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index ac81ab5c1636..c9504d59aedf 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index 5d3af6b1f576..a38d0205893a 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index 5f59b76e6ff7..d073fb926d52 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index 5ac441366fe4..9d7aba848e18 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index 2565f7a8fd26..2f0685d5b823 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index d7ac1e2f4949..254ee3bd8420 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index c26faa948e55..843e07c0e5c3 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index b70852aa4cea..560861bf548a 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index 3a490b941828..fad6bb680b5d 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index f6edb7f8e554..8b22b9c19f90 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index bafae178b566..190b26a8aace 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index 61af3c9ec0e6..693765e9153e 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index 8f8a3984c2ab..d6981f27ac89 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index c52180b00e04..13f5bae61b95 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index 2fb3d8e90c12..1bfd50f3b9ce 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.41.1-SNAPSHOT + 1.42.0 proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index 2056cc9a895b..e856cb2842af 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index e80f9a3615c6..0dbe76ea248e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.41.1-SNAPSHOT + 1.42.0 proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index 14b7f6e1ff26..8db9703f68e3 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 55f10680cb7a..6d4c224833ac 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.42.1-SNAPSHOT + 0.43.0 proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.42.1-SNAPSHOT + 0.43.0 diff --git a/google-cloud-bom/README.md b/google-cloud-bom/README.md index 76dfe509cfe7..88cccb136d19 100644 --- a/google-cloud-bom/README.md +++ b/google-cloud-bom/README.md @@ -13,7 +13,7 @@ To use it in Maven, add the following to your POM: com.google.cloud google-cloud-bom - 0.77.0-alpha + 0.78.0-alpha pom import diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 2f72fb9d6e76..03a4cff2350d 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,713 +197,713 @@ com.google.cloud google-cloud-asset - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-automl - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-bigtable - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-bigtable-admin - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-bigtable-emulator - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.cloud google-cloud-bigquery - 1.59.1-SNAPSHOT + 1.60.0 com.google.cloud google-cloud-bigquerydatatransfer - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-compute - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.cloud google-cloud-container - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-container-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-containeranalysis - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-contrib - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.cloud google-cloud-nio - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.cloud google-cloud-core - 1.59.1-SNAPSHOT + 1.60.0 com.google.cloud google-cloud-core-grpc - 1.59.1-SNAPSHOT + 1.60.0 com.google.cloud google-cloud-core-http - 1.59.1-SNAPSHOT + 1.60.0 com.google.cloud google-cloud-dataproc - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-datastore - 1.59.1-SNAPSHOT + 1.60.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-dlp - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-dlp-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-dialogflow - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-dns - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.cloud google-cloud-errorreporting - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-firestore - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-kms - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-kms-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-language - 1.59.1-SNAPSHOT + 1.60.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-logging - 1.59.1-SNAPSHOT + 1.60.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-logging-logback - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.cloud google-cloud-monitoring - 1.59.1-SNAPSHOT + 1.60.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.41.1-SNAPSHOT + 1.42.0 com.google.cloud google-cloud-os-login - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.api.grpc proto-google-cloud-os-login-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-pubsub - 1.59.1-SNAPSHOT + 1.60.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.cloud google-cloud-redis - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-resourcemanager - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-spanner - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.4.1-SNAPSHOT + 1.5.0 com.google.cloud google-cloud-speech - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-storage - 1.59.1-SNAPSHOT + 1.60.0 com.google.cloud google-cloud-tasks - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-texttospeech - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-trace - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-trace-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-translate - 1.59.1-SNAPSHOT + 1.60.0 com.google.cloud google-cloud-vision - 1.59.1-SNAPSHOT + 1.60.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.41.1-SNAPSHOT + 1.42.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.cloud google-cloud-video-intelligence - 0.77.1-beta-SNAPSHOT + 0.78.0-beta com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.42.1-SNAPSHOT + 0.43.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha com.google.cloud google-cloud-iamcredentials - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha diff --git a/google-cloud-clients/google-cloud-asset/README.md b/google-cloud-clients/google-cloud-asset/README.md index c755efac1b9d..fce96fd5a20d 100644 --- a/google-cloud-clients/google-cloud-asset/README.md +++ b/google-cloud-clients/google-cloud-asset/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-asset - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-asset:0.77.0-beta' +compile 'com.google.cloud:google-cloud-asset:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index 0618dc405a2e..d52fb213ef1c 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/README.md b/google-cloud-clients/google-cloud-automl/README.md index e01766e9aeb6..59a89beed039 100644 --- a/google-cloud-clients/google-cloud-automl/README.md +++ b/google-cloud-clients/google-cloud-automl/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-automl - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-automl:0.77.0-beta' +compile 'com.google.cloud:google-cloud-automl:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index 585d163cb9fc..d10e4554d09d 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/README.md b/google-cloud-clients/google-cloud-bigquery/README.md index 74c49aae4e62..e48d46b30c7e 100644 --- a/google-cloud-clients/google-cloud-bigquery/README.md +++ b/google-cloud-clients/google-cloud-bigquery/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigquery - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquery:1.59.0' +compile 'com.google.cloud:google-cloud-bigquery:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 9ea24b93a95b..7cc11724d2af 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md index 57a64303c57e..2a5acd98474f 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md @@ -23,16 +23,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerydatatransfer - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.77.0-beta' +compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index 4f813101c0f2..85ff7289f8f7 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/README.md b/google-cloud-clients/google-cloud-bigquerystorage/README.md index dc40975d018e..41a02cb0ad3b 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/README.md +++ b/google-cloud-clients/google-cloud-bigquerystorage/README.md @@ -20,16 +20,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerystorage - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerystorage:0.77.0-beta' +compile 'com.google.cloud:google-cloud-bigquerystorage:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index f2d6631a3fb5..4b766e4bd797 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index dcb6862313d6..e75e7b4f12c5 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha diff --git a/google-cloud-clients/google-cloud-bigtable/README.md b/google-cloud-clients/google-cloud-bigtable/README.md index b9bda7a07c9b..00fcf68c32f9 100644 --- a/google-cloud-clients/google-cloud-bigtable/README.md +++ b/google-cloud-clients/google-cloud-bigtable/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigtable - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index 5fe54ce7457b..c63cbff3f2a2 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/README.md b/google-cloud-clients/google-cloud-compute/README.md index fe873e010409..f8eeb4d693cc 100644 --- a/google-cloud-clients/google-cloud-compute/README.md +++ b/google-cloud-clients/google-cloud-compute/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-compute - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-compute:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-compute:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 88ee7d510ad8..dc9fa1c70e3d 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/README.md b/google-cloud-clients/google-cloud-container/README.md index 61423ba3b8ed..e13c85732b87 100644 --- a/google-cloud-clients/google-cloud-container/README.md +++ b/google-cloud-clients/google-cloud-container/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-container - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-container:0.77.0-beta' +compile 'com.google.cloud:google-cloud-container:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index 4e5bbec46b53..b5a3984d7ec3 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/README.md b/google-cloud-clients/google-cloud-containeranalysis/README.md index 1e915404b686..d999baad772b 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/README.md +++ b/google-cloud-clients/google-cloud-containeranalysis/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-containeranalysis - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-containeranalysis:0.77.0-beta' +compile 'com.google.cloud:google-cloud-containeranalysis:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index f7f7cd45135f..28b9de67d353 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/README.md b/google-cloud-clients/google-cloud-contrib/README.md index 773858dce97e..a8a97a273522 100644 --- a/google-cloud-clients/google-cloud-contrib/README.md +++ b/google-cloud-clients/google-cloud-contrib/README.md @@ -25,16 +25,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-contrib - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-contrib:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-contrib:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md index 964c3be8f772..69c6cb10f2d1 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-logging-logback - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging-logback:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-logging-logback:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index 900b8ba30533..543e00f9bca7 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index 3bc61c75c76d..ad063311da86 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.77.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.78.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.77.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index 912c1c5e079a..ca9b7e010c5c 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md index ee59552663ac..5ad8867285ec 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md @@ -26,16 +26,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-nio - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-nio:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-nio:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index 567575c73bfa..8ffa10116405 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index 8a274386d577..2e9c1f5e564f 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index ead2eced0de4..b005a5be7236 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index 8d4e42653b82..c2dbef6aec36 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/README.md b/google-cloud-clients/google-cloud-core/README.md index 74ee83bb2ea1..b92babe05c1e 100644 --- a/google-cloud-clients/google-cloud-core/README.md +++ b/google-cloud-clients/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.59.0' +compile 'com.google.cloud:google-cloud-core:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index 242b8d07fc11..efdf6565aad0 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/README.md b/google-cloud-clients/google-cloud-dataproc/README.md index ec60a8f0349e..4a683e660193 100644 --- a/google-cloud-clients/google-cloud-dataproc/README.md +++ b/google-cloud-clients/google-cloud-dataproc/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-dataproc - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dataproc:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-dataproc:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index 6394ba60de6c..f9815795995e 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/README.md b/google-cloud-clients/google-cloud-datastore/README.md index 3edf9caa2ff3..c1f1bd3a9c87 100644 --- a/google-cloud-clients/google-cloud-datastore/README.md +++ b/google-cloud-clients/google-cloud-datastore/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-datastore - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-datastore:1.59.0' +compile 'com.google.cloud:google-cloud-datastore:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index d22ad4397db7..17d854b3ea57 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/README.md b/google-cloud-clients/google-cloud-dialogflow/README.md index 6f17618417bf..6ed8c84d40e0 100644 --- a/google-cloud-clients/google-cloud-dialogflow/README.md +++ b/google-cloud-clients/google-cloud-dialogflow/README.md @@ -23,16 +23,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dialogflow - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dialogflow:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-dialogflow:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index 99f5bcf41a97..8a82d44bc296 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/README.md b/google-cloud-clients/google-cloud-dlp/README.md index 7fc39e87613a..310d14a645ca 100644 --- a/google-cloud-clients/google-cloud-dlp/README.md +++ b/google-cloud-clients/google-cloud-dlp/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dlp - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dlp:0.77.0-beta' +compile 'com.google.cloud:google-cloud-dlp:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index 518ab833c950..6dcc38bd3526 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/README.md b/google-cloud-clients/google-cloud-dns/README.md index aa5ebfe95b28..853722861f2b 100644 --- a/google-cloud-clients/google-cloud-dns/README.md +++ b/google-cloud-clients/google-cloud-dns/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dns - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dns:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-dns:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index 81822d5d188e..39ba1249f60f 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/README.md b/google-cloud-clients/google-cloud-errorreporting/README.md index 1dd87c3ba0c1..571cf280ecee 100644 --- a/google-cloud-clients/google-cloud-errorreporting/README.md +++ b/google-cloud-clients/google-cloud-errorreporting/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-errorreporting - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-errorreporting:0.77.0-beta' +compile 'com.google.cloud:google-cloud-errorreporting:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index 1ce9dc34050f..485b3b822553 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/README.md b/google-cloud-clients/google-cloud-firestore/README.md index 0b4b3645c626..cb5d87d667a7 100644 --- a/google-cloud-clients/google-cloud-firestore/README.md +++ b/google-cloud-clients/google-cloud-firestore/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-firestore - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-firestore:0.77.0-beta' +compile 'com.google.cloud:google-cloud-firestore:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 49ff441347a1..3efe838049af 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/README.md b/google-cloud-clients/google-cloud-iamcredentials/README.md index 78c0ce7ff348..eb1148196ac9 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/README.md +++ b/google-cloud-clients/google-cloud-iamcredentials/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iamcredentials - 0.4.0-alpha + 0.5.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iamcredentials:0.4.0-alpha' +compile 'com.google.cloud:google-cloud-iamcredentials:0.5.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.4.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.5.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index 861ad7a4976f..a47b9e10e428 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.4.1-alpha-SNAPSHOT + 0.5.0-alpha jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/README.md b/google-cloud-clients/google-cloud-iot/README.md index 29d7a1f25a1b..15b7a4ba41cc 100644 --- a/google-cloud-clients/google-cloud-iot/README.md +++ b/google-cloud-clients/google-cloud-iot/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iot - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iot:0.77.0-beta' +compile 'com.google.cloud:google-cloud-iot:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index fb060bc9781f..69867bededf1 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/README.md b/google-cloud-clients/google-cloud-kms/README.md index 480f8b1c3296..a9f640692791 100644 --- a/google-cloud-clients/google-cloud-kms/README.md +++ b/google-cloud-clients/google-cloud-kms/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-kms - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-kms:0.77.0-beta' +compile 'com.google.cloud:google-cloud-kms:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 35fe44ad7871..0a939a19d336 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/README.md b/google-cloud-clients/google-cloud-language/README.md index f9d3b6fd1be7..54a4aee3a320 100644 --- a/google-cloud-clients/google-cloud-language/README.md +++ b/google-cloud-clients/google-cloud-language/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-language - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-language:1.59.0' +compile 'com.google.cloud:google-cloud-language:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index 592d58f94646..3f3d65ff7b3e 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/README.md b/google-cloud-clients/google-cloud-logging/README.md index 7238034bb0df..881113918b8c 100644 --- a/google-cloud-clients/google-cloud-logging/README.md +++ b/google-cloud-clients/google-cloud-logging/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-logging - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging:1.59.0' +compile 'com.google.cloud:google-cloud-logging:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 28a158cd025b..4746d0004188 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/README.md b/google-cloud-clients/google-cloud-monitoring/README.md index 8140e3e7c27c..c17cb3d09788 100644 --- a/google-cloud-clients/google-cloud-monitoring/README.md +++ b/google-cloud-clients/google-cloud-monitoring/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-monitoring - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-monitoring:1.59.0' +compile 'com.google.cloud:google-cloud-monitoring:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index 8ef1b838b72a..d84a2e2d6f72 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/README.md b/google-cloud-clients/google-cloud-notification/README.md index 9d52c7d5ebcd..980297e1a666 100644 --- a/google-cloud-clients/google-cloud-notification/README.md +++ b/google-cloud-clients/google-cloud-notification/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-notification - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-notification:0.77.0-beta' +compile 'com.google.cloud:google-cloud-notification:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index ad6bfda51266..7d2860e2b54a 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/README.md b/google-cloud-clients/google-cloud-os-login/README.md index ff5e4ba70315..c2baae523d2a 100644 --- a/google-cloud-clients/google-cloud-os-login/README.md +++ b/google-cloud-clients/google-cloud-os-login/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-os-login - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-os-login:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-os-login:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index c40903672471..9f8e6dec7e02 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/README.md b/google-cloud-clients/google-cloud-pubsub/README.md index 253fa8cd7ef5..cef71799def0 100644 --- a/google-cloud-clients/google-cloud-pubsub/README.md +++ b/google-cloud-clients/google-cloud-pubsub/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-pubsub - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-pubsub:1.59.0' +compile 'com.google.cloud:google-cloud-pubsub:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index dc2b4ef513b9..99f36e7d99a1 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/README.md b/google-cloud-clients/google-cloud-redis/README.md index b754fa7f079a..cc7a5ab1b94a 100644 --- a/google-cloud-clients/google-cloud-redis/README.md +++ b/google-cloud-clients/google-cloud-redis/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-redis - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-redis:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-redis:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index cf3182920b3d..d56c198bb004 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/README.md b/google-cloud-clients/google-cloud-resourcemanager/README.md index 0544f1db7700..0465debf5a84 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/README.md +++ b/google-cloud-clients/google-cloud-resourcemanager/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-resourcemanager - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-resourcemanager:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-resourcemanager:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index 07eb4c22ccf4..b49854130dd0 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/README.md b/google-cloud-clients/google-cloud-scheduler/README.md index fa7a529f1cf0..e5271af2d5b5 100644 --- a/google-cloud-clients/google-cloud-scheduler/README.md +++ b/google-cloud-clients/google-cloud-scheduler/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-scheduler - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-scheduler:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-scheduler:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index f806e76b992a..f300e9250975 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/README.md b/google-cloud-clients/google-cloud-securitycenter/README.md index e37e2ce4c8ee..7256ebe0bf1b 100644 --- a/google-cloud-clients/google-cloud-securitycenter/README.md +++ b/google-cloud-clients/google-cloud-securitycenter/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-securitycenter - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-securitycenter:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-securitycenter:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index 5ae90a755d0b..aba1370a7ca7 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/README.md b/google-cloud-clients/google-cloud-spanner/README.md index ee9cd086e71a..cd7307f5c5db 100644 --- a/google-cloud-clients/google-cloud-spanner/README.md +++ b/google-cloud-clients/google-cloud-spanner/README.md @@ -20,16 +20,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-spanner - 1.4.0 + 1.5.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-spanner:1.4.0' +compile 'com.google.cloud:google-cloud-spanner:1.5.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.5.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index 7a39e4410b87..f4861214f053 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.4.1-SNAPSHOT + 1.5.0 jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/README.md b/google-cloud-clients/google-cloud-speech/README.md index 58416ae61e8f..13d8a7d3d926 100644 --- a/google-cloud-clients/google-cloud-speech/README.md +++ b/google-cloud-clients/google-cloud-speech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-speech - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-speech:0.77.0-beta' +compile 'com.google.cloud:google-cloud-speech:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index f3aea2de33b9..42419f918806 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/README.md b/google-cloud-clients/google-cloud-storage/README.md index 10f6d979fce9..97c94abbdbfb 100644 --- a/google-cloud-clients/google-cloud-storage/README.md +++ b/google-cloud-clients/google-cloud-storage/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-storage - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.59.0' +compile 'com.google.cloud:google-cloud-storage:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index 40a938a38093..71fd2b04cf00 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/README.md b/google-cloud-clients/google-cloud-tasks/README.md index c41325174ebe..cd4c38f2ab2d 100644 --- a/google-cloud-clients/google-cloud-tasks/README.md +++ b/google-cloud-clients/google-cloud-tasks/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-tasks - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-tasks:0.77.0-beta' +compile 'com.google.cloud:google-cloud-tasks:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index bce350509544..518ceba889e6 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/README.md b/google-cloud-clients/google-cloud-texttospeech/README.md index ddaf3226b181..a2b694b85cb5 100644 --- a/google-cloud-clients/google-cloud-texttospeech/README.md +++ b/google-cloud-clients/google-cloud-texttospeech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-texttospeech - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-texttospeech:0.77.0-beta' +compile 'com.google.cloud:google-cloud-texttospeech:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index 5f55a14b3649..393f4f559f7f 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/README.md b/google-cloud-clients/google-cloud-trace/README.md index 0f52d851afe1..86e0ad66eb36 100644 --- a/google-cloud-clients/google-cloud-trace/README.md +++ b/google-cloud-clients/google-cloud-trace/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-trace - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-trace:0.77.0-beta' +compile 'com.google.cloud:google-cloud-trace:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index f9bc265777b9..ca78e4335ce4 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/README.md b/google-cloud-clients/google-cloud-translate/README.md index 2d662d4ba0c3..f9e0aeeea237 100644 --- a/google-cloud-clients/google-cloud-translate/README.md +++ b/google-cloud-clients/google-cloud-translate/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-translate - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-translate:1.59.0' +compile 'com.google.cloud:google-cloud-translate:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index 6411b27f2704..d2aeea39d8c9 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/README.md b/google-cloud-clients/google-cloud-video-intelligence/README.md index ef37d38ccaa7..01514089557e 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/README.md +++ b/google-cloud-clients/google-cloud-video-intelligence/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-video-intelligence - 0.77.0-beta + 0.78.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-video-intelligence:0.77.0-beta' +compile 'com.google.cloud:google-cloud-video-intelligence:0.78.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.77.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.78.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index b63a318c2c89..01c42feb2585 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.77.1-beta-SNAPSHOT + 0.78.0-beta jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/README.md b/google-cloud-clients/google-cloud-vision/README.md index 01e4ea9baadc..7c161c709868 100644 --- a/google-cloud-clients/google-cloud-vision/README.md +++ b/google-cloud-clients/google-cloud-vision/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-vision - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-vision:1.59.0' +compile 'com.google.cloud:google-cloud-vision:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index 3ce413051e2c..28769d868e94 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/README.md b/google-cloud-clients/google-cloud-websecurityscanner/README.md index 2dac3332923e..142ae3a4d1cc 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/README.md +++ b/google-cloud-clients/google-cloud-websecurityscanner/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-websecurityscanner - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-websecurityscanner:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-websecurityscanner:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index 81cc51fadef9..49c09ffea138 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 3fafd1597153..bd6895da6417 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha 1.27.0 1.37.0 @@ -239,7 +239,7 @@ com.google.cloud google-cloud-core - 1.59.1-SNAPSHOT + 1.60.0 test-jar diff --git a/google-cloud-examples/README.md b/google-cloud-examples/README.md index 68baa2c3cfcc..f70d6efbd5f6 100644 --- a/google-cloud-examples/README.md +++ b/google-cloud-examples/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-examples - 0.77.0-alpha + 0.78.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-examples:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-examples:0.78.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.77.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.78.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index 3cf54eda1279..c4367cac1a0c 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index ce512834ef5c..8f55bc478ba0 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha war google-cloud-testing com.google.cloud - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index 6e1606d85aef..d07cee4f418d 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha war google-cloud-testing com.google.cloud - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index 42d776444bda..4ae4cfb05979 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha war google-cloud-testing com.google.cloud - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index b1c3ab543357..9d0013d51268 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha war google-cloud-testing com.google.cloud - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/README.md b/google-cloud-testing/google-cloud-bigtable-emulator/README.md index 5c230af55397..8a3f0f5b99a1 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/README.md +++ b/google-cloud-testing/google-cloud-bigtable-emulator/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.77.0-alpha + 0.78.0-alpha pom import @@ -53,16 +53,16 @@ If you are using Maven, add this to your pom.xml file If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.77.0-alpha' -compile 'com.google.cloud:google-cloud-bigtable-admin:0.77.0-alpha' -testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.77.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable-admin:0.78.0-alpha' +testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.78.0-alpha' testCompile 'junit:junit:4.12' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.77.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.77.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.77.0-alpha" % Test +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.78.0-alpha" % Test libraryDependencies += "junit" % "junit" % "4.12" % Test ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index b016b5a42d8a..b671ca07881f 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha @@ -126,7 +126,7 @@ com.google.cloud google-cloud-bom - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index 6fe58b2dad0e..b60f3735191d 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-gcloud-maven-plugin - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index 4d81e63834ca..2bc94f67e918 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar google-cloud-testing com.google.cloud - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index bad30a4f2a3e..6abc3fe7fc1f 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha pom import com.google.cloud google-cloud-core - 1.59.1-SNAPSHOT + 1.60.0 test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index bfc896744531..72a505dab189 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index ebdb3f6ff70e..d5dabfc7a9ac 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index 6f6eb0eb4aa1..fc6e781ff360 100644 --- a/versions.txt +++ b/versions.txt @@ -1,166 +1,166 @@ # Format: # module:released-version:current-version -google-api-grpc:0.42.0:0.42.1-SNAPSHOT -google-cloud:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-appengineflexcompat:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-appengineflexcustom:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-appengineflexjava:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-appenginejava8:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-asset:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-automl:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-bigquery:1.59.0:1.59.1-SNAPSHOT -google-cloud-bigquerydatatransfer:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-bigquerystorage:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-bigtable:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-bigtable-admin:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-bigtable-emulator:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-bom:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-clients:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-compat-checker:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-compute:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-container:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-containeranalysis:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-contrib:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-core:1.59.0:1.59.1-SNAPSHOT -google-cloud-core-grpc:1.59.0:1.59.1-SNAPSHOT -google-cloud-core-http:1.59.0:1.59.1-SNAPSHOT -google-cloud-dataproc:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-datastore:1.59.0:1.59.1-SNAPSHOT -google-cloud-dialogflow:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-dlp:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-dns:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-errorreporting:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-examples:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-firestore:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-gcloud-maven-plugin:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-iamcredentials:0.4.0-alpha:0.4.1-alpha-SNAPSHOT -google-cloud-iot:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-kms:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-language:1.59.0:1.59.1-SNAPSHOT -google-cloud-logging:1.59.0:1.59.1-SNAPSHOT -google-cloud-logging-logback:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-managedtest:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-monitoring:1.59.0:1.59.1-SNAPSHOT -google-cloud-nio:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-nio-examples:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-notification:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-os-login:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-pubsub:1.59.0:1.59.1-SNAPSHOT -google-cloud-redis:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-resourcemanager:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-scheduler:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-securitycenter:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-spanner:1.4.0:1.4.1-SNAPSHOT -google-cloud-speech:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-storage:1.59.0:1.59.1-SNAPSHOT -google-cloud-tasks:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-testing:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-texttospeech:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-trace:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-translate:1.59.0:1.59.1-SNAPSHOT -google-cloud-util:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -google-cloud-video-intelligence:0.77.0-beta:0.77.1-beta-SNAPSHOT -google-cloud-vision:1.59.0:1.59.1-SNAPSHOT -google-cloud-websecurityscanner:0.77.0-alpha:0.77.1-alpha-SNAPSHOT -grpc-google-cloud-asset-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-automl-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-bigtable-admin-v2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-bigtable-v2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-container-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-dataproc-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-dataproc-v1beta2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-dlp-v2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-error-reporting-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-firestore-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.1-alpha-SNAPSHOT -grpc-google-cloud-iot-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-kms-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-language-v1:1.41.0:1.41.1-SNAPSHOT -grpc-google-cloud-language-v1beta2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-logging-v2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-monitoring-v3:1.41.0:1.41.1-SNAPSHOT -grpc-google-cloud-os-login-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.41.0:1.41.1-SNAPSHOT -grpc-google-cloud-redis-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-redis-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-scheduler-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-securitycenter-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-spanner-admin-database-v1:1.4.0:1.4.1-SNAPSHOT -grpc-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.1-SNAPSHOT -grpc-google-cloud-spanner-v1:1.4.0:1.4.1-SNAPSHOT -grpc-google-cloud-speech-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-speech-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-speech-v1p1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta3:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-trace-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-trace-v2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-vision-v1:1.41.0:1.41.1-SNAPSHOT -grpc-google-cloud-vision-v1p1beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-vision-v1p2beta1:1.41.0:1.41.1-SNAPSHOT -grpc-google-cloud-vision-v1p3beta1:0.42.0:0.42.1-SNAPSHOT -grpc-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-asset-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-automl-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-bigquerydatatransfer-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-bigtable-admin-v2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-bigtable-v2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-container-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-containeranalysis-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-dataproc-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-dataproc-v1beta2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-datastore-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-dialogflow-v2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-dialogflow-v2beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-dlp-v2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-error-reporting-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-firestore-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-iamcredentials-v1:0.4.0-alpha:0.4.1-alpha-SNAPSHOT -proto-google-cloud-iot-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-kms-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-language-v1:1.41.0:1.41.1-SNAPSHOT -proto-google-cloud-language-v1beta2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-logging-v2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-monitoring-v3:1.41.0:1.41.1-SNAPSHOT -proto-google-cloud-os-login-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.41.0:1.41.1-SNAPSHOT -proto-google-cloud-redis-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-redis-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-scheduler-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-securitycenter-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-spanner-admin-database-v1:1.4.0:1.4.1-SNAPSHOT -proto-google-cloud-spanner-admin-instance-v1:1.4.0:1.4.1-SNAPSHOT -proto-google-cloud-spanner-v1:1.4.0:1.4.1-SNAPSHOT -proto-google-cloud-speech-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-speech-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-speech-v1p1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-tasks-v2beta2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-tasks-v2beta3:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-texttospeech-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-texttospeech-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-trace-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-trace-v2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta2:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p2beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-vision-v1:1.41.0:1.41.1-SNAPSHOT -proto-google-cloud-vision-v1p1beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-vision-v1p2beta1:1.41.0:1.41.1-SNAPSHOT -proto-google-cloud-vision-v1p3beta1:0.42.0:0.42.1-SNAPSHOT -proto-google-cloud-websecurityscanner-v1alpha:0.42.0:0.42.1-SNAPSHOT +google-api-grpc:0.43.0:0.43.0 +google-cloud:0.78.0-alpha:0.78.0-alpha +google-cloud-appengineflexcompat:0.78.0-alpha:0.78.0-alpha +google-cloud-appengineflexcustom:0.78.0-alpha:0.78.0-alpha +google-cloud-appengineflexjava:0.78.0-alpha:0.78.0-alpha +google-cloud-appenginejava8:0.78.0-alpha:0.78.0-alpha +google-cloud-asset:0.78.0-beta:0.78.0-beta +google-cloud-automl:0.78.0-beta:0.78.0-beta +google-cloud-bigquery:1.60.0:1.60.0 +google-cloud-bigquerydatatransfer:0.78.0-beta:0.78.0-beta +google-cloud-bigquerystorage:0.78.0-beta:0.78.0-beta +google-cloud-bigtable:0.78.0-alpha:0.78.0-alpha +google-cloud-bigtable-admin:0.78.0-alpha:0.78.0-alpha +google-cloud-bigtable-emulator:0.78.0-alpha:0.78.0-alpha +google-cloud-bom:0.78.0-alpha:0.78.0-alpha +google-cloud-clients:0.78.0-alpha:0.78.0-alpha +google-cloud-compat-checker:0.78.0-alpha:0.78.0-alpha +google-cloud-compute:0.78.0-alpha:0.78.0-alpha +google-cloud-container:0.78.0-beta:0.78.0-beta +google-cloud-containeranalysis:0.78.0-beta:0.78.0-beta +google-cloud-contrib:0.78.0-alpha:0.78.0-alpha +google-cloud-core:1.60.0:1.60.0 +google-cloud-core-grpc:1.60.0:1.60.0 +google-cloud-core-http:1.60.0:1.60.0 +google-cloud-dataproc:0.78.0-alpha:0.78.0-alpha +google-cloud-datastore:1.60.0:1.60.0 +google-cloud-dialogflow:0.78.0-alpha:0.78.0-alpha +google-cloud-dlp:0.78.0-beta:0.78.0-beta +google-cloud-dns:0.78.0-alpha:0.78.0-alpha +google-cloud-errorreporting:0.78.0-beta:0.78.0-beta +google-cloud-examples:0.78.0-alpha:0.78.0-alpha +google-cloud-firestore:0.78.0-beta:0.78.0-beta +google-cloud-gcloud-maven-plugin:0.78.0-alpha:0.78.0-alpha +google-cloud-iamcredentials:0.5.0-alpha:0.5.0-alpha +google-cloud-iot:0.78.0-beta:0.78.0-beta +google-cloud-kms:0.78.0-beta:0.78.0-beta +google-cloud-language:1.60.0:1.60.0 +google-cloud-logging:1.60.0:1.60.0 +google-cloud-logging-logback:0.78.0-alpha:0.78.0-alpha +google-cloud-managedtest:0.78.0-alpha:0.78.0-alpha +google-cloud-monitoring:1.60.0:1.60.0 +google-cloud-nio:0.78.0-alpha:0.78.0-alpha +google-cloud-nio-examples:0.78.0-alpha:0.78.0-alpha +google-cloud-notification:0.78.0-beta:0.78.0-beta +google-cloud-os-login:0.78.0-alpha:0.78.0-alpha +google-cloud-pubsub:1.60.0:1.60.0 +google-cloud-redis:0.78.0-alpha:0.78.0-alpha +google-cloud-resourcemanager:0.78.0-alpha:0.78.0-alpha +google-cloud-scheduler:0.78.0-alpha:0.78.0-alpha +google-cloud-securitycenter:0.78.0-alpha:0.78.0-alpha +google-cloud-spanner:1.5.0:1.5.0 +google-cloud-speech:0.78.0-beta:0.78.0-beta +google-cloud-storage:1.60.0:1.60.0 +google-cloud-tasks:0.78.0-beta:0.78.0-beta +google-cloud-testing:0.78.0-alpha:0.78.0-alpha +google-cloud-texttospeech:0.78.0-beta:0.78.0-beta +google-cloud-trace:0.78.0-beta:0.78.0-beta +google-cloud-translate:1.60.0:1.60.0 +google-cloud-util:0.78.0-alpha:0.78.0-alpha +google-cloud-video-intelligence:0.78.0-beta:0.78.0-beta +google-cloud-vision:1.60.0:1.60.0 +google-cloud-websecurityscanner:0.78.0-alpha:0.78.0-alpha +grpc-google-cloud-asset-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-automl-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.0 +grpc-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-bigtable-admin-v2:0.43.0:0.43.0 +grpc-google-cloud-bigtable-v2:0.43.0:0.43.0 +grpc-google-cloud-container-v1:0.43.0:0.43.0 +grpc-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-dataproc-v1:0.43.0:0.43.0 +grpc-google-cloud-dataproc-v1beta2:0.43.0:0.43.0 +grpc-google-cloud-dialogflow-v2:0.43.0:0.43.0 +grpc-google-cloud-dialogflow-v2beta1:0.43.0:0.43.0 +grpc-google-cloud-dlp-v2:0.43.0:0.43.0 +grpc-google-cloud-error-reporting-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-firestore-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.0-alpha +grpc-google-cloud-iot-v1:0.43.0:0.43.0 +grpc-google-cloud-kms-v1:0.43.0:0.43.0 +grpc-google-cloud-language-v1:1.42.0:1.42.0 +grpc-google-cloud-language-v1beta2:0.43.0:0.43.0 +grpc-google-cloud-logging-v2:0.43.0:0.43.0 +grpc-google-cloud-monitoring-v3:1.42.0:1.42.0 +grpc-google-cloud-os-login-v1:0.43.0:0.43.0 +grpc-google-cloud-pubsub-v1:1.42.0:1.42.0 +grpc-google-cloud-redis-v1:0.43.0:0.43.0 +grpc-google-cloud-redis-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-scheduler-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-securitycenter-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-spanner-admin-database-v1:1.5.0:1.5.0 +grpc-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.0 +grpc-google-cloud-spanner-v1:1.5.0:1.5.0 +grpc-google-cloud-speech-v1:0.43.0:0.43.0 +grpc-google-cloud-speech-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-speech-v1p1beta1:0.43.0:0.43.0 +grpc-google-cloud-tasks-v2beta2:0.43.0:0.43.0 +grpc-google-cloud-tasks-v2beta3:0.43.0:0.43.0 +grpc-google-cloud-texttospeech-v1:0.43.0:0.43.0 +grpc-google-cloud-texttospeech-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-trace-v1:0.43.0:0.43.0 +grpc-google-cloud-trace-v2:0.43.0:0.43.0 +grpc-google-cloud-video-intelligence-v1:0.43.0:0.43.0 +grpc-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.0 +grpc-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.0 +grpc-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.0 +grpc-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.0 +grpc-google-cloud-vision-v1:1.42.0:1.42.0 +grpc-google-cloud-vision-v1p1beta1:0.43.0:0.43.0 +grpc-google-cloud-vision-v1p2beta1:1.42.0:1.42.0 +grpc-google-cloud-vision-v1p3beta1:0.43.0:0.43.0 +grpc-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.0 +proto-google-cloud-asset-v1beta1:0.43.0:0.43.0 +proto-google-cloud-automl-v1beta1:0.43.0:0.43.0 +proto-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.0 +proto-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.0 +proto-google-cloud-bigtable-admin-v2:0.43.0:0.43.0 +proto-google-cloud-bigtable-v2:0.43.0:0.43.0 +proto-google-cloud-container-v1:0.43.0:0.43.0 +proto-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.0 +proto-google-cloud-dataproc-v1:0.43.0:0.43.0 +proto-google-cloud-dataproc-v1beta2:0.43.0:0.43.0 +proto-google-cloud-datastore-v1:0.43.0:0.43.0 +proto-google-cloud-dialogflow-v2:0.43.0:0.43.0 +proto-google-cloud-dialogflow-v2beta1:0.43.0:0.43.0 +proto-google-cloud-dlp-v2:0.43.0:0.43.0 +proto-google-cloud-error-reporting-v1beta1:0.43.0:0.43.0 +proto-google-cloud-firestore-v1beta1:0.43.0:0.43.0 +proto-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.0-alpha +proto-google-cloud-iot-v1:0.43.0:0.43.0 +proto-google-cloud-kms-v1:0.43.0:0.43.0 +proto-google-cloud-language-v1:1.42.0:1.42.0 +proto-google-cloud-language-v1beta2:0.43.0:0.43.0 +proto-google-cloud-logging-v2:0.43.0:0.43.0 +proto-google-cloud-monitoring-v3:1.42.0:1.42.0 +proto-google-cloud-os-login-v1:0.43.0:0.43.0 +proto-google-cloud-pubsub-v1:1.42.0:1.42.0 +proto-google-cloud-redis-v1:0.43.0:0.43.0 +proto-google-cloud-redis-v1beta1:0.43.0:0.43.0 +proto-google-cloud-scheduler-v1beta1:0.43.0:0.43.0 +proto-google-cloud-securitycenter-v1beta1:0.43.0:0.43.0 +proto-google-cloud-spanner-admin-database-v1:1.5.0:1.5.0 +proto-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.0 +proto-google-cloud-spanner-v1:1.5.0:1.5.0 +proto-google-cloud-speech-v1:0.43.0:0.43.0 +proto-google-cloud-speech-v1beta1:0.43.0:0.43.0 +proto-google-cloud-speech-v1p1beta1:0.43.0:0.43.0 +proto-google-cloud-tasks-v2beta2:0.43.0:0.43.0 +proto-google-cloud-tasks-v2beta3:0.43.0:0.43.0 +proto-google-cloud-texttospeech-v1:0.43.0:0.43.0 +proto-google-cloud-texttospeech-v1beta1:0.43.0:0.43.0 +proto-google-cloud-trace-v1:0.43.0:0.43.0 +proto-google-cloud-trace-v2:0.43.0:0.43.0 +proto-google-cloud-video-intelligence-v1:0.43.0:0.43.0 +proto-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.0 +proto-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.0 +proto-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.0 +proto-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.0 +proto-google-cloud-vision-v1:1.42.0:1.42.0 +proto-google-cloud-vision-v1p1beta1:0.43.0:0.43.0 +proto-google-cloud-vision-v1p2beta1:1.42.0:1.42.0 +proto-google-cloud-vision-v1p3beta1:0.43.0:0.43.0 +proto-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.0 From f62e169b0fdb60a2cb1f427e6090f0496bfe8a50 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 18 Jan 2019 05:50:54 -0800 Subject: [PATCH 36/90] Regenerate compute client (#4359) --- ...tancesInstanceGroupManagerHttpRequest.java | 22 +++---- ...RegionInstanceGroupManagerHttpRequest.java | 22 +++---- .../cloud/compute/v1/AcceleratorConfig.java | 6 +- .../cloud/compute/v1/AcceleratorType.java | 20 +++---- .../v1/AcceleratorTypeAggregatedList.java | 14 ++--- .../compute/v1/AcceleratorTypeClient.java | 2 +- .../cloud/compute/v1/AcceleratorTypeList.java | 14 ++--- .../compute/v1/AcceleratorTypeSettings.java | 2 +- .../v1/AcceleratorTypesScopedList.java | 6 +- .../google/cloud/compute/v1/AccessConfig.java | 16 ++--- .../AddAccessConfigInstanceHttpRequest.java | 24 ++++---- .../AddHealthCheckTargetPoolHttpRequest.java | 22 +++---- .../v1/AddInstanceTargetPoolHttpRequest.java | 22 +++---- .../AddInstancesInstanceGroupHttpRequest.java | 22 +++---- .../v1/AddNodesNodeGroupHttpRequest.java | 22 +++---- .../v1/AddPeeringNetworkHttpRequest.java | 22 +++---- .../v1/AddRuleSecurityPolicyHttpRequest.java | 20 +++---- ...dSignedUrlKeyBackendBucketHttpRequest.java | 22 +++---- ...SignedUrlKeyBackendServiceHttpRequest.java | 22 +++---- .../com/google/cloud/compute/v1/Address.java | 36 +++++------ .../compute/v1/AddressAggregatedList.java | 14 ++--- .../cloud/compute/v1/AddressClient.java | 2 +- .../google/cloud/compute/v1/AddressList.java | 14 ++--- .../cloud/compute/v1/AddressSettings.java | 2 +- .../cloud/compute/v1/AddressesScopedList.java | 6 +- ...egatedListAcceleratorTypesHttpRequest.java | 26 ++++---- .../AggregatedListAddressesHttpRequest.java | 26 ++++---- .../AggregatedListAutoscalersHttpRequest.java | 26 ++++---- ...regatedListBackendServicesHttpRequest.java | 26 ++++---- .../AggregatedListDiskTypesHttpRequest.java | 26 ++++---- .../v1/AggregatedListDisksHttpRequest.java | 26 ++++---- ...regatedListForwardingRulesHttpRequest.java | 26 ++++---- ...egatedListGlobalOperationsHttpRequest.java | 26 ++++---- ...dListInstanceGroupManagersHttpRequest.java | 26 ++++---- ...gregatedListInstanceGroupsHttpRequest.java | 26 ++++---- .../AggregatedListInstancesHttpRequest.java | 26 ++++---- ...istInterconnectAttachmentsHttpRequest.java | 26 ++++---- ...AggregatedListMachineTypesHttpRequest.java | 26 ++++---- .../AggregatedListNodeGroupsHttpRequest.java | 26 ++++---- ...ggregatedListNodeTemplatesHttpRequest.java | 26 ++++---- .../AggregatedListNodeTypesHttpRequest.java | 26 ++++---- ...gatedListRegionCommitmentsHttpRequest.java | 26 ++++---- .../v1/AggregatedListRoutersHttpRequest.java | 26 ++++---- .../AggregatedListSubnetworksHttpRequest.java | 26 ++++---- ...regatedListTargetInstancesHttpRequest.java | 26 ++++---- .../AggregatedListTargetPoolsHttpRequest.java | 26 ++++---- ...gatedListTargetVpnGatewaysHttpRequest.java | 26 ++++---- .../AggregatedListVpnTunnelsHttpRequest.java | 26 ++++---- .../google/cloud/compute/v1/AliasIpRange.java | 6 +- .../com/google/cloud/compute/v1/Allowed.java | 9 ++- .../v1/AttachDiskInstanceHttpRequest.java | 24 ++++---- .../google/cloud/compute/v1/AttachedDisk.java | 32 +++++----- .../v1/AttachedDiskInitializeParams.java | 16 ++--- .../google/cloud/compute/v1/AuditConfig.java | 8 +-- .../cloud/compute/v1/AuditLogConfig.java | 6 +- .../v1/AuthorizationLoggingOptions.java | 4 +- .../google/cloud/compute/v1/Autoscaler.java | 26 ++++---- .../compute/v1/AutoscalerAggregatedList.java | 14 ++--- .../cloud/compute/v1/AutoscalerClient.java | 2 +- .../cloud/compute/v1/AutoscalerList.java | 14 ++--- .../cloud/compute/v1/AutoscalerSettings.java | 2 +- .../compute/v1/AutoscalerStatusDetails.java | 6 +- .../compute/v1/AutoscalersScopedList.java | 6 +- .../cloud/compute/v1/AutoscalingPolicy.java | 14 ++--- .../v1/AutoscalingPolicyCpuUtilization.java | 4 +- ...oscalingPolicyCustomMetricUtilization.java | 8 +-- ...scalingPolicyLoadBalancingUtilization.java | 4 +- .../com/google/cloud/compute/v1/Backend.java | 20 +++---- .../cloud/compute/v1/BackendBucket.java | 20 +++---- .../compute/v1/BackendBucketCdnPolicy.java | 6 +- .../cloud/compute/v1/BackendBucketClient.java | 2 +- .../cloud/compute/v1/BackendBucketList.java | 14 ++--- .../compute/v1/BackendBucketSettings.java | 2 +- .../cloud/compute/v1/BackendService.java | 46 +++++++------- .../v1/BackendServiceAggregatedList.java | 14 ++--- .../compute/v1/BackendServiceCdnPolicy.java | 8 +-- .../compute/v1/BackendServiceClient.java | 2 +- .../compute/v1/BackendServiceGroupHealth.java | 6 +- .../cloud/compute/v1/BackendServiceIAP.java | 10 ++-- .../cloud/compute/v1/BackendServiceList.java | 14 ++--- .../compute/v1/BackendServiceSettings.java | 2 +- .../compute/v1/BackendServicesScopedList.java | 6 +- .../com/google/cloud/compute/v1/Binding.java | 8 +-- .../compute/v1/CacheInvalidationRule.java | 6 +- .../cloud/compute/v1/CacheKeyPolicy.java | 12 ++-- .../google/cloud/compute/v1/Commitment.java | 28 ++++----- .../compute/v1/CommitmentAggregatedList.java | 14 ++--- .../cloud/compute/v1/CommitmentList.java | 14 ++--- .../compute/v1/CommitmentsScopedList.java | 6 +- .../google/cloud/compute/v1/Condition.java | 14 ++--- .../cloud/compute/v1/ConnectionDraining.java | 4 +- .../v1/CreateSnapshotDiskHttpRequest.java | 24 ++++---- .../CreateSnapshotRegionDiskHttpRequest.java | 22 +++---- .../compute/v1/CustomerEncryptionKey.java | 8 +-- .../CustomerEncryptionKeyProtectedDisk.java | 6 +- .../com/google/cloud/compute/v1/Data.java | 6 +- ...DeleteAccessConfigInstanceHttpRequest.java | 24 ++++---- .../compute/v1/DeleteAddressHttpRequest.java | 20 +++---- .../v1/DeleteAutoscalerHttpRequest.java | 20 +++---- .../v1/DeleteBackendBucketHttpRequest.java | 20 +++---- .../v1/DeleteBackendServiceHttpRequest.java | 20 +++---- .../compute/v1/DeleteDiskHttpRequest.java | 20 +++---- .../compute/v1/DeleteFirewallHttpRequest.java | 20 +++---- .../v1/DeleteForwardingRuleHttpRequest.java | 20 +++---- .../v1/DeleteGlobalAddressHttpRequest.java | 20 +++---- ...DeleteGlobalForwardingRuleHttpRequest.java | 20 +++---- .../v1/DeleteGlobalOperationHttpRequest.java | 18 +++--- .../v1/DeleteHealthCheckHttpRequest.java | 20 +++---- .../v1/DeleteHttpHealthCheckHttpRequest.java | 20 +++---- .../v1/DeleteHttpsHealthCheckHttpRequest.java | 20 +++---- .../compute/v1/DeleteImageHttpRequest.java | 20 +++---- .../v1/DeleteInstanceGroupHttpRequest.java | 20 +++---- ...DeleteInstanceGroupManagerHttpRequest.java | 20 +++---- .../compute/v1/DeleteInstanceHttpRequest.java | 20 +++---- .../v1/DeleteInstanceTemplateHttpRequest.java | 20 +++---- ...tancesInstanceGroupManagerHttpRequest.java | 22 +++---- ...RegionInstanceGroupManagerHttpRequest.java | 22 +++---- ...leteInterconnectAttachmentHttpRequest.java | 20 +++---- .../v1/DeleteInterconnectHttpRequest.java | 20 +++---- .../compute/v1/DeleteLicenseHttpRequest.java | 20 +++---- .../compute/v1/DeleteNetworkHttpRequest.java | 20 +++---- .../v1/DeleteNodeGroupHttpRequest.java | 20 +++---- .../v1/DeleteNodeTemplateHttpRequest.java | 20 +++---- .../v1/DeleteNodesNodeGroupHttpRequest.java | 22 +++---- .../v1/DeleteRegionAutoscalerHttpRequest.java | 20 +++---- ...DeleteRegionBackendServiceHttpRequest.java | 20 +++---- .../v1/DeleteRegionDiskHttpRequest.java | 20 +++---- ...RegionInstanceGroupManagerHttpRequest.java | 20 +++---- .../v1/DeleteRegionOperationHttpRequest.java | 18 +++--- .../compute/v1/DeleteRouteHttpRequest.java | 20 +++---- .../compute/v1/DeleteRouterHttpRequest.java | 20 +++---- .../v1/DeleteSecurityPolicyHttpRequest.java | 20 +++---- ...eSignedUrlKeyBackendBucketHttpRequest.java | 22 +++---- ...SignedUrlKeyBackendServiceHttpRequest.java | 22 +++---- .../compute/v1/DeleteSnapshotHttpRequest.java | 20 +++---- .../v1/DeleteSslCertificateHttpRequest.java | 20 +++---- .../v1/DeleteSslPolicyHttpRequest.java | 20 +++---- .../v1/DeleteSubnetworkHttpRequest.java | 20 +++---- .../v1/DeleteTargetHttpProxyHttpRequest.java | 20 +++---- .../v1/DeleteTargetHttpsProxyHttpRequest.java | 20 +++---- .../v1/DeleteTargetInstanceHttpRequest.java | 20 +++---- .../v1/DeleteTargetPoolHttpRequest.java | 20 +++---- .../v1/DeleteTargetSslProxyHttpRequest.java | 20 +++---- .../v1/DeleteTargetTcpProxyHttpRequest.java | 20 +++---- .../v1/DeleteTargetVpnGatewayHttpRequest.java | 20 +++---- .../compute/v1/DeleteUrlMapHttpRequest.java | 20 +++---- .../v1/DeleteVpnTunnelHttpRequest.java | 20 +++---- .../v1/DeleteZoneOperationHttpRequest.java | 18 +++--- .../com/google/cloud/compute/v1/Denied.java | 9 ++- .../compute/v1/DeprecateImageHttpRequest.java | 22 +++---- .../cloud/compute/v1/DeprecationStatus.java | 12 ++-- .../v1/DetachDiskInstanceHttpRequest.java | 22 +++---- .../v1/DisableXpnHostProjectHttpRequest.java | 20 +++---- .../DisableXpnResourceProjectHttpRequest.java | 22 +++---- .../com/google/cloud/compute/v1/Disk.java | 60 +++++++++---------- .../cloud/compute/v1/DiskAggregatedList.java | 14 ++--- .../google/cloud/compute/v1/DiskClient.java | 2 +- .../compute/v1/DiskInstantiationConfig.java | 10 ++-- .../com/google/cloud/compute/v1/DiskList.java | 14 ++--- .../cloud/compute/v1/DiskMoveRequest.java | 6 +- .../google/cloud/compute/v1/DiskSettings.java | 2 +- .../com/google/cloud/compute/v1/DiskType.java | 24 ++++---- .../compute/v1/DiskTypeAggregatedList.java | 14 ++--- .../cloud/compute/v1/DiskTypeClient.java | 2 +- .../google/cloud/compute/v1/DiskTypeList.java | 14 ++--- .../cloud/compute/v1/DiskTypeSettings.java | 2 +- .../cloud/compute/v1/DiskTypesScopedList.java | 6 +- .../cloud/compute/v1/DisksResizeRequest.java | 4 +- .../cloud/compute/v1/DisksScopedList.java | 6 +- .../cloud/compute/v1/DistributionPolicy.java | 4 +- .../DistributionPolicyZoneConfiguration.java | 4 +- .../v1/EnableXpnHostProjectHttpRequest.java | 20 +++---- .../EnableXpnResourceProjectHttpRequest.java | 22 +++---- .../com/google/cloud/compute/v1/Error.java | 4 +- .../com/google/cloud/compute/v1/Errors.java | 8 +-- ...xpandIpCidrRangeSubnetworkHttpRequest.java | 22 +++---- .../com/google/cloud/compute/v1/Expr.java | 10 ++-- .../com/google/cloud/compute/v1/Firewall.java | 40 ++++++------- .../cloud/compute/v1/FirewallClient.java | 2 +- .../google/cloud/compute/v1/FirewallList.java | 14 ++--- .../cloud/compute/v1/FirewallLogConfig.java | 4 +- .../cloud/compute/v1/FirewallSettings.java | 2 +- .../cloud/compute/v1/ForwardingRule.java | 44 ++++++++------ .../v1/ForwardingRuleAggregatedList.java | 14 ++--- .../compute/v1/ForwardingRuleClient.java | 2 +- .../cloud/compute/v1/ForwardingRuleList.java | 14 ++--- .../compute/v1/ForwardingRuleSettings.java | 2 +- .../compute/v1/ForwardingRulesScopedList.java | 6 +- .../v1/GetAcceleratorTypeHttpRequest.java | 18 +++--- .../compute/v1/GetAddressHttpRequest.java | 18 +++--- .../compute/v1/GetAutoscalerHttpRequest.java | 18 +++--- .../v1/GetBackendBucketHttpRequest.java | 18 +++--- .../v1/GetBackendServiceHttpRequest.java | 18 +++--- ...GetDiagnosticsInterconnectHttpRequest.java | 18 +++--- .../cloud/compute/v1/GetDiskHttpRequest.java | 18 +++--- .../compute/v1/GetDiskTypeHttpRequest.java | 18 +++--- .../compute/v1/GetFirewallHttpRequest.java | 18 +++--- .../v1/GetForwardingRuleHttpRequest.java | 18 +++--- .../v1/GetFromFamilyImageHttpRequest.java | 18 +++--- .../v1/GetGlobalAddressHttpRequest.java | 18 +++--- .../GetGlobalForwardingRuleHttpRequest.java | 18 +++--- .../v1/GetGlobalOperationHttpRequest.java | 18 +++--- .../GetHealthBackendServiceHttpRequest.java | 20 +++---- .../compute/v1/GetHealthCheckHttpRequest.java | 18 +++--- ...HealthRegionBackendServiceHttpRequest.java | 20 +++---- .../v1/GetHealthTargetPoolHttpRequest.java | 20 +++---- .../v1/GetHttpHealthCheckHttpRequest.java | 18 +++--- .../v1/GetHttpsHealthCheckHttpRequest.java | 18 +++--- .../v1/GetIamPolicyDiskHttpRequest.java | 18 +++--- .../v1/GetIamPolicyImageHttpRequest.java | 18 +++--- .../v1/GetIamPolicyInstanceHttpRequest.java | 18 +++--- ...tIamPolicyInstanceTemplateHttpRequest.java | 18 +++--- .../v1/GetIamPolicyLicenseHttpRequest.java | 18 +++--- .../v1/GetIamPolicyNodeGroupHttpRequest.java | 18 +++--- .../GetIamPolicyNodeTemplateHttpRequest.java | 18 +++--- .../v1/GetIamPolicySnapshotHttpRequest.java | 18 +++--- .../v1/GetIamPolicySubnetworkHttpRequest.java | 18 +++--- .../cloud/compute/v1/GetImageHttpRequest.java | 18 +++--- .../v1/GetInstanceGroupHttpRequest.java | 18 +++--- .../GetInstanceGroupManagerHttpRequest.java | 18 +++--- .../compute/v1/GetInstanceHttpRequest.java | 18 +++--- .../v1/GetInstanceTemplateHttpRequest.java | 18 +++--- .../GetInterconnectAttachmentHttpRequest.java | 18 +++--- .../v1/GetInterconnectHttpRequest.java | 18 +++--- .../GetInterconnectLocationHttpRequest.java | 18 +++--- .../compute/v1/GetLicenseCodeHttpRequest.java | 18 +++--- .../compute/v1/GetLicenseHttpRequest.java | 18 +++--- .../compute/v1/GetMachineTypeHttpRequest.java | 18 +++--- .../GetNatMappingInfoRoutersHttpRequest.java | 26 ++++---- .../compute/v1/GetNetworkHttpRequest.java | 18 +++--- .../compute/v1/GetNodeGroupHttpRequest.java | 18 +++--- .../v1/GetNodeTemplateHttpRequest.java | 18 +++--- .../compute/v1/GetNodeTypeHttpRequest.java | 18 +++--- .../compute/v1/GetProjectHttpRequest.java | 18 +++--- .../v1/GetRegionAutoscalerHttpRequest.java | 18 +++--- .../GetRegionBackendServiceHttpRequest.java | 18 +++--- .../v1/GetRegionCommitmentHttpRequest.java | 18 +++--- .../compute/v1/GetRegionDiskHttpRequest.java | 18 +++--- .../v1/GetRegionDiskTypeHttpRequest.java | 18 +++--- .../compute/v1/GetRegionHttpRequest.java | 18 +++--- .../v1/GetRegionInstanceGroupHttpRequest.java | 18 +++--- ...RegionInstanceGroupManagerHttpRequest.java | 18 +++--- .../v1/GetRegionOperationHttpRequest.java | 18 +++--- .../cloud/compute/v1/GetRouteHttpRequest.java | 18 +++--- .../compute/v1/GetRouterHttpRequest.java | 18 +++--- .../v1/GetRouterStatusRouterHttpRequest.java | 18 +++--- .../v1/GetRuleSecurityPolicyHttpRequest.java | 20 +++---- .../v1/GetSecurityPolicyHttpRequest.java | 18 +++--- ...etSerialPortOutputInstanceHttpRequest.java | 22 +++---- .../compute/v1/GetSnapshotHttpRequest.java | 18 +++--- .../v1/GetSslCertificateHttpRequest.java | 18 +++--- .../compute/v1/GetSslPolicyHttpRequest.java | 18 +++--- .../compute/v1/GetSubnetworkHttpRequest.java | 18 +++--- .../v1/GetTargetHttpProxyHttpRequest.java | 18 +++--- .../v1/GetTargetHttpsProxyHttpRequest.java | 18 +++--- .../v1/GetTargetInstanceHttpRequest.java | 18 +++--- .../compute/v1/GetTargetPoolHttpRequest.java | 18 +++--- .../v1/GetTargetSslProxyHttpRequest.java | 18 +++--- .../v1/GetTargetTcpProxyHttpRequest.java | 18 +++--- .../v1/GetTargetVpnGatewayHttpRequest.java | 18 +++--- .../compute/v1/GetUrlMapHttpRequest.java | 18 +++--- .../compute/v1/GetVpnTunnelHttpRequest.java | 18 +++--- .../v1/GetXpnHostProjectHttpRequest.java | 18 +++--- .../GetXpnResourcesProjectsHttpRequest.java | 26 ++++---- .../cloud/compute/v1/GetZoneHttpRequest.java | 18 +++--- .../v1/GetZoneOperationHttpRequest.java | 18 +++--- .../cloud/compute/v1/GlobalAddressClient.java | 2 +- .../compute/v1/GlobalAddressSettings.java | 2 +- .../v1/GlobalForwardingRuleClient.java | 2 +- .../v1/GlobalForwardingRuleSettings.java | 2 +- .../compute/v1/GlobalOperationClient.java | 2 +- .../compute/v1/GlobalOperationSettings.java | 2 +- .../compute/v1/GlobalSetLabelsRequest.java | 6 +- .../compute/v1/GlobalSetPolicyRequest.java | 8 +-- .../cloud/compute/v1/GuestOsFeature.java | 4 +- .../google/cloud/compute/v1/HealthCheck.java | 32 +++++----- .../cloud/compute/v1/HealthCheckClient.java | 2 +- .../cloud/compute/v1/HealthCheckList.java | 14 ++--- .../compute/v1/HealthCheckReference.java | 4 +- .../cloud/compute/v1/HealthCheckSettings.java | 2 +- .../google/cloud/compute/v1/HealthStatus.java | 10 ++-- .../com/google/cloud/compute/v1/HostRule.java | 8 +-- .../cloud/compute/v1/HttpHealthCheck.java | 14 ++--- .../cloud/compute/v1/HttpHealthCheck2.java | 28 ++++----- .../compute/v1/HttpHealthCheckClient.java | 2 +- .../cloud/compute/v1/HttpHealthCheckList.java | 14 ++--- .../compute/v1/HttpHealthCheckSettings.java | 2 +- .../cloud/compute/v1/HttpSHealthCheck.java | 14 ++--- .../cloud/compute/v1/HttpsHealthCheck2.java | 28 ++++----- .../compute/v1/HttpsHealthCheckClient.java | 2 +- .../compute/v1/HttpsHealthCheckList.java | 14 ++--- .../compute/v1/HttpsHealthCheckSettings.java | 2 +- .../com/google/cloud/compute/v1/Image.java | 58 +++++++++--------- .../google/cloud/compute/v1/ImageClient.java | 2 +- .../google/cloud/compute/v1/ImageList.java | 14 ++--- .../cloud/compute/v1/ImageSettings.java | 2 +- .../compute/v1/InsertAddressHttpRequest.java | 22 +++---- .../v1/InsertAutoscalerHttpRequest.java | 22 +++---- .../v1/InsertBackendBucketHttpRequest.java | 22 +++---- .../v1/InsertBackendServiceHttpRequest.java | 22 +++---- .../compute/v1/InsertDiskHttpRequest.java | 24 ++++---- .../compute/v1/InsertFirewallHttpRequest.java | 22 +++---- .../v1/InsertForwardingRuleHttpRequest.java | 22 +++---- .../v1/InsertGlobalAddressHttpRequest.java | 22 +++---- ...InsertGlobalForwardingRuleHttpRequest.java | 22 +++---- .../v1/InsertHealthCheckHttpRequest.java | 22 +++---- .../v1/InsertHttpHealthCheckHttpRequest.java | 22 +++---- .../v1/InsertHttpsHealthCheckHttpRequest.java | 22 +++---- .../compute/v1/InsertImageHttpRequest.java | 24 ++++---- .../v1/InsertInstanceGroupHttpRequest.java | 22 +++---- ...InsertInstanceGroupManagerHttpRequest.java | 22 +++---- .../compute/v1/InsertInstanceHttpRequest.java | 24 ++++---- .../v1/InsertInstanceTemplateHttpRequest.java | 22 +++---- ...sertInterconnectAttachmentHttpRequest.java | 22 +++---- .../v1/InsertInterconnectHttpRequest.java | 22 +++---- .../compute/v1/InsertLicenseHttpRequest.java | 22 +++---- .../compute/v1/InsertNetworkHttpRequest.java | 22 +++---- .../v1/InsertNodeGroupHttpRequest.java | 24 ++++---- .../v1/InsertNodeTemplateHttpRequest.java | 22 +++---- .../v1/InsertRegionAutoscalerHttpRequest.java | 22 +++---- ...InsertRegionBackendServiceHttpRequest.java | 22 +++---- .../v1/InsertRegionCommitmentHttpRequest.java | 22 +++---- .../v1/InsertRegionDiskHttpRequest.java | 24 ++++---- ...RegionInstanceGroupManagerHttpRequest.java | 22 +++---- .../compute/v1/InsertRouteHttpRequest.java | 22 +++---- .../compute/v1/InsertRouterHttpRequest.java | 22 +++---- .../v1/InsertSecurityPolicyHttpRequest.java | 22 +++---- .../v1/InsertSslCertificateHttpRequest.java | 22 +++---- .../v1/InsertSslPolicyHttpRequest.java | 22 +++---- .../v1/InsertSubnetworkHttpRequest.java | 22 +++---- .../v1/InsertTargetHttpProxyHttpRequest.java | 22 +++---- .../v1/InsertTargetHttpsProxyHttpRequest.java | 22 +++---- .../v1/InsertTargetInstanceHttpRequest.java | 22 +++---- .../v1/InsertTargetPoolHttpRequest.java | 22 +++---- .../v1/InsertTargetSslProxyHttpRequest.java | 22 +++---- .../v1/InsertTargetTcpProxyHttpRequest.java | 22 +++---- .../v1/InsertTargetVpnGatewayHttpRequest.java | 22 +++---- .../compute/v1/InsertUrlMapHttpRequest.java | 22 +++---- .../v1/InsertVpnTunnelHttpRequest.java | 22 +++---- .../com/google/cloud/compute/v1/Instance.java | 52 ++++++++-------- .../compute/v1/InstanceAggregatedList.java | 14 ++--- .../cloud/compute/v1/InstanceClient.java | 2 +- .../cloud/compute/v1/InstanceGroup.java | 28 ++++----- .../v1/InstanceGroupAggregatedList.java | 14 ++--- .../cloud/compute/v1/InstanceGroupClient.java | 2 +- .../cloud/compute/v1/InstanceGroupList.java | 14 ++--- .../compute/v1/InstanceGroupManager.java | 38 ++++++------ .../InstanceGroupManagerActionsSummary.java | 20 +++---- .../InstanceGroupManagerAggregatedList.java | 14 ++--- ...InstanceGroupManagerAutoHealingPolicy.java | 6 +- .../v1/InstanceGroupManagerClient.java | 2 +- .../compute/v1/InstanceGroupManagerList.java | 14 ++--- .../v1/InstanceGroupManagerSettings.java | 2 +- ...eGroupManagersAbandonInstancesRequest.java | 4 +- ...ceGroupManagersDeleteInstancesRequest.java | 4 +- ...pManagersListManagedInstancesResponse.java | 4 +- ...GroupManagersRecreateInstancesRequest.java | 4 +- .../v1/InstanceGroupManagersScopedList.java | 6 +- ...oupManagersSetInstanceTemplateRequest.java | 4 +- ...nceGroupManagersSetTargetPoolsRequest.java | 6 +- .../compute/v1/InstanceGroupSettings.java | 2 +- .../v1/InstanceGroupsAddInstancesRequest.java | 4 +- .../v1/InstanceGroupsListInstances.java | 14 ++--- .../InstanceGroupsListInstancesRequest.java | 4 +- .../InstanceGroupsRemoveInstancesRequest.java | 4 +- .../compute/v1/InstanceGroupsScopedList.java | 6 +- .../InstanceGroupsSetNamedPortsRequest.java | 6 +- .../google/cloud/compute/v1/InstanceList.java | 14 ++--- .../compute/v1/InstanceListReferrers.java | 14 ++--- .../cloud/compute/v1/InstanceMoveRequest.java | 6 +- .../cloud/compute/v1/InstanceProperties.java | 26 ++++---- .../cloud/compute/v1/InstanceReference.java | 4 +- .../cloud/compute/v1/InstanceSettings.java | 2 +- .../cloud/compute/v1/InstanceTemplate.java | 20 +++---- .../compute/v1/InstanceTemplateClient.java | 2 +- .../compute/v1/InstanceTemplateList.java | 14 ++--- .../compute/v1/InstanceTemplateSettings.java | 2 +- .../compute/v1/InstanceWithNamedPorts.java | 8 +-- .../cloud/compute/v1/InstancesScopedList.java | 6 +- .../compute/v1/InstancesSetLabelsRequest.java | 6 +- .../InstancesSetMachineResourcesRequest.java | 4 +- .../v1/InstancesSetMachineTypeRequest.java | 4 +- .../v1/InstancesSetMinCpuPlatformRequest.java | 4 +- .../v1/InstancesSetServiceAccountRequest.java | 6 +- ...nstancesStartWithEncryptionKeyRequest.java | 4 +- .../google/cloud/compute/v1/Interconnect.java | 46 +++++++------- .../compute/v1/InterconnectAttachment.java | 50 ++++++++-------- .../InterconnectAttachmentAggregatedList.java | 14 ++--- .../v1/InterconnectAttachmentClient.java | 2 +- .../v1/InterconnectAttachmentList.java | 14 ++--- ...InterconnectAttachmentPartnerMetadata.java | 8 +-- .../v1/InterconnectAttachmentPrivateInfo.java | 4 +- .../v1/InterconnectAttachmentSettings.java | 2 +- .../v1/InterconnectAttachmentsScopedList.java | 6 +- .../compute/v1/InterconnectCircuitInfo.java | 8 +-- .../cloud/compute/v1/InterconnectClient.java | 2 +- .../compute/v1/InterconnectDiagnostics.java | 8 +-- .../v1/InterconnectDiagnosticsARPEntry.java | 6 +- ...InterconnectDiagnosticsLinkLACPStatus.java | 8 +-- ...terconnectDiagnosticsLinkOpticalPower.java | 6 +- .../v1/InterconnectDiagnosticsLinkStatus.java | 14 ++--- .../cloud/compute/v1/InterconnectList.java | 14 ++--- .../compute/v1/InterconnectLocation.java | 32 +++++----- .../v1/InterconnectLocationClient.java | 2 +- .../compute/v1/InterconnectLocationList.java | 14 ++--- .../v1/InterconnectLocationRegionInfo.java | 8 +-- .../v1/InterconnectLocationSettings.java | 2 +- .../v1/InterconnectOutageNotification.java | 18 +++--- .../compute/v1/InterconnectSettings.java | 2 +- .../InterconnectsGetDiagnosticsResponse.java | 4 +- .../v1/InvalidateCacheUrlMapHttpRequest.java | 22 +++---- .../com/google/cloud/compute/v1/Items.java | 6 +- .../com/google/cloud/compute/v1/License.java | 22 +++---- .../cloud/compute/v1/LicenseClient.java | 2 +- .../google/cloud/compute/v1/LicenseCode.java | 20 +++---- .../cloud/compute/v1/LicenseCodeClient.java | 2 +- .../compute/v1/LicenseCodeLicenseAlias.java | 6 +- .../cloud/compute/v1/LicenseCodeSettings.java | 2 +- .../v1/LicenseResourceRequirements.java | 6 +- .../cloud/compute/v1/LicenseSettings.java | 2 +- .../compute/v1/LicensesListResponse.java | 12 ++-- .../v1/ListAcceleratorTypesHttpRequest.java | 26 ++++---- .../compute/v1/ListAddressesHttpRequest.java | 26 ++++---- .../v1/ListAutoscalersHttpRequest.java | 26 ++++---- ...ailableFeaturesSslPoliciesHttpRequest.java | 26 ++++---- .../v1/ListBackendBucketsHttpRequest.java | 26 ++++---- .../v1/ListBackendServicesHttpRequest.java | 26 ++++---- .../compute/v1/ListDiskTypesHttpRequest.java | 26 ++++---- .../compute/v1/ListDisksHttpRequest.java | 26 ++++---- .../compute/v1/ListFirewallsHttpRequest.java | 26 ++++---- .../v1/ListForwardingRulesHttpRequest.java | 26 ++++---- .../v1/ListGlobalAddressesHttpRequest.java | 26 ++++---- .../ListGlobalForwardingRulesHttpRequest.java | 26 ++++---- .../v1/ListGlobalOperationsHttpRequest.java | 26 ++++---- .../v1/ListHealthChecksHttpRequest.java | 26 ++++---- .../v1/ListHttpHealthChecksHttpRequest.java | 26 ++++---- .../v1/ListHttpsHealthChecksHttpRequest.java | 26 ++++---- .../compute/v1/ListImagesHttpRequest.java | 26 ++++---- .../ListInstanceGroupManagersHttpRequest.java | 26 ++++---- .../v1/ListInstanceGroupsHttpRequest.java | 26 ++++---- .../v1/ListInstanceTemplatesHttpRequest.java | 26 ++++---- .../compute/v1/ListInstancesHttpRequest.java | 26 ++++---- ...istInstancesInstanceGroupsHttpRequest.java | 28 ++++----- ...tancesRegionInstanceGroupsHttpRequest.java | 28 ++++----- ...istInterconnectAttachmentsHttpRequest.java | 26 ++++---- .../ListInterconnectLocationsHttpRequest.java | 26 ++++---- .../v1/ListInterconnectsHttpRequest.java | 26 ++++---- .../compute/v1/ListLicensesHttpRequest.java | 26 ++++---- .../v1/ListMachineTypesHttpRequest.java | 26 ++++---- ...ancesInstanceGroupManagersHttpRequest.java | 26 ++++---- ...egionInstanceGroupManagersHttpRequest.java | 26 ++++---- .../compute/v1/ListNetworksHttpRequest.java | 26 ++++---- .../compute/v1/ListNodeGroupsHttpRequest.java | 26 ++++---- .../v1/ListNodeTemplatesHttpRequest.java | 26 ++++---- .../compute/v1/ListNodeTypesHttpRequest.java | 26 ++++---- .../v1/ListNodesNodeGroupsHttpRequest.java | 26 ++++---- .../v1/ListReferrersInstancesHttpRequest.java | 26 ++++---- .../v1/ListRegionAutoscalersHttpRequest.java | 26 ++++---- .../ListRegionBackendServicesHttpRequest.java | 26 ++++---- .../v1/ListRegionCommitmentsHttpRequest.java | 26 ++++---- .../v1/ListRegionDiskTypesHttpRequest.java | 26 ++++---- .../v1/ListRegionDisksHttpRequest.java | 26 ++++---- ...egionInstanceGroupManagersHttpRequest.java | 26 ++++---- .../ListRegionInstanceGroupsHttpRequest.java | 26 ++++---- .../v1/ListRegionOperationsHttpRequest.java | 26 ++++---- .../compute/v1/ListRegionsHttpRequest.java | 26 ++++---- .../compute/v1/ListRoutersHttpRequest.java | 26 ++++---- .../compute/v1/ListRoutesHttpRequest.java | 26 ++++---- .../v1/ListSecurityPoliciesHttpRequest.java | 26 ++++---- .../compute/v1/ListSnapshotsHttpRequest.java | 26 ++++---- .../v1/ListSslCertificatesHttpRequest.java | 26 ++++---- .../v1/ListSslPoliciesHttpRequest.java | 26 ++++---- .../v1/ListSubnetworksHttpRequest.java | 26 ++++---- .../v1/ListTargetHttpProxiesHttpRequest.java | 26 ++++---- .../v1/ListTargetHttpsProxiesHttpRequest.java | 26 ++++---- .../v1/ListTargetInstancesHttpRequest.java | 26 ++++---- .../v1/ListTargetPoolsHttpRequest.java | 26 ++++---- .../v1/ListTargetSslProxiesHttpRequest.java | 26 ++++---- .../v1/ListTargetTcpProxiesHttpRequest.java | 26 ++++---- .../v1/ListTargetVpnGatewaysHttpRequest.java | 26 ++++---- .../compute/v1/ListUrlMapsHttpRequest.java | 26 ++++---- .../v1/ListUsableSubnetworksHttpRequest.java | 26 ++++---- .../compute/v1/ListVpnTunnelsHttpRequest.java | 26 ++++---- .../v1/ListXpnHostsProjectsHttpRequest.java | 28 ++++----- .../v1/ListZoneOperationsHttpRequest.java | 26 ++++---- .../compute/v1/ListZonesHttpRequest.java | 26 ++++---- .../google/cloud/compute/v1/LogConfig.java | 8 +-- .../v1/LogConfigCloudAuditOptions.java | 6 +- .../compute/v1/LogConfigCounterOptions.java | 6 +- .../v1/LogConfigDataAccessOptions.java | 4 +- .../google/cloud/compute/v1/MachineType.java | 32 +++++----- .../compute/v1/MachineTypeAggregatedList.java | 14 ++--- .../cloud/compute/v1/MachineTypeClient.java | 2 +- .../cloud/compute/v1/MachineTypeList.java | 14 ++--- .../cloud/compute/v1/MachineTypeSettings.java | 2 +- .../compute/v1/MachineTypesScopedList.java | 6 +- .../cloud/compute/v1/ManagedInstance.java | 12 ++-- .../v1/ManagedInstanceLastAttempt.java | 4 +- .../com/google/cloud/compute/v1/Metadata.java | 8 +-- .../v1/MoveDiskProjectHttpRequest.java | 22 +++---- .../v1/MoveInstanceProjectHttpRequest.java | 22 +++---- .../google/cloud/compute/v1/NamedPort.java | 6 +- .../com/google/cloud/compute/v1/Network.java | 30 ++++++---- .../cloud/compute/v1/NetworkClient.java | 2 +- .../cloud/compute/v1/NetworkInterface.java | 18 +++--- .../google/cloud/compute/v1/NetworkList.java | 14 ++--- .../cloud/compute/v1/NetworkPeering.java | 12 ++-- .../compute/v1/NetworkRoutingConfig.java | 4 +- .../cloud/compute/v1/NetworkSettings.java | 2 +- .../compute/v1/NetworksAddPeeringRequest.java | 8 +-- .../v1/NetworksRemovePeeringRequest.java | 4 +- .../google/cloud/compute/v1/NodeGroup.java | 22 +++---- .../compute/v1/NodeGroupAggregatedList.java | 14 ++--- .../cloud/compute/v1/NodeGroupClient.java | 2 +- .../cloud/compute/v1/NodeGroupList.java | 14 ++--- .../cloud/compute/v1/NodeGroupNode.java | 10 ++-- .../cloud/compute/v1/NodeGroupSettings.java | 2 +- .../compute/v1/NodeGroupsAddNodesRequest.java | 4 +- .../v1/NodeGroupsDeleteNodesRequest.java | 4 +- .../cloud/compute/v1/NodeGroupsListNodes.java | 14 ++--- .../compute/v1/NodeGroupsScopedList.java | 6 +- .../v1/NodeGroupsSetNodeTemplateRequest.java | 4 +- .../google/cloud/compute/v1/NodeTemplate.java | 26 ++++---- .../v1/NodeTemplateAggregatedList.java | 14 ++--- .../cloud/compute/v1/NodeTemplateClient.java | 2 +- .../cloud/compute/v1/NodeTemplateList.java | 14 ++--- .../v1/NodeTemplateNodeTypeFlexibility.java | 8 +-- .../compute/v1/NodeTemplateSettings.java | 2 +- .../compute/v1/NodeTemplatesScopedList.java | 6 +- .../com/google/cloud/compute/v1/NodeType.java | 26 ++++---- .../compute/v1/NodeTypeAggregatedList.java | 14 ++--- .../cloud/compute/v1/NodeTypeClient.java | 2 +- .../google/cloud/compute/v1/NodeTypeList.java | 14 ++--- .../cloud/compute/v1/NodeTypeSettings.java | 2 +- .../cloud/compute/v1/NodeTypesScopedList.java | 6 +- .../google/cloud/compute/v1/Operation.java | 48 +++++++-------- .../compute/v1/OperationAggregatedList.java | 14 ++--- .../cloud/compute/v1/OperationList.java | 14 ++--- .../compute/v1/OperationsScopedList.java | 6 +- .../v1/PatchAutoscalerHttpRequest.java | 26 ++++---- .../v1/PatchBackendBucketHttpRequest.java | 24 ++++---- .../v1/PatchBackendServiceHttpRequest.java | 24 ++++---- .../compute/v1/PatchFirewallHttpRequest.java | 24 ++++---- .../v1/PatchHealthCheckHttpRequest.java | 24 ++++---- .../v1/PatchHttpHealthCheckHttpRequest.java | 24 ++++---- .../v1/PatchHttpsHealthCheckHttpRequest.java | 24 ++++---- .../PatchInstanceGroupManagerHttpRequest.java | 24 ++++---- ...atchInterconnectAttachmentHttpRequest.java | 24 ++++---- .../v1/PatchInterconnectHttpRequest.java | 24 ++++---- .../compute/v1/PatchNetworkHttpRequest.java | 24 ++++---- .../v1/PatchRegionAutoscalerHttpRequest.java | 26 ++++---- .../PatchRegionBackendServiceHttpRequest.java | 24 ++++---- ...RegionInstanceGroupManagerHttpRequest.java | 24 ++++---- .../compute/v1/PatchRouterHttpRequest.java | 24 ++++---- .../PatchRuleSecurityPolicyHttpRequest.java | 22 +++---- .../v1/PatchSecurityPolicyHttpRequest.java | 24 ++++---- .../compute/v1/PatchSslPolicyHttpRequest.java | 24 ++++---- .../v1/PatchSubnetworkHttpRequest.java | 24 ++++---- .../compute/v1/PatchUrlMapHttpRequest.java | 24 ++++---- .../google/cloud/compute/v1/PathMatcher.java | 10 ++-- .../com/google/cloud/compute/v1/PathRule.java | 6 +- .../com/google/cloud/compute/v1/Policy.java | 14 ++--- .../compute/v1/PreviewRouterHttpRequest.java | 20 +++---- .../com/google/cloud/compute/v1/Project.java | 28 ++++----- .../cloud/compute/v1/ProjectClient.java | 2 +- .../compute/v1/ProjectGlobalAddressName.java | 2 +- .../v1/ProjectGlobalBackendBucketName.java | 2 +- .../v1/ProjectGlobalBackendServiceName.java | 2 +- .../compute/v1/ProjectGlobalFirewallName.java | 2 +- .../v1/ProjectGlobalForwardingRuleName.java | 2 +- .../v1/ProjectGlobalHealthCheckName.java | 2 +- .../v1/ProjectGlobalHttpHealthCheckName.java | 2 +- .../v1/ProjectGlobalHttpsHealthCheckName.java | 2 +- .../v1/ProjectGlobalImageFamilyName.java | 2 +- .../compute/v1/ProjectGlobalImageName.java | 2 +- .../v1/ProjectGlobalImageResourceName.java | 2 +- .../v1/ProjectGlobalInstanceTemplateName.java | 2 +- ...ectGlobalInstanceTemplateResourceName.java | 2 +- ...ProjectGlobalInterconnectLocationName.java | 2 +- .../v1/ProjectGlobalInterconnectName.java | 2 +- .../v1/ProjectGlobalLicenseCodeName.java | 2 +- .../ProjectGlobalLicenseCodeResourceName.java | 2 +- .../compute/v1/ProjectGlobalLicenseName.java | 2 +- .../v1/ProjectGlobalLicenseResourceName.java | 2 +- .../compute/v1/ProjectGlobalNetworkName.java | 2 +- .../v1/ProjectGlobalOperationName.java | 2 +- .../compute/v1/ProjectGlobalRouteName.java | 2 +- .../v1/ProjectGlobalSecurityPolicyName.java | 2 +- .../compute/v1/ProjectGlobalSnapshotName.java | 2 +- .../v1/ProjectGlobalSnapshotResourceName.java | 2 +- .../v1/ProjectGlobalSslCertificateName.java | 2 +- .../v1/ProjectGlobalSslPolicyName.java | 2 +- .../v1/ProjectGlobalTargetHttpProxyName.java | 2 +- .../v1/ProjectGlobalTargetHttpsProxyName.java | 2 +- .../v1/ProjectGlobalTargetSslProxyName.java | 2 +- .../v1/ProjectGlobalTargetTcpProxyName.java | 2 +- .../compute/v1/ProjectGlobalUrlMapName.java | 2 +- .../google/cloud/compute/v1/ProjectName.java | 2 +- .../compute/v1/ProjectRegionAddressName.java | 2 +- .../v1/ProjectRegionAutoscalerName.java | 2 +- .../v1/ProjectRegionBackendServiceName.java | 2 +- .../v1/ProjectRegionCommitmentName.java | 2 +- .../compute/v1/ProjectRegionDiskName.java | 2 +- .../v1/ProjectRegionDiskResourceName.java | 2 +- .../compute/v1/ProjectRegionDiskTypeName.java | 2 +- .../v1/ProjectRegionForwardingRuleName.java | 2 +- ...ProjectRegionInstanceGroupManagerName.java | 2 +- .../v1/ProjectRegionInstanceGroupName.java | 2 +- ...ojectRegionInterconnectAttachmentName.java | 2 +- .../cloud/compute/v1/ProjectRegionName.java | 2 +- .../v1/ProjectRegionNodeTemplateName.java | 2 +- ...ProjectRegionNodeTemplateResourceName.java | 2 +- .../v1/ProjectRegionOperationName.java | 2 +- .../compute/v1/ProjectRegionRouterName.java | 2 +- .../v1/ProjectRegionSubnetworkName.java | 2 +- .../ProjectRegionSubnetworkResourceName.java | 2 +- .../v1/ProjectRegionTargetPoolName.java | 2 +- .../v1/ProjectRegionTargetVpnGatewayName.java | 2 +- .../v1/ProjectRegionVpnTunnelName.java | 2 +- .../cloud/compute/v1/ProjectSettings.java | 2 +- .../v1/ProjectTargetHttpProxyName.java | 2 +- .../v1/ProjectTargetHttpsProxyName.java | 2 +- .../v1/ProjectZoneAcceleratorTypeName.java | 2 +- .../compute/v1/ProjectZoneAutoscalerName.java | 2 +- .../cloud/compute/v1/ProjectZoneDiskName.java | 2 +- .../v1/ProjectZoneDiskResourceName.java | 2 +- .../compute/v1/ProjectZoneDiskTypeName.java | 2 +- .../ProjectZoneInstanceGroupManagerName.java | 2 +- .../v1/ProjectZoneInstanceGroupName.java | 2 +- .../compute/v1/ProjectZoneInstanceName.java | 2 +- .../v1/ProjectZoneInstanceResourceName.java | 2 +- .../v1/ProjectZoneMachineTypeName.java | 2 +- .../cloud/compute/v1/ProjectZoneName.java | 2 +- .../compute/v1/ProjectZoneNodeGroupName.java | 2 +- .../v1/ProjectZoneNodeGroupResourceName.java | 2 +- .../compute/v1/ProjectZoneNodeTypeName.java | 2 +- .../compute/v1/ProjectZoneOperationName.java | 2 +- .../v1/ProjectZoneTargetInstanceName.java | 2 +- .../v1/ProjectsDisableXpnResourceRequest.java | 4 +- .../v1/ProjectsEnableXpnResourceRequest.java | 4 +- .../compute/v1/ProjectsGetXpnResources.java | 8 +-- .../v1/ProjectsListXpnHostsRequest.java | 4 +- .../ProjectsSetDefaultNetworkTierRequest.java | 4 +- .../com/google/cloud/compute/v1/Quota.java | 10 ++-- .../com/google/cloud/compute/v1/RawDisk.java | 8 +-- ...tancesInstanceGroupManagerHttpRequest.java | 22 +++---- ...RegionInstanceGroupManagerHttpRequest.java | 22 +++---- .../google/cloud/compute/v1/Reference.java | 10 ++-- .../com/google/cloud/compute/v1/Region.java | 22 +++---- .../compute/v1/RegionAutoscalerClient.java | 2 +- .../compute/v1/RegionAutoscalerList.java | 14 ++--- .../compute/v1/RegionAutoscalerSettings.java | 2 +- .../v1/RegionBackendServiceClient.java | 2 +- .../v1/RegionBackendServiceSettings.java | 2 +- .../google/cloud/compute/v1/RegionClient.java | 2 +- .../compute/v1/RegionCommitmentClient.java | 2 +- .../compute/v1/RegionCommitmentSettings.java | 2 +- .../cloud/compute/v1/RegionDiskClient.java | 2 +- .../cloud/compute/v1/RegionDiskSettings.java | 2 +- .../compute/v1/RegionDiskTypeClient.java | 2 +- .../cloud/compute/v1/RegionDiskTypeList.java | 14 ++--- .../compute/v1/RegionDiskTypeSettings.java | 2 +- .../compute/v1/RegionDisksResizeRequest.java | 4 +- .../compute/v1/RegionInstanceGroupClient.java | 2 +- .../compute/v1/RegionInstanceGroupList.java | 14 ++--- .../v1/RegionInstanceGroupManagerClient.java | 2 +- .../v1/RegionInstanceGroupManagerList.java | 14 ++--- .../RegionInstanceGroupManagerSettings.java | 2 +- ...eGroupManagersAbandonInstancesRequest.java | 4 +- ...ceGroupManagersDeleteInstancesRequest.java | 4 +- ...nceGroupManagersListInstancesResponse.java | 4 +- ...nInstanceGroupManagersRecreateRequest.java | 4 +- ...nceGroupManagersSetTargetPoolsRequest.java | 6 +- ...stanceGroupManagersSetTemplateRequest.java | 4 +- .../v1/RegionInstanceGroupSettings.java | 2 +- .../v1/RegionInstanceGroupsListInstances.java | 14 ++--- ...ionInstanceGroupsListInstancesRequest.java | 6 +- ...ionInstanceGroupsSetNamedPortsRequest.java | 6 +- .../google/cloud/compute/v1/RegionList.java | 14 ++--- .../compute/v1/RegionOperationClient.java | 2 +- .../compute/v1/RegionOperationSettings.java | 2 +- .../compute/v1/RegionSetLabelsRequest.java | 6 +- .../compute/v1/RegionSetPolicyRequest.java | 8 +-- .../cloud/compute/v1/RegionSettings.java | 2 +- ...emoveHealthCheckTargetPoolHttpRequest.java | 22 +++---- .../RemoveInstanceTargetPoolHttpRequest.java | 22 +++---- ...moveInstancesInstanceGroupHttpRequest.java | 22 +++---- .../v1/RemovePeeringNetworkHttpRequest.java | 22 +++---- .../RemoveRuleSecurityPolicyHttpRequest.java | 20 +++---- .../compute/v1/ResetInstanceHttpRequest.java | 20 +++---- .../compute/v1/ResizeDiskHttpRequest.java | 22 +++---- ...ResizeInstanceGroupManagerHttpRequest.java | 22 +++---- .../v1/ResizeRegionDiskHttpRequest.java | 22 +++---- ...RegionInstanceGroupManagerHttpRequest.java | 22 +++---- .../cloud/compute/v1/ResourceCommitment.java | 6 +- .../compute/v1/ResourceGroupReference.java | 4 +- .../com/google/cloud/compute/v1/Route.java | 36 +++++------ .../google/cloud/compute/v1/RouteClient.java | 2 +- .../google/cloud/compute/v1/RouteList.java | 14 ++--- .../cloud/compute/v1/RouteSettings.java | 2 +- .../com/google/cloud/compute/v1/Router.java | 26 ++++---- .../compute/v1/RouterAdvertisedIpRange.java | 6 +- .../compute/v1/RouterAggregatedList.java | 14 ++--- .../google/cloud/compute/v1/RouterBgp.java | 10 ++-- .../cloud/compute/v1/RouterBgpPeer.java | 22 +++---- .../google/cloud/compute/v1/RouterClient.java | 2 +- .../cloud/compute/v1/RouterInterface.java | 12 ++-- .../google/cloud/compute/v1/RouterList.java | 14 ++--- .../google/cloud/compute/v1/RouterNat.java | 22 +++---- .../compute/v1/RouterNatSubnetworkToNat.java | 8 +-- .../cloud/compute/v1/RouterSettings.java | 2 +- .../google/cloud/compute/v1/RouterStatus.java | 12 ++-- .../compute/v1/RouterStatusBgpPeerStatus.java | 22 +++---- .../compute/v1/RouterStatusNatStatus.java | 14 ++--- .../compute/v1/RouterStatusResponse.java | 6 +- .../compute/v1/RoutersPreviewResponse.java | 4 +- .../cloud/compute/v1/RoutersScopedList.java | 6 +- .../com/google/cloud/compute/v1/Rule.java | 16 ++--- .../cloud/compute/v1/SSLHealthCheck.java | 12 ++-- .../google/cloud/compute/v1/Scheduling.java | 10 ++-- .../compute/v1/SchedulingNodeAffinity.java | 8 +-- .../google/cloud/compute/v1/ScratchDisks.java | 4 +- .../cloud/compute/v1/SecurityPolicy.java | 18 +++--- .../compute/v1/SecurityPolicyClient.java | 2 +- .../cloud/compute/v1/SecurityPolicyList.java | 12 ++-- .../compute/v1/SecurityPolicyReference.java | 4 +- .../cloud/compute/v1/SecurityPolicyRule.java | 14 ++--- .../compute/v1/SecurityPolicyRuleMatcher.java | 6 +- .../v1/SecurityPolicyRuleMatcherConfig.java | 4 +- .../compute/v1/SecurityPolicySettings.java | 2 +- .../cloud/compute/v1/SerialPortOutput.java | 12 ++-- .../cloud/compute/v1/ServiceAccount.java | 6 +- ...ckendServiceTargetSslProxyHttpRequest.java | 22 +++---- ...ckendServiceTargetTcpProxyHttpRequest.java | 22 +++---- .../v1/SetBackupTargetPoolHttpRequest.java | 24 ++++---- ...monInstanceMetadataProjectHttpRequest.java | 22 +++---- ...tDefaultNetworkTierProjectHttpRequest.java | 22 +++---- ...DeletionProtectionInstanceHttpRequest.java | 22 +++---- .../SetDiskAutoDeleteInstanceHttpRequest.java | 24 ++++---- .../v1/SetIamPolicyDiskHttpRequest.java | 20 +++---- .../v1/SetIamPolicyImageHttpRequest.java | 20 +++---- .../v1/SetIamPolicyInstanceHttpRequest.java | 20 +++---- ...tIamPolicyInstanceTemplateHttpRequest.java | 20 +++---- .../v1/SetIamPolicyLicenseHttpRequest.java | 20 +++---- .../v1/SetIamPolicyNodeGroupHttpRequest.java | 20 +++---- .../SetIamPolicyNodeTemplateHttpRequest.java | 20 +++---- .../v1/SetIamPolicySnapshotHttpRequest.java | 20 +++---- .../v1/SetIamPolicySubnetworkHttpRequest.java | 20 +++---- ...mplateInstanceGroupManagerHttpRequest.java | 22 +++---- ...RegionInstanceGroupManagerHttpRequest.java | 22 +++---- .../compute/v1/SetLabelsDiskHttpRequest.java | 22 +++---- .../compute/v1/SetLabelsImageHttpRequest.java | 20 +++---- .../v1/SetLabelsInstanceHttpRequest.java | 22 +++---- .../v1/SetLabelsRegionDiskHttpRequest.java | 22 +++---- .../v1/SetLabelsSnapshotHttpRequest.java | 20 +++---- ...etMachineResourcesInstanceHttpRequest.java | 22 +++---- .../v1/SetMachineTypeInstanceHttpRequest.java | 22 +++---- .../v1/SetMetadataInstanceHttpRequest.java | 22 +++---- .../SetMinCpuPlatformInstanceHttpRequest.java | 22 +++---- ...SetNamedPortsInstanceGroupHttpRequest.java | 22 +++---- ...edPortsRegionInstanceGroupHttpRequest.java | 22 +++---- .../SetNodeTemplateNodeGroupHttpRequest.java | 22 +++---- ...teIpGoogleAccessSubnetworkHttpRequest.java | 22 +++---- ...tProxyHeaderTargetSslProxyHttpRequest.java | 22 +++---- ...tProxyHeaderTargetTcpProxyHttpRequest.java | 22 +++---- ...icOverrideTargetHttpsProxyHttpRequest.java | 22 +++---- .../v1/SetSchedulingInstanceHttpRequest.java | 22 +++---- ...curityPolicyBackendServiceHttpRequest.java | 22 +++---- .../SetServiceAccountInstanceHttpRequest.java | 22 +++---- ...rtificatesTargetHttpsProxyHttpRequest.java | 22 +++---- ...CertificatesTargetSslProxyHttpRequest.java | 22 +++---- ...tSslPolicyTargetHttpsProxyHttpRequest.java | 22 +++---- ...SetSslPolicyTargetSslProxyHttpRequest.java | 22 +++---- .../v1/SetTagsInstanceHttpRequest.java | 22 +++---- .../SetTargetForwardingRuleHttpRequest.java | 22 +++---- ...TargetGlobalForwardingRuleHttpRequest.java | 22 +++---- ...tPoolsInstanceGroupManagerHttpRequest.java | 22 +++---- ...RegionInstanceGroupManagerHttpRequest.java | 22 +++---- .../SetUrlMapTargetHttpProxyHttpRequest.java | 22 +++---- .../SetUrlMapTargetHttpsProxyHttpRequest.java | 22 +++---- ...etUsageExportBucketProjectHttpRequest.java | 22 +++---- .../google/cloud/compute/v1/SignedUrlKey.java | 6 +- ...teMaintenanceEventInstanceHttpRequest.java | 18 +++--- .../com/google/cloud/compute/v1/Snapshot.java | 38 ++++++------ .../cloud/compute/v1/SnapshotClient.java | 2 +- .../google/cloud/compute/v1/SnapshotList.java | 14 ++--- .../cloud/compute/v1/SnapshotSettings.java | 2 +- .../compute/v1/SourceInstanceParams.java | 4 +- .../cloud/compute/v1/SslCertificate.java | 18 +++--- .../compute/v1/SslCertificateClient.java | 2 +- .../cloud/compute/v1/SslCertificateList.java | 14 ++--- .../compute/v1/SslCertificateSettings.java | 2 +- .../cloud/compute/v1/SslPoliciesList.java | 14 ++--- ...PoliciesListAvailableFeaturesResponse.java | 4 +- .../google/cloud/compute/v1/SslPolicy.java | 26 ++++---- .../cloud/compute/v1/SslPolicyClient.java | 2 +- .../cloud/compute/v1/SslPolicyReference.java | 4 +- .../cloud/compute/v1/SslPolicySettings.java | 2 +- .../compute/v1/StartInstanceHttpRequest.java | 20 +++---- ...tWithEncryptionKeyInstanceHttpRequest.java | 22 +++---- .../compute/v1/StopInstanceHttpRequest.java | 20 +++---- .../google/cloud/compute/v1/Subnetwork.java | 30 +++++----- .../compute/v1/SubnetworkAggregatedList.java | 14 ++--- .../cloud/compute/v1/SubnetworkClient.java | 2 +- .../cloud/compute/v1/SubnetworkList.java | 14 ++--- .../compute/v1/SubnetworkSecondaryRange.java | 6 +- .../cloud/compute/v1/SubnetworkSettings.java | 2 +- .../SubnetworksExpandIpCidrRangeRequest.java | 4 +- .../compute/v1/SubnetworksScopedList.java | 6 +- ...tworksSetPrivateIpGoogleAccessRequest.java | 4 +- .../SwitchToCustomModeNetworkHttpRequest.java | 20 +++---- .../cloud/compute/v1/TCPHealthCheck.java | 12 ++-- .../com/google/cloud/compute/v1/Tags.java | 6 +- .../cloud/compute/v1/TargetHttpProxy.java | 16 ++--- .../compute/v1/TargetHttpProxyClient.java | 2 +- .../cloud/compute/v1/TargetHttpProxyList.java | 14 ++--- .../compute/v1/TargetHttpProxySettings.java | 2 +- ...getHttpsProxiesSetQuicOverrideRequest.java | 4 +- ...HttpsProxiesSetSslCertificatesRequest.java | 4 +- .../cloud/compute/v1/TargetHttpsProxy.java | 22 +++---- .../compute/v1/TargetHttpsProxyClient.java | 2 +- .../compute/v1/TargetHttpsProxyList.java | 14 ++--- .../compute/v1/TargetHttpsProxySettings.java | 2 +- .../cloud/compute/v1/TargetInstance.java | 20 +++---- .../v1/TargetInstanceAggregatedList.java | 14 ++--- .../compute/v1/TargetInstanceClient.java | 2 +- .../cloud/compute/v1/TargetInstanceList.java | 14 ++--- .../compute/v1/TargetInstanceSettings.java | 2 +- .../compute/v1/TargetInstancesScopedList.java | 6 +- .../google/cloud/compute/v1/TargetPool.java | 26 ++++---- .../compute/v1/TargetPoolAggregatedList.java | 14 ++--- .../cloud/compute/v1/TargetPoolClient.java | 2 +- .../compute/v1/TargetPoolInstanceHealth.java | 6 +- .../cloud/compute/v1/TargetPoolList.java | 14 ++--- .../cloud/compute/v1/TargetPoolSettings.java | 2 +- .../v1/TargetPoolsAddHealthCheckRequest.java | 4 +- .../v1/TargetPoolsAddInstanceRequest.java | 4 +- .../TargetPoolsRemoveHealthCheckRequest.java | 4 +- .../v1/TargetPoolsRemoveInstanceRequest.java | 4 +- .../compute/v1/TargetPoolsScopedList.java | 6 +- .../cloud/compute/v1/TargetReference.java | 4 +- ...getSslProxiesSetBackendServiceRequest.java | 4 +- ...TargetSslProxiesSetProxyHeaderRequest.java | 4 +- ...etSslProxiesSetSslCertificatesRequest.java | 4 +- .../cloud/compute/v1/TargetSslProxy.java | 22 +++---- .../compute/v1/TargetSslProxyClient.java | 2 +- .../cloud/compute/v1/TargetSslProxyList.java | 14 ++--- .../compute/v1/TargetSslProxySettings.java | 2 +- ...getTcpProxiesSetBackendServiceRequest.java | 4 +- ...TargetTcpProxiesSetProxyHeaderRequest.java | 4 +- .../cloud/compute/v1/TargetTcpProxy.java | 18 +++--- .../compute/v1/TargetTcpProxyClient.java | 2 +- .../cloud/compute/v1/TargetTcpProxyList.java | 14 ++--- .../compute/v1/TargetTcpProxySettings.java | 2 +- .../cloud/compute/v1/TargetVpnGateway.java | 24 ++++---- .../v1/TargetVpnGatewayAggregatedList.java | 14 ++--- .../compute/v1/TargetVpnGatewayClient.java | 2 +- .../compute/v1/TargetVpnGatewayList.java | 14 ++--- .../compute/v1/TargetVpnGatewaySettings.java | 2 +- .../v1/TargetVpnGatewaysScopedList.java | 6 +- .../google/cloud/compute/v1/TestFailure.java | 10 ++-- .../v1/TestIamPermissionsDiskHttpRequest.java | 20 +++---- .../TestIamPermissionsImageHttpRequest.java | 20 +++---- ...TestIamPermissionsInstanceHttpRequest.java | 20 +++---- ...ermissionsInstanceTemplateHttpRequest.java | 20 +++---- ...tIamPermissionsLicenseCodeHttpRequest.java | 20 +++---- .../TestIamPermissionsLicenseHttpRequest.java | 20 +++---- ...estIamPermissionsNodeGroupHttpRequest.java | 20 +++---- ...IamPermissionsNodeTemplateHttpRequest.java | 20 +++---- ...stIamPermissionsRegionDiskHttpRequest.java | 20 +++---- ...TestIamPermissionsSnapshotHttpRequest.java | 20 +++---- ...stIamPermissionsSubnetworkHttpRequest.java | 20 +++---- .../compute/v1/TestPermissionsRequest.java | 4 +- .../compute/v1/TestPermissionsResponse.java | 4 +- ...UpdateAccessConfigInstanceHttpRequest.java | 24 ++++---- .../v1/UpdateAutoscalerHttpRequest.java | 26 ++++---- .../v1/UpdateBackendBucketHttpRequest.java | 24 ++++---- .../v1/UpdateBackendServiceHttpRequest.java | 24 ++++---- .../compute/v1/UpdateFirewallHttpRequest.java | 24 ++++---- .../v1/UpdateHealthCheckHttpRequest.java | 24 ++++---- .../v1/UpdateHttpHealthCheckHttpRequest.java | 24 ++++---- .../v1/UpdateHttpsHealthCheckHttpRequest.java | 24 ++++---- ...teNetworkInterfaceInstanceHttpRequest.java | 26 ++++---- .../v1/UpdateRegionAutoscalerHttpRequest.java | 26 ++++---- ...UpdateRegionBackendServiceHttpRequest.java | 24 ++++---- .../compute/v1/UpdateRouterHttpRequest.java | 24 ++++---- .../compute/v1/UpdateUrlMapHttpRequest.java | 24 ++++---- .../com/google/cloud/compute/v1/UrlMap.java | 24 ++++---- .../google/cloud/compute/v1/UrlMapClient.java | 2 +- .../google/cloud/compute/v1/UrlMapList.java | 14 ++--- .../cloud/compute/v1/UrlMapReference.java | 4 +- .../cloud/compute/v1/UrlMapSettings.java | 2 +- .../google/cloud/compute/v1/UrlMapTest.java | 10 ++-- .../compute/v1/UrlMapValidationResult.java | 10 ++-- .../compute/v1/UrlMapsValidateRequest.java | 4 +- .../compute/v1/UrlMapsValidateResponse.java | 4 +- .../cloud/compute/v1/UsableSubnetwork.java | 10 ++-- .../v1/UsableSubnetworkSecondaryRange.java | 6 +- .../v1/UsableSubnetworksAggregatedList.java | 14 ++--- .../cloud/compute/v1/UsageExportLocation.java | 6 +- .../compute/v1/ValidateUrlMapHttpRequest.java | 20 +++---- .../compute/v1/VmEndpointNatMappings.java | 6 +- ...dpointNatMappingsInterfaceNatMappings.java | 10 ++-- .../compute/v1/VmEndpointNatMappingsList.java | 14 ++--- .../google/cloud/compute/v1/VpnTunnel.java | 36 +++++------ .../compute/v1/VpnTunnelAggregatedList.java | 14 ++--- .../cloud/compute/v1/VpnTunnelClient.java | 2 +- .../cloud/compute/v1/VpnTunnelList.java | 14 ++--- .../cloud/compute/v1/VpnTunnelSettings.java | 2 +- .../compute/v1/VpnTunnelsScopedList.java | 6 +- .../com/google/cloud/compute/v1/Warning.java | 8 +-- .../com/google/cloud/compute/v1/Warnings.java | 8 +-- .../google/cloud/compute/v1/XpnHostList.java | 14 ++--- .../cloud/compute/v1/XpnResourceId.java | 6 +- .../com/google/cloud/compute/v1/Zone.java | 22 +++---- .../google/cloud/compute/v1/ZoneClient.java | 2 +- .../com/google/cloud/compute/v1/ZoneList.java | 14 ++--- .../cloud/compute/v1/ZoneOperationClient.java | 2 +- .../compute/v1/ZoneOperationSettings.java | 2 +- .../compute/v1/ZoneSetLabelsRequest.java | 6 +- .../compute/v1/ZoneSetPolicyRequest.java | 8 +-- .../google/cloud/compute/v1/ZoneSettings.java | 2 +- .../google/cloud/compute/v1/package-info.java | 2 +- .../compute/v1/stub/AcceleratorTypeStub.java | 2 +- .../v1/stub/AcceleratorTypeStubSettings.java | 2 +- .../cloud/compute/v1/stub/AddressStub.java | 2 +- .../compute/v1/stub/AddressStubSettings.java | 2 +- .../cloud/compute/v1/stub/AutoscalerStub.java | 2 +- .../v1/stub/AutoscalerStubSettings.java | 2 +- .../compute/v1/stub/BackendBucketStub.java | 2 +- .../v1/stub/BackendBucketStubSettings.java | 2 +- .../compute/v1/stub/BackendServiceStub.java | 2 +- .../v1/stub/BackendServiceStubSettings.java | 2 +- .../cloud/compute/v1/stub/DiskStub.java | 2 +- .../compute/v1/stub/DiskStubSettings.java | 2 +- .../cloud/compute/v1/stub/DiskTypeStub.java | 2 +- .../compute/v1/stub/DiskTypeStubSettings.java | 2 +- .../cloud/compute/v1/stub/FirewallStub.java | 2 +- .../compute/v1/stub/FirewallStubSettings.java | 2 +- .../compute/v1/stub/ForwardingRuleStub.java | 2 +- .../v1/stub/ForwardingRuleStubSettings.java | 2 +- .../compute/v1/stub/GlobalAddressStub.java | 2 +- .../v1/stub/GlobalAddressStubSettings.java | 2 +- .../v1/stub/GlobalForwardingRuleStub.java | 2 +- .../GlobalForwardingRuleStubSettings.java | 2 +- .../compute/v1/stub/GlobalOperationStub.java | 2 +- .../v1/stub/GlobalOperationStubSettings.java | 2 +- .../compute/v1/stub/HealthCheckStub.java | 2 +- .../v1/stub/HealthCheckStubSettings.java | 2 +- .../compute/v1/stub/HttpHealthCheckStub.java | 2 +- .../v1/stub/HttpHealthCheckStubSettings.java | 2 +- ...ttpJsonAcceleratorTypeCallableFactory.java | 2 +- .../v1/stub/HttpJsonAcceleratorTypeStub.java | 2 +- .../stub/HttpJsonAddressCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonAddressStub.java | 2 +- .../HttpJsonAutoscalerCallableFactory.java | 2 +- .../v1/stub/HttpJsonAutoscalerStub.java | 2 +- .../HttpJsonBackendBucketCallableFactory.java | 2 +- .../v1/stub/HttpJsonBackendBucketStub.java | 2 +- ...HttpJsonBackendServiceCallableFactory.java | 2 +- .../v1/stub/HttpJsonBackendServiceStub.java | 2 +- .../v1/stub/HttpJsonDiskCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonDiskStub.java | 2 +- .../stub/HttpJsonDiskTypeCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonDiskTypeStub.java | 2 +- .../stub/HttpJsonFirewallCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonFirewallStub.java | 2 +- ...HttpJsonForwardingRuleCallableFactory.java | 2 +- .../v1/stub/HttpJsonForwardingRuleStub.java | 2 +- .../HttpJsonGlobalAddressCallableFactory.java | 2 +- .../v1/stub/HttpJsonGlobalAddressStub.java | 2 +- ...onGlobalForwardingRuleCallableFactory.java | 2 +- .../HttpJsonGlobalForwardingRuleStub.java | 2 +- ...ttpJsonGlobalOperationCallableFactory.java | 2 +- .../v1/stub/HttpJsonGlobalOperationStub.java | 2 +- .../HttpJsonHealthCheckCallableFactory.java | 2 +- .../v1/stub/HttpJsonHealthCheckStub.java | 2 +- ...ttpJsonHttpHealthCheckCallableFactory.java | 2 +- .../v1/stub/HttpJsonHttpHealthCheckStub.java | 2 +- ...tpJsonHttpsHealthCheckCallableFactory.java | 2 +- .../v1/stub/HttpJsonHttpsHealthCheckStub.java | 2 +- .../v1/stub/HttpJsonImageCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonImageStub.java | 2 +- .../stub/HttpJsonInstanceCallableFactory.java | 2 +- .../HttpJsonInstanceGroupCallableFactory.java | 2 +- ...onInstanceGroupManagerCallableFactory.java | 2 +- .../HttpJsonInstanceGroupManagerStub.java | 2 +- .../v1/stub/HttpJsonInstanceGroupStub.java | 2 +- .../compute/v1/stub/HttpJsonInstanceStub.java | 2 +- ...tpJsonInstanceTemplateCallableFactory.java | 2 +- .../v1/stub/HttpJsonInstanceTemplateStub.java | 2 +- ...InterconnectAttachmentCallableFactory.java | 2 +- .../HttpJsonInterconnectAttachmentStub.java | 2 +- .../HttpJsonInterconnectCallableFactory.java | 2 +- ...onInterconnectLocationCallableFactory.java | 2 +- .../HttpJsonInterconnectLocationStub.java | 2 +- .../v1/stub/HttpJsonInterconnectStub.java | 2 +- .../stub/HttpJsonLicenseCallableFactory.java | 2 +- .../HttpJsonLicenseCodeCallableFactory.java | 2 +- .../v1/stub/HttpJsonLicenseCodeStub.java | 2 +- .../compute/v1/stub/HttpJsonLicenseStub.java | 2 +- .../HttpJsonMachineTypeCallableFactory.java | 2 +- .../v1/stub/HttpJsonMachineTypeStub.java | 2 +- .../stub/HttpJsonNetworkCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonNetworkStub.java | 2 +- .../HttpJsonNodeGroupCallableFactory.java | 2 +- .../v1/stub/HttpJsonNodeGroupStub.java | 2 +- .../HttpJsonNodeTemplateCallableFactory.java | 2 +- .../v1/stub/HttpJsonNodeTemplateStub.java | 2 +- .../stub/HttpJsonNodeTypeCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonNodeTypeStub.java | 2 +- .../stub/HttpJsonProjectCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonProjectStub.java | 2 +- ...tpJsonRegionAutoscalerCallableFactory.java | 2 +- .../v1/stub/HttpJsonRegionAutoscalerStub.java | 2 +- ...onRegionBackendServiceCallableFactory.java | 2 +- .../HttpJsonRegionBackendServiceStub.java | 2 +- .../stub/HttpJsonRegionCallableFactory.java | 2 +- ...tpJsonRegionCommitmentCallableFactory.java | 2 +- .../v1/stub/HttpJsonRegionCommitmentStub.java | 2 +- .../HttpJsonRegionDiskCallableFactory.java | 2 +- .../v1/stub/HttpJsonRegionDiskStub.java | 2 +- ...HttpJsonRegionDiskTypeCallableFactory.java | 2 +- .../v1/stub/HttpJsonRegionDiskTypeStub.java | 2 +- ...sonRegionInstanceGroupCallableFactory.java | 2 +- ...onInstanceGroupManagerCallableFactory.java | 2 +- ...ttpJsonRegionInstanceGroupManagerStub.java | 2 +- .../stub/HttpJsonRegionInstanceGroupStub.java | 2 +- ...ttpJsonRegionOperationCallableFactory.java | 2 +- .../v1/stub/HttpJsonRegionOperationStub.java | 2 +- .../compute/v1/stub/HttpJsonRegionStub.java | 2 +- .../v1/stub/HttpJsonRouteCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonRouteStub.java | 2 +- .../stub/HttpJsonRouterCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonRouterStub.java | 2 +- ...HttpJsonSecurityPolicyCallableFactory.java | 2 +- .../v1/stub/HttpJsonSecurityPolicyStub.java | 2 +- .../stub/HttpJsonSnapshotCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonSnapshotStub.java | 2 +- ...HttpJsonSslCertificateCallableFactory.java | 2 +- .../v1/stub/HttpJsonSslCertificateStub.java | 2 +- .../HttpJsonSslPolicyCallableFactory.java | 2 +- .../v1/stub/HttpJsonSslPolicyStub.java | 2 +- .../HttpJsonSubnetworkCallableFactory.java | 2 +- .../v1/stub/HttpJsonSubnetworkStub.java | 2 +- ...ttpJsonTargetHttpProxyCallableFactory.java | 2 +- .../v1/stub/HttpJsonTargetHttpProxyStub.java | 2 +- ...tpJsonTargetHttpsProxyCallableFactory.java | 2 +- .../v1/stub/HttpJsonTargetHttpsProxyStub.java | 2 +- ...HttpJsonTargetInstanceCallableFactory.java | 2 +- .../v1/stub/HttpJsonTargetInstanceStub.java | 2 +- .../HttpJsonTargetPoolCallableFactory.java | 2 +- .../v1/stub/HttpJsonTargetPoolStub.java | 2 +- ...HttpJsonTargetSslProxyCallableFactory.java | 2 +- .../v1/stub/HttpJsonTargetSslProxyStub.java | 2 +- ...HttpJsonTargetTcpProxyCallableFactory.java | 2 +- .../v1/stub/HttpJsonTargetTcpProxyStub.java | 2 +- ...tpJsonTargetVpnGatewayCallableFactory.java | 2 +- .../v1/stub/HttpJsonTargetVpnGatewayStub.java | 2 +- .../stub/HttpJsonUrlMapCallableFactory.java | 2 +- .../compute/v1/stub/HttpJsonUrlMapStub.java | 2 +- .../HttpJsonVpnTunnelCallableFactory.java | 2 +- .../v1/stub/HttpJsonVpnTunnelStub.java | 2 +- .../v1/stub/HttpJsonZoneCallableFactory.java | 2 +- .../HttpJsonZoneOperationCallableFactory.java | 2 +- .../v1/stub/HttpJsonZoneOperationStub.java | 2 +- .../compute/v1/stub/HttpJsonZoneStub.java | 2 +- .../compute/v1/stub/HttpsHealthCheckStub.java | 2 +- .../v1/stub/HttpsHealthCheckStubSettings.java | 2 +- .../cloud/compute/v1/stub/ImageStub.java | 2 +- .../compute/v1/stub/ImageStubSettings.java | 2 +- .../v1/stub/InstanceGroupManagerStub.java | 2 +- .../InstanceGroupManagerStubSettings.java | 2 +- .../compute/v1/stub/InstanceGroupStub.java | 2 +- .../v1/stub/InstanceGroupStubSettings.java | 2 +- .../cloud/compute/v1/stub/InstanceStub.java | 2 +- .../compute/v1/stub/InstanceStubSettings.java | 2 +- .../compute/v1/stub/InstanceTemplateStub.java | 2 +- .../v1/stub/InstanceTemplateStubSettings.java | 2 +- .../v1/stub/InterconnectAttachmentStub.java | 2 +- .../InterconnectAttachmentStubSettings.java | 2 +- .../v1/stub/InterconnectLocationStub.java | 2 +- .../InterconnectLocationStubSettings.java | 2 +- .../compute/v1/stub/InterconnectStub.java | 2 +- .../v1/stub/InterconnectStubSettings.java | 2 +- .../compute/v1/stub/LicenseCodeStub.java | 2 +- .../v1/stub/LicenseCodeStubSettings.java | 2 +- .../cloud/compute/v1/stub/LicenseStub.java | 2 +- .../compute/v1/stub/LicenseStubSettings.java | 2 +- .../compute/v1/stub/MachineTypeStub.java | 2 +- .../v1/stub/MachineTypeStubSettings.java | 2 +- .../cloud/compute/v1/stub/NetworkStub.java | 2 +- .../compute/v1/stub/NetworkStubSettings.java | 2 +- .../cloud/compute/v1/stub/NodeGroupStub.java | 2 +- .../v1/stub/NodeGroupStubSettings.java | 2 +- .../compute/v1/stub/NodeTemplateStub.java | 2 +- .../v1/stub/NodeTemplateStubSettings.java | 2 +- .../cloud/compute/v1/stub/NodeTypeStub.java | 2 +- .../compute/v1/stub/NodeTypeStubSettings.java | 2 +- .../cloud/compute/v1/stub/ProjectStub.java | 2 +- .../compute/v1/stub/ProjectStubSettings.java | 2 +- .../compute/v1/stub/RegionAutoscalerStub.java | 2 +- .../v1/stub/RegionAutoscalerStubSettings.java | 2 +- .../v1/stub/RegionBackendServiceStub.java | 2 +- .../RegionBackendServiceStubSettings.java | 2 +- .../compute/v1/stub/RegionCommitmentStub.java | 2 +- .../v1/stub/RegionCommitmentStubSettings.java | 2 +- .../cloud/compute/v1/stub/RegionDiskStub.java | 2 +- .../v1/stub/RegionDiskStubSettings.java | 2 +- .../compute/v1/stub/RegionDiskTypeStub.java | 2 +- .../v1/stub/RegionDiskTypeStubSettings.java | 2 +- .../stub/RegionInstanceGroupManagerStub.java | 2 +- ...egionInstanceGroupManagerStubSettings.java | 2 +- .../v1/stub/RegionInstanceGroupStub.java | 2 +- .../stub/RegionInstanceGroupStubSettings.java | 2 +- .../compute/v1/stub/RegionOperationStub.java | 2 +- .../v1/stub/RegionOperationStubSettings.java | 2 +- .../cloud/compute/v1/stub/RegionStub.java | 2 +- .../compute/v1/stub/RegionStubSettings.java | 2 +- .../cloud/compute/v1/stub/RouteStub.java | 2 +- .../compute/v1/stub/RouteStubSettings.java | 2 +- .../cloud/compute/v1/stub/RouterStub.java | 2 +- .../compute/v1/stub/RouterStubSettings.java | 2 +- .../compute/v1/stub/SecurityPolicyStub.java | 2 +- .../v1/stub/SecurityPolicyStubSettings.java | 2 +- .../cloud/compute/v1/stub/SnapshotStub.java | 2 +- .../compute/v1/stub/SnapshotStubSettings.java | 2 +- .../compute/v1/stub/SslCertificateStub.java | 2 +- .../v1/stub/SslCertificateStubSettings.java | 2 +- .../cloud/compute/v1/stub/SslPolicyStub.java | 2 +- .../v1/stub/SslPolicyStubSettings.java | 2 +- .../cloud/compute/v1/stub/SubnetworkStub.java | 2 +- .../v1/stub/SubnetworkStubSettings.java | 2 +- .../compute/v1/stub/TargetHttpProxyStub.java | 2 +- .../v1/stub/TargetHttpProxyStubSettings.java | 2 +- .../compute/v1/stub/TargetHttpsProxyStub.java | 2 +- .../v1/stub/TargetHttpsProxyStubSettings.java | 2 +- .../compute/v1/stub/TargetInstanceStub.java | 2 +- .../v1/stub/TargetInstanceStubSettings.java | 2 +- .../cloud/compute/v1/stub/TargetPoolStub.java | 2 +- .../v1/stub/TargetPoolStubSettings.java | 2 +- .../compute/v1/stub/TargetSslProxyStub.java | 2 +- .../v1/stub/TargetSslProxyStubSettings.java | 2 +- .../compute/v1/stub/TargetTcpProxyStub.java | 2 +- .../v1/stub/TargetTcpProxyStubSettings.java | 2 +- .../compute/v1/stub/TargetVpnGatewayStub.java | 2 +- .../v1/stub/TargetVpnGatewayStubSettings.java | 2 +- .../cloud/compute/v1/stub/UrlMapStub.java | 2 +- .../compute/v1/stub/UrlMapStubSettings.java | 2 +- .../cloud/compute/v1/stub/VpnTunnelStub.java | 2 +- .../v1/stub/VpnTunnelStubSettings.java | 2 +- .../compute/v1/stub/ZoneOperationStub.java | 2 +- .../v1/stub/ZoneOperationStubSettings.java | 2 +- .../cloud/compute/v1/stub/ZoneStub.java | 2 +- .../compute/v1/stub/ZoneStubSettings.java | 2 +- .../compute/v1/AcceleratorTypeClientTest.java | 2 +- .../cloud/compute/v1/AddressClientTest.java | 2 +- .../compute/v1/AutoscalerClientTest.java | 2 +- .../compute/v1/BackendBucketClientTest.java | 2 +- .../compute/v1/BackendServiceClientTest.java | 2 +- .../cloud/compute/v1/DiskClientTest.java | 2 +- .../cloud/compute/v1/DiskTypeClientTest.java | 2 +- .../cloud/compute/v1/FirewallClientTest.java | 2 +- .../compute/v1/ForwardingRuleClientTest.java | 2 +- .../compute/v1/GlobalAddressClientTest.java | 2 +- .../v1/GlobalForwardingRuleClientTest.java | 2 +- .../compute/v1/GlobalOperationClientTest.java | 2 +- .../compute/v1/HealthCheckClientTest.java | 2 +- .../compute/v1/HttpHealthCheckClientTest.java | 2 +- .../v1/HttpsHealthCheckClientTest.java | 2 +- .../cloud/compute/v1/ImageClientTest.java | 2 +- .../cloud/compute/v1/InstanceClientTest.java | 2 +- .../compute/v1/InstanceGroupClientTest.java | 2 +- .../v1/InstanceGroupManagerClientTest.java | 2 +- .../v1/InstanceTemplateClientTest.java | 2 +- .../v1/InterconnectAttachmentClientTest.java | 2 +- .../compute/v1/InterconnectClientTest.java | 2 +- .../v1/InterconnectLocationClientTest.java | 2 +- .../cloud/compute/v1/LicenseClientTest.java | 2 +- .../compute/v1/LicenseCodeClientTest.java | 2 +- .../compute/v1/MachineTypeClientTest.java | 2 +- .../cloud/compute/v1/NetworkClientTest.java | 2 +- .../cloud/compute/v1/NodeGroupClientTest.java | 2 +- .../compute/v1/NodeTemplateClientTest.java | 2 +- .../cloud/compute/v1/NodeTypeClientTest.java | 2 +- .../cloud/compute/v1/ProjectClientTest.java | 2 +- .../v1/RegionAutoscalerClientTest.java | 2 +- .../v1/RegionBackendServiceClientTest.java | 2 +- .../cloud/compute/v1/RegionClientTest.java | 2 +- .../v1/RegionCommitmentClientTest.java | 2 +- .../compute/v1/RegionDiskClientTest.java | 2 +- .../compute/v1/RegionDiskTypeClientTest.java | 2 +- .../v1/RegionInstanceGroupClientTest.java | 2 +- .../RegionInstanceGroupManagerClientTest.java | 2 +- .../compute/v1/RegionOperationClientTest.java | 2 +- .../cloud/compute/v1/RouteClientTest.java | 2 +- .../cloud/compute/v1/RouterClientTest.java | 2 +- .../compute/v1/SecurityPolicyClientTest.java | 2 +- .../cloud/compute/v1/SnapshotClientTest.java | 2 +- .../compute/v1/SslCertificateClientTest.java | 2 +- .../cloud/compute/v1/SslPolicyClientTest.java | 2 +- .../compute/v1/SubnetworkClientTest.java | 2 +- .../compute/v1/TargetHttpProxyClientTest.java | 2 +- .../v1/TargetHttpsProxyClientTest.java | 2 +- .../compute/v1/TargetInstanceClientTest.java | 2 +- .../compute/v1/TargetPoolClientTest.java | 2 +- .../compute/v1/TargetSslProxyClientTest.java | 2 +- .../compute/v1/TargetTcpProxyClientTest.java | 2 +- .../v1/TargetVpnGatewayClientTest.java | 2 +- .../cloud/compute/v1/UrlMapClientTest.java | 2 +- .../cloud/compute/v1/VpnTunnelClientTest.java | 2 +- .../cloud/compute/v1/ZoneClientTest.java | 2 +- .../compute/v1/ZoneOperationClientTest.java | 2 +- .../google-cloud-compute/synth.metadata | 8 +-- 1214 files changed, 6910 insertions(+), 6890 deletions(-) diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java index 5b3df3ee8132..0b20d10e1177 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private AbandonInstancesInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("instanceGroupManagersAbandonInstancesRequestResource")) { + if ("instanceGroupManagersAbandonInstancesRequestResource".equals(fieldName)) { return instanceGroupManagersAbandonInstancesRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java index 8a1b6a30beb0..0f1c462a0be7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private AbandonInstancesRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionInstanceGroupManagersAbandonInstancesRequestResource")) { + if ("regionInstanceGroupManagersAbandonInstancesRequestResource".equals(fieldName)) { return regionInstanceGroupManagersAbandonInstancesRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java index f23011e953c4..76616db01426 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private AcceleratorConfig(Integer acceleratorCount, String acceleratorType) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("acceleratorCount")) { + if ("acceleratorCount".equals(fieldName)) { return acceleratorCount; } - if (fieldName.equals("acceleratorType")) { + if ("acceleratorType".equals(fieldName)) { return acceleratorType; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java index fb87ef23f2f4..ec3efe45c20f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private AcceleratorType( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("deprecated")) { + if ("deprecated".equals(fieldName)) { return deprecated; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("maximumCardsPerInstance")) { + if ("maximumCardsPerInstance".equals(fieldName)) { return maximumCardsPerInstance; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java index 3ef933c0ed8e..eaff2de5b7af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private AcceleratorTypeAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java index 01cf2a407bef..501b6de15ded 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java index 82ef38df671d..18cdb5accebe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private AcceleratorTypeList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeSettings.java index 02cdb57d3ba5..22f84ef7531e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java index cb69d93dc4e5..df6a0eb43438 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private AcceleratorTypesScopedList(List acceleratorTypes, Warni @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("acceleratorTypes")) { + if ("acceleratorTypes".equals(fieldName)) { return acceleratorTypes; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java index 90683ed7e4e2..5b74c39b84cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -62,25 +62,25 @@ private AccessConfig( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("natIP")) { + if ("natIP".equals(fieldName)) { return natIP; } - if (fieldName.equals("networkTier")) { + if ("networkTier".equals(fieldName)) { return networkTier; } - if (fieldName.equals("publicPtrDomainName")) { + if ("publicPtrDomainName".equals(fieldName)) { return publicPtrDomainName; } - if (fieldName.equals("setPublicPtr")) { + if ("setPublicPtr".equals(fieldName)) { return setPublicPtr; } - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java index 355d5d314cfb..54db1db40a48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private AddAccessConfigInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("accessConfigResource")) { + if ("accessConfigResource".equals(fieldName)) { return accessConfigResource; } - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("networkInterface")) { + if ("networkInterface".equals(fieldName)) { return networkInterface; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java index 9262d462efe4..176d18ea025c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private AddHealthCheckTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("targetPoolsAddHealthCheckRequestResource")) { + if ("targetPoolsAddHealthCheckRequestResource".equals(fieldName)) { return targetPoolsAddHealthCheckRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java index 29504b899fbf..59b848c07f17 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private AddInstanceTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("targetPoolsAddInstanceRequestResource")) { + if ("targetPoolsAddInstanceRequestResource".equals(fieldName)) { return targetPoolsAddInstanceRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java index d728e67f4649..7211f82d23aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private AddInstancesInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("instanceGroupsAddInstancesRequestResource")) { + if ("instanceGroupsAddInstancesRequestResource".equals(fieldName)) { return instanceGroupsAddInstancesRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java index f984ccaa9be4..f49b64c70bdf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private AddNodesNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeGroup")) { + if ("nodeGroup".equals(fieldName)) { return nodeGroup; } - if (fieldName.equals("nodeGroupsAddNodesRequestResource")) { + if ("nodeGroupsAddNodesRequestResource".equals(fieldName)) { return nodeGroupsAddNodesRequestResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java index 2ee03b079e03..e10f6ecd65d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private AddPeeringNetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("networksAddPeeringRequestResource")) { + if ("networksAddPeeringRequestResource".equals(fieldName)) { return networksAddPeeringRequestResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java index 16f369013b83..5604fc58db8a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private AddRuleSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("securityPolicyRuleResource")) { + if ("securityPolicyRuleResource".equals(fieldName)) { return securityPolicyRuleResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java index 99c013647841..ae1fc0467c7a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private AddSignedUrlKeyBackendBucketHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendBucket")) { + if ("backendBucket".equals(fieldName)) { return backendBucket; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("signedUrlKeyResource")) { + if ("signedUrlKeyResource".equals(fieldName)) { return signedUrlKeyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java index 8a77b832bbc6..7e62d6d72745 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private AddSignedUrlKeyBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("signedUrlKeyResource")) { + if ("signedUrlKeyResource".equals(fieldName)) { return signedUrlKeyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java index 678e3f58ab66..6372117a77bc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -103,55 +103,55 @@ private Address( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("address")) { + if ("address".equals(fieldName)) { return address; } - if (fieldName.equals("addressType")) { + if ("addressType".equals(fieldName)) { return addressType; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("ipVersion")) { + if ("ipVersion".equals(fieldName)) { return ipVersion; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("networkTier")) { + if ("networkTier".equals(fieldName)) { return networkTier; } - if (fieldName.equals("prefixLength")) { + if ("prefixLength".equals(fieldName)) { return prefixLength; } - if (fieldName.equals("purpose")) { + if ("purpose".equals(fieldName)) { return purpose; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("users")) { + if ("users".equals(fieldName)) { return users; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java index 4fb93c707ae0..de051eb0f6b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private AddressAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java index 863ce19866fd..350917331d05 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java index e680de5e2049..cacc53ed1c62 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private AddressList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressSettings.java index 3b26e1810a86..ea1108fe195e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java index 8bdd67da4314..28e6e05b90bd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private AddressesScopedList(List

addresses, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("addresses")) { + if ("addresses".equals(fieldName)) { return addresses; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java index e2478c51f2dc..13d0fe9c4839 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListAcceleratorTypesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java index 88436c282b6b..48b28c02f43d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListAddressesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java index 71a24f28b3a4..aec4e81669a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListAutoscalersHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java index 69a8227af819..8900ad1c74eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListBackendServicesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java index 89e876b8abb4..e656d5cf0998 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListDiskTypesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java index c9f8029f34e8..ede91bdbe9b3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListDisksHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java index 72cea01f104d..702585332522 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListForwardingRulesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java index fb2284b7dbee..4e10d95aac05 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListGlobalOperationsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java index 076e196cfb8f..47572d97ef92 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListInstanceGroupManagersHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java index 211639cfbe7c..7af83158b8da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListInstanceGroupsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java index e281da33a595..cb9fde072cba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListInstancesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java index 286d3e0d2f94..e588f777df49 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListInterconnectAttachmentsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java index 9c22653c070e..d77c805422ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListMachineTypesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java index ffe75ac0e191..11696ae80e54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListNodeGroupsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java index b17e455ab68a..d29e155e5320 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListNodeTemplatesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java index 7c1a7e48d59f..793315c05ef1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListNodeTypesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java index f6e9e5484105..c24d642b477f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListRegionCommitmentsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java index 619e7fe65aaa..3c1d9797d1fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListRoutersHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java index 8a5bda15a8ef..e69b80a72128 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListSubnetworksHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java index 91c43d6c5927..c98a764bb660 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListTargetInstancesHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java index 3c548928adeb..03594abb15d1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListTargetPoolsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java index 164b5b92c225..9c2d2ef98f4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListTargetVpnGatewaysHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java index 2cac8c858695..d97a3b1e0328 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private AggregatedListVpnTunnelsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java index c4d1d59b1043..7cbbe9ce6437 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private AliasIpRange(String ipCidrRange, String subnetworkRangeName) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("ipCidrRange")) { + if ("ipCidrRange".equals(fieldName)) { return ipCidrRange; } - if (fieldName.equals("subnetworkRangeName")) { + if ("subnetworkRangeName".equals(fieldName)) { return subnetworkRangeName; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java index 07f2fda4259b..cb707d58839a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.ApiMessage; +import com.google.gson.annotations.SerializedName; import java.util.LinkedList; import java.util.List; import java.util.Objects; @@ -26,7 +27,9 @@ @Generated("by GAPIC") @BetaApi public final class Allowed implements ApiMessage { + @SerializedName("IPProtocol") private final String iPProtocol; + private final List ports; private Allowed() { @@ -41,10 +44,10 @@ private Allowed(String iPProtocol, List ports) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("iPProtocol")) { + if ("iPProtocol".equals(fieldName)) { return iPProtocol; } - if (fieldName.equals("ports")) { + if ("ports".equals(fieldName)) { return ports; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java index f6586f9fe210..43aabc929cc5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private AttachDiskInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("attachedDiskResource")) { + if ("attachedDiskResource".equals(fieldName)) { return attachedDiskResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forceAttach")) { + if ("forceAttach".equals(fieldName)) { return forceAttach; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java index 32d7ec5d8dcd..67ca6fdf39e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.ApiMessage; +import com.google.gson.annotations.SerializedName; import java.util.LinkedList; import java.util.List; import java.util.Objects; @@ -33,7 +34,10 @@ public final class AttachedDisk implements ApiMessage { private final List guestOsFeatures; private final Integer index; private final AttachedDiskInitializeParams initializeParams; + + @SerializedName("interface") private final String interface2; + private final String kind; private final List licenses; private final String mode; @@ -87,43 +91,43 @@ private AttachedDisk( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoDelete")) { + if ("autoDelete".equals(fieldName)) { return autoDelete; } - if (fieldName.equals("boot")) { + if ("boot".equals(fieldName)) { return boot; } - if (fieldName.equals("deviceName")) { + if ("deviceName".equals(fieldName)) { return deviceName; } - if (fieldName.equals("diskEncryptionKey")) { + if ("diskEncryptionKey".equals(fieldName)) { return diskEncryptionKey; } - if (fieldName.equals("guestOsFeatures")) { + if ("guestOsFeatures".equals(fieldName)) { return guestOsFeatures; } - if (fieldName.equals("index")) { + if ("index".equals(fieldName)) { return index; } - if (fieldName.equals("initializeParams")) { + if ("initializeParams".equals(fieldName)) { return initializeParams; } - if (fieldName.equals("interface2")) { + if ("interface2".equals(fieldName)) { return interface2; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("licenses")) { + if ("licenses".equals(fieldName)) { return licenses; } - if (fieldName.equals("mode")) { + if ("mode".equals(fieldName)) { return mode; } - if (fieldName.equals("source")) { + if ("source".equals(fieldName)) { return source; } - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java index 7ebb0a5010dd..b5629ec53e08 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,25 +63,25 @@ private AttachedDiskInitializeParams( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("diskName")) { + if ("diskName".equals(fieldName)) { return diskName; } - if (fieldName.equals("diskSizeGb")) { + if ("diskSizeGb".equals(fieldName)) { return diskSizeGb; } - if (fieldName.equals("diskType")) { + if ("diskType".equals(fieldName)) { return diskType; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } - if (fieldName.equals("sourceImage")) { + if ("sourceImage".equals(fieldName)) { return sourceImage; } - if (fieldName.equals("sourceImageEncryptionKey")) { + if ("sourceImageEncryptionKey".equals(fieldName)) { return sourceImageEncryptionKey; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java index 6f0cbcf0a9fa..7d01e752ed75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,13 +45,13 @@ private AuditConfig( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("auditLogConfigs")) { + if ("auditLogConfigs".equals(fieldName)) { return auditLogConfigs; } - if (fieldName.equals("exemptedMembers")) { + if ("exemptedMembers".equals(fieldName)) { return exemptedMembers; } - if (fieldName.equals("service")) { + if ("service".equals(fieldName)) { return service; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java index c2a1495baf3c..9ed12ffe3b82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private AuditLogConfig(List exemptedMembers, String logType) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("exemptedMembers")) { + if ("exemptedMembers".equals(fieldName)) { return exemptedMembers; } - if (fieldName.equals("logType")) { + if ("logType".equals(fieldName)) { return logType; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java index 88de7664f939..1b3cff5f69b5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private AuthorizationLoggingOptions(String permissionType) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("permissionType")) { + if ("permissionType".equals(fieldName)) { return permissionType; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java index 793a63ac9784..55c82ee0bb8d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private Autoscaler( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoscalingPolicy")) { + if ("autoscalingPolicy".equals(fieldName)) { return autoscalingPolicy; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("statusDetails")) { + if ("statusDetails".equals(fieldName)) { return statusDetails; } - if (fieldName.equals("target")) { + if ("target".equals(fieldName)) { return target; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java index 3e0ac9f3b606..e62a783f0af7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private AutoscalerAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java index 81ec88d15af5..1b87ef755788 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java index 1a4c55476090..2f2398d725e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private AutoscalerList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerSettings.java index e48843777efb..4db44b598b57 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java index 23faa574e2d4..aa35df64da88 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private AutoscalerStatusDetails(String message, String type) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("message")) { + if ("message".equals(fieldName)) { return message; } - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java index 6f71f766bcc7..871276064488 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private AutoscalersScopedList(List autoscalers, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoscalers")) { + if ("autoscalers".equals(fieldName)) { return autoscalers; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java index 3a5030b3ea95..e95152559534 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private AutoscalingPolicy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("coolDownPeriodSec")) { + if ("coolDownPeriodSec".equals(fieldName)) { return coolDownPeriodSec; } - if (fieldName.equals("cpuUtilization")) { + if ("cpuUtilization".equals(fieldName)) { return cpuUtilization; } - if (fieldName.equals("customMetricUtilizations")) { + if ("customMetricUtilizations".equals(fieldName)) { return customMetricUtilizations; } - if (fieldName.equals("loadBalancingUtilization")) { + if ("loadBalancingUtilization".equals(fieldName)) { return loadBalancingUtilization; } - if (fieldName.equals("maxNumReplicas")) { + if ("maxNumReplicas".equals(fieldName)) { return maxNumReplicas; } - if (fieldName.equals("minNumReplicas")) { + if ("minNumReplicas".equals(fieldName)) { return minNumReplicas; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java index 5d195b49d90e..6ae88e57a3af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private AutoscalingPolicyCpuUtilization(Double utilizationTarget) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("utilizationTarget")) { + if ("utilizationTarget".equals(fieldName)) { return utilizationTarget; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java index 2098a3495b66..901dd77a5e78 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private AutoscalingPolicyCustomMetricUtilization( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("metric")) { + if ("metric".equals(fieldName)) { return metric; } - if (fieldName.equals("utilizationTarget")) { + if ("utilizationTarget".equals(fieldName)) { return utilizationTarget; } - if (fieldName.equals("utilizationTargetType")) { + if ("utilizationTargetType".equals(fieldName)) { return utilizationTargetType; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java index e7b3fa592d42..062a8b69392c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private AutoscalingPolicyLoadBalancingUtilization(Double utilizationTarget) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("utilizationTarget")) { + if ("utilizationTarget".equals(fieldName)) { return utilizationTarget; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java index 07e1da2dc268..340a4d7a481c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private Backend( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("balancingMode")) { + if ("balancingMode".equals(fieldName)) { return balancingMode; } - if (fieldName.equals("capacityScaler")) { + if ("capacityScaler".equals(fieldName)) { return capacityScaler; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("group")) { + if ("group".equals(fieldName)) { return group; } - if (fieldName.equals("maxConnections")) { + if ("maxConnections".equals(fieldName)) { return maxConnections; } - if (fieldName.equals("maxConnectionsPerInstance")) { + if ("maxConnectionsPerInstance".equals(fieldName)) { return maxConnectionsPerInstance; } - if (fieldName.equals("maxRate")) { + if ("maxRate".equals(fieldName)) { return maxRate; } - if (fieldName.equals("maxRatePerInstance")) { + if ("maxRatePerInstance".equals(fieldName)) { return maxRatePerInstance; } - if (fieldName.equals("maxUtilization")) { + if ("maxUtilization".equals(fieldName)) { return maxUtilization; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java index d6656ebab70f..6801ce47652d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private BackendBucket( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("bucketName")) { + if ("bucketName".equals(fieldName)) { return bucketName; } - if (fieldName.equals("cdnPolicy")) { + if ("cdnPolicy".equals(fieldName)) { return cdnPolicy; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("enableCdn")) { + if ("enableCdn".equals(fieldName)) { return enableCdn; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java index 9f50f75f9113..3f0f87707673 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private BackendBucketCdnPolicy(String signedUrlCacheMaxAgeSec, List sign @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("signedUrlCacheMaxAgeSec")) { + if ("signedUrlCacheMaxAgeSec".equals(fieldName)) { return signedUrlCacheMaxAgeSec; } - if (fieldName.equals("signedUrlKeyNames")) { + if ("signedUrlKeyNames".equals(fieldName)) { return signedUrlKeyNames; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java index d6c9ad6c28d7..8dd2e267ee49 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java index ba81f5d5b612..9d137d27827f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private BackendBucketList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketSettings.java index 2610369f2a1e..92e0aa886ea3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java index eb8b8690523d..c1a10062e8f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,70 +123,70 @@ private BackendService( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("affinityCookieTtlSec")) { + if ("affinityCookieTtlSec".equals(fieldName)) { return affinityCookieTtlSec; } - if (fieldName.equals("backends")) { + if ("backends".equals(fieldName)) { return backends; } - if (fieldName.equals("cdnPolicy")) { + if ("cdnPolicy".equals(fieldName)) { return cdnPolicy; } - if (fieldName.equals("connectionDraining")) { + if ("connectionDraining".equals(fieldName)) { return connectionDraining; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("enableCDN")) { + if ("enableCDN".equals(fieldName)) { return enableCDN; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("healthChecks")) { + if ("healthChecks".equals(fieldName)) { return healthChecks; } - if (fieldName.equals("iap")) { + if ("iap".equals(fieldName)) { return iap; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("loadBalancingScheme")) { + if ("loadBalancingScheme".equals(fieldName)) { return loadBalancingScheme; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("portName")) { + if ("portName".equals(fieldName)) { return portName; } - if (fieldName.equals("protocol")) { + if ("protocol".equals(fieldName)) { return protocol; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sessionAffinity")) { + if ("sessionAffinity".equals(fieldName)) { return sessionAffinity; } - if (fieldName.equals("timeoutSec")) { + if ("timeoutSec".equals(fieldName)) { return timeoutSec; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java index 85b75e24ef98..e7764a76e9f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private BackendServiceAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java index b01803bc70f3..d5449a347a23 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,13 +47,13 @@ private BackendServiceCdnPolicy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("cacheKeyPolicy")) { + if ("cacheKeyPolicy".equals(fieldName)) { return cacheKeyPolicy; } - if (fieldName.equals("signedUrlCacheMaxAgeSec")) { + if ("signedUrlCacheMaxAgeSec".equals(fieldName)) { return signedUrlCacheMaxAgeSec; } - if (fieldName.equals("signedUrlKeyNames")) { + if ("signedUrlKeyNames".equals(fieldName)) { return signedUrlKeyNames; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java index 0f63728a3ea6..c598dd86600f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java index 7c5a4773c546..e85003e7a8b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private BackendServiceGroupHealth(List healthStatus, String kind) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("healthStatus")) { + if ("healthStatus".equals(fieldName)) { return healthStatus; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java index 7bf7ea7e950b..4067846d064a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,16 +50,16 @@ private BackendServiceIAP( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("enabled")) { + if ("enabled".equals(fieldName)) { return enabled; } - if (fieldName.equals("oauth2ClientId")) { + if ("oauth2ClientId".equals(fieldName)) { return oauth2ClientId; } - if (fieldName.equals("oauth2ClientSecret")) { + if ("oauth2ClientSecret".equals(fieldName)) { return oauth2ClientSecret; } - if (fieldName.equals("oauth2ClientSecretSha256")) { + if ("oauth2ClientSecretSha256".equals(fieldName)) { return oauth2ClientSecretSha256; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java index 64e6578f0610..be693b883e93 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private BackendServiceList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceSettings.java index 73126dc471eb..2c3f31461c39 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java index e0bd03d96420..2535d1c073f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private BackendServicesScopedList(List backendServices, Warning @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("backendServices")) { + if ("backendServices".equals(fieldName)) { return backendServices; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java index e6fafcd2cd39..885daa78dce8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private Binding(Expr condition, List members, String role) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("condition")) { + if ("condition".equals(fieldName)) { return condition; } - if (fieldName.equals("members")) { + if ("members".equals(fieldName)) { return members; } - if (fieldName.equals("role")) { + if ("role".equals(fieldName)) { return role; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java index 34d363da9d00..9e80f89fcd23 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private CacheInvalidationRule(String host, String path) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("host")) { + if ("host".equals(fieldName)) { return host; } - if (fieldName.equals("path")) { + if ("path".equals(fieldName)) { return path; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java index 6c00a5a50383..17424ef883ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,19 +55,19 @@ private CacheKeyPolicy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("includeHost")) { + if ("includeHost".equals(fieldName)) { return includeHost; } - if (fieldName.equals("includeProtocol")) { + if ("includeProtocol".equals(fieldName)) { return includeProtocol; } - if (fieldName.equals("includeQueryString")) { + if ("includeQueryString".equals(fieldName)) { return includeQueryString; } - if (fieldName.equals("queryStringBlacklist")) { + if ("queryStringBlacklist".equals(fieldName)) { return queryStringBlacklist; } - if (fieldName.equals("queryStringWhitelist")) { + if ("queryStringWhitelist".equals(fieldName)) { return queryStringWhitelist; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java index 7cc9b5793ff9..41e7b80b43b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -87,43 +87,43 @@ private Commitment( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("endTimestamp")) { + if ("endTimestamp".equals(fieldName)) { return endTimestamp; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("plan")) { + if ("plan".equals(fieldName)) { return plan; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("resources")) { + if ("resources".equals(fieldName)) { return resources; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("startTimestamp")) { + if ("startTimestamp".equals(fieldName)) { return startTimestamp; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("statusMessage")) { + if ("statusMessage".equals(fieldName)) { return statusMessage; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java index 755176db0c56..097e0a1d5af0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private CommitmentAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java index 0cee3f199acf..8a9c4e06db68 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private CommitmentList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java index d9cf023d3679..ad11f6d7c8ff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private CommitmentsScopedList(List commitments, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("commitments")) { + if ("commitments".equals(fieldName)) { return commitments; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java index ba55b39e9a2c..d32c201f5c6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,22 +54,22 @@ private Condition( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("iam")) { + if ("iam".equals(fieldName)) { return iam; } - if (fieldName.equals("op")) { + if ("op".equals(fieldName)) { return op; } - if (fieldName.equals("svc")) { + if ("svc".equals(fieldName)) { return svc; } - if (fieldName.equals("sys")) { + if ("sys".equals(fieldName)) { return sys; } - if (fieldName.equals("value")) { + if ("value".equals(fieldName)) { return value; } - if (fieldName.equals("values")) { + if ("values".equals(fieldName)) { return values; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java index cbcf3e4a0732..5249d50816a5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ConnectionDraining(Integer drainingTimeoutSec) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("drainingTimeoutSec")) { + if ("drainingTimeoutSec".equals(fieldName)) { return drainingTimeoutSec; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java index 61bb82da6835..3cf1db077eec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private CreateSnapshotDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("guestFlush")) { + if ("guestFlush".equals(fieldName)) { return guestFlush; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("snapshotResource")) { + if ("snapshotResource".equals(fieldName)) { return snapshotResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java index 394b1e60eccc..48ed8140ee2b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private CreateSnapshotRegionDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("snapshotResource")) { + if ("snapshotResource".equals(fieldName)) { return snapshotResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java index 034853f15cce..71c34c8abb61 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,13 +43,13 @@ private CustomerEncryptionKey(String kmsKeyName, String rawKey, String sha256) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("kmsKeyName")) { + if ("kmsKeyName".equals(fieldName)) { return kmsKeyName; } - if (fieldName.equals("rawKey")) { + if ("rawKey".equals(fieldName)) { return rawKey; } - if (fieldName.equals("sha256")) { + if ("sha256".equals(fieldName)) { return sha256; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java index 31796df11626..531c82c152cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private CustomerEncryptionKeyProtectedDisk( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("diskEncryptionKey")) { + if ("diskEncryptionKey".equals(fieldName)) { return diskEncryptionKey; } - if (fieldName.equals("source")) { + if ("source".equals(fieldName)) { return source; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java index d74b9ed54b52..8cc54dc55903 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private Data(String key, String value) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("value")) { + if ("value".equals(fieldName)) { return value; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java index 0d0497c6c3a4..6d5b502ced55 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private DeleteAccessConfigInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("accessConfig")) { + if ("accessConfig".equals(fieldName)) { return accessConfig; } - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("networkInterface")) { + if ("networkInterface".equals(fieldName)) { return networkInterface; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java index 693eafccbf44..053bfc71206a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteAddressHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("address")) { + if ("address".equals(fieldName)) { return address; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java index 0d0e58fd556a..5ed38ffb1a90 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java index bdefaf6a5a18..416fa8083589 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteBackendBucketHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendBucket")) { + if ("backendBucket".equals(fieldName)) { return backendBucket; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java index 36c2f268f09b..6ba314eaa2fb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java index 6f71d205d1ed..07f181745823 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java index 170556e99284..e9ea6bd696dd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteFirewallHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("firewall")) { + if ("firewall".equals(fieldName)) { return firewall; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java index 42e54201f856..38db0d5b0fa8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRule")) { + if ("forwardingRule".equals(fieldName)) { return forwardingRule; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java index b1106d5bb80e..b0931b74ac99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteGlobalAddressHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("address")) { + if ("address".equals(fieldName)) { return address; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java index 9035cee23212..eeba4f8b3fb9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteGlobalForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRule")) { + if ("forwardingRule".equals(fieldName)) { return forwardingRule; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java index 6e092ff9013d..842577680fec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private DeleteGlobalOperationHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("operation")) { + if ("operation".equals(fieldName)) { return operation; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java index 8d3a336d5895..8c0f7a334628 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("healthCheck")) { + if ("healthCheck".equals(fieldName)) { return healthCheck; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java index d349a48aa402..144afb9fa5dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteHttpHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpHealthCheck")) { + if ("httpHealthCheck".equals(fieldName)) { return httpHealthCheck; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java index 8152f210254e..4593c8bb10fc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteHttpsHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpsHealthCheck")) { + if ("httpsHealthCheck".equals(fieldName)) { return httpsHealthCheck; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java index c7553ecc3d21..4fb9487f10ac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("image")) { + if ("image".equals(fieldName)) { return image; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java index 7493d25b35fb..a29efa1c8513 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java index 45f5f6490909..75ac048b923e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java index 6f9a6197141f..76448ade6b12 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java index e1220a364c62..a121eb70cb50 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteInstanceTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceTemplate")) { + if ("instanceTemplate".equals(fieldName)) { return instanceTemplate; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java index 3f87e1272557..3b8e3790405b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private DeleteInstancesInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("instanceGroupManagersDeleteInstancesRequestResource")) { + if ("instanceGroupManagersDeleteInstancesRequestResource".equals(fieldName)) { return instanceGroupManagersDeleteInstancesRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java index 45a0bd96edd6..e9b255410f0b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private DeleteInstancesRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionInstanceGroupManagersDeleteInstancesRequestResource")) { + if ("regionInstanceGroupManagersDeleteInstancesRequestResource".equals(fieldName)) { return regionInstanceGroupManagersDeleteInstancesRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java index 21d38965684f..e868eab4a693 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteInterconnectAttachmentHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnectAttachment")) { + if ("interconnectAttachment".equals(fieldName)) { return interconnectAttachment; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java index f500dceac067..d3af7424f844 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteInterconnectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnect")) { + if ("interconnect".equals(fieldName)) { return interconnect; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java index 1b72506cf12b..953e9340b231 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteLicenseHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("license")) { + if ("license".equals(fieldName)) { return license; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java index 7541e806787a..b3b0eddcd174 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteNetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java index 8e77760475e5..99968d1ec00d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeGroup")) { + if ("nodeGroup".equals(fieldName)) { return nodeGroup; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java index 6fad6d6ed887..09b05488cdc8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteNodeTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeTemplate")) { + if ("nodeTemplate".equals(fieldName)) { return nodeTemplate; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java index cbe19576b777..255c1f1df81c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private DeleteNodesNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeGroup")) { + if ("nodeGroup".equals(fieldName)) { return nodeGroup; } - if (fieldName.equals("nodeGroupsDeleteNodesRequestResource")) { + if ("nodeGroupsDeleteNodesRequestResource".equals(fieldName)) { return nodeGroupsDeleteNodesRequestResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java index 08cc13a54a85..a957091f06bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteRegionAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java index 008d140f7a38..5cf4de350a8e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteRegionBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java index e7711ba261bf..fd6abf1f2f7b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteRegionDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java index e11f8b34363a..05409d533f0b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java index 6055704b364e..88d533fe3b4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private DeleteRegionOperationHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("operation")) { + if ("operation".equals(fieldName)) { return operation; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java index 386c7b765e77..37ab862ef318 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteRouteHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("route")) { + if ("route".equals(fieldName)) { return route; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java index 5bd48ef27f22..166f6f59e912 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteRouterHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java index 1ba32b36964b..8a186a16cdd6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java index 2897940b6645..e9f68994e525 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private DeleteSignedUrlKeyBackendBucketHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendBucket")) { + if ("backendBucket".equals(fieldName)) { return backendBucket; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("keyName")) { + if ("keyName".equals(fieldName)) { return keyName; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java index ad269230da49..a4d7835de840 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private DeleteSignedUrlKeyBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("keyName")) { + if ("keyName".equals(fieldName)) { return keyName; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java index bd2cc210d568..32718d72114d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteSnapshotHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("snapshot")) { + if ("snapshot".equals(fieldName)) { return snapshot; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java index d73bc6c2785a..68a7f314b03f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteSslCertificateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sslCertificate")) { + if ("sslCertificate".equals(fieldName)) { return sslCertificate; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java index 270a2dd6834e..71b392c695b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteSslPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sslPolicy")) { + if ("sslPolicy".equals(fieldName)) { return sslPolicy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java index 4270d7f84e8c..5b75f18fd09b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteSubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java index 6b2928c2b241..79f5fa11d010 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteTargetHttpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpProxy")) { + if ("targetHttpProxy".equals(fieldName)) { return targetHttpProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java index 27f496359c10..bdb745de5f3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteTargetHttpsProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpsProxy")) { + if ("targetHttpsProxy".equals(fieldName)) { return targetHttpsProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java index 7c0999908eec..24e68c75c562 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteTargetInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetInstance")) { + if ("targetInstance".equals(fieldName)) { return targetInstance; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java index aca94b513e81..7aa7989d6333 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java index 645f7b594a81..cf2315ce1472 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteTargetSslProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetSslProxy")) { + if ("targetSslProxy".equals(fieldName)) { return targetSslProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java index 76e48333d234..a73464205466 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteTargetTcpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetTcpProxy")) { + if ("targetTcpProxy".equals(fieldName)) { return targetTcpProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java index bba660371155..c04e88ecfd81 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteTargetVpnGatewayHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetVpnGateway")) { + if ("targetVpnGateway".equals(fieldName)) { return targetVpnGateway; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java index e4be6526e378..72bb8683b016 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteUrlMapHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java index f886123d795a..d651b065c852 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DeleteVpnTunnelHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("vpnTunnel")) { + if ("vpnTunnel".equals(fieldName)) { return vpnTunnel; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java index 40ddc56cdec5..68a5ae431259 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private DeleteZoneOperationHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("operation")) { + if ("operation".equals(fieldName)) { return operation; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java index 09b997faed1d..51bbaa67b24f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.ApiMessage; +import com.google.gson.annotations.SerializedName; import java.util.LinkedList; import java.util.List; import java.util.Objects; @@ -26,7 +27,9 @@ @Generated("by GAPIC") @BetaApi public final class Denied implements ApiMessage { + @SerializedName("IPProtocol") private final String iPProtocol; + private final List ports; private Denied() { @@ -41,10 +44,10 @@ private Denied(String iPProtocol, List ports) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("iPProtocol")) { + if ("iPProtocol".equals(fieldName)) { return iPProtocol; } - if (fieldName.equals("ports")) { + if ("ports".equals(fieldName)) { return ports; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java index fd9fbc338322..548f3a46e0c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private DeprecateImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("deprecationStatusResource")) { + if ("deprecationStatusResource".equals(fieldName)) { return deprecationStatusResource; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("image")) { + if ("image".equals(fieldName)) { return image; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java index c0022caa6ff8..3db5e76c7fe8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,19 +50,19 @@ private DeprecationStatus( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("deleted")) { + if ("deleted".equals(fieldName)) { return deleted; } - if (fieldName.equals("deprecated")) { + if ("deprecated".equals(fieldName)) { return deprecated; } - if (fieldName.equals("obsolete")) { + if ("obsolete".equals(fieldName)) { return obsolete; } - if (fieldName.equals("replacement")) { + if ("replacement".equals(fieldName)) { return replacement; } - if (fieldName.equals("state")) { + if ("state".equals(fieldName)) { return state; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java index e93c3ac9809f..886585951594 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private DetachDiskInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("deviceName")) { + if ("deviceName".equals(fieldName)) { return deviceName; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java index e99584fb3776..59728dd8dfc3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private DisableXpnHostProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java index 8338ca7c7a40..3f7ce8a87118 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private DisableXpnResourceProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("projectsDisableXpnResourceRequestResource")) { + if ("projectsDisableXpnResourceRequestResource".equals(fieldName)) { return projectsDisableXpnResourceRequestResource; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java index d3ee3ffc678e..d5cfcfae5bf0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -152,91 +152,91 @@ private Disk( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("diskEncryptionKey")) { + if ("diskEncryptionKey".equals(fieldName)) { return diskEncryptionKey; } - if (fieldName.equals("guestOsFeatures")) { + if ("guestOsFeatures".equals(fieldName)) { return guestOsFeatures; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } - if (fieldName.equals("lastAttachTimestamp")) { + if ("lastAttachTimestamp".equals(fieldName)) { return lastAttachTimestamp; } - if (fieldName.equals("lastDetachTimestamp")) { + if ("lastDetachTimestamp".equals(fieldName)) { return lastDetachTimestamp; } - if (fieldName.equals("licenseCodes")) { + if ("licenseCodes".equals(fieldName)) { return licenseCodes; } - if (fieldName.equals("licenses")) { + if ("licenses".equals(fieldName)) { return licenses; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("options")) { + if ("options".equals(fieldName)) { return options; } - if (fieldName.equals("physicalBlockSizeBytes")) { + if ("physicalBlockSizeBytes".equals(fieldName)) { return physicalBlockSizeBytes; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("replicaZones")) { + if ("replicaZones".equals(fieldName)) { return replicaZones; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sizeGb")) { + if ("sizeGb".equals(fieldName)) { return sizeGb; } - if (fieldName.equals("sourceImage")) { + if ("sourceImage".equals(fieldName)) { return sourceImage; } - if (fieldName.equals("sourceImageEncryptionKey")) { + if ("sourceImageEncryptionKey".equals(fieldName)) { return sourceImageEncryptionKey; } - if (fieldName.equals("sourceImageId")) { + if ("sourceImageId".equals(fieldName)) { return sourceImageId; } - if (fieldName.equals("sourceSnapshot")) { + if ("sourceSnapshot".equals(fieldName)) { return sourceSnapshot; } - if (fieldName.equals("sourceSnapshotEncryptionKey")) { + if ("sourceSnapshotEncryptionKey".equals(fieldName)) { return sourceSnapshotEncryptionKey; } - if (fieldName.equals("sourceSnapshotId")) { + if ("sourceSnapshotId".equals(fieldName)) { return sourceSnapshotId; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } - if (fieldName.equals("users")) { + if ("users".equals(fieldName)) { return users; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java index e3254b1b0e23..f0f5e503e098 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private DiskAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java index 7c2247cb95b7..acad92e6aea4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java index 94855a2708da..58b651a317ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,16 +47,16 @@ private DiskInstantiationConfig( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoDelete")) { + if ("autoDelete".equals(fieldName)) { return autoDelete; } - if (fieldName.equals("customImage")) { + if ("customImage".equals(fieldName)) { return customImage; } - if (fieldName.equals("deviceName")) { + if ("deviceName".equals(fieldName)) { return deviceName; } - if (fieldName.equals("instantiateFrom")) { + if ("instantiateFrom".equals(fieldName)) { return instantiateFrom; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java index 57c94c5297b5..f91a4af380ee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private DiskList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java index a2883c8c4c96..6529028c6341 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private DiskMoveRequest(String destinationZone, String targetDisk) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("destinationZone")) { + if ("destinationZone".equals(fieldName)) { return destinationZone; } - if (fieldName.equals("targetDisk")) { + if ("targetDisk".equals(fieldName)) { return targetDisk; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskSettings.java index f387db537c73..d379ae074f9c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java index 516285f6e775..4b40f7da18ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private DiskType( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("defaultDiskSizeGb")) { + if ("defaultDiskSizeGb".equals(fieldName)) { return defaultDiskSizeGb; } - if (fieldName.equals("deprecated")) { + if ("deprecated".equals(fieldName)) { return deprecated; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("validDiskSize")) { + if ("validDiskSize".equals(fieldName)) { return validDiskSize; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java index 74b9171c6866..e20a982d4fba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private DiskTypeAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java index 45a4d333921f..2edf71da0449 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java index a59a167f827f..cf0188c59a77 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private DiskTypeList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeSettings.java index d264e25069a3..7ecb5c71dd9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java index fe0767d4eda4..a4a374e3f329 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private DiskTypesScopedList(List diskTypes, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("diskTypes")) { + if ("diskTypes".equals(fieldName)) { return diskTypes; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java index 24b6df9cdd91..08a674e6f8e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private DisksResizeRequest(String sizeGb) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("sizeGb")) { + if ("sizeGb".equals(fieldName)) { return sizeGb; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java index 170342f779f5..ba9e04c6e6e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private DisksScopedList(List disks, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("disks")) { + if ("disks".equals(fieldName)) { return disks; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java index 65f24d56abef..815d54610257 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private DistributionPolicy(List zones) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("zones")) { + if ("zones".equals(fieldName)) { return zones; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java index a67e16a39b5c..e4c34ce44ac8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private DistributionPolicyZoneConfiguration(String zone) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java index 439065cdbae3..40a782796495 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private EnableXpnHostProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java index 47b515ca4b1f..066285d79bdc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private EnableXpnResourceProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("projectsEnableXpnResourceRequestResource")) { + if ("projectsEnableXpnResourceRequestResource".equals(fieldName)) { return projectsEnableXpnResourceRequestResource; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java index cd9bf54ac692..d9098205b9ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private Error(List errors) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("errors")) { + if ("errors".equals(fieldName)) { return errors; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java index 2c492e0b4846..c7498c0180c5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,13 +43,13 @@ private Errors(String code, String location, String message) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("code")) { + if ("code".equals(fieldName)) { return code; } - if (fieldName.equals("location")) { + if ("location".equals(fieldName)) { return location; } - if (fieldName.equals("message")) { + if ("message".equals(fieldName)) { return message; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java index e0d913f58a59..553f2219cd29 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private ExpandIpCidrRangeSubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("subnetworksExpandIpCidrRangeRequestResource")) { + if ("subnetworksExpandIpCidrRangeRequestResource".equals(fieldName)) { return subnetworksExpandIpCidrRangeRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java index 883d98d14a8d..4fc6d008b829 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,16 +46,16 @@ private Expr(String description, String expression, String location, String titl @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("expression")) { + if ("expression".equals(fieldName)) { return expression; } - if (fieldName.equals("location")) { + if ("location".equals(fieldName)) { return location; } - if (fieldName.equals("title")) { + if ("title".equals(fieldName)) { return title; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java index 3c971ee584e5..1cc66d0ca924 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -111,61 +111,61 @@ private Firewall( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("allowed")) { + if ("allowed".equals(fieldName)) { return allowed; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("denied")) { + if ("denied".equals(fieldName)) { return denied; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("destinationRanges")) { + if ("destinationRanges".equals(fieldName)) { return destinationRanges; } - if (fieldName.equals("direction")) { + if ("direction".equals(fieldName)) { return direction; } - if (fieldName.equals("disabled")) { + if ("disabled".equals(fieldName)) { return disabled; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("logConfig")) { + if ("logConfig".equals(fieldName)) { return logConfig; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("priority")) { + if ("priority".equals(fieldName)) { return priority; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sourceRanges")) { + if ("sourceRanges".equals(fieldName)) { return sourceRanges; } - if (fieldName.equals("sourceServiceAccounts")) { + if ("sourceServiceAccounts".equals(fieldName)) { return sourceServiceAccounts; } - if (fieldName.equals("sourceTags")) { + if ("sourceTags".equals(fieldName)) { return sourceTags; } - if (fieldName.equals("targetServiceAccounts")) { + if ("targetServiceAccounts".equals(fieldName)) { return targetServiceAccounts; } - if (fieldName.equals("targetTags")) { + if ("targetTags".equals(fieldName)) { return targetTags; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java index 0ccc05abc045..419257aa83ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java index 5e2059cffa2c..13dccaa88404 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private FirewallList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java index fc9d64a6d523..b5a3606f0808 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private FirewallLogConfig(Boolean enable) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("enable")) { + if ("enable".equals(fieldName)) { return enable; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallSettings.java index 2a0f327e0953..b5c7163a9e1b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java index aabaa7170fe6..1f8380c42c0e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.ApiMessage; +import com.google.gson.annotations.SerializedName; import java.util.LinkedList; import java.util.List; import java.util.Objects; @@ -29,8 +30,13 @@ public final class ForwardingRule implements ApiMessage { private final String backendService; private final String creationTimestamp; private final String description; + + @SerializedName("IPAddress") private final String iPAddress; + + @SerializedName("IPProtocol") private final String iPProtocol; + private final String id; private final String ipVersion; private final String kind; @@ -107,58 +113,58 @@ private ForwardingRule( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("iPAddress")) { + if ("iPAddress".equals(fieldName)) { return iPAddress; } - if (fieldName.equals("iPProtocol")) { + if ("iPProtocol".equals(fieldName)) { return iPProtocol; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("ipVersion")) { + if ("ipVersion".equals(fieldName)) { return ipVersion; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("loadBalancingScheme")) { + if ("loadBalancingScheme".equals(fieldName)) { return loadBalancingScheme; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("networkTier")) { + if ("networkTier".equals(fieldName)) { return networkTier; } - if (fieldName.equals("portRange")) { + if ("portRange".equals(fieldName)) { return portRange; } - if (fieldName.equals("ports")) { + if ("ports".equals(fieldName)) { return ports; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("target")) { + if ("target".equals(fieldName)) { return target; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java index 1f25d325df24..091bc25300ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private ForwardingRuleAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java index a099c30a9b94..ba45653bc3ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java index 636b7931cf75..4e23b050922e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private ForwardingRuleList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleSettings.java index a320220676d9..14f7413d3f60 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java index fdb5f17ca1c0..70bde46793ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private ForwardingRulesScopedList(List forwardingRules, Warning @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("forwardingRules")) { + if ("forwardingRules".equals(fieldName)) { return forwardingRules; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java index 861c64ea1405..c1585f3bffa9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetAcceleratorTypeHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("acceleratorType")) { + if ("acceleratorType".equals(fieldName)) { return acceleratorType; } - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java index 73e1b8de267c..3f0837a9be09 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetAddressHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("address")) { + if ("address".equals(fieldName)) { return address; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java index 6dce224ca63f..af2eb6d962a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java index cf2e28002930..5e36f4713a97 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetBackendBucketHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendBucket")) { + if ("backendBucket".equals(fieldName)) { return backendBucket; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java index 8d8ca9cbe9b4..9bc1e5f77472 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java index d670e419bce6..05a1191ae80a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetDiagnosticsInterconnectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnect")) { + if ("interconnect".equals(fieldName)) { return interconnect; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java index 3ed0f637b373..15250e1250b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java index dc59d19540bb..0a347fe62256 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetDiskTypeHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("diskType")) { + if ("diskType".equals(fieldName)) { return diskType; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java index f7941097b523..b57bf274bcd3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetFirewallHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("firewall")) { + if ("firewall".equals(fieldName)) { return firewall; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java index 72a30fbc8dda..f5070391b2cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRule")) { + if ("forwardingRule".equals(fieldName)) { return forwardingRule; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java index cd3168370454..3a543d978e75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetFromFamilyImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("family")) { + if ("family".equals(fieldName)) { return family; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java index 9939700d0fdf..96a846e987b5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetGlobalAddressHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("address")) { + if ("address".equals(fieldName)) { return address; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java index 499754896dc9..d0585449f90f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetGlobalForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRule")) { + if ("forwardingRule".equals(fieldName)) { return forwardingRule; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java index d324b7e0b662..b40509de7a07 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetGlobalOperationHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("operation")) { + if ("operation".equals(fieldName)) { return operation; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java index de74c613666a..2a6de76bd93e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private GetHealthBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resourceGroupReferenceResource")) { + if ("resourceGroupReferenceResource".equals(fieldName)) { return resourceGroupReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java index f03de6e68a7a..c081e1b1237d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("healthCheck")) { + if ("healthCheck".equals(fieldName)) { return healthCheck; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java index d2411b7e6995..40b1ec25a24c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private GetHealthRegionBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resourceGroupReferenceResource")) { + if ("resourceGroupReferenceResource".equals(fieldName)) { return resourceGroupReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java index 80adbde9767e..c681471d36e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private GetHealthTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceReferenceResource")) { + if ("instanceReferenceResource".equals(fieldName)) { return instanceReferenceResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java index f15e79e68f9f..4de821dd4aa9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetHttpHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpHealthCheck")) { + if ("httpHealthCheck".equals(fieldName)) { return httpHealthCheck; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java index 0df43e72848f..a8db326a99bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetHttpsHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpsHealthCheck")) { + if ("httpsHealthCheck".equals(fieldName)) { return httpsHealthCheck; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java index ea5c11c9686e..7d7ba440c071 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicyDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java index 2d2947c91ab6..a50154c6cef0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicyImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java index 97a5060c04aa..0fa39a3be8cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicyInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java index b98f9537863c..39258fea86bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicyInstanceTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java index 07ab87f88007..fc4c05f38f8a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicyLicenseHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java index c443e0e37ac9..4ac7649ac465 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicyNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java index 6b446669ef27..adddbed4f1d0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicyNodeTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java index 30c87d17c91c..f5243465e9fb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicySnapshotHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java index 53219277b576..f6f99fabe30f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetIamPolicySubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java index 159c4c597af0..bae98d7f0454 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("image")) { + if ("image".equals(fieldName)) { return image; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java index a3ea3a0b3819..4eb437c42cab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java index 1ec4366a7463..69357fd9d89d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java index 40609939618e..3eecd260044c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java index 6a605d45dd6d..dc0ed484b345 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetInstanceTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceTemplate")) { + if ("instanceTemplate".equals(fieldName)) { return instanceTemplate; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java index 6b32b78e607c..4aacd06109c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetInterconnectAttachmentHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnectAttachment")) { + if ("interconnectAttachment".equals(fieldName)) { return interconnectAttachment; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java index 2c8ec025066d..e484c90727a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetInterconnectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnect")) { + if ("interconnect".equals(fieldName)) { return interconnect; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java index 5c4f2c3d6990..c96548dd6df8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetInterconnectLocationHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnectLocation")) { + if ("interconnectLocation".equals(fieldName)) { return interconnectLocation; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java index 34e074261a60..e8a243e1733c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetLicenseCodeHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("licenseCode")) { + if ("licenseCode".equals(fieldName)) { return licenseCode; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java index cb6cddb8ab7c..636a7f85093e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetLicenseHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("license")) { + if ("license".equals(fieldName)) { return license; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java index 5af4426b2ed9..d80387613493 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetMachineTypeHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("machineType")) { + if ("machineType".equals(fieldName)) { return machineType; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java index 221a45d082f5..d3bafeb45daa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private GetNatMappingInfoRoutersHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java index 6dbe5865035a..48bcd15628f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetNetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java index a1c59cc87164..19287cd7526b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeGroup")) { + if ("nodeGroup".equals(fieldName)) { return nodeGroup; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java index 3cc2991d2cb9..4b575036388f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetNodeTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeTemplate")) { + if ("nodeTemplate".equals(fieldName)) { return nodeTemplate; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java index f4388afd78e9..921ef687d465 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetNodeTypeHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeType")) { + if ("nodeType".equals(fieldName)) { return nodeType; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java index ea0958bef2a4..5aecf28b5a51 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java index a7a2a7ab473c..12fcd849bd8e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java index 32dc24e1172b..8898b3d31586 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java index 4e5eb300c90d..d0043b2886ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionCommitmentHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("commitment")) { + if ("commitment".equals(fieldName)) { return commitment; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java index c3f4e636a34a..6076d7b29f22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java index f1a0ca9dcec6..9b255eebbde5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionDiskTypeHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("diskType")) { + if ("diskType".equals(fieldName)) { return diskType; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java index e6a53479cce3..0320a396bb3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java index bd32752142b1..6ab9ae30d81b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java index d53a58c42f46..6afbb31d2072 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java index 9354e73dc6c3..049172581b7e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRegionOperationHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("operation")) { + if ("operation".equals(fieldName)) { return operation; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java index 91f70cc51d78..9aa1a8b472dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRouteHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("route")) { + if ("route".equals(fieldName)) { return route; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java index 2da040ec96e3..f0ff7add5784 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRouterHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java index b359cd4020be..6132f4f002db 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetRouterStatusRouterHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java index 46ec1b28eb63..09384704b119 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private GetRuleSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("priority")) { + if ("priority".equals(fieldName)) { return priority; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java index 0cab721fc061..d7d259959f59 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java index 9ee831ed202b..d877d31d9de8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private GetSerialPortOutputInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("start")) { + if ("start".equals(fieldName)) { return start; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java index 5b0822171072..ab1e701ee575 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetSnapshotHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("snapshot")) { + if ("snapshot".equals(fieldName)) { return snapshot; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java index f5e8b0c99aa7..714ab4125e71 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetSslCertificateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("sslCertificate")) { + if ("sslCertificate".equals(fieldName)) { return sslCertificate; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java index 6e7dd8c3f033..c394c0639f8e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetSslPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("sslPolicy")) { + if ("sslPolicy".equals(fieldName)) { return sslPolicy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java index 32037a6780d0..bb20e29642e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetSubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java index e62b679f239b..d0edf3f0b656 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetTargetHttpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetHttpProxy")) { + if ("targetHttpProxy".equals(fieldName)) { return targetHttpProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java index 501ec52d64b2..5dfabe44903d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetTargetHttpsProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetHttpsProxy")) { + if ("targetHttpsProxy".equals(fieldName)) { return targetHttpsProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java index 9ef98bb1b6d3..275dbcc382ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetTargetInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetInstance")) { + if ("targetInstance".equals(fieldName)) { return targetInstance; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java index 1b37944d89f9..1401a9e66244 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java index 547104a99a25..ea27cc513178 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetTargetSslProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetSslProxy")) { + if ("targetSslProxy".equals(fieldName)) { return targetSslProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java index add3781e55d5..9c96dad7caac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetTargetTcpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetTcpProxy")) { + if ("targetTcpProxy".equals(fieldName)) { return targetTcpProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java index b37f4baf5e50..0e75356b7c3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetTargetVpnGatewayHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("targetVpnGateway")) { + if ("targetVpnGateway".equals(fieldName)) { return targetVpnGateway; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java index af52761d6aa8..cda2e7ed55a0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetUrlMapHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java index ed991eda312e..6f3d3b2ac117 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetVpnTunnelHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("vpnTunnel")) { + if ("vpnTunnel".equals(fieldName)) { return vpnTunnel; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java index f163158b66f4..027557d2f483 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetXpnHostProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java index b053e307ed0c..a0fccd66726e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private GetXpnResourcesProjectsHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("filter")) { + if ("filter".equals(fieldName)) { return filter; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("maxResults")) { + if ("maxResults".equals(fieldName)) { return maxResults; } - if (fieldName.equals("orderBy")) { + if ("orderBy".equals(fieldName)) { return orderBy; } - if (fieldName.equals("pageToken")) { + if ("pageToken".equals(fieldName)) { return pageToken; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java index 3232d136a0d3..3b66616396a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetZoneHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java index bd5fd02a5146..5fb4da909532 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private GetZoneOperationHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("operation")) { + if ("operation".equals(fieldName)) { return operation; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java index a5b3e2bb3dc2..9aa48d06041f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressSettings.java index 07dc9b12dd06..7539e81ce69a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java index a37a4525eadc..64156dde5424 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleSettings.java index c4b6840ccfc5..acec8173719d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java index b033aec9633c..cf3ff11bfbfe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationSettings.java index 8ef2ca882dd6..51772546798b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java index 3c1184f61e5f..a26c792ee44c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private GlobalSetLabelsRequest(String labelFingerprint, Map labe @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java index 1b4fa06d2019..a7384bb75cac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private GlobalSetPolicyRequest(List bindings, String etag, Policy polic @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("bindings")) { + if ("bindings".equals(fieldName)) { return bindings; } - if (fieldName.equals("etag")) { + if ("etag".equals(fieldName)) { return etag; } - if (fieldName.equals("policy")) { + if ("policy".equals(fieldName)) { return policy; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java index 22ec52f78ce5..6b59fa06c2ac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private GuestOsFeature(String type) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java index a7c925ef69ab..88bdfc719a47 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -94,49 +94,49 @@ private HealthCheck( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("checkIntervalSec")) { + if ("checkIntervalSec".equals(fieldName)) { return checkIntervalSec; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("healthyThreshold")) { + if ("healthyThreshold".equals(fieldName)) { return healthyThreshold; } - if (fieldName.equals("httpHealthCheck")) { + if ("httpHealthCheck".equals(fieldName)) { return httpHealthCheck; } - if (fieldName.equals("httpsHealthCheck")) { + if ("httpsHealthCheck".equals(fieldName)) { return httpsHealthCheck; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sslHealthCheck")) { + if ("sslHealthCheck".equals(fieldName)) { return sslHealthCheck; } - if (fieldName.equals("tcpHealthCheck")) { + if ("tcpHealthCheck".equals(fieldName)) { return tcpHealthCheck; } - if (fieldName.equals("timeoutSec")) { + if ("timeoutSec".equals(fieldName)) { return timeoutSec; } - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } - if (fieldName.equals("unhealthyThreshold")) { + if ("unhealthyThreshold".equals(fieldName)) { return unhealthyThreshold; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java index 2f2476e61bdc..05e323c0cd94 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java index 450fd8a00238..5cc52cfc92a5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private HealthCheckList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java index a32982dbe395..a5140d50c5e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private HealthCheckReference(String healthCheck) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("healthCheck")) { + if ("healthCheck".equals(fieldName)) { return healthCheck; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckSettings.java index 26d932ce81f8..f10e60d3cff0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java index b70aabb2e31e..8f98563a36f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,16 +46,16 @@ private HealthStatus(String healthState, String instance, String ipAddress, Inte @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("healthState")) { + if ("healthState".equals(fieldName)) { return healthState; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("ipAddress")) { + if ("ipAddress".equals(fieldName)) { return ipAddress; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java index ff96ed62d8cd..2bc70f9be5f5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private HostRule(String description, List hosts, String pathMatcher) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("hosts")) { + if ("hosts".equals(fieldName)) { return hosts; } - if (fieldName.equals("pathMatcher")) { + if ("pathMatcher".equals(fieldName)) { return pathMatcher; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java index 62fc0e5b3437..f5a76afd301c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,22 +58,22 @@ private HttpHealthCheck( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("host")) { + if ("host".equals(fieldName)) { return host; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("portName")) { + if ("portName".equals(fieldName)) { return portName; } - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } - if (fieldName.equals("requestPath")) { + if ("requestPath".equals(fieldName)) { return requestPath; } - if (fieldName.equals("response")) { + if ("response".equals(fieldName)) { return response; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java index 315a881cebd4..26ccb2b41f19 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -86,43 +86,43 @@ private HttpHealthCheck2( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("checkIntervalSec")) { + if ("checkIntervalSec".equals(fieldName)) { return checkIntervalSec; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("healthyThreshold")) { + if ("healthyThreshold".equals(fieldName)) { return healthyThreshold; } - if (fieldName.equals("host")) { + if ("host".equals(fieldName)) { return host; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("requestPath")) { + if ("requestPath".equals(fieldName)) { return requestPath; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("timeoutSec")) { + if ("timeoutSec".equals(fieldName)) { return timeoutSec; } - if (fieldName.equals("unhealthyThreshold")) { + if ("unhealthyThreshold".equals(fieldName)) { return unhealthyThreshold; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java index d28d27df6a28..6679f6e219fc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java index 95eb22ea6028..9950ca361d7d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private HttpHealthCheckList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckSettings.java index 889c5a7a07db..f352d44fd012 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java index 3eb3d32cd09c..dbf56d315f81 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,22 +58,22 @@ private HttpSHealthCheck( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("host")) { + if ("host".equals(fieldName)) { return host; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("portName")) { + if ("portName".equals(fieldName)) { return portName; } - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } - if (fieldName.equals("requestPath")) { + if ("requestPath".equals(fieldName)) { return requestPath; } - if (fieldName.equals("response")) { + if ("response".equals(fieldName)) { return response; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java index 704fe75934c8..e34452f09ab9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -86,43 +86,43 @@ private HttpsHealthCheck2( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("checkIntervalSec")) { + if ("checkIntervalSec".equals(fieldName)) { return checkIntervalSec; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("healthyThreshold")) { + if ("healthyThreshold".equals(fieldName)) { return healthyThreshold; } - if (fieldName.equals("host")) { + if ("host".equals(fieldName)) { return host; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("requestPath")) { + if ("requestPath".equals(fieldName)) { return requestPath; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("timeoutSec")) { + if ("timeoutSec".equals(fieldName)) { return timeoutSec; } - if (fieldName.equals("unhealthyThreshold")) { + if ("unhealthyThreshold".equals(fieldName)) { return unhealthyThreshold; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java index 645f7b8a1256..9a1cfa86921d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java index b26bfebc3461..614c351219ef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private HttpsHealthCheckList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckSettings.java index 9aedc09a5232..9451ef907783 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java index fe5d645900e3..a50140253b98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -148,88 +148,88 @@ private Image( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("archiveSizeBytes")) { + if ("archiveSizeBytes".equals(fieldName)) { return archiveSizeBytes; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("deprecated")) { + if ("deprecated".equals(fieldName)) { return deprecated; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("diskSizeGb")) { + if ("diskSizeGb".equals(fieldName)) { return diskSizeGb; } - if (fieldName.equals("family")) { + if ("family".equals(fieldName)) { return family; } - if (fieldName.equals("guestOsFeatures")) { + if ("guestOsFeatures".equals(fieldName)) { return guestOsFeatures; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("imageEncryptionKey")) { + if ("imageEncryptionKey".equals(fieldName)) { return imageEncryptionKey; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } - if (fieldName.equals("licenseCodes")) { + if ("licenseCodes".equals(fieldName)) { return licenseCodes; } - if (fieldName.equals("licenses")) { + if ("licenses".equals(fieldName)) { return licenses; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("rawDisk")) { + if ("rawDisk".equals(fieldName)) { return rawDisk; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sourceDisk")) { + if ("sourceDisk".equals(fieldName)) { return sourceDisk; } - if (fieldName.equals("sourceDiskEncryptionKey")) { + if ("sourceDiskEncryptionKey".equals(fieldName)) { return sourceDiskEncryptionKey; } - if (fieldName.equals("sourceDiskId")) { + if ("sourceDiskId".equals(fieldName)) { return sourceDiskId; } - if (fieldName.equals("sourceImage")) { + if ("sourceImage".equals(fieldName)) { return sourceImage; } - if (fieldName.equals("sourceImageEncryptionKey")) { + if ("sourceImageEncryptionKey".equals(fieldName)) { return sourceImageEncryptionKey; } - if (fieldName.equals("sourceImageId")) { + if ("sourceImageId".equals(fieldName)) { return sourceImageId; } - if (fieldName.equals("sourceSnapshot")) { + if ("sourceSnapshot".equals(fieldName)) { return sourceSnapshot; } - if (fieldName.equals("sourceSnapshotEncryptionKey")) { + if ("sourceSnapshotEncryptionKey".equals(fieldName)) { return sourceSnapshotEncryptionKey; } - if (fieldName.equals("sourceSnapshotId")) { + if ("sourceSnapshotId".equals(fieldName)) { return sourceSnapshotId; } - if (fieldName.equals("sourceType")) { + if ("sourceType".equals(fieldName)) { return sourceType; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java index 1c32b7ea0f87..cdef2a1d21b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java index cbd043ed11b3..c924f8143e5d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private ImageList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageSettings.java index b6f98f554857..97f9d48dcbb0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java index 44854ff6fb49..a6ec5c61ee10 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertAddressHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("addressResource")) { + if ("addressResource".equals(fieldName)) { return addressResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java index 3d82ab72a020..85b3005a13bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscalerResource")) { + if ("autoscalerResource".equals(fieldName)) { return autoscalerResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java index f2416257483e..3d1012ced19d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertBackendBucketHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendBucketResource")) { + if ("backendBucketResource".equals(fieldName)) { return backendBucketResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java index 7bdaa1185c4f..fb70928c65ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendServiceResource")) { + if ("backendServiceResource".equals(fieldName)) { return backendServiceResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java index aa60ae6b958c..ca190c47a3d8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private InsertDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("diskResource")) { + if ("diskResource".equals(fieldName)) { return diskResource; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sourceImage")) { + if ("sourceImage".equals(fieldName)) { return sourceImage; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java index b3894dc14e7d..402cace30083 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertFirewallHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("firewallResource")) { + if ("firewallResource".equals(fieldName)) { return firewallResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java index 5ac102ea2b9d..40d6fea574e3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRuleResource")) { + if ("forwardingRuleResource".equals(fieldName)) { return forwardingRuleResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java index 8494ba87d2b7..7583e38333a6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertGlobalAddressHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("addressResource")) { + if ("addressResource".equals(fieldName)) { return addressResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java index ffc889f6a054..0ceec79abbf7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertGlobalForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRuleResource")) { + if ("forwardingRuleResource".equals(fieldName)) { return forwardingRuleResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java index e49d8f2d47b7..a845e0069b4b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("healthCheckResource")) { + if ("healthCheckResource".equals(fieldName)) { return healthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java index aa6e4e2dbc5d..c965469abbbf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertHttpHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpHealthCheckResource")) { + if ("httpHealthCheckResource".equals(fieldName)) { return httpHealthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java index 64ebaef619e6..a687c406c39e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertHttpsHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpsHealthCheckResource")) { + if ("httpsHealthCheckResource".equals(fieldName)) { return httpsHealthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java index fc5fe51b948b..a17a51409f3b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private InsertImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forceCreate")) { + if ("forceCreate".equals(fieldName)) { return forceCreate; } - if (fieldName.equals("imageResource")) { + if ("imageResource".equals(fieldName)) { return imageResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java index 31d5d8febca0..9c1cab08ead3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupResource")) { + if ("instanceGroupResource".equals(fieldName)) { return instanceGroupResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java index 869aeaa40d7d..86fcda59cf89 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManagerResource")) { + if ("instanceGroupManagerResource".equals(fieldName)) { return instanceGroupManagerResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java index 0a110a065c7e..f9f808784e33 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private InsertInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceResource")) { + if ("instanceResource".equals(fieldName)) { return instanceResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sourceInstanceTemplate")) { + if ("sourceInstanceTemplate".equals(fieldName)) { return sourceInstanceTemplate; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java index 950f30b9ee45..28dd14624a82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertInstanceTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceTemplateResource")) { + if ("instanceTemplateResource".equals(fieldName)) { return instanceTemplateResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java index 8a3e6df68c91..583c8c608787 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertInterconnectAttachmentHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnectAttachmentResource")) { + if ("interconnectAttachmentResource".equals(fieldName)) { return interconnectAttachmentResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java index 9402cf686fc4..9f59164733df 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertInterconnectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnectResource")) { + if ("interconnectResource".equals(fieldName)) { return interconnectResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java index 577888b8f703..a7995286a44c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertLicenseHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("licenseResource")) { + if ("licenseResource".equals(fieldName)) { return licenseResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java index 1c765b0db7a5..73e4a50b9046 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertNetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("networkResource")) { + if ("networkResource".equals(fieldName)) { return networkResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java index bae7c2901ed1..b13ac7ded318 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private InsertNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("initialNodeCount")) { + if ("initialNodeCount".equals(fieldName)) { return initialNodeCount; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeGroupResource")) { + if ("nodeGroupResource".equals(fieldName)) { return nodeGroupResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java index 4a0446866a32..2e2acc6796d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertNodeTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeTemplateResource")) { + if ("nodeTemplateResource".equals(fieldName)) { return nodeTemplateResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java index 6f68a3783cb2..0a0f64331b7b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertRegionAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscalerResource")) { + if ("autoscalerResource".equals(fieldName)) { return autoscalerResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java index f85f6024141f..19d28c1dbee2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertRegionBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendServiceResource")) { + if ("backendServiceResource".equals(fieldName)) { return backendServiceResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java index b2ac2c51f6a6..b3d980f99255 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertRegionCommitmentHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("commitmentResource")) { + if ("commitmentResource".equals(fieldName)) { return commitmentResource; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java index 410d10f9dfe2..d5c93e66cfd2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private InsertRegionDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("diskResource")) { + if ("diskResource".equals(fieldName)) { return diskResource; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sourceImage")) { + if ("sourceImage".equals(fieldName)) { return sourceImage; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java index 7e4b4df953c9..1b36ab601a10 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManagerResource")) { + if ("instanceGroupManagerResource".equals(fieldName)) { return instanceGroupManagerResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java index ef13fefe5651..67a746f01bc8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertRouteHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("routeResource")) { + if ("routeResource".equals(fieldName)) { return routeResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java index 73648b655089..c59278b8aa9c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertRouterHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("routerResource")) { + if ("routerResource".equals(fieldName)) { return routerResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java index e4281da1109f..2e17f2bfe875 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("securityPolicyResource")) { + if ("securityPolicyResource".equals(fieldName)) { return securityPolicyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java index 6eaf2ac78ddb..6d98b3ce2a2a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertSslCertificateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sslCertificateResource")) { + if ("sslCertificateResource".equals(fieldName)) { return sslCertificateResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java index 1bb69f83736c..f2a9523226d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertSslPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sslPolicyResource")) { + if ("sslPolicyResource".equals(fieldName)) { return sslPolicyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java index 2db72649e1a8..0739b50e13a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertSubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("subnetworkResource")) { + if ("subnetworkResource".equals(fieldName)) { return subnetworkResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java index 0954f10a7667..1f7814a7db18 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertTargetHttpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpProxyResource")) { + if ("targetHttpProxyResource".equals(fieldName)) { return targetHttpProxyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java index af8b42abc271..28e102ae6a04 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertTargetHttpsProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpsProxyResource")) { + if ("targetHttpsProxyResource".equals(fieldName)) { return targetHttpsProxyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java index c6b44391a95e..63189ef89174 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertTargetInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetInstanceResource")) { + if ("targetInstanceResource".equals(fieldName)) { return targetInstanceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java index 42353932d5b9..9f3a8738bea6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetPoolResource")) { + if ("targetPoolResource".equals(fieldName)) { return targetPoolResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java index 8edac35f2e7d..8597dc538c76 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertTargetSslProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetSslProxyResource")) { + if ("targetSslProxyResource".equals(fieldName)) { return targetSslProxyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java index c77a843b7fa4..0aefd24e2803 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertTargetTcpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetTcpProxyResource")) { + if ("targetTcpProxyResource".equals(fieldName)) { return targetTcpProxyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java index 9ebec84e2861..027d5cb0cc67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertTargetVpnGatewayHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetVpnGatewayResource")) { + if ("targetVpnGatewayResource".equals(fieldName)) { return targetVpnGatewayResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java index 0a4fd9b8895f..471c6b1af6ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertUrlMapHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("urlMapResource")) { + if ("urlMapResource".equals(fieldName)) { return urlMapResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java index d99f43f1896e..1b213e7b6486 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private InsertVpnTunnelHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("vpnTunnelResource")) { + if ("vpnTunnelResource".equals(fieldName)) { return vpnTunnelResource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java index db87714459cf..7ed4fbd231f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -136,79 +136,79 @@ private Instance( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("canIpForward")) { + if ("canIpForward".equals(fieldName)) { return canIpForward; } - if (fieldName.equals("cpuPlatform")) { + if ("cpuPlatform".equals(fieldName)) { return cpuPlatform; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("deletionProtection")) { + if ("deletionProtection".equals(fieldName)) { return deletionProtection; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("disks")) { + if ("disks".equals(fieldName)) { return disks; } - if (fieldName.equals("guestAccelerators")) { + if ("guestAccelerators".equals(fieldName)) { return guestAccelerators; } - if (fieldName.equals("hostname")) { + if ("hostname".equals(fieldName)) { return hostname; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } - if (fieldName.equals("machineType")) { + if ("machineType".equals(fieldName)) { return machineType; } - if (fieldName.equals("metadata")) { + if ("metadata".equals(fieldName)) { return metadata; } - if (fieldName.equals("minCpuPlatform")) { + if ("minCpuPlatform".equals(fieldName)) { return minCpuPlatform; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("networkInterfaces")) { + if ("networkInterfaces".equals(fieldName)) { return networkInterfaces; } - if (fieldName.equals("scheduling")) { + if ("scheduling".equals(fieldName)) { return scheduling; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("serviceAccounts")) { + if ("serviceAccounts".equals(fieldName)) { return serviceAccounts; } - if (fieldName.equals("startRestricted")) { + if ("startRestricted".equals(fieldName)) { return startRestricted; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("statusMessage")) { + if ("statusMessage".equals(fieldName)) { return statusMessage; } - if (fieldName.equals("tags")) { + if ("tags".equals(fieldName)) { return tags; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java index 520c4fd90d89..de66a78d297e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java index f124c328c9da..f2bd3aa3b502 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java index 93e8e1d6db30..b9411a7ecca9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -87,43 +87,43 @@ private InstanceGroup( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("namedPorts")) { + if ("namedPorts".equals(fieldName)) { return namedPorts; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("size")) { + if ("size".equals(fieldName)) { return size; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java index ccf256b918a3..a516b7b62596 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceGroupAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java index a5f0fcaced4a..11efff7ab9d4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java index d0032ffa53d1..8712fc6d66bd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceGroupList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java index 1a445955a6da..1b8b68a106b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -107,58 +107,58 @@ private InstanceGroupManager( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoHealingPolicies")) { + if ("autoHealingPolicies".equals(fieldName)) { return autoHealingPolicies; } - if (fieldName.equals("baseInstanceName")) { + if ("baseInstanceName".equals(fieldName)) { return baseInstanceName; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("currentActions")) { + if ("currentActions".equals(fieldName)) { return currentActions; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("distributionPolicy")) { + if ("distributionPolicy".equals(fieldName)) { return distributionPolicy; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("instanceTemplate")) { + if ("instanceTemplate".equals(fieldName)) { return instanceTemplate; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("namedPorts")) { + if ("namedPorts".equals(fieldName)) { return namedPorts; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("targetPools")) { + if ("targetPools".equals(fieldName)) { return targetPools; } - if (fieldName.equals("targetSize")) { + if ("targetSize".equals(fieldName)) { return targetSize; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java index d192cf844bdd..22696ec34eec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private InstanceGroupManagerActionsSummary( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("abandoning")) { + if ("abandoning".equals(fieldName)) { return abandoning; } - if (fieldName.equals("creating")) { + if ("creating".equals(fieldName)) { return creating; } - if (fieldName.equals("creatingWithoutRetries")) { + if ("creatingWithoutRetries".equals(fieldName)) { return creatingWithoutRetries; } - if (fieldName.equals("deleting")) { + if ("deleting".equals(fieldName)) { return deleting; } - if (fieldName.equals("none")) { + if ("none".equals(fieldName)) { return none; } - if (fieldName.equals("recreating")) { + if ("recreating".equals(fieldName)) { return recreating; } - if (fieldName.equals("refreshing")) { + if ("refreshing".equals(fieldName)) { return refreshing; } - if (fieldName.equals("restarting")) { + if ("restarting".equals(fieldName)) { return restarting; } - if (fieldName.equals("verifying")) { + if ("verifying".equals(fieldName)) { return verifying; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java index 3f69694136f6..3c2dc17edfb5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceGroupManagerAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java index b6913aa6f81c..83bd6010bd25 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private InstanceGroupManagerAutoHealingPolicy(String healthCheck, Integer initia @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("healthCheck")) { + if ("healthCheck".equals(fieldName)) { return healthCheck; } - if (fieldName.equals("initialDelaySec")) { + if ("initialDelaySec".equals(fieldName)) { return initialDelaySec; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java index 0217c7f8dfb6..72165023ca75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java index be00b16bc278..2cbde662078d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceGroupManagerList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java index 7dd79f24d336..fc81da5b7b32 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java index 1f83ead049d7..6d3972e9c44b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private InstanceGroupManagersAbandonInstancesRequest(List instances) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java index e77d4972364f..ace1e968e539 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private InstanceGroupManagersDeleteInstancesRequest(List instances) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java index c30627cdfdf1..0602359285e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ private InstanceGroupManagersListManagedInstancesResponse( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("managedInstances")) { + if ("managedInstances".equals(fieldName)) { return managedInstances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java index 399f1b8ce149..f1a6f3cda28a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private InstanceGroupManagersRecreateInstancesRequest(List instances) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java index 59a64bb82d66..0c8834f7774e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,10 +42,10 @@ private InstanceGroupManagersScopedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instanceGroupManagers")) { + if ("instanceGroupManagers".equals(fieldName)) { return instanceGroupManagers; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java index a5a25c5e287b..4ac231621c24 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private InstanceGroupManagersSetInstanceTemplateRequest(String instanceTemplate) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instanceTemplate")) { + if ("instanceTemplate".equals(fieldName)) { return instanceTemplate; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java index 3543ca8cead8..f8e761258525 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private InstanceGroupManagersSetTargetPoolsRequest(String fingerprint, List instances) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java index a6c6e93a2983..282d08c7d00c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceGroupsListInstances( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java index 84f5a6944f18..5c70d106459e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private InstanceGroupsListInstancesRequest(String instanceState) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instanceState")) { + if ("instanceState".equals(fieldName)) { return instanceState; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java index 711aeadded80..4dc9e1ee11d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private InstanceGroupsRemoveInstancesRequest(List instances) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java index 0daae19be719..d0086228d91c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private InstanceGroupsScopedList(List instanceGroups, Warning war @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instanceGroups")) { + if ("instanceGroups".equals(fieldName)) { return instanceGroups; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java index 328cae71674f..021b431a309b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private InstanceGroupsSetNamedPortsRequest(String fingerprint, List n @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("namedPorts")) { + if ("namedPorts".equals(fieldName)) { return namedPorts; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java index e4bb877c8fc1..abe8f6db0ad9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java index 98b01c4f8757..c86bc0de725b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceListReferrers( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java index 88ff621565a8..bee05f9d8bcd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private InstanceMoveRequest(String destinationZone, String targetInstance) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("destinationZone")) { + if ("destinationZone".equals(fieldName)) { return destinationZone; } - if (fieldName.equals("targetInstance")) { + if ("targetInstance".equals(fieldName)) { return targetInstance; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java index 6bac3705036e..7cb1dc03d55c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -84,40 +84,40 @@ private InstanceProperties( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("canIpForward")) { + if ("canIpForward".equals(fieldName)) { return canIpForward; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("disks")) { + if ("disks".equals(fieldName)) { return disks; } - if (fieldName.equals("guestAccelerators")) { + if ("guestAccelerators".equals(fieldName)) { return guestAccelerators; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } - if (fieldName.equals("machineType")) { + if ("machineType".equals(fieldName)) { return machineType; } - if (fieldName.equals("metadata")) { + if ("metadata".equals(fieldName)) { return metadata; } - if (fieldName.equals("minCpuPlatform")) { + if ("minCpuPlatform".equals(fieldName)) { return minCpuPlatform; } - if (fieldName.equals("networkInterfaces")) { + if ("networkInterfaces".equals(fieldName)) { return networkInterfaces; } - if (fieldName.equals("scheduling")) { + if ("scheduling".equals(fieldName)) { return scheduling; } - if (fieldName.equals("serviceAccounts")) { + if ("serviceAccounts".equals(fieldName)) { return serviceAccounts; } - if (fieldName.equals("tags")) { + if ("tags".equals(fieldName)) { return tags; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java index c535675b686e..bc073a3c35bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private InstanceReference(String instance) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettings.java index 4b97344f305f..b4c674af0497 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java index 8207dc5e8318..0d7098630f54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private InstanceTemplate( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("properties")) { + if ("properties".equals(fieldName)) { return properties; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sourceInstance")) { + if ("sourceInstance".equals(fieldName)) { return sourceInstance; } - if (fieldName.equals("sourceInstanceParams")) { + if ("sourceInstanceParams".equals(fieldName)) { return sourceInstanceParams; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java index cfdb8d7cc3f8..9c2db2c3a0ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java index b6978f880b20..22b5a0875af2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private InstanceTemplateList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateSettings.java index 8669dcb98da0..c0d0c456d451 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java index 1de1660357ed..02b4cecca0a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private InstanceWithNamedPorts(String instance, List namedPorts, Stri @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("namedPorts")) { + if ("namedPorts".equals(fieldName)) { return namedPorts; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java index fd0b8765b8f5..c797dbe34141 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private InstancesScopedList(List instances, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java index 2cc3bef69f5e..3e6b0881320c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private InstancesSetLabelsRequest(String labelFingerprint, Map l @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java index 555b46f8e74c..c81d4dee1d29 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private InstancesSetMachineResourcesRequest(List guestAcceler @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("guestAccelerators")) { + if ("guestAccelerators".equals(fieldName)) { return guestAccelerators; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java index a62184708523..6938cd79d50e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private InstancesSetMachineTypeRequest(String machineType) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("machineType")) { + if ("machineType".equals(fieldName)) { return machineType; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java index dc4dc20ceb8e..35b02d1742cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private InstancesSetMinCpuPlatformRequest(String minCpuPlatform) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("minCpuPlatform")) { + if ("minCpuPlatform".equals(fieldName)) { return minCpuPlatform; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java index cfd7b8b759f0..ecf213d4aaf8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private InstancesSetServiceAccountRequest(String email, List scopes) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("email")) { + if ("email".equals(fieldName)) { return email; } - if (fieldName.equals("scopes")) { + if ("scopes".equals(fieldName)) { return scopes; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java index a74a49608705..5ef6a56602ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private InstancesStartWithEncryptionKeyRequest(List machineTypes, Warning warning) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("machineTypes")) { + if ("machineTypes".equals(fieldName)) { return machineTypes; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java index 29e6d18ac983..46762286bc35 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,19 +54,19 @@ private ManagedInstance( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("currentAction")) { + if ("currentAction".equals(fieldName)) { return currentAction; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("instanceStatus")) { + if ("instanceStatus".equals(fieldName)) { return instanceStatus; } - if (fieldName.equals("lastAttempt")) { + if ("lastAttempt".equals(fieldName)) { return lastAttempt; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java index a6c4ddf12359..9d5af52adf39 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ManagedInstanceLastAttempt(Errors errors) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("errors")) { + if ("errors".equals(fieldName)) { return errors; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java index 07791b0ea58e..8b62e9b8a4a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private Metadata(String fingerprint, List items, String kind) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java index c95d807b2326..a49b8b982ae6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private MoveDiskProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("diskMoveRequestResource")) { + if ("diskMoveRequestResource".equals(fieldName)) { return diskMoveRequestResource; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java index 63cd98cdf273..83935a87432d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private MoveInstanceProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceMoveRequestResource")) { + if ("instanceMoveRequestResource".equals(fieldName)) { return instanceMoveRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java index 00a11aaee175..1d1dcec1a9dd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private NamedPort(String name, Integer port) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java index 1fb358eecce3..a315c8d78154 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.ApiMessage; +import com.google.gson.annotations.SerializedName; import java.util.LinkedList; import java.util.List; import java.util.Objects; @@ -30,7 +31,10 @@ public final class Network implements ApiMessage { private final String creationTimestamp; private final String description; private final String gatewayIPv4; + + @SerializedName("IPv4Range") private final String iPv4Range; + private final String id; private final String kind; private final String name; @@ -83,40 +87,40 @@ private Network( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoCreateSubnetworks")) { + if ("autoCreateSubnetworks".equals(fieldName)) { return autoCreateSubnetworks; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("gatewayIPv4")) { + if ("gatewayIPv4".equals(fieldName)) { return gatewayIPv4; } - if (fieldName.equals("iPv4Range")) { + if ("iPv4Range".equals(fieldName)) { return iPv4Range; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("peerings")) { + if ("peerings".equals(fieldName)) { return peerings; } - if (fieldName.equals("routingConfig")) { + if ("routingConfig".equals(fieldName)) { return routingConfig; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("subnetworks")) { + if ("subnetworks".equals(fieldName)) { return subnetworks; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java index 2e145d3328f4..0647272d43eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java index 862917ef2859..caae20606c22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -67,28 +67,28 @@ private NetworkInterface( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("accessConfigs")) { + if ("accessConfigs".equals(fieldName)) { return accessConfigs; } - if (fieldName.equals("aliasIpRanges")) { + if ("aliasIpRanges".equals(fieldName)) { return aliasIpRanges; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("networkIP")) { + if ("networkIP".equals(fieldName)) { return networkIP; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java index 9f3244d69c9a..8695b18db360 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NetworkList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java index 358916af8b13..326c77b22d4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,19 +50,19 @@ private NetworkPeering( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoCreateRoutes")) { + if ("autoCreateRoutes".equals(fieldName)) { return autoCreateRoutes; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("state")) { + if ("state".equals(fieldName)) { return state; } - if (fieldName.equals("stateDetails")) { + if ("stateDetails".equals(fieldName)) { return stateDetails; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java index fee7e20c4536..13dd96235d34 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private NetworkRoutingConfig(String routingMode) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("routingMode")) { + if ("routingMode".equals(fieldName)) { return routingMode; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkSettings.java index 68dce009848f..8dc4a8f0a96e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java index c70d12129013..af7b8d70fdff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,13 +43,13 @@ private NetworksAddPeeringRequest(Boolean autoCreateRoutes, String name, String @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoCreateRoutes")) { + if ("autoCreateRoutes".equals(fieldName)) { return autoCreateRoutes; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("peerNetwork")) { + if ("peerNetwork".equals(fieldName)) { return peerNetwork; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java index 397a37cef130..34166d7caccc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private NetworksRemovePeeringRequest(String name) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java index 026d24640901..be9f0040a8e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private NodeGroup( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("nodeTemplate")) { + if ("nodeTemplate".equals(fieldName)) { return nodeTemplate; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("size")) { + if ("size".equals(fieldName)) { return size; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java index 2bc5c80cb031..c5cb249f1d55 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NodeGroupAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java index 980786a857a0..706aaaebb4ac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java index e342b0b0ebb1..450296e37a0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NodeGroupList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java index 9995f246161b..f981664668a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,16 +47,16 @@ private NodeGroupNode(List instances, String name, String nodeType, Stri @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("nodeType")) { + if ("nodeType".equals(fieldName)) { return nodeType; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupSettings.java index 88c8abf2d5e5..e613c3c34d9e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java index cd30709cfcf7..f48042182445 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private NodeGroupsAddNodesRequest(Integer additionalNodeCount) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("additionalNodeCount")) { + if ("additionalNodeCount".equals(fieldName)) { return additionalNodeCount; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsDeleteNodesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsDeleteNodesRequest.java index 0be377b320ad..35a198eae382 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsDeleteNodesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsDeleteNodesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private NodeGroupsDeleteNodesRequest(List nodes) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("nodes")) { + if ("nodes".equals(fieldName)) { return nodes; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java index 634b07ae8f2d..7db8a93459eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NodeGroupsListNodes( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java index 211cf7180881..e0607488ad1c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private NodeGroupsScopedList(List nodeGroups, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("nodeGroups")) { + if ("nodeGroups".equals(fieldName)) { return nodeGroups; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java index 23ac44b47122..b640b9faa027 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private NodeGroupsSetNodeTemplateRequest(String nodeTemplate) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("nodeTemplate")) { + if ("nodeTemplate".equals(fieldName)) { return nodeTemplate; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java index 147d292b9658..dcc1c3d00277 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private NodeTemplate( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("nodeAffinityLabels")) { + if ("nodeAffinityLabels".equals(fieldName)) { return nodeAffinityLabels; } - if (fieldName.equals("nodeType")) { + if ("nodeType".equals(fieldName)) { return nodeType; } - if (fieldName.equals("nodeTypeFlexibility")) { + if ("nodeTypeFlexibility".equals(fieldName)) { return nodeTypeFlexibility; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("statusMessage")) { + if ("statusMessage".equals(fieldName)) { return statusMessage; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java index 4910879e246b..f115d2e75a32 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NodeTemplateAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java index 1d511200ce88..698632e89990 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java index 21f93618d15f..64e8b3c32f73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NodeTemplateList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateNodeTypeFlexibility.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateNodeTypeFlexibility.java index 27b2095425c5..7edffab5aba3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateNodeTypeFlexibility.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateNodeTypeFlexibility.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,13 +43,13 @@ private NodeTemplateNodeTypeFlexibility(String cpus, String localSsd, String mem @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("cpus")) { + if ("cpus".equals(fieldName)) { return cpus; } - if (fieldName.equals("localSsd")) { + if ("localSsd".equals(fieldName)) { return localSsd; } - if (fieldName.equals("memory")) { + if ("memory".equals(fieldName)) { return memory; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateSettings.java index 15bbb3efcf5f..ee9fe5d8b719 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java index c701dd941a2e..72bebcfb70a3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private NodeTemplatesScopedList(List nodeTemplates, Warning warnin @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("nodeTemplates")) { + if ("nodeTemplates".equals(fieldName)) { return nodeTemplates; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java index 0b4af8f65098..6373cf7e5b62 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,40 +82,40 @@ private NodeType( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("cpuPlatform")) { + if ("cpuPlatform".equals(fieldName)) { return cpuPlatform; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("deprecated")) { + if ("deprecated".equals(fieldName)) { return deprecated; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("guestCpus")) { + if ("guestCpus".equals(fieldName)) { return guestCpus; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("localSsdGb")) { + if ("localSsdGb".equals(fieldName)) { return localSsdGb; } - if (fieldName.equals("memoryMb")) { + if ("memoryMb".equals(fieldName)) { return memoryMb; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java index 54ebcd889c93..3eb1e2a4ce98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NodeTypeAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java index 5ba68d5ac9c1..3d133f475301 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java index fce0b82991a7..8c9729b75c6f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private NodeTypeList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeSettings.java index 0769a2ac0a34..ee6994e2c61f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java index 6b06fd320478..c1409a525602 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private NodeTypesScopedList(List nodeTypes, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("nodeTypes")) { + if ("nodeTypes".equals(fieldName)) { return nodeTypes; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java index 42275cde5fca..1ade2d0ec825 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -127,73 +127,73 @@ private Operation( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("clientOperationId")) { + if ("clientOperationId".equals(fieldName)) { return clientOperationId; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("endTime")) { + if ("endTime".equals(fieldName)) { return endTime; } - if (fieldName.equals("error")) { + if ("error".equals(fieldName)) { return error; } - if (fieldName.equals("httpErrorMessage")) { + if ("httpErrorMessage".equals(fieldName)) { return httpErrorMessage; } - if (fieldName.equals("httpErrorStatusCode")) { + if ("httpErrorStatusCode".equals(fieldName)) { return httpErrorStatusCode; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("insertTime")) { + if ("insertTime".equals(fieldName)) { return insertTime; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("operationType")) { + if ("operationType".equals(fieldName)) { return operationType; } - if (fieldName.equals("progress")) { + if ("progress".equals(fieldName)) { return progress; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("startTime")) { + if ("startTime".equals(fieldName)) { return startTime; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("statusMessage")) { + if ("statusMessage".equals(fieldName)) { return statusMessage; } - if (fieldName.equals("targetId")) { + if ("targetId".equals(fieldName)) { return targetId; } - if (fieldName.equals("targetLink")) { + if ("targetLink".equals(fieldName)) { return targetLink; } - if (fieldName.equals("user")) { + if ("user".equals(fieldName)) { return user; } - if (fieldName.equals("warnings")) { + if ("warnings".equals(fieldName)) { return warnings; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java index 29bdd2229966..f992f3f88e54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private OperationAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java index a0dab6ff1a20..ca87ac0063af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private OperationList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java index 2b63e977209a..e60eaa2b00e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private OperationsScopedList(List operations, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("operations")) { + if ("operations".equals(fieldName)) { return operations; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java index a198ddc7a21f..41200d3b2f7f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private PatchAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("autoscalerResource")) { + if ("autoscalerResource".equals(fieldName)) { return autoscalerResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java index 01062e0cff7a..b8580a08a209 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchBackendBucketHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendBucket")) { + if ("backendBucket".equals(fieldName)) { return backendBucket; } - if (fieldName.equals("backendBucketResource")) { + if ("backendBucketResource".equals(fieldName)) { return backendBucketResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java index 15025fb9e72c..2fde051d8b92 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("backendServiceResource")) { + if ("backendServiceResource".equals(fieldName)) { return backendServiceResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java index 6c5cc468db89..db6967de5d5a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchFirewallHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("firewall")) { + if ("firewall".equals(fieldName)) { return firewall; } - if (fieldName.equals("firewallResource")) { + if ("firewallResource".equals(fieldName)) { return firewallResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java index 6976ff03ba11..5fba02ae3e2d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("healthCheck")) { + if ("healthCheck".equals(fieldName)) { return healthCheck; } - if (fieldName.equals("healthCheckResource")) { + if ("healthCheckResource".equals(fieldName)) { return healthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java index db5ec18c1a03..f24aaf7f1346 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchHttpHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpHealthCheck")) { + if ("httpHealthCheck".equals(fieldName)) { return httpHealthCheck; } - if (fieldName.equals("httpHealthCheckResource")) { + if ("httpHealthCheckResource".equals(fieldName)) { return httpHealthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java index eb4bd3a6e4da..e514278892c1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchHttpsHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpsHealthCheck")) { + if ("httpsHealthCheck".equals(fieldName)) { return httpsHealthCheck; } - if (fieldName.equals("httpsHealthCheckResource")) { + if ("httpsHealthCheckResource".equals(fieldName)) { return httpsHealthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java index ef33175c2ec1..5ed775ae3b76 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("instanceGroupManagerResource")) { + if ("instanceGroupManagerResource".equals(fieldName)) { return instanceGroupManagerResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java index 260d91ddf112..32a2ee8c9b3d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchInterconnectAttachmentHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnectAttachment")) { + if ("interconnectAttachment".equals(fieldName)) { return interconnectAttachment; } - if (fieldName.equals("interconnectAttachmentResource")) { + if ("interconnectAttachmentResource".equals(fieldName)) { return interconnectAttachmentResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java index d1ab9f2dde63..0d22d5809668 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchInterconnectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("interconnect")) { + if ("interconnect".equals(fieldName)) { return interconnect; } - if (fieldName.equals("interconnectResource")) { + if ("interconnectResource".equals(fieldName)) { return interconnectResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java index 57a5725f3d63..e5a79745593a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchNetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("networkResource")) { + if ("networkResource".equals(fieldName)) { return networkResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java index eb060b60a519..31ff8b580be5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private PatchRegionAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("autoscalerResource")) { + if ("autoscalerResource".equals(fieldName)) { return autoscalerResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java index 6257c7d0072b..9c08f8d657e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchRegionBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("backendServiceResource")) { + if ("backendServiceResource".equals(fieldName)) { return backendServiceResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java index 1639520cefe4..94ec44de135c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("instanceGroupManagerResource")) { + if ("instanceGroupManagerResource".equals(fieldName)) { return instanceGroupManagerResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java index 1bfd0ca1d663..24168c528cfd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchRouterHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("routerResource")) { + if ("routerResource".equals(fieldName)) { return routerResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java index 33f98a768827..8314f98c852e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private PatchRuleSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("priority")) { + if ("priority".equals(fieldName)) { return priority; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("securityPolicyRuleResource")) { + if ("securityPolicyRuleResource".equals(fieldName)) { return securityPolicyRuleResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java index 65cb5625422a..517557b93afc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("securityPolicyResource")) { + if ("securityPolicyResource".equals(fieldName)) { return securityPolicyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java index 60a6d1a6fc91..237f64d2c66c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchSslPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sslPolicy")) { + if ("sslPolicy".equals(fieldName)) { return sslPolicy; } - if (fieldName.equals("sslPolicyResource")) { + if ("sslPolicyResource".equals(fieldName)) { return sslPolicyResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java index 122a2be43394..7b5bfd0c2e91 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchSubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("subnetworkResource")) { + if ("subnetworkResource".equals(fieldName)) { return subnetworkResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java index 08e633100260..8fb5fcbdf89a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private PatchUrlMapHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } - if (fieldName.equals("urlMapResource")) { + if ("urlMapResource".equals(fieldName)) { return urlMapResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java index a4e45dc8299f..c6682587bacf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,16 +48,16 @@ private PathMatcher( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("defaultService")) { + if ("defaultService".equals(fieldName)) { return defaultService; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("pathRules")) { + if ("pathRules".equals(fieldName)) { return pathRules; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java index 1b1fbfdf5620..d9894f25c888 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private PathRule(List paths, String service) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("paths")) { + if ("paths".equals(fieldName)) { return paths; } - if (fieldName.equals("service")) { + if ("service".equals(fieldName)) { return service; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java index a1067f6a3995..9acbe4331782 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private Policy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("auditConfigs")) { + if ("auditConfigs".equals(fieldName)) { return auditConfigs; } - if (fieldName.equals("bindings")) { + if ("bindings".equals(fieldName)) { return bindings; } - if (fieldName.equals("etag")) { + if ("etag".equals(fieldName)) { return etag; } - if (fieldName.equals("iamOwned")) { + if ("iamOwned".equals(fieldName)) { return iamOwned; } - if (fieldName.equals("rules")) { + if ("rules".equals(fieldName)) { return rules; } - if (fieldName.equals("version")) { + if ("version".equals(fieldName)) { return version; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java index c27d00c0cf1b..fe7864dd42b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private PreviewRouterHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("routerResource")) { + if ("routerResource".equals(fieldName)) { return routerResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java index fc528b82313a..19a5fccd47b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -87,43 +87,43 @@ private Project( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("commonInstanceMetadata")) { + if ("commonInstanceMetadata".equals(fieldName)) { return commonInstanceMetadata; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("defaultNetworkTier")) { + if ("defaultNetworkTier".equals(fieldName)) { return defaultNetworkTier; } - if (fieldName.equals("defaultServiceAccount")) { + if ("defaultServiceAccount".equals(fieldName)) { return defaultServiceAccount; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("enabledFeatures")) { + if ("enabledFeatures".equals(fieldName)) { return enabledFeatures; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("quotas")) { + if ("quotas".equals(fieldName)) { return quotas; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("usageExportLocation")) { + if ("usageExportLocation".equals(fieldName)) { return usageExportLocation; } - if (fieldName.equals("xpnProjectStatus")) { + if ("xpnProjectStatus".equals(fieldName)) { return xpnProjectStatus; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java index 35eb60a6ebc8..033c79113007 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java index f77ab7520230..4cd40826d853 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java index c5c5a2eaa984..f67572ede419 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java index 3791e37b5db2..663631a85229 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java index d09665d9b158..298b4902d879 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java index 388e48c8cce0..f75e6424337a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java index 81a6facb4e00..29fd87d3a730 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java index 682dc02b99bc..46b809891828 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java index 3f055fcf6541..865efe7f514f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java index e18da0fd0604..54d815687808 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java index f1f3788a36c5..c3b90748c934 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java index de624f21adf2..ea20f7471a05 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java index 80b2dd95d91b..b1d5409a00d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java index 10d71c46b276..b2a992851d6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java index 4c223a494cfc..65acb787d2d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java index 410c23d0dd80..7d979de6f966 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java index 8ce94aaefd6c..dad26f01d15a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java index f4c695378287..5e289286803a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java index 440003665896..ba73fc169236 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java index d4b05aa6394d..5f4a9655c2d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java index 149eab1ece28..065e29e30d1a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java index 8c8caf587318..3f1278168f9e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java index 6031d9e93ac8..29dd54c51979 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java index 4addfd45aaf3..39d1498237ff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java index 323615f102d9..b84c06c559ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java index 39956f23d9a1..dca1abf33397 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java index 442ed11cb134..f45814fff509 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java index 2f57466278e6..b7c70c6d96c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java index 7d8c97c09b46..580c12220fb4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java index f2c81a8f47f7..7a7e908917fa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java index c564b683d479..c59623a36085 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java index d98e981500a5..30acb16c57ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java index 4c3b74da8ed2..5c5f545321a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java index 5e31263fe409..db75e9f56663 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java index 61f3674ae81a..50f4d4b9b908 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java index 034d59be5a98..bd3bb3175b86 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java index a67656808d32..10320d79b68c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java index 0810acd697c6..8241017701af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java index 9537cc4945e1..5324a46c347e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java index 2ac10a7917c0..844d987d3f67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java index 13de75fcf798..6f93fe6ec974 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java index cfe3425c9018..eab18028da7e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java index 43b2df1ea533..85aa88bc554b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java index 167f221fcaa9..0bfe5ef6d37a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java index 73921d87a4a6..c2cbebdd5103 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java index 48553c60081a..ef10e8356b0c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java index dc72d20cdc03..ba78d5784bea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java index 42d6a70a70ba..88eeb95e3048 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java index 7d9fe330275a..88e1f00e825d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java index ce04795debaa..266845c81db6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java index 90d97dda6e95..ec712fc549d2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java index b07f3a0b50a3..b358e718a07f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java index 082acc5cf58b..0b4ff5242040 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java index 82b10f76c043..c3482c6d46eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java index ddfc347a16e4..4ac5f1112092 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectSettings.java index 3a0cb246e827..6d5697075604 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java index a6b273384d1c..41472e8cf542 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java index 6cdd279bc647..a441c06a46ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java index 46fbf8743de1..25887a1f0e41 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java index 054cc897fe04..a7b201e671c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java index 8333b9b9b7e3..53f5c501d498 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java index 630ee539473d..47f148e6a831 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java index b44c864ca485..668395f66b11 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java index ff1290e07c2c..2a19dbf53be0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java index 1cf1d8a0c443..d39bcaae5f2a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java index f0ac839af9d5..558ee35622f7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java index a997f92c643a..d03c4fbdb020 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java index 67300e28e570..0763ea92d02b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java index f56211584bba..b75e0f35d735 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java index 2498216bd70d..80d72840960b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java index e4273f3e205c..e133e4db7dc1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java index b4adc481478b..af964b8ab13b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java index 965c69311a7f..e3a12eb5147e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java index 6e3f1893e3e9..2f1088875950 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java index cfdf2021f2d7..243510452ca6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ProjectsDisableXpnResourceRequest(XpnResourceId xpnResource) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("xpnResource")) { + if ("xpnResource".equals(fieldName)) { return xpnResource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java index 6711dcfed506..11afd5d75be4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ProjectsEnableXpnResourceRequest(XpnResourceId xpnResource) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("xpnResource")) { + if ("xpnResource".equals(fieldName)) { return xpnResource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java index b589734c5802..e51fd622537d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,13 +45,13 @@ private ProjectsGetXpnResources( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("resources")) { + if ("resources".equals(fieldName)) { return resources; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java index 9f5602b43fc6..f8a06b3a90f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ProjectsListXpnHostsRequest(String organization) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("organization")) { + if ("organization".equals(fieldName)) { return organization; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java index ee8c7ce78cfd..bac42a90b02b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ProjectsSetDefaultNetworkTierRequest(String networkTier) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("networkTier")) { + if ("networkTier".equals(fieldName)) { return networkTier; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java index 321b03560fdc..7f8521e2f1fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,16 +46,16 @@ private Quota(Double limit, String metric, String owner, Double usage) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("limit")) { + if ("limit".equals(fieldName)) { return limit; } - if (fieldName.equals("metric")) { + if ("metric".equals(fieldName)) { return metric; } - if (fieldName.equals("owner")) { + if ("owner".equals(fieldName)) { return owner; } - if (fieldName.equals("usage")) { + if ("usage".equals(fieldName)) { return usage; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java index e32d17996fb1..f55e6eee8fca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,13 +43,13 @@ private RawDisk(String containerType, String sha1Checksum, String source) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("containerType")) { + if ("containerType".equals(fieldName)) { return containerType; } - if (fieldName.equals("sha1Checksum")) { + if ("sha1Checksum".equals(fieldName)) { return sha1Checksum; } - if (fieldName.equals("source")) { + if ("source".equals(fieldName)) { return source; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java index 938f45cd1449..445b65f071de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private RecreateInstancesInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("instanceGroupManagersRecreateInstancesRequestResource")) { + if ("instanceGroupManagersRecreateInstancesRequestResource".equals(fieldName)) { return instanceGroupManagersRecreateInstancesRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java index 5d8fc03ea2c8..5b3d7e9a02d3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private RecreateInstancesRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionInstanceGroupManagersRecreateRequestResource")) { + if ("regionInstanceGroupManagersRecreateRequestResource".equals(fieldName)) { return regionInstanceGroupManagersRecreateRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java index 3628a6bda60c..3b5f0bd6643e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,16 +46,16 @@ private Reference(String kind, String referenceType, String referrer, String tar @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("referenceType")) { + if ("referenceType".equals(fieldName)) { return referenceType; } - if (fieldName.equals("referrer")) { + if ("referrer".equals(fieldName)) { return referrer; } - if (fieldName.equals("target")) { + if ("target".equals(fieldName)) { return target; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java index 585e918d6309..207ed7a361e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private Region( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("deprecated")) { + if ("deprecated".equals(fieldName)) { return deprecated; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("quotas")) { + if ("quotas".equals(fieldName)) { return quotas; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("zones")) { + if ("zones".equals(fieldName)) { return zones; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java index 32912291322d..cb5be8614ef0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java index fb4c8517f7b4..9aaeb8f29654 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RegionAutoscalerList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerSettings.java index dd00fd568c6a..6958d95b20c3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java index 87a6af8a125f..8938c7781941 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceSettings.java index 356f14525e25..6b8b863f8cb0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java index 040f514eb9ad..c5ff98425a2f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java index 80cb8098baec..f9f4b82b5493 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentSettings.java index 84653ae86c5e..be9082fe4447 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java index c33976d9a79b..77c210bf1a6c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskSettings.java index fdb694f95881..6f74feade14c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java index 7f986692d126..9e417283fc85 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java index 4469a6b03453..5b98c1e8ecf9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RegionDiskTypeList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeSettings.java index 0a61ca74e741..3e825b65cd98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java index 55e1eaf40792..afc3b88f778c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private RegionDisksResizeRequest(String sizeGb) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("sizeGb")) { + if ("sizeGb".equals(fieldName)) { return sizeGb; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java index dc6bd9a94592..5c4e6526a97b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java index 1bcdf0ee037e..0c0bd2304fe6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RegionInstanceGroupList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java index 3667817a8bb5..d5e78b534dfa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java index 6669cecad906..b2b132d90ecc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RegionInstanceGroupManagerList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java index 2d36e19845b6..5687ad73a204 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java index 6ce3aea7923d..5c0d8a06189b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private RegionInstanceGroupManagersAbandonInstancesRequest(List instance @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java index cc793dd30f62..91f8ef8f911f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private RegionInstanceGroupManagersDeleteInstancesRequest(List instances @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java index 2be03e45d7ce..bbfef5e280b8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private RegionInstanceGroupManagersListInstancesResponse(List m @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("managedInstances")) { + if ("managedInstances".equals(fieldName)) { return managedInstances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java index 68601f366e48..a7ffd013869a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private RegionInstanceGroupManagersRecreateRequest(List instances) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java index c706866a1e71..23b4e81f0ea6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,10 +42,10 @@ private RegionInstanceGroupManagersSetTargetPoolsRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("targetPools")) { + if ("targetPools".equals(fieldName)) { return targetPools; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java index 5529a711192c..39b2de127d4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private RegionInstanceGroupManagersSetTemplateRequest(String instanceTemplate) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instanceTemplate")) { + if ("instanceTemplate".equals(fieldName)) { return instanceTemplate; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupSettings.java index 469036d0839f..5a97bd7daf60 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java index 3428e60bf231..39b347049d00 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RegionInstanceGroupsListInstances( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java index fa62768f170b..cafe134fdcd0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private RegionInstanceGroupsListInstancesRequest(String instanceState, String po @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instanceState")) { + if ("instanceState".equals(fieldName)) { return instanceState; } - if (fieldName.equals("portName")) { + if ("portName".equals(fieldName)) { return portName; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java index 832f3ddf7854..bb39c9d5321b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private RegionInstanceGroupsSetNamedPortsRequest(String fingerprint, List labe @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java index a17bf399b4ab..7d77d6ed0d93 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private RegionSetPolicyRequest(List bindings, String etag, Policy polic @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("bindings")) { + if ("bindings".equals(fieldName)) { return bindings; } - if (fieldName.equals("etag")) { + if ("etag".equals(fieldName)) { return etag; } - if (fieldName.equals("policy")) { + if ("policy".equals(fieldName)) { return policy; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSettings.java index 051ae55f6d1f..9ce17b933c98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java index 9e372429acbd..5bb5dd9dc50d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private RemoveHealthCheckTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("targetPoolsRemoveHealthCheckRequestResource")) { + if ("targetPoolsRemoveHealthCheckRequestResource".equals(fieldName)) { return targetPoolsRemoveHealthCheckRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java index 6459033db189..bc158d346bea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private RemoveInstanceTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("targetPoolsRemoveInstanceRequestResource")) { + if ("targetPoolsRemoveInstanceRequestResource".equals(fieldName)) { return targetPoolsRemoveInstanceRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java index a997c78245e8..ca3228803b60 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private RemoveInstancesInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("instanceGroupsRemoveInstancesRequestResource")) { + if ("instanceGroupsRemoveInstancesRequestResource".equals(fieldName)) { return instanceGroupsRemoveInstancesRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java index 8bd762d6c23d..06c6e2ed303c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private RemovePeeringNetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("networksRemovePeeringRequestResource")) { + if ("networksRemovePeeringRequestResource".equals(fieldName)) { return networksRemovePeeringRequestResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java index 359457f9b38d..1b0acdb0eed7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private RemoveRuleSecurityPolicyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("priority")) { + if ("priority".equals(fieldName)) { return priority; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java index 426b99a4e8ae..a6a721e0d280 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private ResetInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java index 7231c0b99131..c5dfaebb24d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private ResizeDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("disksResizeRequestResource")) { + if ("disksResizeRequestResource".equals(fieldName)) { return disksResizeRequestResource; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java index 9fd2f0fbdd49..00ed71dd5407 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private ResizeInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("size")) { + if ("size".equals(fieldName)) { return size; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java index 53c6d1937ea7..b68a4142cac8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private ResizeRegionDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("disk")) { + if ("disk".equals(fieldName)) { return disk; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionDisksResizeRequestResource")) { + if ("regionDisksResizeRequestResource".equals(fieldName)) { return regionDisksResizeRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java index 9ad8bcb64ff6..753b2bd9fceb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private ResizeRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("size")) { + if ("size".equals(fieldName)) { return size; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java index c48fcbb28ff5..674fbb561d7a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private ResourceCommitment(String amount, String type) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("amount")) { + if ("amount".equals(fieldName)) { return amount; } - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java index 5b6876d4274b..2028923a81b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ResourceGroupReference(String group) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("group")) { + if ("group".equals(fieldName)) { return group; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java index 1bd0c004a98f..3331f466f218 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -103,55 +103,55 @@ private Route( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("destRange")) { + if ("destRange".equals(fieldName)) { return destRange; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("nextHopGateway")) { + if ("nextHopGateway".equals(fieldName)) { return nextHopGateway; } - if (fieldName.equals("nextHopInstance")) { + if ("nextHopInstance".equals(fieldName)) { return nextHopInstance; } - if (fieldName.equals("nextHopIp")) { + if ("nextHopIp".equals(fieldName)) { return nextHopIp; } - if (fieldName.equals("nextHopNetwork")) { + if ("nextHopNetwork".equals(fieldName)) { return nextHopNetwork; } - if (fieldName.equals("nextHopPeering")) { + if ("nextHopPeering".equals(fieldName)) { return nextHopPeering; } - if (fieldName.equals("nextHopVpnTunnel")) { + if ("nextHopVpnTunnel".equals(fieldName)) { return nextHopVpnTunnel; } - if (fieldName.equals("priority")) { + if ("priority".equals(fieldName)) { return priority; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("tags")) { + if ("tags".equals(fieldName)) { return tags; } - if (fieldName.equals("warnings")) { + if ("warnings".equals(fieldName)) { return warnings; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java index 36e8820d0a00..7823767111cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java index 1b9f81abd691..c16da4c017f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RouteList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteSettings.java index a439d3cfe474..0e7e58b36b80 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java index aaa3248506cf..04f52cc5986c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private Router( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("bgp")) { + if ("bgp".equals(fieldName)) { return bgp; } - if (fieldName.equals("bgpPeers")) { + if ("bgpPeers".equals(fieldName)) { return bgpPeers; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("interfaces")) { + if ("interfaces".equals(fieldName)) { return interfaces; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("nats")) { + if ("nats".equals(fieldName)) { return nats; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java index 993cfe8968f3..1cdf3d3bf54b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private RouterAdvertisedIpRange(String description, String range) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("range")) { + if ("range".equals(fieldName)) { return range; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java index dc85b2cc9a5c..4f35d0de9adb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RouterAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java index 0801e06fa131..3da413d1872b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,16 +51,16 @@ private RouterBgp( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("advertiseMode")) { + if ("advertiseMode".equals(fieldName)) { return advertiseMode; } - if (fieldName.equals("advertisedGroups")) { + if ("advertisedGroups".equals(fieldName)) { return advertisedGroups; } - if (fieldName.equals("advertisedIpRanges")) { + if ("advertisedIpRanges".equals(fieldName)) { return advertisedIpRanges; } - if (fieldName.equals("asn")) { + if ("asn".equals(fieldName)) { return asn; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java index 6f5216df319d..564c419b4a72 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private RouterBgpPeer( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("advertiseMode")) { + if ("advertiseMode".equals(fieldName)) { return advertiseMode; } - if (fieldName.equals("advertisedGroups")) { + if ("advertisedGroups".equals(fieldName)) { return advertisedGroups; } - if (fieldName.equals("advertisedIpRanges")) { + if ("advertisedIpRanges".equals(fieldName)) { return advertisedIpRanges; } - if (fieldName.equals("advertisedRoutePriority")) { + if ("advertisedRoutePriority".equals(fieldName)) { return advertisedRoutePriority; } - if (fieldName.equals("interfaceName")) { + if ("interfaceName".equals(fieldName)) { return interfaceName; } - if (fieldName.equals("ipAddress")) { + if ("ipAddress".equals(fieldName)) { return ipAddress; } - if (fieldName.equals("managementType")) { + if ("managementType".equals(fieldName)) { return managementType; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("peerAsn")) { + if ("peerAsn".equals(fieldName)) { return peerAsn; } - if (fieldName.equals("peerIpAddress")) { + if ("peerIpAddress".equals(fieldName)) { return peerIpAddress; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java index 04b9e47db07b..16ddffe3316f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java index ca0fde82ec3c..df216cfc4f69 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,19 +54,19 @@ private RouterInterface( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("ipRange")) { + if ("ipRange".equals(fieldName)) { return ipRange; } - if (fieldName.equals("linkedInterconnectAttachment")) { + if ("linkedInterconnectAttachment".equals(fieldName)) { return linkedInterconnectAttachment; } - if (fieldName.equals("linkedVpnTunnel")) { + if ("linkedVpnTunnel".equals(fieldName)) { return linkedVpnTunnel; } - if (fieldName.equals("managementType")) { + if ("managementType".equals(fieldName)) { return managementType; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java index 76ad15242c07..e3e0eaf822a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RouterList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java index 665c7e2608ac..c9266a5a947f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private RouterNat( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("icmpIdleTimeoutSec")) { + if ("icmpIdleTimeoutSec".equals(fieldName)) { return icmpIdleTimeoutSec; } - if (fieldName.equals("minPortsPerVm")) { + if ("minPortsPerVm".equals(fieldName)) { return minPortsPerVm; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("natIpAllocateOption")) { + if ("natIpAllocateOption".equals(fieldName)) { return natIpAllocateOption; } - if (fieldName.equals("natIps")) { + if ("natIps".equals(fieldName)) { return natIps; } - if (fieldName.equals("sourceSubnetworkIpRangesToNat")) { + if ("sourceSubnetworkIpRangesToNat".equals(fieldName)) { return sourceSubnetworkIpRangesToNat; } - if (fieldName.equals("subnetworks")) { + if ("subnetworks".equals(fieldName)) { return subnetworks; } - if (fieldName.equals("tcpEstablishedIdleTimeoutSec")) { + if ("tcpEstablishedIdleTimeoutSec".equals(fieldName)) { return tcpEstablishedIdleTimeoutSec; } - if (fieldName.equals("tcpTransitoryIdleTimeoutSec")) { + if ("tcpTransitoryIdleTimeoutSec".equals(fieldName)) { return tcpTransitoryIdleTimeoutSec; } - if (fieldName.equals("udpIdleTimeoutSec")) { + if ("udpIdleTimeoutSec".equals(fieldName)) { return udpIdleTimeoutSec; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java index 197907b6d0c3..3ff7f22a93b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,13 +45,13 @@ private RouterNatSubnetworkToNat( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("secondaryIpRangeNames")) { + if ("secondaryIpRangeNames".equals(fieldName)) { return secondaryIpRangeNames; } - if (fieldName.equals("sourceIpRangesToNat")) { + if ("sourceIpRangesToNat".equals(fieldName)) { return sourceIpRangesToNat; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterSettings.java index 5683f0663da9..db3b3c409c4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java index f2fde05238c0..0472249bf16d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,19 +55,19 @@ private RouterStatus( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("bestRoutes")) { + if ("bestRoutes".equals(fieldName)) { return bestRoutes; } - if (fieldName.equals("bestRoutesForRouter")) { + if ("bestRoutesForRouter".equals(fieldName)) { return bestRoutesForRouter; } - if (fieldName.equals("bgpPeerStatus")) { + if ("bgpPeerStatus".equals(fieldName)) { return bgpPeerStatus; } - if (fieldName.equals("natStatus")) { + if ("natStatus".equals(fieldName)) { return natStatus; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java index 0e24209e0a64..3cb9ab1639e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private RouterStatusBgpPeerStatus( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("advertisedRoutes")) { + if ("advertisedRoutes".equals(fieldName)) { return advertisedRoutes; } - if (fieldName.equals("ipAddress")) { + if ("ipAddress".equals(fieldName)) { return ipAddress; } - if (fieldName.equals("linkedVpnTunnel")) { + if ("linkedVpnTunnel".equals(fieldName)) { return linkedVpnTunnel; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("numLearnedRoutes")) { + if ("numLearnedRoutes".equals(fieldName)) { return numLearnedRoutes; } - if (fieldName.equals("peerIpAddress")) { + if ("peerIpAddress".equals(fieldName)) { return peerIpAddress; } - if (fieldName.equals("state")) { + if ("state".equals(fieldName)) { return state; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("uptime")) { + if ("uptime".equals(fieldName)) { return uptime; } - if (fieldName.equals("uptimeSeconds")) { + if ("uptimeSeconds".equals(fieldName)) { return uptimeSeconds; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java index 6e06fe1c15df..b595199b36ef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private RouterStatusNatStatus( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("autoAllocatedNatIps")) { + if ("autoAllocatedNatIps".equals(fieldName)) { return autoAllocatedNatIps; } - if (fieldName.equals("minExtraNatIpsNeeded")) { + if ("minExtraNatIpsNeeded".equals(fieldName)) { return minExtraNatIpsNeeded; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("numVmEndpointsWithNatMappings")) { + if ("numVmEndpointsWithNatMappings".equals(fieldName)) { return numVmEndpointsWithNatMappings; } - if (fieldName.equals("userAllocatedNatIpResources")) { + if ("userAllocatedNatIpResources".equals(fieldName)) { return userAllocatedNatIpResources; } - if (fieldName.equals("userAllocatedNatIps")) { + if ("userAllocatedNatIps".equals(fieldName)) { return userAllocatedNatIps; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java index 270f2fe8ff9d..0b1fcb3438f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private RouterStatusResponse(String kind, RouterStatus result) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("result")) { + if ("result".equals(fieldName)) { return result; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java index cfe2dec432e7..28c3274803d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private RoutersPreviewResponse(Router resource) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java index 6fd0f269bd60..261da9c99efc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private RoutersScopedList(List routers, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("routers")) { + if ("routers".equals(fieldName)) { return routers; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java index 3fe843a86924..17be94744aed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,25 +63,25 @@ private Rule( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("action")) { + if ("action".equals(fieldName)) { return action; } - if (fieldName.equals("conditions")) { + if ("conditions".equals(fieldName)) { return conditions; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("ins")) { + if ("ins".equals(fieldName)) { return ins; } - if (fieldName.equals("logConfigs")) { + if ("logConfigs".equals(fieldName)) { return logConfigs; } - if (fieldName.equals("notIns")) { + if ("notIns".equals(fieldName)) { return notIns; } - if (fieldName.equals("permissions")) { + if ("permissions".equals(fieldName)) { return permissions; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java index 608db5cc07ce..2ca8180514e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,19 +50,19 @@ private SSLHealthCheck( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("portName")) { + if ("portName".equals(fieldName)) { return portName; } - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } - if (fieldName.equals("request")) { + if ("request".equals(fieldName)) { return request; } - if (fieldName.equals("response")) { + if ("response".equals(fieldName)) { return response; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java index aaea9369f8bd..0809482b5942 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,16 +51,16 @@ private Scheduling( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("automaticRestart")) { + if ("automaticRestart".equals(fieldName)) { return automaticRestart; } - if (fieldName.equals("nodeAffinities")) { + if ("nodeAffinities".equals(fieldName)) { return nodeAffinities; } - if (fieldName.equals("onHostMaintenance")) { + if ("onHostMaintenance".equals(fieldName)) { return onHostMaintenance; } - if (fieldName.equals("preemptible")) { + if ("preemptible".equals(fieldName)) { return preemptible; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java index cf74117a6f3f..6d9c797560c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private SchedulingNodeAffinity(String key, String operator, List values) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("operator")) { + if ("operator".equals(fieldName)) { return operator; } - if (fieldName.equals("values")) { + if ("values".equals(fieldName)) { return values; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java index e806a83522e6..6f8b4bbd4f98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private ScratchDisks(Integer diskGb) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("diskGb")) { + if ("diskGb".equals(fieldName)) { return diskGb; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java index 3ee388993b98..706358b9d814 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -67,28 +67,28 @@ private SecurityPolicy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("rules")) { + if ("rules".equals(fieldName)) { return rules; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java index 5bc5f1eaaa0f..6f4bc4baf699 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java index 45259a2f93a3..cea23f52136c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,19 +51,19 @@ private SecurityPolicyList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyReference.java index bca36f11aa82..d2406fae5d7f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private SecurityPolicyReference(String securityPolicy) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("securityPolicy")) { + if ("securityPolicy".equals(fieldName)) { return securityPolicy; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java index 01fcfa90674c..2939b7552702 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,22 +58,22 @@ private SecurityPolicyRule( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("action")) { + if ("action".equals(fieldName)) { return action; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("match")) { + if ("match".equals(fieldName)) { return match; } - if (fieldName.equals("preview")) { + if ("preview".equals(fieldName)) { return preview; } - if (fieldName.equals("priority")) { + if ("priority".equals(fieldName)) { return priority; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java index aef086230258..c3d8ad275cfa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private SecurityPolicyRuleMatcher(SecurityPolicyRuleMatcherConfig config, String @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("config")) { + if ("config".equals(fieldName)) { return config; } - if (fieldName.equals("versionedExpr")) { + if ("versionedExpr".equals(fieldName)) { return versionedExpr; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java index df43c0cd6dff..1c0818d036a0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private SecurityPolicyRuleMatcherConfig(List srcIpRanges) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("srcIpRanges")) { + if ("srcIpRanges".equals(fieldName)) { return srcIpRanges; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java index 27d495fecce9..152a602aedd9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java index 176456887caf..3ccda0acdb48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,19 +50,19 @@ private SerialPortOutput( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("contents")) { + if ("contents".equals(fieldName)) { return contents; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("next")) { + if ("next".equals(fieldName)) { return next; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("start")) { + if ("start".equals(fieldName)) { return start; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java index feeb24fd7908..16328f484f67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private ServiceAccount(String email, List scopes) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("email")) { + if ("email".equals(fieldName)) { return email; } - if (fieldName.equals("scopes")) { + if ("scopes".equals(fieldName)) { return scopes; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java index 94915ed07aa1..a518047522dd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private SetBackendServiceTargetSslProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetSslProxiesSetBackendServiceRequestResource")) { + if ("targetSslProxiesSetBackendServiceRequestResource".equals(fieldName)) { return targetSslProxiesSetBackendServiceRequestResource; } - if (fieldName.equals("targetSslProxy")) { + if ("targetSslProxy".equals(fieldName)) { return targetSslProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java index 5a79262f2ebc..550b49e2e071 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private SetBackendServiceTargetTcpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetTcpProxiesSetBackendServiceRequestResource")) { + if ("targetTcpProxiesSetBackendServiceRequestResource".equals(fieldName)) { return targetTcpProxiesSetBackendServiceRequestResource; } - if (fieldName.equals("targetTcpProxy")) { + if ("targetTcpProxy".equals(fieldName)) { return targetTcpProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java index a8ff1c84b873..4588895aa6f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private SetBackupTargetPoolHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("failoverRatio")) { + if ("failoverRatio".equals(fieldName)) { return failoverRatio; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetPool")) { + if ("targetPool".equals(fieldName)) { return targetPool; } - if (fieldName.equals("targetReferenceResource")) { + if ("targetReferenceResource".equals(fieldName)) { return targetReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java index 7ef2f549c852..2d361847e68f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetCommonInstanceMetadataProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("metadataResource")) { + if ("metadataResource".equals(fieldName)) { return metadataResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java index 9db020259fec..6d87f83a842b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private SetDefaultNetworkTierProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("projectsSetDefaultNetworkTierRequestResource")) { + if ("projectsSetDefaultNetworkTierRequestResource".equals(fieldName)) { return projectsSetDefaultNetworkTierRequestResource; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java index 25ddb9bee5c3..6f932faff349 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetDeletionProtectionInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("deletionProtection")) { + if ("deletionProtection".equals(fieldName)) { return deletionProtection; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java index 1d68a7549b97..2311188e9237 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private SetDiskAutoDeleteInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoDelete")) { + if ("autoDelete".equals(fieldName)) { return autoDelete; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("deviceName")) { + if ("deviceName".equals(fieldName)) { return deviceName; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java index 389def9aa79b..10af32a97115 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicyDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zoneSetPolicyRequestResource")) { + if ("zoneSetPolicyRequestResource".equals(fieldName)) { return zoneSetPolicyRequestResource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java index f7f557ef676a..e2e192c0106a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicyImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("globalSetPolicyRequestResource")) { + if ("globalSetPolicyRequestResource".equals(fieldName)) { return globalSetPolicyRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java index 4aff23508dd4..9aba2b76b962 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicyInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zoneSetPolicyRequestResource")) { + if ("zoneSetPolicyRequestResource".equals(fieldName)) { return zoneSetPolicyRequestResource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java index 49fbf6e4d6aa..c9d316719abf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicyInstanceTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("globalSetPolicyRequestResource")) { + if ("globalSetPolicyRequestResource".equals(fieldName)) { return globalSetPolicyRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java index e13806209ef0..1822476554cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicyLicenseHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("globalSetPolicyRequestResource")) { + if ("globalSetPolicyRequestResource".equals(fieldName)) { return globalSetPolicyRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java index 273485b10c8c..48db2b9a1a10 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicyNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zoneSetPolicyRequestResource")) { + if ("zoneSetPolicyRequestResource".equals(fieldName)) { return zoneSetPolicyRequestResource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java index 95908ad38da4..f3dc81f87b7a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicyNodeTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionSetPolicyRequestResource")) { + if ("regionSetPolicyRequestResource".equals(fieldName)) { return regionSetPolicyRequestResource; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java index 2fa5e5e4e011..cf90c5c13f62 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicySnapshotHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("globalSetPolicyRequestResource")) { + if ("globalSetPolicyRequestResource".equals(fieldName)) { return globalSetPolicyRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java index e3550ff4978a..bc2f299b80ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetIamPolicySubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionSetPolicyRequestResource")) { + if ("regionSetPolicyRequestResource".equals(fieldName)) { return regionSetPolicyRequestResource; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java index 4b2b5108df78..e495ac09e259 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private SetInstanceTemplateInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("instanceGroupManagersSetInstanceTemplateRequestResource")) { + if ("instanceGroupManagersSetInstanceTemplateRequestResource".equals(fieldName)) { return instanceGroupManagersSetInstanceTemplateRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java index 6465fd01f274..87684b667789 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private SetInstanceTemplateRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionInstanceGroupManagersSetTemplateRequestResource")) { + if ("regionInstanceGroupManagersSetTemplateRequestResource".equals(fieldName)) { return regionInstanceGroupManagersSetTemplateRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java index 5169b551ebaf..164035f576eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetLabelsDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zoneSetLabelsRequestResource")) { + if ("zoneSetLabelsRequestResource".equals(fieldName)) { return zoneSetLabelsRequestResource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java index 71baf086694e..0285d1575cd8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetLabelsImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("globalSetLabelsRequestResource")) { + if ("globalSetLabelsRequestResource".equals(fieldName)) { return globalSetLabelsRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java index 057e08320ac4..f37f58266d16 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetLabelsInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("instancesSetLabelsRequestResource")) { + if ("instancesSetLabelsRequestResource".equals(fieldName)) { return instancesSetLabelsRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java index 0ee157f7e2fd..63e671b07fad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetLabelsRegionDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionSetLabelsRequestResource")) { + if ("regionSetLabelsRequestResource".equals(fieldName)) { return regionSetLabelsRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java index f61d9205e66d..9ea6df3c5255 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SetLabelsSnapshotHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("globalSetLabelsRequestResource")) { + if ("globalSetLabelsRequestResource".equals(fieldName)) { return globalSetLabelsRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java index 8f112ba95cea..90476ce3c0a8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetMachineResourcesInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("instancesSetMachineResourcesRequestResource")) { + if ("instancesSetMachineResourcesRequestResource".equals(fieldName)) { return instancesSetMachineResourcesRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java index 7badaf6cfdfe..1cb27fcb6c28 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetMachineTypeInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("instancesSetMachineTypeRequestResource")) { + if ("instancesSetMachineTypeRequestResource".equals(fieldName)) { return instancesSetMachineTypeRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java index 55cea5ad9886..f7548984acfe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetMetadataInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("metadataResource")) { + if ("metadataResource".equals(fieldName)) { return metadataResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java index fdbef21a1e7f..2399fdd1f890 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetMinCpuPlatformInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("instancesSetMinCpuPlatformRequestResource")) { + if ("instancesSetMinCpuPlatformRequestResource".equals(fieldName)) { return instancesSetMinCpuPlatformRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java index deb3334abff7..911610220385 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetNamedPortsInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("instanceGroupsSetNamedPortsRequestResource")) { + if ("instanceGroupsSetNamedPortsRequestResource".equals(fieldName)) { return instanceGroupsSetNamedPortsRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java index 8557570e6ce3..13c5b7ae4fe5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private SetNamedPortsRegionInstanceGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroup")) { + if ("instanceGroup".equals(fieldName)) { return instanceGroup; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionInstanceGroupsSetNamedPortsRequestResource")) { + if ("regionInstanceGroupsSetNamedPortsRequestResource".equals(fieldName)) { return regionInstanceGroupsSetNamedPortsRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java index 0d9af9412492..1c6923418279 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetNodeTemplateNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("nodeGroup")) { + if ("nodeGroup".equals(fieldName)) { return nodeGroup; } - if (fieldName.equals("nodeGroupsSetNodeTemplateRequestResource")) { + if ("nodeGroupsSetNodeTemplateRequestResource".equals(fieldName)) { return nodeGroupsSetNodeTemplateRequestResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java index f94b3e6f4f67..eb0fd0f85cd7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private SetPrivateIpGoogleAccessSubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } - if (fieldName.equals("subnetworksSetPrivateIpGoogleAccessRequestResource")) { + if ("subnetworksSetPrivateIpGoogleAccessRequestResource".equals(fieldName)) { return subnetworksSetPrivateIpGoogleAccessRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java index 940b1957222d..d520f3b46e88 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private SetProxyHeaderTargetSslProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetSslProxiesSetProxyHeaderRequestResource")) { + if ("targetSslProxiesSetProxyHeaderRequestResource".equals(fieldName)) { return targetSslProxiesSetProxyHeaderRequestResource; } - if (fieldName.equals("targetSslProxy")) { + if ("targetSslProxy".equals(fieldName)) { return targetSslProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java index 97bcded5875d..61652defe23e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private SetProxyHeaderTargetTcpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetTcpProxiesSetProxyHeaderRequestResource")) { + if ("targetTcpProxiesSetProxyHeaderRequestResource".equals(fieldName)) { return targetTcpProxiesSetProxyHeaderRequestResource; } - if (fieldName.equals("targetTcpProxy")) { + if ("targetTcpProxy".equals(fieldName)) { return targetTcpProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java index 0ffa00989880..2eb3128ad707 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private SetQuicOverrideTargetHttpsProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpsProxiesSetQuicOverrideRequestResource")) { + if ("targetHttpsProxiesSetQuicOverrideRequestResource".equals(fieldName)) { return targetHttpsProxiesSetQuicOverrideRequestResource; } - if (fieldName.equals("targetHttpsProxy")) { + if ("targetHttpsProxy".equals(fieldName)) { return targetHttpsProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java index ab2132538887..62fc7b210a46 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetSchedulingInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("schedulingResource")) { + if ("schedulingResource".equals(fieldName)) { return schedulingResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java index 37d099c1411b..898cf644218e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetSecurityPolicyBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("securityPolicyReferenceResource")) { + if ("securityPolicyReferenceResource".equals(fieldName)) { return securityPolicyReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java index 913fb653a488..19468526b42b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetServiceAccountInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("instancesSetServiceAccountRequestResource")) { + if ("instancesSetServiceAccountRequestResource".equals(fieldName)) { return instancesSetServiceAccountRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java index b754e5a5f75a..64fa7aab5e6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private SetSslCertificatesTargetHttpsProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpsProxiesSetSslCertificatesRequestResource")) { + if ("targetHttpsProxiesSetSslCertificatesRequestResource".equals(fieldName)) { return targetHttpsProxiesSetSslCertificatesRequestResource; } - if (fieldName.equals("targetHttpsProxy")) { + if ("targetHttpsProxy".equals(fieldName)) { return targetHttpsProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java index ce3278ac073e..cf40d2ccc5a2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private SetSslCertificatesTargetSslProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetSslProxiesSetSslCertificatesRequestResource")) { + if ("targetSslProxiesSetSslCertificatesRequestResource".equals(fieldName)) { return targetSslProxiesSetSslCertificatesRequestResource; } - if (fieldName.equals("targetSslProxy")) { + if ("targetSslProxy".equals(fieldName)) { return targetSslProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java index 2b355c09bdc8..8127f41ac629 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetSslPolicyTargetHttpsProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sslPolicyReferenceResource")) { + if ("sslPolicyReferenceResource".equals(fieldName)) { return sslPolicyReferenceResource; } - if (fieldName.equals("targetHttpsProxy")) { + if ("targetHttpsProxy".equals(fieldName)) { return targetHttpsProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java index 187704c3d2dd..3930f02ccffa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetSslPolicyTargetSslProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("sslPolicyReferenceResource")) { + if ("sslPolicyReferenceResource".equals(fieldName)) { return sslPolicyReferenceResource; } - if (fieldName.equals("targetSslProxy")) { + if ("targetSslProxy".equals(fieldName)) { return targetSslProxy; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java index c04373e8a529..bbbe05e0db31 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetTagsInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("tagsResource")) { + if ("tagsResource".equals(fieldName)) { return tagsResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java index 0f4011f2ca43..3092ca988bae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetTargetForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRule")) { + if ("forwardingRule".equals(fieldName)) { return forwardingRule; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetReferenceResource")) { + if ("targetReferenceResource".equals(fieldName)) { return targetReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java index 591c84ce4079..ff8e33f634c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetTargetGlobalForwardingRuleHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("forwardingRule")) { + if ("forwardingRule".equals(fieldName)) { return forwardingRule; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetReferenceResource")) { + if ("targetReferenceResource".equals(fieldName)) { return targetReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java index de3e6724cc64..6c7f04ee4297 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private SetTargetPoolsInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("instanceGroupManagersSetTargetPoolsRequestResource")) { + if ("instanceGroupManagersSetTargetPoolsRequestResource".equals(fieldName)) { return instanceGroupManagersSetTargetPoolsRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java index b99e289db6b9..299443fd38b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,34 +77,34 @@ private SetTargetPoolsRegionInstanceGroupManagerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instanceGroupManager")) { + if ("instanceGroupManager".equals(fieldName)) { return instanceGroupManager; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("regionInstanceGroupManagersSetTargetPoolsRequestResource")) { + if ("regionInstanceGroupManagersSetTargetPoolsRequestResource".equals(fieldName)) { return regionInstanceGroupManagersSetTargetPoolsRequestResource; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java index fc43374f5e9f..89c839ab126a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetUrlMapTargetHttpProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpProxy")) { + if ("targetHttpProxy".equals(fieldName)) { return targetHttpProxy; } - if (fieldName.equals("urlMapReferenceResource")) { + if ("urlMapReferenceResource".equals(fieldName)) { return urlMapReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java index c886f963980f..087e2962f2a8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetUrlMapTargetHttpsProxyHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("targetHttpsProxy")) { + if ("targetHttpsProxy".equals(fieldName)) { return targetHttpsProxy; } - if (fieldName.equals("urlMapReferenceResource")) { + if ("urlMapReferenceResource".equals(fieldName)) { return urlMapReferenceResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java index 4190be522ba5..1f4c02bb44aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,34 +74,34 @@ private SetUsageExportBucketProjectHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("project")) { + if ("project".equals(fieldName)) { return project; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("usageExportLocationResource")) { + if ("usageExportLocationResource".equals(fieldName)) { return usageExportLocationResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java index 73ba8e15ea11..21c07b195bf4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private SignedUrlKey(String keyName, String keyValue) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("keyName")) { + if ("keyName".equals(fieldName)) { return keyName; } - if (fieldName.equals("keyValue")) { + if ("keyValue".equals(fieldName)) { return keyValue; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java index e5b6d7614557..b11e8b3fc92b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private SimulateMaintenanceEventInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java index 75ae8c811007..38e136280aa6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -108,58 +108,58 @@ private Snapshot( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("diskSizeGb")) { + if ("diskSizeGb".equals(fieldName)) { return diskSizeGb; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } - if (fieldName.equals("licenseCodes")) { + if ("licenseCodes".equals(fieldName)) { return licenseCodes; } - if (fieldName.equals("licenses")) { + if ("licenses".equals(fieldName)) { return licenses; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("snapshotEncryptionKey")) { + if ("snapshotEncryptionKey".equals(fieldName)) { return snapshotEncryptionKey; } - if (fieldName.equals("sourceDisk")) { + if ("sourceDisk".equals(fieldName)) { return sourceDisk; } - if (fieldName.equals("sourceDiskEncryptionKey")) { + if ("sourceDiskEncryptionKey".equals(fieldName)) { return sourceDiskEncryptionKey; } - if (fieldName.equals("sourceDiskId")) { + if ("sourceDiskId".equals(fieldName)) { return sourceDiskId; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("storageBytes")) { + if ("storageBytes".equals(fieldName)) { return storageBytes; } - if (fieldName.equals("storageBytesStatus")) { + if ("storageBytesStatus".equals(fieldName)) { return storageBytesStatus; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java index 378d2766954c..85553b55b7fb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java index b890556c2e3e..3523e66f2b14 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private SnapshotList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotSettings.java index c70e9ce389b0..1bfd437e19ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java index 519563f6da5a..fe9d23596f28 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private SourceInstanceParams(List diskConfigs) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("diskConfigs")) { + if ("diskConfigs".equals(fieldName)) { return diskConfigs; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java index 3894f3103963..9eb223041f76 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private SslCertificate( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("certificate")) { + if ("certificate".equals(fieldName)) { return certificate; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("privateKey")) { + if ("privateKey".equals(fieldName)) { return privateKey; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java index 512bef62f835..8e5ed73bcfe1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java index 4c81e8e9e41c..6283a40a63db 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private SslCertificateList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateSettings.java index 0943dad381ca..c258d13ad827 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java index 24dcb4dc546b..4848073275f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private SslPoliciesList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesListAvailableFeaturesResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesListAvailableFeaturesResponse.java index 36e22ef184e4..3297c15cd40d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesListAvailableFeaturesResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesListAvailableFeaturesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private SslPoliciesListAvailableFeaturesResponse(List features) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("features")) { + if ("features".equals(fieldName)) { return features; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java index fa47a495f521..76f908da46cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private SslPolicy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("customFeatures")) { + if ("customFeatures".equals(fieldName)) { return customFeatures; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("enabledFeatures")) { + if ("enabledFeatures".equals(fieldName)) { return enabledFeatures; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("minTlsVersion")) { + if ("minTlsVersion".equals(fieldName)) { return minTlsVersion; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("profile")) { + if ("profile".equals(fieldName)) { return profile; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warnings")) { + if ("warnings".equals(fieldName)) { return warnings; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java index 4c7021ef17a5..10fb96c1fed5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java index 39637920f887..688b26fa69bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private SslPolicyReference(String sslPolicy) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("sslPolicy")) { + if ("sslPolicy".equals(fieldName)) { return sslPolicy; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicySettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicySettings.java index 98e32a6f559e..c68915971db3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicySettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java index 4f3f05adc1a0..8d9527bdd88f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private StartInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java index b120c69e1c47..54b7eebfe6f8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,34 +76,34 @@ private StartWithEncryptionKeyInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("instancesStartWithEncryptionKeyRequestResource")) { + if ("instancesStartWithEncryptionKeyRequestResource".equals(fieldName)) { return instancesStartWithEncryptionKeyRequestResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java index 5d126ad32e95..17284af29623 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private StopInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java index 4ba9b79ace53..003609079253 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -91,46 +91,46 @@ private Subnetwork( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("enableFlowLogs")) { + if ("enableFlowLogs".equals(fieldName)) { return enableFlowLogs; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("gatewayAddress")) { + if ("gatewayAddress".equals(fieldName)) { return gatewayAddress; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("ipCidrRange")) { + if ("ipCidrRange".equals(fieldName)) { return ipCidrRange; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("privateIpGoogleAccess")) { + if ("privateIpGoogleAccess".equals(fieldName)) { return privateIpGoogleAccess; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("secondaryIpRanges")) { + if ("secondaryIpRanges".equals(fieldName)) { return secondaryIpRanges; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java index 99fd627600a5..73ce4a7e89ee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private SubnetworkAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java index f4c331ec7472..701b61e42e99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java index b887d4c2107e..89e06da80520 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private SubnetworkList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java index eb0308bdfc60..13f028e619d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private SubnetworkSecondaryRange(String ipCidrRange, String rangeName) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("ipCidrRange")) { + if ("ipCidrRange".equals(fieldName)) { return ipCidrRange; } - if (fieldName.equals("rangeName")) { + if ("rangeName".equals(fieldName)) { return rangeName; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSettings.java index 60ed3b8637dd..39c44a77cf32 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java index ae59ff1ad14a..58fa7fc53762 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private SubnetworksExpandIpCidrRangeRequest(String ipCidrRange) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("ipCidrRange")) { + if ("ipCidrRange".equals(fieldName)) { return ipCidrRange; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java index 96992a9f2582..b9678cddbb84 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private SubnetworksScopedList(List subnetworks, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("subnetworks")) { + if ("subnetworks".equals(fieldName)) { return subnetworks; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksSetPrivateIpGoogleAccessRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksSetPrivateIpGoogleAccessRequest.java index e58dad72c307..81754578aaee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksSetPrivateIpGoogleAccessRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksSetPrivateIpGoogleAccessRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private SubnetworksSetPrivateIpGoogleAccessRequest(Boolean privateIpGoogleAccess @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("privateIpGoogleAccess")) { + if ("privateIpGoogleAccess".equals(fieldName)) { return privateIpGoogleAccess; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java index 3d4356db6fef..857f65ef7c2d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private SwitchToCustomModeNetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java index 81500de7a425..c79defaeb292 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,19 +50,19 @@ private TCPHealthCheck( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("port")) { + if ("port".equals(fieldName)) { return port; } - if (fieldName.equals("portName")) { + if ("portName".equals(fieldName)) { return portName; } - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } - if (fieldName.equals("request")) { + if ("request".equals(fieldName)) { return request; } - if (fieldName.equals("response")) { + if ("response".equals(fieldName)) { return response; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java index 2f075386b386..9a7405e3973c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private Tags(String fingerprint, List items) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java index 8671056aade1..73b125982218 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -62,25 +62,25 @@ private TargetHttpProxy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java index df94feaf0590..235e0176e5ef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java index 7be563795b97..64d51c809d53 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetHttpProxyList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxySettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxySettings.java index 1d54e9319a55..74c33bda6d1c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxySettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java index edec3ea4a7dc..d26ad0e5e39d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private TargetHttpsProxiesSetQuicOverrideRequest(String quicOverride) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("quicOverride")) { + if ("quicOverride".equals(fieldName)) { return quicOverride; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java index 8d178ef69f38..3bcdd751018b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TargetHttpsProxiesSetSslCertificatesRequest(List sslCertificates @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("sslCertificates")) { + if ("sslCertificates".equals(fieldName)) { return sslCertificates; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java index 9952067bc7b8..97c0e50225bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private TargetHttpsProxy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("quicOverride")) { + if ("quicOverride".equals(fieldName)) { return quicOverride; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sslCertificates")) { + if ("sslCertificates".equals(fieldName)) { return sslCertificates; } - if (fieldName.equals("sslPolicy")) { + if ("sslPolicy".equals(fieldName)) { return sslPolicy; } - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java index a8a7b6a752bf..439a5944f737 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java index 7df2ee46c1fc..bba3606b6105 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetHttpsProxyList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxySettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxySettings.java index 39620e957ac3..cadcd83543e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxySettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java index ae3f4b5cc9ae..934643559cf5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TargetInstance( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("natPolicy")) { + if ("natPolicy".equals(fieldName)) { return natPolicy; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java index b53ae8011727..4133db4b9797 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetInstanceAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java index 39f585a19143..37644b84a4ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java index d788d2efcb71..b53e053f8083 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetInstanceList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceSettings.java index f6342f7adb28..3f708af29ab4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java index e8e25a8d4233..bb62b3f360cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private TargetInstancesScopedList(List targetInstances, Warning @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("targetInstances")) { + if ("targetInstances".equals(fieldName)) { return targetInstances; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java index f8dd2d85d8f3..7a5152cf2672 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private TargetPool( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("backupPool")) { + if ("backupPool".equals(fieldName)) { return backupPool; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("failoverRatio")) { + if ("failoverRatio".equals(fieldName)) { return failoverRatio; } - if (fieldName.equals("healthChecks")) { + if ("healthChecks".equals(fieldName)) { return healthChecks; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sessionAffinity")) { + if ("sessionAffinity".equals(fieldName)) { return sessionAffinity; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java index 52e333905b9f..5e146d4c3b61 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetPoolAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java index 07d22b930c42..523c6e282375 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java index 806f8dd20394..0a430e6d8bf7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private TargetPoolInstanceHealth(List healthStatus, String kind) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("healthStatus")) { + if ("healthStatus".equals(fieldName)) { return healthStatus; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java index 6e651ebce42f..378a8d20d22f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetPoolList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolSettings.java index 8b08d2f7a5b9..449fb686d9ef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java index 58a0568cf441..ec9a38554792 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TargetPoolsAddHealthCheckRequest(List healthChecks @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("healthChecks")) { + if ("healthChecks".equals(fieldName)) { return healthChecks; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java index 7ae63dbde200..ccbce2450c6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TargetPoolsAddInstanceRequest(List instances) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java index a04d90436634..9fe4947ec969 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TargetPoolsRemoveHealthCheckRequest(List healthChe @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("healthChecks")) { + if ("healthChecks".equals(fieldName)) { return healthChecks; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java index 5fbce595cecb..0a68a6ed779a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TargetPoolsRemoveInstanceRequest(List instances) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instances")) { + if ("instances".equals(fieldName)) { return instances; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java index a5c5678db39d..935c558b5c06 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private TargetPoolsScopedList(List targetPools, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("targetPools")) { + if ("targetPools".equals(fieldName)) { return targetPools; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetReference.java index aafe660140e9..6534c7792426 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private TargetReference(String target) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("target")) { + if ("target".equals(fieldName)) { return target; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java index 93585948f5dc..c6aafa137509 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private TargetSslProxiesSetBackendServiceRequest(String service) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("service")) { + if ("service".equals(fieldName)) { return service; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java index 98dc4bf88056..87975d5af8c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private TargetSslProxiesSetProxyHeaderRequest(String proxyHeader) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java index 3372dbe67843..f8f0e4a95dc8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TargetSslProxiesSetSslCertificatesRequest(List sslCertificates) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("sslCertificates")) { + if ("sslCertificates".equals(fieldName)) { return sslCertificates; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java index f88d1e1e77ba..57079782b4a2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private TargetSslProxy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("service")) { + if ("service".equals(fieldName)) { return service; } - if (fieldName.equals("sslCertificates")) { + if ("sslCertificates".equals(fieldName)) { return sslCertificates; } - if (fieldName.equals("sslPolicy")) { + if ("sslPolicy".equals(fieldName)) { return sslPolicy; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java index 5f197a2735cb..443a8fb50925 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java index 6f817de8cd9c..3a858dce69b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetSslProxyList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxySettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxySettings.java index 467bb379d507..98a0974de251 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxySettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java index 147e6d889373..1411095e9dcf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private TargetTcpProxiesSetBackendServiceRequest(String service) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("service")) { + if ("service".equals(fieldName)) { return service; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java index 9e77f3319352..45897e36da21 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private TargetTcpProxiesSetProxyHeaderRequest(String proxyHeader) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java index b6f7a888ce6c..d9008fc2a744 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,28 +66,28 @@ private TargetTcpProxy( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("proxyHeader")) { + if ("proxyHeader".equals(fieldName)) { return proxyHeader; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("service")) { + if ("service".equals(fieldName)) { return service; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java index 7c5c8f25f363..0fbcd7c51685 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java index db71afd3fa84..36b676bf85e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetTcpProxyList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxySettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxySettings.java index 505adac4f15c..dbd3807b8b27 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxySettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java index b86fc8968a7e..f066e462c212 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private TargetVpnGateway( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("forwardingRules")) { + if ("forwardingRules".equals(fieldName)) { return forwardingRules; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("tunnels")) { + if ("tunnels".equals(fieldName)) { return tunnels; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java index e461f3ffcfe8..25855bea964e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetVpnGatewayAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java index b92ff25fc5c3..745be670bcfd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java index e5ebc775a8eb..fbbb626a28a5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private TargetVpnGatewayList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaySettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaySettings.java index 69338e09da37..f887b42a8e62 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaySettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java index 4157b9d5d89c..b8c376d6dc9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private TargetVpnGatewaysScopedList(List targetVpnGateways, Wa @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("targetVpnGateways")) { + if ("targetVpnGateways".equals(fieldName)) { return targetVpnGateways; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestFailure.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestFailure.java index df706e89fc10..45d43a4fe686 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestFailure.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestFailure.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,16 +46,16 @@ private TestFailure(String actualService, String expectedService, String host, S @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("actualService")) { + if ("actualService".equals(fieldName)) { return actualService; } - if (fieldName.equals("expectedService")) { + if ("expectedService".equals(fieldName)) { return expectedService; } - if (fieldName.equals("host")) { + if ("host".equals(fieldName)) { return host; } - if (fieldName.equals("path")) { + if ("path".equals(fieldName)) { return path; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java index 0d8536ddfacc..f6e6fad77924 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java index 69b6998ad6ba..ba767137fd1a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsImageHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java index 38c0b9151a3a..cd6dccb1c123 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java index 75f983abeaaf..dbe1e39ea93c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsInstanceTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java index f1ed4d30d813..aa00df192519 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsLicenseCodeHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java index 3813b199cda8..765ab9ec32b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsLicenseHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java index b98589e335f2..098b43515c04 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsNodeGroupHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java index 79ef2f08ae21..b24aec09af70 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsNodeTemplateHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java index 8c2f58e277bc..2cd718eff901 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsRegionDiskHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java index 413a62234c0d..657b3a15c47e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsSnapshotHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java index c39ed6123ede..2950a9cba818 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private TestIamPermissionsSubnetworkHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } - if (fieldName.equals("testPermissionsRequestResource")) { + if ("testPermissionsRequestResource".equals(fieldName)) { return testPermissionsRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java index 9778ff311a38..475355b7a7b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TestPermissionsRequest(List permissions) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("permissions")) { + if ("permissions".equals(fieldName)) { return permissions; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java index 839f17d9ce64..270011665c85 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private TestPermissionsResponse(List permissions) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("permissions")) { + if ("permissions".equals(fieldName)) { return permissions; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java index 29f7d04ec065..f5ce946063aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,37 +78,37 @@ private UpdateAccessConfigInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("accessConfigResource")) { + if ("accessConfigResource".equals(fieldName)) { return accessConfigResource; } - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("networkInterface")) { + if ("networkInterface".equals(fieldName)) { return networkInterface; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java index c8cf4589f133..a8ef43480449 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private UpdateAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("autoscalerResource")) { + if ("autoscalerResource".equals(fieldName)) { return autoscalerResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } - if (fieldName.equals("zone")) { + if ("zone".equals(fieldName)) { return zone; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java index a3cba193d0bb..6eedd5e93192 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateBackendBucketHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendBucket")) { + if ("backendBucket".equals(fieldName)) { return backendBucket; } - if (fieldName.equals("backendBucketResource")) { + if ("backendBucketResource".equals(fieldName)) { return backendBucketResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java index 3c98531a4da3..9ec11f4936d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("backendServiceResource")) { + if ("backendServiceResource".equals(fieldName)) { return backendServiceResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java index 5198c3948385..977115f8342b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateFirewallHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("firewall")) { + if ("firewall".equals(fieldName)) { return firewall; } - if (fieldName.equals("firewallResource")) { + if ("firewallResource".equals(fieldName)) { return firewallResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java index 3fbe2f90d087..4446016d90ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("healthCheck")) { + if ("healthCheck".equals(fieldName)) { return healthCheck; } - if (fieldName.equals("healthCheckResource")) { + if ("healthCheckResource".equals(fieldName)) { return healthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java index 0f99507d7bd4..489006ab9205 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateHttpHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpHealthCheck")) { + if ("httpHealthCheck".equals(fieldName)) { return httpHealthCheck; } - if (fieldName.equals("httpHealthCheckResource")) { + if ("httpHealthCheckResource".equals(fieldName)) { return httpHealthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java index 4d8801f50375..63b3f6fd399e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateHttpsHealthCheckHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("httpsHealthCheck")) { + if ("httpsHealthCheck".equals(fieldName)) { return httpsHealthCheck; } - if (fieldName.equals("httpsHealthCheckResource")) { + if ("httpsHealthCheckResource".equals(fieldName)) { return httpsHealthCheckResource; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java index 35215417d404..41cac2f9727b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private UpdateNetworkInterfaceInstanceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("instance")) { + if ("instance".equals(fieldName)) { return instance; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("networkInterface")) { + if ("networkInterface".equals(fieldName)) { return networkInterface; } - if (fieldName.equals("networkInterfaceResource")) { + if ("networkInterfaceResource".equals(fieldName)) { return networkInterfaceResource; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java index 5b7c6a98897b..e38652a6576c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,40 +83,40 @@ private UpdateRegionAutoscalerHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("autoscaler")) { + if ("autoscaler".equals(fieldName)) { return autoscaler; } - if (fieldName.equals("autoscalerResource")) { + if ("autoscalerResource".equals(fieldName)) { return autoscalerResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java index a4c19bf549c3..d31c6e483fa8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateRegionBackendServiceHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("backendService")) { + if ("backendService".equals(fieldName)) { return backendService; } - if (fieldName.equals("backendServiceResource")) { + if ("backendServiceResource".equals(fieldName)) { return backendServiceResource; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java index 66e36332461f..ee9dad0a0f7f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateRouterHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("routerResource")) { + if ("routerResource".equals(fieldName)) { return routerResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java index a4a7582fbfe5..81e50ca7714a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UpdateUrlMapHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fieldMask")) { + if ("fieldMask".equals(fieldName)) { return fieldMask; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("requestId")) { + if ("requestId".equals(fieldName)) { return requestId; } - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } - if (fieldName.equals("urlMapResource")) { + if ("urlMapResource".equals(fieldName)) { return urlMapResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java index 5dcd204fe668..815ab029df18 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,37 +79,37 @@ private UrlMap( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("defaultService")) { + if ("defaultService".equals(fieldName)) { return defaultService; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("fingerprint")) { + if ("fingerprint".equals(fieldName)) { return fingerprint; } - if (fieldName.equals("hostRules")) { + if ("hostRules".equals(fieldName)) { return hostRules; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("pathMatchers")) { + if ("pathMatchers".equals(fieldName)) { return pathMatchers; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("tests")) { + if ("tests".equals(fieldName)) { return tests; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java index 5b0e50256652..d7e58e79c3f1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java index 26767800b663..078bfe21f64c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private UrlMapList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapReference.java index eedff2c1705e..f56739183aa4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private UrlMapReference(String urlMap) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapSettings.java index 3c89299d6d9d..81532b9aedaa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java index 3807f0fcc592..860e64d16f91 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,16 +46,16 @@ private UrlMapTest(String description, String host, String path, String service) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("host")) { + if ("host".equals(fieldName)) { return host; } - if (fieldName.equals("path")) { + if ("path".equals(fieldName)) { return path; } - if (fieldName.equals("service")) { + if ("service".equals(fieldName)) { return service; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java index 66c142e88e07..223486366667 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,16 +51,16 @@ private UrlMapValidationResult( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("loadErrors")) { + if ("loadErrors".equals(fieldName)) { return loadErrors; } - if (fieldName.equals("loadSucceeded")) { + if ("loadSucceeded".equals(fieldName)) { return loadSucceeded; } - if (fieldName.equals("testFailures")) { + if ("testFailures".equals(fieldName)) { return testFailures; } - if (fieldName.equals("testPassed")) { + if ("testPassed".equals(fieldName)) { return testPassed; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java index b966c622365a..0737be7bbc10 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private UrlMapsValidateRequest(UrlMap resource) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("resource")) { + if ("resource".equals(fieldName)) { return resource; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateResponse.java index 5ea9b6d68757..4fbc3ff68938 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ private UrlMapsValidateResponse(UrlMapValidationResult result) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("result")) { + if ("result".equals(fieldName)) { return result; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java index df85592f2e7b..a5f733943a9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,16 +51,16 @@ private UsableSubnetwork( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("ipCidrRange")) { + if ("ipCidrRange".equals(fieldName)) { return ipCidrRange; } - if (fieldName.equals("network")) { + if ("network".equals(fieldName)) { return network; } - if (fieldName.equals("secondaryIpRanges")) { + if ("secondaryIpRanges".equals(fieldName)) { return secondaryIpRanges; } - if (fieldName.equals("subnetwork")) { + if ("subnetwork".equals(fieldName)) { return subnetwork; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java index d06cb814782b..9d2701a10d0f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private UsableSubnetworkSecondaryRange(String ipCidrRange, String rangeName) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("ipCidrRange")) { + if ("ipCidrRange".equals(fieldName)) { return ipCidrRange; } - if (fieldName.equals("rangeName")) { + if ("rangeName".equals(fieldName)) { return rangeName; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java index da3f6a42b326..5b21b4e4b913 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private UsableSubnetworksAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java index bc102b38b4a5..10d5c03109a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private UsageExportLocation(String bucketName, String reportNamePrefix) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("bucketName")) { + if ("bucketName".equals(fieldName)) { return bucketName; } - if (fieldName.equals("reportNamePrefix")) { + if ("reportNamePrefix".equals(fieldName)) { return reportNamePrefix; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java index 1e5b6f4c84f4..0ae43e50fe1e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,31 +70,31 @@ private ValidateUrlMapHttpRequest( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("access_token")) { + if ("access_token".equals(fieldName)) { return access_token; } - if (fieldName.equals("callback")) { + if ("callback".equals(fieldName)) { return callback; } - if (fieldName.equals("fields")) { + if ("fields".equals(fieldName)) { return fields; } - if (fieldName.equals("key")) { + if ("key".equals(fieldName)) { return key; } - if (fieldName.equals("prettyPrint")) { + if ("prettyPrint".equals(fieldName)) { return prettyPrint; } - if (fieldName.equals("quotaUser")) { + if ("quotaUser".equals(fieldName)) { return quotaUser; } - if (fieldName.equals("urlMap")) { + if ("urlMap".equals(fieldName)) { return urlMap; } - if (fieldName.equals("urlMapsValidateRequestResource")) { + if ("urlMapsValidateRequestResource".equals(fieldName)) { return urlMapsValidateRequestResource; } - if (fieldName.equals("userIp")) { + if ("userIp".equals(fieldName)) { return userIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java index 259102ee3f0e..6a8f4eea0341 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,10 +42,10 @@ private VmEndpointNatMappings( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("instanceName")) { + if ("instanceName".equals(fieldName)) { return instanceName; } - if (fieldName.equals("interfaceNatMappings")) { + if ("interfaceNatMappings".equals(fieldName)) { return interfaceNatMappings; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java index ab2840be4991..99901f4178d3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,16 +51,16 @@ private VmEndpointNatMappingsInterfaceNatMappings( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("natIpPortRanges")) { + if ("natIpPortRanges".equals(fieldName)) { return natIpPortRanges; } - if (fieldName.equals("numTotalNatPorts")) { + if ("numTotalNatPorts".equals(fieldName)) { return numTotalNatPorts; } - if (fieldName.equals("sourceAliasIpRange")) { + if ("sourceAliasIpRange".equals(fieldName)) { return sourceAliasIpRange; } - if (fieldName.equals("sourceVirtualIp")) { + if ("sourceVirtualIp".equals(fieldName)) { return sourceVirtualIp; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java index 7cc878c60579..c04fc6fa9e91 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private VmEndpointNatMappingsList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("result")) { + if ("result".equals(fieldName)) { return result; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java index bc5600876dc3..034a1cc1bba2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -103,55 +103,55 @@ private VpnTunnel( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("detailedStatus")) { + if ("detailedStatus".equals(fieldName)) { return detailedStatus; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("ikeVersion")) { + if ("ikeVersion".equals(fieldName)) { return ikeVersion; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("localTrafficSelector")) { + if ("localTrafficSelector".equals(fieldName)) { return localTrafficSelector; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("peerIp")) { + if ("peerIp".equals(fieldName)) { return peerIp; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("remoteTrafficSelector")) { + if ("remoteTrafficSelector".equals(fieldName)) { return remoteTrafficSelector; } - if (fieldName.equals("router")) { + if ("router".equals(fieldName)) { return router; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("sharedSecret")) { + if ("sharedSecret".equals(fieldName)) { return sharedSecret; } - if (fieldName.equals("sharedSecretHash")) { + if ("sharedSecretHash".equals(fieldName)) { return sharedSecretHash; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } - if (fieldName.equals("targetVpnGateway")) { + if ("targetVpnGateway".equals(fieldName)) { return targetVpnGateway; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java index 0d492688936a..aea8722c0b9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private VpnTunnelAggregatedList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java index 5dc1898cb338..f69be3298ba9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java index 0cef4a10395e..961743962bac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private VpnTunnelList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelSettings.java index 2191e32b0435..0e644eed7723 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java index 5533080b7d06..e748f4fca7e0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private VpnTunnelsScopedList(List vpnTunnels, Warning warning) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("vpnTunnels")) { + if ("vpnTunnels".equals(fieldName)) { return vpnTunnels; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java index 9e16868d29cf..4e773729aa5b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private Warning(String code, List data, String message) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("code")) { + if ("code".equals(fieldName)) { return code; } - if (fieldName.equals("data")) { + if ("data".equals(fieldName)) { return data; } - if (fieldName.equals("message")) { + if ("message".equals(fieldName)) { return message; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java index d4b0a810f0d4..8283c2508007 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private Warnings(String code, List data, String message) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("code")) { + if ("code".equals(fieldName)) { return code; } - if (fieldName.equals("data")) { + if ("data".equals(fieldName)) { return data; } - if (fieldName.equals("message")) { + if ("message".equals(fieldName)) { return message; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java index 2d1b147f4e3f..307089de84bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private XpnHostList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java index 810cc2aa1797..a53a46069cff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,10 @@ private XpnResourceId(String id, String type) { @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("type")) { + if ("type".equals(fieldName)) { return type; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java index 98dbd9478489..22e85cd04480 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,34 +75,34 @@ private Zone( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("availableCpuPlatforms")) { + if ("availableCpuPlatforms".equals(fieldName)) { return availableCpuPlatforms; } - if (fieldName.equals("creationTimestamp")) { + if ("creationTimestamp".equals(fieldName)) { return creationTimestamp; } - if (fieldName.equals("deprecated")) { + if ("deprecated".equals(fieldName)) { return deprecated; } - if (fieldName.equals("description")) { + if ("description".equals(fieldName)) { return description; } - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("name")) { + if ("name".equals(fieldName)) { return name; } - if (fieldName.equals("region")) { + if ("region".equals(fieldName)) { return region; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("status")) { + if ("status".equals(fieldName)) { return status; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java index 84ca057e4b8e..0599a4740ca7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java index 1ede1d1a5726..2010585f8843 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,22 +59,22 @@ private ZoneList( @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("id")) { + if ("id".equals(fieldName)) { return id; } - if (fieldName.equals("items")) { + if ("items".equals(fieldName)) { return items; } - if (fieldName.equals("kind")) { + if ("kind".equals(fieldName)) { return kind; } - if (fieldName.equals("nextPageToken")) { + if ("nextPageToken".equals(fieldName)) { return nextPageToken; } - if (fieldName.equals("selfLink")) { + if ("selfLink".equals(fieldName)) { return selfLink; } - if (fieldName.equals("warning")) { + if ("warning".equals(fieldName)) { return warning; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java index c17fda2b1c4e..dc0774a7bc4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationSettings.java index 51a063156462..7d0684c08cd6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java index e2a6f547e87b..3daa8b78eef6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,10 +41,10 @@ private ZoneSetLabelsRequest(String labelFingerprint, Map labels @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("labelFingerprint")) { + if ("labelFingerprint".equals(fieldName)) { return labelFingerprint; } - if (fieldName.equals("labels")) { + if ("labels".equals(fieldName)) { return labels; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java index f73c79d9fdf2..98666cba9fef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,13 +44,13 @@ private ZoneSetPolicyRequest(List bindings, String etag, Policy policy) @Override public Object getFieldValue(String fieldName) { - if (fieldName.equals("bindings")) { + if ("bindings".equals(fieldName)) { return bindings; } - if (fieldName.equals("etag")) { + if ("etag".equals(fieldName)) { return etag; } - if (fieldName.equals("policy")) { + if ("policy".equals(fieldName)) { return policy; } return null; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSettings.java index 6cf62c470e32..e903a67bcd24 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java index dd17854d59ca..62f6781bacfe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStub.java index 3fec3f9376cb..7ca678245d0a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStubSettings.java index d08532cf5625..72d5a3ca4d54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AcceleratorTypeStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStub.java index 3142103f7467..22bf14f60f80 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStubSettings.java index c1bc7afc96e6..b55480be3ec8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AddressStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStub.java index 7b2c3317a099..d713b8e587c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStubSettings.java index 8e31ee563a9f..546c6997be9f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/AutoscalerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStub.java index 022d99aaa476..0b11c5b40aee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStubSettings.java index 22e4fe2f3e74..acdd245d802a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendBucketStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStub.java index 0235ee87d262..e8463750305d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStubSettings.java index 1f40535a95c8..0d9bd047475c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/BackendServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStub.java index 7dbb791f2576..ff83aef3950d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStubSettings.java index cfa42ce12b49..4e7bc404810f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStub.java index fa2cee066b32..ff33dae971c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStubSettings.java index 5ea654041d24..ed3c6109466e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/DiskTypeStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStub.java index 2341273aea62..543b18dea5f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStubSettings.java index a8c19ccd8a02..c9bc99f66b8b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/FirewallStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStub.java index d1d56ff4fc38..362e65f7e3f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStubSettings.java index f43884c47418..04f0b0b2967e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ForwardingRuleStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStub.java index 4e6fe7008536..9082e4ff0093 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStubSettings.java index e0b77e17371b..e05c845daa68 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalAddressStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStub.java index 226fdbdf0d63..f7adbbec36f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStubSettings.java index 133a6b5339a7..9b520926ca60 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalForwardingRuleStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStub.java index e3951231c74f..3fa9174f2d9c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStubSettings.java index 1dc97b948e13..54125f13d802 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/GlobalOperationStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStub.java index 3e7064534dc1..9d76b2872586 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStubSettings.java index a31d115f77f6..7ee4a09758a8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HealthCheckStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStub.java index 84676af100df..8858c6194d48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStubSettings.java index aba43fda0d05..22a22f9b553b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpHealthCheckStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java index 12849d1a252e..4cfae18316bd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeStub.java index 597842fdabe8..d65510573ca3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java index 43522b0186e6..69365a14f053 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressStub.java index 7092da29b4c0..5cc0e5614938 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java index 72e927a72753..c809bd99b192 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerStub.java index 5247f8519acd..f0ce30433123 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java index d5c304703394..25f2a59c0cff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketStub.java index a5b31c2f5fb0..67bce61c7446 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java index 2e6d68cd1908..d8c3a181ec7c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceStub.java index ed2b73e20203..e67026c332fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java index 6b35ba6b38f6..26772348f613 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskStub.java index 7ebeaf5fc5eb..689ff9876128 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java index 6408a26b6d3a..928e628b530a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeStub.java index 8831d983a454..cc318524d1fb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java index ad34a00a93a9..16199de782e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallStub.java index 468a6224f60a..f592ee9cc377 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java index d951fb6373f0..3a4bf5f6e844 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleStub.java index f6adf2664a38..03caf5adabbb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java index 7bfc99b5d0a8..62da914a4012 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressStub.java index 2b904500960f..b22c934da4b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java index 8d8918a8af20..584a93b0104b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleStub.java index fa77e0ea9c16..0b34f52ee443 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java index 0b7c72fcd525..b23bc230a52f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationStub.java index ba198e28cb7e..7f8cf57ce81c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java index 8c75c78c8871..6eef2549ec3a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckStub.java index 7a376c55eedd..8b29707770d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java index 38561aff0603..56a61bba2c97 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckStub.java index 5e95d6cba767..8cde8bdfe4ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java index c290e0fc58a7..a34e901537d3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckStub.java index 6005410adb56..ae64022b6cf4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java index 2ab8f66e8e7b..143b1de15f99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageStub.java index 8e3b546e0df4..c946d32c9fce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.java index 4866cc448499..1c68f61d2dbf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupCallableFactory.java index 248810e6f9cd..8247b0fa6708 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerCallableFactory.java index 1472a24b1411..5f26d7a7eeee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java index 62fb100df4d6..eb51bbde5a80 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupStub.java index 788a010acc13..698fa8df33b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceStub.java index 4039e7308bc2..0e54b2f419eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateCallableFactory.java index fa0f1dca2b34..eb1d219984ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateStub.java index cc138ffb68ee..0a6549a48fa6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentCallableFactory.java index 719bc7630711..5e7ed80b7b6b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentStub.java index 75d2bc61be28..cfac96c1de41 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectCallableFactory.java index 900ee9f7070b..005b9bc35e25 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationCallableFactory.java index 163d3fc8f470..8b8bdc9a3f46 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationStub.java index e8c631e04b58..5f9e8cb11cfb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectStub.java index c6f3c1b007cb..a3b8c7c66fea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCallableFactory.java index 9209664298a0..347d5fbe9dcd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeCallableFactory.java index 214b28ee2a1a..851adb6dc07e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeStub.java index 6d6cb808fb5d..5b87604900db 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseStub.java index b9365d99a919..9b34a9667d73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeCallableFactory.java index c7bf6f0a3188..cdbb974f6936 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeStub.java index 3481d3b7a886..b927c97a0891 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkCallableFactory.java index f693074eb19a..bf5a46c9941c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkStub.java index e6749f921a7b..33d352747e58 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupCallableFactory.java index 804cb153875f..f13957c45b0c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupStub.java index f90843cda444..69e6cabc81d9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateCallableFactory.java index 7b7a640fb586..d1945ac2207a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateStub.java index 2120f6bd9abe..fdcb15ac394b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeCallableFactory.java index 9c48a3455a42..3507770f5f95 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeStub.java index 04aaa41fdc04..e4582dd762a0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectCallableFactory.java index d89c6781bf52..8c4f2a3843ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectStub.java index 756ce5f85529..8c5ba3d6f86d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerCallableFactory.java index d91f04332155..028dd7ee0d48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerStub.java index 14edae389a0e..bba45e3c6b1d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceCallableFactory.java index 48330cb23652..33b0dbe1575f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceStub.java index dda6e4aa0ab3..bba503ee377e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCallableFactory.java index 6c2a461e2d6e..a4f59c2af3b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentCallableFactory.java index 5654591bd723..ee7033a26498 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentStub.java index 5dfe80b2b250..f663e13f1027 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskCallableFactory.java index ee8812df9c2c..75d069e610d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskStub.java index da608a53ae8c..4acf4f0ca240 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeCallableFactory.java index c6e1622f287e..19cac958665a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeStub.java index ea333312e0fa..a709c89e6159 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupCallableFactory.java index 6bc9048c077d..f6cf1a937e52 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerCallableFactory.java index adec8f036bd9..1d3cc2486d7a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java index 9db073010795..ef39cdfb0ef9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupStub.java index a3449b0d5f30..6146a000a984 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationCallableFactory.java index 4d229d0d4f04..25091b74575e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationStub.java index b29c529b77b9..45541f5760e3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionStub.java index 873fb2367dac..06f60eb75023 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteCallableFactory.java index 5f56c2801b66..e8fa8bdb5b38 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteStub.java index 1e148d400c27..2fdf0bd0d5c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterCallableFactory.java index 003c575887c0..b875a6777070 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterStub.java index 5b51e625c303..1fabc642a139 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyCallableFactory.java index 937100114a71..4a93225f5329 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java index fadbef26d3e2..088e54bd8495 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotCallableFactory.java index c1390a782351..29e105d62789 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotStub.java index 191fc8d9051b..c63bdf9ec090 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateCallableFactory.java index de7ede7ad904..9adb16e4921e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateStub.java index e1745d8b7bc4..302473618bce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyCallableFactory.java index e3c7f47d3b12..06b68d1c85a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyStub.java index 7d2aa520fa59..eb476c418106 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkCallableFactory.java index 061b00e19d90..47d2c1a62a63 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkStub.java index 2a0338c79237..80cad7918e47 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyCallableFactory.java index 06dccd590665..7f5fae37970a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyStub.java index 9b774747118b..44ed155a14f6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyCallableFactory.java index 8648d3de3d4d..d1901422ed86 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyStub.java index 019cd7079deb..3fbe48b0d04c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceCallableFactory.java index 59045c2cfc38..f7edec6f9894 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceStub.java index 6c72a4757756..016b8839ef02 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolCallableFactory.java index cd90fcb13ba4..5b81d1ea2886 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolStub.java index 4f7711c7a176..0ff9945df4eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyCallableFactory.java index f21ed3ad7be5..e666655bc1c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyStub.java index ed85e9da385d..12e1ef4be84c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyCallableFactory.java index 02ba0c5f433d..f355beddcac3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyStub.java index f9730e9be9ad..5fe962bde06f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayCallableFactory.java index 17d1d515a875..46b4a202bd21 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayStub.java index fecf358a7ac4..acad41daa6da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapCallableFactory.java index 9567bd5ddb95..ab9bd4cbe8e9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapStub.java index e50d38214193..d5bbf9fa0bfb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelCallableFactory.java index 2d0cdcfdb55c..96616805bbbe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelStub.java index f5c8756cc4a8..05812a8a9ff4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneCallableFactory.java index 03605bbea89c..c48aee25f81c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationCallableFactory.java index ecd6e00616c9..572e3f39edba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationStub.java index 76ecb0954782..755fa09a8df5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneStub.java index 2e5d57eedf72..a7727977fcb4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStub.java index fd8c36e81bdb..c3b6218c1139 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStubSettings.java index 2694c7227633..3dc2a7f4be90 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpsHealthCheckStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStub.java index 0b7430c27f2a..d9ba6a8583a0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStubSettings.java index 5383bcb8957c..aa939c97d53c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ImageStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java index 202d852ce5a1..52517c11d822 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java index 9befca23171d..0e1aad903d62 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStub.java index 077ebf34ec5c..b2cca5bba6fd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStubSettings.java index 9a0b784a7d69..a7d55573eb55 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStub.java index 0a121dcb46b4..e06e430fa527 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStubSettings.java index 2c07e4469c1a..89dc19dc04e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStub.java index 6826da8ccf02..c92f7c018a8f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStubSettings.java index 65d938e29e3d..929ef444f52f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceTemplateStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStub.java index fa2a25772671..1b0da50e79bc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStubSettings.java index 4533c0858da6..314631ec2407 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectAttachmentStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStub.java index f10640d33bb3..10ef9ce583b0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStubSettings.java index 59ddb4a7ace1..cb4102fa7a6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectLocationStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStub.java index cb307e07bb6b..c2f7c771b9a6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStubSettings.java index baa6c7f13a43..d1654a486734 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InterconnectStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStub.java index e2f43b1fa349..0953d497a039 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStubSettings.java index 70ffc2ff4679..94aa9d5638e4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseCodeStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStub.java index da237b0d97ef..72a9eb167991 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStubSettings.java index 94f1403e37ea..dcae267c4ab3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStub.java index 3890bfb9c6c9..005a14016c08 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStubSettings.java index 191d7d92064e..a80e74da40cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/MachineTypeStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStub.java index e46a6238a8aa..0209b2a07de1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStubSettings.java index 900d2f55491f..bf57d324473c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStub.java index 10555e25c1a2..8960e25088d4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStubSettings.java index 431aba42d04f..d3efef6d7dc1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStub.java index 34cc37c2361d..b85f5710d2d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStubSettings.java index 00fca4cbf9b0..63f18b45a8c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTemplateStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStub.java index 70bc6a0de1aa..d77ecc60fdbe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStubSettings.java index 226118fd1eaa..c72ddfdb75a5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeTypeStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStub.java index e72422cf47cf..a5afbd05c9ee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStubSettings.java index d3d074097895..2bac85100c40 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ProjectStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStub.java index c83d400d32ae..8db346166822 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStubSettings.java index 5ec4668c2bd8..bbcd2eb3d03a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionAutoscalerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStub.java index b10c28c713fe..4b725dfe9527 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStubSettings.java index 63bfddaba331..8c6f3090b032 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionBackendServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStub.java index f7af537a7fb7..2d2c7f95963e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStubSettings.java index f735f227ba65..0086e52824a1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionCommitmentStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStub.java index 50b83ed2fc9c..5d84d47fc357 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStubSettings.java index 60d74ec4f644..4351304b56f8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStub.java index 3ef40332f420..0e7001d360c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStubSettings.java index 40502bd0ea35..fe6cbd5f0d48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionDiskTypeStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java index f349acbf4047..1e4f2e54eb49 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java index 4019d1794252..224d88b85f24 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStub.java index a885aef44fac..ff7a5de24ec3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStubSettings.java index 39248c040488..43f3dfc8ac75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStub.java index de3eb337a809..825ab26e68e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStubSettings.java index bf56763152c7..f1c24a5e7ebf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionOperationStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStub.java index 6bcf9a4e29fa..f88d2280834e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStubSettings.java index 6768a9123426..a86f4c0f3ecb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStub.java index a39b9b670eeb..956aae024656 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStubSettings.java index 5aeabc21a44b..f37eaeee99a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouteStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStub.java index 9a305410d015..0bbfb0d71dce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStubSettings.java index e3db468eee36..02b70357c5f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RouterStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java index 0d05e66228cd..807fd5060952 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java index 9ecc91ce4926..49db0551ec34 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStub.java index 77e8df4b6ca7..824164e3a28e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStubSettings.java index 48d3e6f24c55..7ad014ccf692 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SnapshotStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStub.java index 5faa091d4e6c..3e820287742d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStubSettings.java index 45ab2f27c809..fb736590ccfc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslCertificateStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStub.java index dbf578db3371..162443fd6418 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStubSettings.java index 501adab34abb..b9a67d66870c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SslPolicyStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStub.java index 45893df4e72b..1980048c428a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStubSettings.java index e1ba250980cd..6d892da84215 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SubnetworkStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStub.java index 60b9a7405540..275dc5133f18 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStubSettings.java index 261830f6f919..fcf84df01b87 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpProxyStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStub.java index 7a22014425f9..6e41b579ebe2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStubSettings.java index d6f18f92aa11..e5afe66bfbcf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetHttpsProxyStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStub.java index 733993de1451..d57a48cfcc29 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStubSettings.java index f14eccf1b0c9..ba1e2feb85bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetInstanceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStub.java index 1124cae057b4..cc0b3a9fe79e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStubSettings.java index 49c25403f7bf..604bea73078c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetPoolStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStub.java index 4197e356e044..e08d1a566eac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStubSettings.java index 2dac91a9f672..8bd70734100d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetSslProxyStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStub.java index 4c6a492564a1..c30a2026807d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStubSettings.java index d79a1b414656..81e42575a183 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetTcpProxyStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStub.java index aa8b3f9d2150..93ab073a4505 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStubSettings.java index 2616df0fa097..51ed7223273a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/TargetVpnGatewayStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStub.java index 2e5980d94ee1..fa86b6d1cd0e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStubSettings.java index 6127ec98aca7..0042d4c4c708 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/UrlMapStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStub.java index 0d606eb8e489..88dd0fbbe80b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStubSettings.java index d4028c69474d..be2a5c4d3de3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/VpnTunnelStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStub.java index b7c536fee7c6..64caca8766f5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStubSettings.java index cb5d1499bd1d..6c99dad00922 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneOperationStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStub.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStub.java index 75f8b4c3032d..4178683633dd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStub.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStubSettings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStubSettings.java index b797979493ef..2cdd0202e82e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStubSettings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ZoneStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AcceleratorTypeClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AcceleratorTypeClientTest.java index 848698f72f2a..8962f17f0491 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AcceleratorTypeClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AcceleratorTypeClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressClientTest.java index f9e139fe791c..c36a81a4ff3e 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalerClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalerClientTest.java index 6caa9063fb9d..094588d075dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalerClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketClientTest.java index 2a16c128a237..e0175e0fe094 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServiceClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServiceClientTest.java index 3b4e41928dbf..caef050619f6 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServiceClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskClientTest.java index 5ac3d355a3ed..1a19c5c59a4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskTypeClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskTypeClientTest.java index 303948a87267..fa24bc21ca3c 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskTypeClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DiskTypeClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallClientTest.java index 9cc16b22ef72..b000a48f3f0f 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java index 1bc88a41c7d6..7bcb49353645 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressClientTest.java index e119656eea9a..3e1471aaf21c 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java index 2084afe1422e..eb92bfd76e83 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationClientTest.java index 0bda5aacd61d..9227dadaef84 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthCheckClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthCheckClientTest.java index b2acb5aba1ec..83b79f867534 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthCheckClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthCheckClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpHealthCheckClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpHealthCheckClientTest.java index 9fe0d57c26df..744668a725a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpHealthCheckClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpHealthCheckClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpsHealthCheckClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpsHealthCheckClientTest.java index dc6e9235a9d2..597b5a9f5c1e 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpsHealthCheckClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HttpsHealthCheckClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImageClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImageClientTest.java index e4c1f31f34a5..db3b6e1a3a2e 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImageClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImageClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java index 6f15af28ae58..55611efc3005 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupClientTest.java index 8505995a144c..af1ee4f7fb90 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java index 1b889128a7e0..78b7e7d2950d 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplateClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplateClientTest.java index dfe4cca95bf3..a064d105473b 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplateClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplateClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentClientTest.java index 9c18f2ea05ed..d2b3a68a9b61 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectClientTest.java index edfe19f356c2..8b1fc0ef70ef 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java index 489b69546dab..26c121f06bd2 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseClientTest.java index 4a3efc681b37..a8601f219967 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseCodeClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseCodeClientTest.java index 23764baf9d25..2154dd22e074 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseCodeClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicenseCodeClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineTypeClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineTypeClientTest.java index de27b3841cd7..922adb0b092e 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineTypeClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineTypeClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkClientTest.java index fffa60668205..544902c5ad13 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupClientTest.java index fd4cd32c0f50..7830a65b8731 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplateClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplateClientTest.java index b9e53bd1506c..f43dd7ec6191 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplateClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplateClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTypeClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTypeClientTest.java index 5e5dc1102bce..f492faf29f5a 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTypeClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTypeClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectClientTest.java index fc012079019c..d8e0c9de7d6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalerClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalerClientTest.java index 11c69c56904c..da291a0dacaa 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalerClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServiceClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServiceClientTest.java index 8ec0980a4ea2..584bb8ea50bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServiceClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionClientTest.java index 898958f3a4a5..0eb0666a1718 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentClientTest.java index 0eb4b183c734..7141e939bb43 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskClientTest.java index 211cbf186c95..eed7b29ae388 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskTypeClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskTypeClientTest.java index 811216befd96..69f1106a512b 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskTypeClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDiskTypeClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupClientTest.java index 7047fc233333..c28ef2257772 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java index 8c663dbc365e..d1d9a987f70e 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationClientTest.java index 5662ccc3fc6f..6eb9d7ad28e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouteClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouteClientTest.java index afbe64a60e2a..c35e2d34253d 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouteClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouteClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouterClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouterClientTest.java index f93e7bb2d6df..a44f43aaf040 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouterClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RouterClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java index 2d9fc69a38ac..3bf4a1628b63 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotClientTest.java index 4c96e6e8dada..ae2c62192d86 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificateClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificateClientTest.java index 38146e8cc8ae..ce29dc061bf6 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificateClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificateClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPolicyClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPolicyClientTest.java index e7a813b35093..6b5dce859567 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPolicyClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPolicyClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworkClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworkClientTest.java index a93c7e7df650..bcd1aea48d0a 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworkClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworkClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxyClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxyClientTest.java index cc80d961bc98..c89383fdecf1 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxyClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxyClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxyClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxyClientTest.java index 22d4e617755a..1aa81a8fab64 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxyClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxyClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstanceClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstanceClientTest.java index 9eb37dcebe8b..5b3c13b8841b 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstanceClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstanceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolClientTest.java index 26cd0eb2b691..b1c9e7e4e39d 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxyClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxyClientTest.java index 3b650b1bff9d..4283c4c670b0 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxyClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxyClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxyClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxyClientTest.java index 7c56ffccbb68..c422fa0df499 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxyClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxyClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewayClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewayClientTest.java index e380f9d218bf..a37e859c36e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewayClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewayClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapClientTest.java index 959c60a4991e..f7a3e92d9d34 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelClientTest.java index e396fc5e0ee7..277c15f8343f 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneClientTest.java index e4831b42ec6e..dcbec1c63f80 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationClientTest.java index 1a189d2b9e30..bb7b9099db98 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-compute/synth.metadata b/google-cloud-clients/google-cloud-compute/synth.metadata index c9c3aef4a486..431ce8724ba7 100644 --- a/google-cloud-clients/google-cloud-compute/synth.metadata +++ b/google-cloud-clients/google-cloud-compute/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2019-01-11T08:36:38.993872Z", + "updateTime": "2019-01-17T08:37:47.445365Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "8349004ea788d5abad27dc84761eb94ea3e6fc86" + "sha": "01b82d5d2308f7e0f342d9303e173bd6381607e4" } }, { "generator": { "name": "artman", - "version": "0.16.5", - "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + "version": "0.16.6", + "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" } } ] From 273850260eb3999bfca8df942b4479b055b77222 Mon Sep 17 00:00:00 2001 From: elisheva-qlogic <43041115+elisheva-qlogic@users.noreply.github.com> Date: Fri, 18 Jan 2019 10:46:01 -0500 Subject: [PATCH 37/90] Cloud Bigtable: tableAdmin sample (#4313) * tableAdmin sample and tests * comments added * files renamed and other edits * some changes in TableAdminExample and tests * fixed timestamp to base 16 * separate properties for bigtable.project and bigtable.instance --- .../examples/bigtable/TableAdminExample.java | 386 ++++++++++++++++++ .../bigtable/ITTableAdminExample.java | 226 ++++++++++ 2 files changed, 612 insertions(+) create mode 100644 google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/TableAdminExample.java create mode 100644 google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITTableAdminExample.java diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/TableAdminExample.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/TableAdminExample.java new file mode 100644 index 000000000000..23f7996ec745 --- /dev/null +++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/bigtable/TableAdminExample.java @@ -0,0 +1,386 @@ +/* + * Copyright 2019 Google LLC. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.examples.bigtable; + +import static com.google.cloud.bigtable.admin.v2.models.GCRules.GCRULES; + +import com.google.api.gax.rpc.AlreadyExistsException; +import com.google.api.gax.rpc.NotFoundException; +import com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient; +import com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings; +import com.google.cloud.bigtable.admin.v2.models.ColumnFamily; +import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest; +import com.google.cloud.bigtable.admin.v2.models.GCRules.DurationRule; +import com.google.cloud.bigtable.admin.v2.models.GCRules.IntersectionRule; +import com.google.cloud.bigtable.admin.v2.models.GCRules.UnionRule; +import com.google.cloud.bigtable.admin.v2.models.GCRules.VersionRule; +import com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest; +import com.google.cloud.bigtable.admin.v2.models.Table; +import java.io.IOException; +import java.util.Collection; +import java.util.List; +import java.util.concurrent.TimeUnit; + +/** + * An example of using Google Cloud Bigtable. + * + *

This example demonstrates the usage of BigtableTableAdminClient to create, configure and + * delete a Cloud Bigtable table. + * + *

    + *
  • creates table + *
  • lists all tables + *
  • gets table metadata + *
  • creates DurationRule + *
  • creates VersionRule + *
  • creates UnionRule + *
  • creates IntersectionRule + *
  • creates nested rule + *
  • lists column families + *
  • modifies column family rule + *
  • prints modified column family + *
  • deletes column family + *
  • deletes table + *
+ */ +public class TableAdminExample { + + private static final String COLUMN_FAMILY_1 = "cf1"; + private static final String COLUMN_FAMILY_2 = "cf2"; + private static final String COLUMN_FAMILY_3 = "cf3"; + private static final String COLUMN_FAMILY_4 = "cf4"; + private static final String COLUMN_FAMILY_5 = "cf5"; + private final String tableId; + private final BigtableTableAdminClient adminClient; + + public static void main(String[] args) throws IOException { + + if (args.length != 2) { + System.out.println("Missing required project id or instance id"); + return; + } + String projectId = args[0]; + String instanceId = args[1]; + + TableAdminExample tableAdmin = new TableAdminExample(projectId, instanceId, "test-table"); + tableAdmin.run(); + } + + public TableAdminExample(String projectId, String instanceId, String tableId) throws IOException { + this.tableId = tableId; + + // [START connecting_to_bigtable] + // Creates the settings to configure a bigtable table admin client. + BigtableTableAdminSettings adminSettings = + BigtableTableAdminSettings.newBuilder() + .setProjectId(projectId) + .setInstanceId(instanceId) + .build(); + + // Creates a bigtable table admin client. + adminClient = BigtableTableAdminClient.create(adminSettings); + // [END connecting_to_bigtable] + } + + public void run() { + createTable(); + listAllTables(); + getTableMeta(); + addFamilyWithMaxAgeRule(); + addFamilyWithMaxVersionsRule(); + addFamilyWithUnionRule(); + addFamilyWithIntersectionRule(); + addFamilyWithNestedRule(); + listColumnFamilies(); + modifyColumnFamilyRule(); + printModifiedColumnFamily(); + deleteColumnFamily(); + deleteTable(); + adminClient.close(); + } + + /** Demonstrates how to create a table with the specified configuration. */ + public void createTable() { + // [START bigtable_create_table] + // Checks if table exists, creates table if does not exist. + if (!adminClient.exists(tableId)) { + System.out.println("Table does not exist, creating table: " + tableId); + CreateTableRequest createTableRequest = CreateTableRequest.of(tableId).addFamily("cf"); + Table table = adminClient.createTable(createTableRequest); + System.out.printf("Table: %s created successfully%n", table.getId()); + } + // [END bigtable_create_table] + } + + /** Demonstrates how to list all tables within an instance. */ + public void listAllTables() { + System.out.println("\nListing tables in current instance"); + // [START bigtable_list_tables] + // Lists tables in the current instance. + try { + List tableIds = adminClient.listTables(); + for (String tableId : tableIds) { + System.out.println(tableId); + } + } catch (NotFoundException e) { + System.err.println("Failed to list tables from a non-existent instance: " + e.getMessage()); + } + // [END bigtable_list_tables] + } + + /** Demonstrates how to get a table's metadata. */ + public void getTableMeta() { + System.out.println("\nPrinting table metadata"); + // [START bigtable_get_table_metadata] + // Gets table metadata, and applies a view to the table fields. + try { + Table table = adminClient.getTable(tableId); + System.out.println("Table: " + table.getId()); + Collection columnFamilies = table.getColumnFamilies(); + for (ColumnFamily columnFamily : columnFamilies) { + System.out.printf( + "Column family: %s%nGC Rule: %s%n", + columnFamily.getId(), columnFamily.getGCRule().toString()); + } + } catch (NotFoundException e) { + System.err.println( + "Failed to retrieve table metadata for a non-existent table: " + e.getMessage()); + } + // [END bigtable_get_table_metadata] + } + + /** Demonstrates how to create a new instance of the DurationRule. */ + public void addFamilyWithMaxAgeRule() { + System.out.printf("%nCreating column family %s with max age GC rule%n", COLUMN_FAMILY_1); + // [START bigtable_create_family_gc_max_age] + // Creates a column family with GC policy : maximum age + // where age = current time minus cell timestamp + + // Defines the GC rule to retain data with max age of 5 days. + DurationRule maxAgeRule = GCRULES.maxAge(5, TimeUnit.DAYS); + + // Creates column family with given GC rule. + try { + // ModifyColumnFamiliesRequest can be used both for adding and modifying families, here it is + // being used to add a family + ModifyColumnFamiliesRequest columnFamiliesRequest = + ModifyColumnFamiliesRequest.of(tableId).addFamily(COLUMN_FAMILY_1, maxAgeRule); + adminClient.modifyFamilies(columnFamiliesRequest); + System.out.println("Created column family: " + COLUMN_FAMILY_1); + } catch (AlreadyExistsException e) { + System.err.println( + "Failed to create column family with rule, already exists: " + e.getMessage()); + } + // [END bigtable_create_family_gc_max_age] + } + + /** Demonstrates how to create a new instance of the VersionRule. */ + public void addFamilyWithMaxVersionsRule() { + System.out.printf("%nCreating column family %s with max versions GC rule%n", COLUMN_FAMILY_2); + // [START bigtable_create_family_gc_max_versions] + // Creates a column family with GC policy : most recent N versions + // where 1 = most recent version + + // Defines the GC policy to retain only the most recent 2 versions. + VersionRule versionRule = GCRULES.maxVersions(2); + + // Creates column family with given GC rule. + try { + // ModifyColumnFamiliesRequest can be used both for adding and modifying families, here it is + // being used to add a family + ModifyColumnFamiliesRequest columnFamiliesRequest = + ModifyColumnFamiliesRequest.of(tableId).addFamily(COLUMN_FAMILY_2, versionRule); + adminClient.modifyFamilies(columnFamiliesRequest); + System.out.println("Created column family: " + COLUMN_FAMILY_2); + } catch (AlreadyExistsException e) { + System.err.println( + "Failed to create column family with rule, already exists: " + e.getMessage()); + } + // [END bigtable_create_family_gc_max_versions] + } + + /** Demonstrates how to create a new instance of the UnionRule. */ + public void addFamilyWithUnionRule() { + System.out.printf("%nCreating column family %s with union GC rule%n", COLUMN_FAMILY_3); + // [START bigtable_create_family_gc_union] + // Creates a column family with GC policy to drop data that matches at least one condition. + + // Defines a list of GC rules to drop cells older than 5 days OR not the most recent + // version. + UnionRule unionRule = + GCRULES.union().rule(GCRULES.maxAge(5, TimeUnit.DAYS)).rule(GCRULES.maxVersions(1)); + + // Creates column family with given GC rule. + try { + // ModifyColumnFamiliesRequest can be used both for adding and modifying families, here it is + // being used to add a family + ModifyColumnFamiliesRequest columnFamiliesRequest = + ModifyColumnFamiliesRequest.of(tableId).addFamily(COLUMN_FAMILY_3, unionRule); + adminClient.modifyFamilies(columnFamiliesRequest); + System.out.println("Created column family: " + COLUMN_FAMILY_3); + } catch (AlreadyExistsException e) { + System.err.println( + "Failed to create column family with rule, already exists: " + e.getMessage()); + } + // [END bigtable_create_family_gc_union] + } + + /** Demonstrates how to create a new instance of the IntersectionRule. */ + public void addFamilyWithIntersectionRule() { + System.out.printf("%nCreating column family %s with intersection GC rule%n", COLUMN_FAMILY_4); + // [START bigtable_create_family_gc_intersection] + // Creates a column family with GC policy to drop data that matches all conditions. + + // Defines a GC rule to drop cells older than 5 days AND older than the most recent 2 versions. + DurationRule maxAgeRule = GCRULES.maxAge(5, TimeUnit.DAYS); + VersionRule versionRule = GCRULES.maxVersions(2); + IntersectionRule intersectionRule = GCRULES.intersection().rule(maxAgeRule).rule(versionRule); + + // Creates column family with given GC rule. + try { + // ModifyColumnFamiliesRequest can be used both for adding and modifying families, here it is + // being used to add a family + ModifyColumnFamiliesRequest columnFamiliesRequest = + ModifyColumnFamiliesRequest.of(tableId).addFamily(COLUMN_FAMILY_4, intersectionRule); + adminClient.modifyFamilies(columnFamiliesRequest); + System.out.println("Created column family: " + COLUMN_FAMILY_4); + } catch (AlreadyExistsException e) { + System.err.println( + "Failed to create column family with rule, already exists: " + e.getMessage()); + } + // [END bigtable_create_family_gc_intersection] + } + + /** Demonstrates how to create a nested rule using the IntersectionRule and UnionRule. */ + public void addFamilyWithNestedRule() { + System.out.printf("%nCreating column family %s with a nested GC rule%n", COLUMN_FAMILY_5); + // [START bigtable_create_family_gc_nested] + // Creates a nested GC rule: + // Drop cells that are either older than the 10 recent versions + // OR + // Drop cells that are older than a month AND older than the 2 recent versions + VersionRule versionRule1 = GCRULES.maxVersions(10); + VersionRule versionRule2 = GCRULES.maxVersions(2); + DurationRule maxAgeRule = GCRULES.maxAge(30, TimeUnit.DAYS); + IntersectionRule intersectionRule = GCRULES.intersection().rule(maxAgeRule).rule(versionRule2); + UnionRule unionRule = GCRULES.union().rule(intersectionRule).rule(versionRule1); + + // Creates column family with given GC rule. + try { + // ModifyColumnFamiliesRequest can be used both for adding and modifying families, here it is + // being used to add a family + ModifyColumnFamiliesRequest columnFamiliesRequest = + ModifyColumnFamiliesRequest.of(tableId).addFamily(COLUMN_FAMILY_5, unionRule); + adminClient.modifyFamilies(columnFamiliesRequest); + System.out.println("Created column family: " + COLUMN_FAMILY_5); + } catch (AlreadyExistsException e) { + System.err.println( + "Failed to create column family with rule, already exists: " + e.getMessage()); + } + // [END bigtable_create_family_gc_nested] + } + + /** Demonstrates how to list a table's column families. */ + public void listColumnFamilies() { + System.out.println("\nPrinting ID and GC Rule for all column families"); + // [START bigtable_list_column_families] + // Lists all families in the table with GC rules. + try { + Table table = adminClient.getTable(tableId); + Collection columnFamilies = table.getColumnFamilies(); + for (ColumnFamily columnFamily : columnFamilies) { + System.out.printf( + "Column family: %s%nGC Rule: %s%n", + columnFamily.getId(), columnFamily.getGCRule().toString()); + } + } catch (NotFoundException e) { + System.err.println( + "Failed to list column families from a non-existent table: " + e.getMessage()); + } + // [END bigtable_list_column_families] + } + + /** Demonstrates how to modify a column family's rule. */ + public void modifyColumnFamilyRule() { + System.out.printf("%nUpdating column family %s GC rule%n", COLUMN_FAMILY_1); + // [START bigtable_update_gc_rule] + // Updates the column family metadata to update the GC rule. + // Updates a column family GC rule. + VersionRule versionRule = GCRULES.maxVersions(1); + try { + // ModifyColumnFamiliesRequest can be used both for adding and modifying families, here it is + // being used to modify a family + // Updates column family with given GC rule. + ModifyColumnFamiliesRequest updateRequest = + ModifyColumnFamiliesRequest.of(tableId).updateFamily(COLUMN_FAMILY_1, versionRule); + adminClient.modifyFamilies(updateRequest); + System.out.printf("Column family %s GC rule updated%n", COLUMN_FAMILY_1); + } catch (NotFoundException e) { + System.err.println("Failed to modify a non-existent column family: " + e.getMessage()); + } + // [END bigtable_update_gc_rule] + } + + /** Demonstrates how to print the modified column family. */ + public void printModifiedColumnFamily() { + System.out.printf("%nPrint updated GC rule for column family %s%n", COLUMN_FAMILY_1); + // [START bigtable_family_get_gc_rule] + try { + Table table = adminClient.getTable(tableId); + Collection columnFamilies = table.getColumnFamilies(); + for (ColumnFamily columnFamily : columnFamilies) { + if (columnFamily.getId().equals(COLUMN_FAMILY_1)) { + System.out.printf( + "Column family: %s%nGC Rule: %s%n", + columnFamily.getId(), columnFamily.getGCRule().toString()); + } + } + } catch (NotFoundException e) { + System.err.println("Failed to print a non-existent column family: " + e.getMessage()); + } + // [END bigtable_family_get_gc_rule] + } + + /** Demonstrates how to delete a column family. */ + public void deleteColumnFamily() { + System.out.println("\nDelete column family: " + COLUMN_FAMILY_2); + // [START bigtable_delete_family] + // Deletes a column family. + try { + ModifyColumnFamiliesRequest deleted = + ModifyColumnFamiliesRequest.of(tableId).dropFamily(COLUMN_FAMILY_2); + adminClient.modifyFamilies(deleted); + System.out.printf("Column family %s deleted successfully%n", COLUMN_FAMILY_2); + } catch (NotFoundException e) { + System.err.println("Failed to delete a non-existent column family: " + e.getMessage()); + } + // [END bigtable_delete_family] + } + + /** Demonstrates how to delete a table. */ + public void deleteTable() { + // [START bigtable_delete_table] + // Deletes the entire table. + System.out.println("\nDelete table: " + tableId); + try { + adminClient.deleteTable(tableId); + System.out.printf("Table: %s deleted successfully%n", tableId); + } catch (NotFoundException e) { + System.err.println("Failed to delete a non-existent table: " + e.getMessage()); + } + // [END bigtable_delete_table] + } +} diff --git a/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITTableAdminExample.java b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITTableAdminExample.java new file mode 100644 index 000000000000..1ad916822017 --- /dev/null +++ b/google-cloud-examples/src/test/java/com/google/cloud/examples/bigtable/ITTableAdminExample.java @@ -0,0 +1,226 @@ +/* + * Copyright 2019 Google LLC. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.examples.bigtable; + +import static com.google.cloud.bigtable.admin.v2.models.GCRules.GCRULES; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient; +import com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings; +import com.google.cloud.bigtable.admin.v2.models.ColumnFamily; +import com.google.cloud.bigtable.admin.v2.models.CreateTableRequest; +import com.google.cloud.bigtable.admin.v2.models.GCRules.DurationRule; +import com.google.cloud.bigtable.admin.v2.models.GCRules.GCRule; +import com.google.cloud.bigtable.admin.v2.models.GCRules.IntersectionRule; +import com.google.cloud.bigtable.admin.v2.models.GCRules.UnionRule; +import com.google.cloud.bigtable.admin.v2.models.GCRules.VersionRule; +import java.io.IOException; +import java.util.List; +import java.util.Random; +import java.util.concurrent.TimeUnit; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.AssumptionViolatedException; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +/** Integration tests for {@link TableAdminExample} */ +public class ITTableAdminExample { + + private static final String PROJECT_PROPERTY_NAME = "bigtable.project"; + private static final String INSTANCE_PROPERTY_NAME = "bigtable.instance"; + private static final String TABLE_PREFIX = "table"; + private static BigtableTableAdminClient adminClient; + private static String instanceId; + private static String projectId; + private String tableId; + private TableAdminExample tableAdmin; + + @BeforeClass + public static void beforeClass() throws IOException { + projectId = System.getProperty(PROJECT_PROPERTY_NAME); + instanceId = System.getProperty(INSTANCE_PROPERTY_NAME); + if (projectId == null || instanceId == null) { + adminClient = null; + return; + } + BigtableTableAdminSettings adminSettings = + BigtableTableAdminSettings.newBuilder() + .setInstanceId(instanceId) + .setProjectId(projectId) + .build(); + adminClient = BigtableTableAdminClient.create(adminSettings); + } + + @AfterClass + public static void afterClass() { + garbageCollect(); + adminClient.close(); + } + + @Before + public void setup() throws IOException { + if (adminClient == null) { + throw new AssumptionViolatedException( + INSTANCE_PROPERTY_NAME + + " or " + + PROJECT_PROPERTY_NAME + + " property is not set, skipping integration tests."); + } + tableId = generateTableId(); + tableAdmin = new TableAdminExample(projectId, instanceId, tableId); + adminClient.createTable(CreateTableRequest.of(tableId).addFamily("cf")); + } + + @After + public void after() { + if (adminClient.exists(tableId)) { + adminClient.deleteTable(tableId); + } + } + + @Test + public void testCreateAndDeleteTable() throws IOException { + // Creates a table. + String testTable = generateTableId(); + TableAdminExample testTableAdmin = new TableAdminExample(projectId, instanceId, testTable); + testTableAdmin.createTable(); + assertTrue(adminClient.exists(testTable)); + + // Deletes a table. + testTableAdmin.deleteTable(); + assertFalse(adminClient.exists(testTable)); + } + + @Test + public void testCreateMaxAgeRuleAndModifyAndPrintColumnFamily() { + // Max age rule + tableAdmin.addFamilyWithMaxAgeRule(); + DurationRule maxAgeCondition = GCRULES.maxAge(5, TimeUnit.DAYS); + boolean maxAgeRule = ruleCheck(maxAgeCondition); + assertTrue(maxAgeRule); + + // Modifies cf1. + tableAdmin.modifyColumnFamilyRule(); + GCRule modifiedRule = GCRULES.maxVersions(1); + boolean maxVersionRule = ruleCheck(modifiedRule); + assertTrue(maxVersionRule); + } + + @Test + public void testCreateMaxVersionsRuleAndDeleteColumnFamily() { + // Max versions rule + tableAdmin.addFamilyWithMaxVersionsRule(); + VersionRule maxVersionCondition = GCRULES.maxVersions(2); + boolean maxVersionRule = ruleCheck(maxVersionCondition); + assertTrue(maxVersionRule); + + // Deletes cf2. + tableAdmin.deleteColumnFamily(); + boolean found = true; + List columnFamilies = adminClient.getTable(tableId).getColumnFamilies(); + for (ColumnFamily columnFamily : columnFamilies) { + if (columnFamily.equals("cf2")) { + found = false; + break; + } + } + assertTrue(found); + } + + @Test + public void testCreateUnionRule() { + // Union rule + tableAdmin.addFamilyWithUnionRule(); + DurationRule maxAgeRule = GCRULES.maxAge(5, TimeUnit.DAYS); + VersionRule versionRule = GCRULES.maxVersions(1); + UnionRule unionCondition = GCRULES.union().rule(maxAgeRule).rule(versionRule); + boolean unionRule = ruleCheck(unionCondition); + assertTrue(unionRule); + } + + @Test + public void testCreateIntersectionRule() { + // Intersection rule + tableAdmin.addFamilyWithIntersectionRule(); + DurationRule maxAgeRule = GCRULES.maxAge(5, TimeUnit.DAYS); + VersionRule versionRule = GCRULES.maxVersions(2); + IntersectionRule intersectionCondition = + GCRULES.intersection().rule(maxAgeRule).rule(versionRule); + boolean intersectionRule = ruleCheck(intersectionCondition); + assertTrue(intersectionRule); + } + + @Test + public void testCreateNestedRule() { + // Nested rule + tableAdmin.addFamilyWithNestedRule(); + VersionRule versionRule = GCRULES.maxVersions(10); + DurationRule maxAgeRule = GCRULES.maxAge(30, TimeUnit.DAYS); + VersionRule versionRule2 = GCRULES.maxVersions(2); + IntersectionRule intersectionRule = GCRULES.intersection().rule(maxAgeRule).rule(versionRule2); + UnionRule nestedCondition = GCRULES.union().rule(intersectionRule).rule(versionRule); + boolean nestedRule = ruleCheck(nestedCondition); + assertTrue(nestedRule); + } + + @Test + public void testRunDoesNotFail() { + tableAdmin.run(); + } + + // TODO: add test for tableAdmin.listAllTables() + // TODO: add test for tableAdmin.getTableMeta() + // TODO: add test for tableAdmin.listColumnFamilies() + + private boolean ruleCheck(GCRule condition) { + boolean found = false; + List columnFamilies = adminClient.getTable(tableId).getColumnFamilies(); + for (ColumnFamily columnFamily : columnFamilies) { + if (columnFamily.getGCRule().equals(condition)) { + found = true; + break; + } + } + return found; + } + + private String generateTableId() { + return String.format( + "%s-%016x-%x", TABLE_PREFIX, System.currentTimeMillis(), new Random().nextLong()); + } + + private static void garbageCollect() { + Pattern timestampPattern = Pattern.compile(TABLE_PREFIX + "-([0-9a-f]+)-([0-9a-f]+)"); + for (String tableId : adminClient.listTables()) { + Matcher matcher = timestampPattern.matcher(tableId); + if (!matcher.matches()) { + continue; + } + String timestampStr = matcher.group(1); + long timestamp = Long.parseLong(timestampStr, 16); + if (System.currentTimeMillis() - timestamp < TimeUnit.MINUTES.toMillis(10)) { + continue; + } + System.out.println("\nGarbage collecting orphaned table: " + tableId); + adminClient.deleteTable(tableId); + } + } +} From 633b9824583357f755266cd5c5836566ffda52fc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 18 Jan 2019 08:55:01 -0800 Subject: [PATCH 38/90] Regenerate scheduler client (#4294) --- .../scheduler/v1beta1/SchedulerProto.java | 8 +- .../scheduler/v1beta1/cloudscheduler.proto | 1 + .../v1beta1/CloudSchedulerClient.java | 363 ++++++++++++------ .../cloud/scheduler/v1beta1/package-info.java | 4 +- .../v1beta1/CloudSchedulerClientTest.java | 94 ++--- .../google-cloud-scheduler/synth.metadata | 35 +- 6 files changed, 320 insertions(+), 185 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java index ef13fc69074d..992a365c68da 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java @@ -108,10 +108,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cheduler.v1beta1.RunJobRequest\032#.google." + "cloud.scheduler.v1beta1.Job\"<\202\323\344\223\0026\"1/v1" + "beta1/{name=projects/*/locations/*/jobs/" - + "*}:run:\001*B\177\n\"com.google.cloud.scheduler." - + "v1beta1B\016SchedulerProtoP\001ZGgoogle.golang" - + ".org/genproto/googleapis/cloud/scheduler" - + "/v1beta1;schedulerb\006proto3" + + "*}:run:\001*B\213\001\n\"com.google.cloud.scheduler" + + ".v1beta1B\016SchedulerProtoP\001ZGgoogle.golan" + + "g.org/genproto/googleapis/cloud/schedule" + + "r/v1beta1;scheduler\242\002\tSCHEDULERb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto index 56390c9df173..f3fa89dcf36a 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto @@ -26,6 +26,7 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1bet option java_multiple_files = true; option java_outer_classname = "SchedulerProto"; option java_package = "com.google.cloud.scheduler.v1beta1"; +option objc_class_prefix = "SCHEDULER"; // The Cloud Scheduler API allows external entities to reliably diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java index 5531160dc63b..1e3a8fffd56c 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java @@ -25,7 +25,6 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.pathtemplate.PathTemplate; import com.google.cloud.scheduler.v1beta1.stub.CloudSchedulerStub; import com.google.cloud.scheduler.v1beta1.stub.CloudSchedulerStubSettings; import com.google.protobuf.Empty; @@ -46,8 +45,8 @@ *
  * 
  * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
- *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
- *   Job response = cloudSchedulerClient.getJob(formattedName);
+ *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+ *   Job response = cloudSchedulerClient.getJob(name);
  * }
  * 
  * 
@@ -108,69 +107,6 @@ public class CloudSchedulerClient implements BackgroundResource { private final CloudSchedulerSettings settings; private final CloudSchedulerStub stub; - private static final PathTemplate PROJECT_PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("projects/{project}"); - - private static final PathTemplate LOCATION_PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("projects/{project}/locations/{location}"); - - private static final PathTemplate JOB_PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("projects/{project}/locations/{location}/jobs/{job}"); - - /** Formats a string containing the fully-qualified path to represent a project resource. */ - public static final String formatProjectName(String project) { - return PROJECT_PATH_TEMPLATE.instantiate("project", project); - } - - /** Formats a string containing the fully-qualified path to represent a location resource. */ - public static final String formatLocationName(String project, String location) { - return LOCATION_PATH_TEMPLATE.instantiate( - "project", project, - "location", location); - } - - /** Formats a string containing the fully-qualified path to represent a job resource. */ - public static final String formatJobName(String project, String location, String job) { - return JOB_PATH_TEMPLATE.instantiate( - "project", project, - "location", location, - "job", job); - } - - /** Parses the project from the given fully-qualified path which represents a project resource. */ - public static final String parseProjectFromProjectName(String projectName) { - return PROJECT_PATH_TEMPLATE.parse(projectName).get("project"); - } - - /** - * Parses the project from the given fully-qualified path which represents a location resource. - */ - public static final String parseProjectFromLocationName(String locationName) { - return LOCATION_PATH_TEMPLATE.parse(locationName).get("project"); - } - - /** - * Parses the location from the given fully-qualified path which represents a location resource. - */ - public static final String parseLocationFromLocationName(String locationName) { - return LOCATION_PATH_TEMPLATE.parse(locationName).get("location"); - } - - /** Parses the project from the given fully-qualified path which represents a job resource. */ - public static final String parseProjectFromJobName(String jobName) { - return JOB_PATH_TEMPLATE.parse(jobName).get("project"); - } - - /** Parses the location from the given fully-qualified path which represents a job resource. */ - public static final String parseLocationFromJobName(String jobName) { - return JOB_PATH_TEMPLATE.parse(jobName).get("location"); - } - - /** Parses the job from the given fully-qualified path which represents a job resource. */ - public static final String parseJobFromJobName(String jobName) { - return JOB_PATH_TEMPLATE.parse(jobName).get("job"); - } - /** Constructs an instance of CloudSchedulerClient with default settings. */ public static final CloudSchedulerClient create() throws IOException { return create(CloudSchedulerSettings.newBuilder().build()); @@ -227,8 +163,33 @@ public CloudSchedulerStub getStub() { * *

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]");
-   *   for (Job element : cloudSchedulerClient.listJobs(formattedParent).iterateAll()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (Job element : cloudSchedulerClient.listJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * 
+ * + * @param parent Required. + *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListJobsPagedResponse listJobs(LocationName parent) { + ListJobsRequest request = + ListJobsRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build(); + return listJobs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists jobs. + * + *

Sample code: + * + *


+   * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (Job element : cloudSchedulerClient.listJobs(parent.toString()).iterateAll()) {
    *     // doThingsWith(element);
    *   }
    * }
@@ -239,7 +200,6 @@ public CloudSchedulerStub getStub() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListJobsPagedResponse listJobs(String parent) {
-    LOCATION_PATH_TEMPLATE.validate(parent, "listJobs");
     ListJobsRequest request = ListJobsRequest.newBuilder().setParent(parent).build();
     return listJobs(request);
   }
@@ -252,9 +212,9 @@ public final ListJobsPagedResponse listJobs(String parent) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]");
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ListJobsRequest request = ListJobsRequest.newBuilder()
-   *     .setParent(formattedParent)
+   *     .setParent(parent.toString())
    *     .build();
    *   for (Job element : cloudSchedulerClient.listJobs(request).iterateAll()) {
    *     // doThingsWith(element);
@@ -277,9 +237,9 @@ public final ListJobsPagedResponse listJobs(ListJobsRequest request) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]");
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ListJobsRequest request = ListJobsRequest.newBuilder()
-   *     .setParent(formattedParent)
+   *     .setParent(parent.toString())
    *     .build();
    *   ApiFuture<ListJobsPagedResponse> future = cloudSchedulerClient.listJobsPagedCallable().futureCall(request);
    *   // Do something
@@ -301,9 +261,9 @@ public final UnaryCallable listJobsPaged
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]");
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ListJobsRequest request = ListJobsRequest.newBuilder()
-   *     .setParent(formattedParent)
+   *     .setParent(parent.toString())
    *     .build();
    *   while (true) {
    *     ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request);
@@ -332,8 +292,32 @@ public final UnaryCallable listJobsCallable()
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
-   *   Job response = cloudSchedulerClient.getJob(formattedName);
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.getJob(name);
+   * }
+   * 
+ * + * @param name Required. + *

The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Job getJob(JobName name) { + + GetJobRequest request = + GetJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets a job. + * + *

Sample code: + * + *


+   * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.getJob(name.toString());
    * }
    * 
* @@ -342,7 +326,7 @@ public final UnaryCallable listJobsCallable() * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job getJob(String name) { - JOB_PATH_TEMPLATE.validate(name, "getJob"); + GetJobRequest request = GetJobRequest.newBuilder().setName(name).build(); return getJob(request); } @@ -355,9 +339,9 @@ public final Job getJob(String name) { * *

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   GetJobRequest request = GetJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   Job response = cloudSchedulerClient.getJob(request);
    * }
@@ -378,9 +362,9 @@ public final Job getJob(GetJobRequest request) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   GetJobRequest request = GetJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   ApiFuture<Job> future = cloudSchedulerClient.getJobCallable().futureCall(request);
    *   // Do something
@@ -400,9 +384,43 @@ public final UnaryCallable getJobCallable() {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]");
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Job job = Job.newBuilder().build();
-   *   Job response = cloudSchedulerClient.createJob(formattedParent, job);
+   *   Job response = cloudSchedulerClient.createJob(parent, job);
+   * }
+   * 
+ * + * @param parent Required. + *

The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. + * @param job Required. + *

The job to add. The user can optionally specify a name for the job in + * [name][google.cloud.scheduler.v1beta1.Job.name]. + * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an existing job. If a + * name is not specified then the system will generate a random unique name that will be + * returned ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Job createJob(LocationName parent, Job job) { + + CreateJobRequest request = + CreateJobRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setJob(job) + .build(); + return createJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Creates a job. + * + *

Sample code: + * + *


+   * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   Job job = Job.newBuilder().build();
+   *   Job response = cloudSchedulerClient.createJob(parent.toString(), job);
    * }
    * 
* @@ -417,7 +435,7 @@ public final UnaryCallable getJobCallable() { * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job createJob(String parent, Job job) { - LOCATION_PATH_TEMPLATE.validate(parent, "createJob"); + CreateJobRequest request = CreateJobRequest.newBuilder().setParent(parent).setJob(job).build(); return createJob(request); } @@ -430,10 +448,10 @@ public final Job createJob(String parent, Job job) { * *

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]");
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Job job = Job.newBuilder().build();
    *   CreateJobRequest request = CreateJobRequest.newBuilder()
-   *     .setParent(formattedParent)
+   *     .setParent(parent.toString())
    *     .setJob(job)
    *     .build();
    *   Job response = cloudSchedulerClient.createJob(request);
@@ -455,10 +473,10 @@ public final Job createJob(CreateJobRequest request) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]");
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Job job = Job.newBuilder().build();
    *   CreateJobRequest request = CreateJobRequest.newBuilder()
-   *     .setParent(formattedParent)
+   *     .setParent(parent.toString())
    *     .setJob(job)
    *     .build();
    *   ApiFuture<Job> future = cloudSchedulerClient.createJobCallable().futureCall(request);
@@ -577,8 +595,32 @@ public final UnaryCallable updateJobCallable() {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
-   *   cloudSchedulerClient.deleteJob(formattedName);
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   cloudSchedulerClient.deleteJob(name);
+   * }
+   * 
+ * + * @param name Required. + *

The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteJob(JobName name) { + + DeleteJobRequest request = + DeleteJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a job. + * + *

Sample code: + * + *


+   * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   cloudSchedulerClient.deleteJob(name.toString());
    * }
    * 
* @@ -587,7 +629,7 @@ public final UnaryCallable updateJobCallable() { * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteJob(String name) { - JOB_PATH_TEMPLATE.validate(name, "deleteJob"); + DeleteJobRequest request = DeleteJobRequest.newBuilder().setName(name).build(); deleteJob(request); } @@ -600,9 +642,9 @@ public final void deleteJob(String name) { * *

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   DeleteJobRequest request = DeleteJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   cloudSchedulerClient.deleteJob(request);
    * }
@@ -623,9 +665,9 @@ public final void deleteJob(DeleteJobRequest request) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   DeleteJobRequest request = DeleteJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   ApiFuture<Void> future = cloudSchedulerClient.deleteJobCallable().futureCall(request);
    *   // Do something
@@ -651,8 +693,38 @@ public final UnaryCallable deleteJobCallable() {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
-   *   Job response = cloudSchedulerClient.pauseJob(formattedName);
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.pauseJob(name);
+   * }
+   * 
+ * + * @param name Required. + *

The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Job pauseJob(JobName name) { + + PauseJobRequest request = + PauseJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return pauseJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Pauses a job. + * + *

If a job is paused then the system will stop executing the job until it is re-enabled via + * [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The state of the job is + * stored in [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set to + * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A job must be in + * [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be paused. + * + *

Sample code: + * + *


+   * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.pauseJob(name.toString());
    * }
    * 
* @@ -661,7 +733,7 @@ public final UnaryCallable deleteJobCallable() { * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job pauseJob(String name) { - JOB_PATH_TEMPLATE.validate(name, "pauseJob"); + PauseJobRequest request = PauseJobRequest.newBuilder().setName(name).build(); return pauseJob(request); } @@ -680,9 +752,9 @@ public final Job pauseJob(String name) { * *

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   PauseJobRequest request = PauseJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   Job response = cloudSchedulerClient.pauseJob(request);
    * }
@@ -709,9 +781,9 @@ public final Job pauseJob(PauseJobRequest request) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   PauseJobRequest request = PauseJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   ApiFuture<Job> future = cloudSchedulerClient.pauseJobCallable().futureCall(request);
    *   // Do something
@@ -737,8 +809,38 @@ public final UnaryCallable pauseJobCallable() {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
-   *   Job response = cloudSchedulerClient.resumeJob(formattedName);
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.resumeJob(name);
+   * }
+   * 
+ * + * @param name Required. + *

The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Job resumeJob(JobName name) { + + ResumeJobRequest request = + ResumeJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return resumeJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Resume a job. + * + *

This method reenables a job after it has been + * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The state of a job is + * stored in [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this method it + * will be set to [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A job + * must be in [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed. + * + *

Sample code: + * + *


+   * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.resumeJob(name.toString());
    * }
    * 
* @@ -747,7 +849,7 @@ public final UnaryCallable pauseJobCallable() { * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job resumeJob(String name) { - JOB_PATH_TEMPLATE.validate(name, "resumeJob"); + ResumeJobRequest request = ResumeJobRequest.newBuilder().setName(name).build(); return resumeJob(request); } @@ -766,9 +868,9 @@ public final Job resumeJob(String name) { * *

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   ResumeJobRequest request = ResumeJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   Job response = cloudSchedulerClient.resumeJob(request);
    * }
@@ -795,9 +897,9 @@ public final Job resumeJob(ResumeJobRequest request) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   ResumeJobRequest request = ResumeJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   ApiFuture<Job> future = cloudSchedulerClient.resumeJobCallable().futureCall(request);
    *   // Do something
@@ -820,8 +922,35 @@ public final UnaryCallable resumeJobCallable() {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
-   *   Job response = cloudSchedulerClient.runJob(formattedName);
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.runJob(name);
+   * }
+   * 
+ * + * @param name Required. + *

The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Job runJob(JobName name) { + + RunJobRequest request = + RunJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return runJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Forces a job to run now. + * + *

When this method is called, Cloud Scheduler will dispatch the job, even if the job is + * already running. + * + *

Sample code: + * + *


+   * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = cloudSchedulerClient.runJob(name.toString());
    * }
    * 
* @@ -830,7 +959,7 @@ public final UnaryCallable resumeJobCallable() { * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job runJob(String name) { - JOB_PATH_TEMPLATE.validate(name, "runJob"); + RunJobRequest request = RunJobRequest.newBuilder().setName(name).build(); return runJob(request); } @@ -846,9 +975,9 @@ public final Job runJob(String name) { * *

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   RunJobRequest request = RunJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   Job response = cloudSchedulerClient.runJob(request);
    * }
@@ -872,9 +1001,9 @@ public final Job runJob(RunJobRequest request) {
    *
    * 

    * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
-   *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
    *   RunJobRequest request = RunJobRequest.newBuilder()
-   *     .setName(formattedName)
+   *     .setName(name.toString())
    *     .build();
    *   ApiFuture<Job> future = cloudSchedulerClient.runJobCallable().futureCall(request);
    *   // Do something
diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java
index 9240aae4f121..4f5848b10f17 100644
--- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java
+++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java
@@ -29,8 +29,8 @@
  * 
  * 
  * try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
- *   String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]");
- *   Job response = cloudSchedulerClient.getJob(formattedName);
+ *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+ *   Job response = cloudSchedulerClient.getJob(name);
  * }
  * 
  * 
diff --git a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java index 4af9b73e8777..25d32eb4356f 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java +++ b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java @@ -87,9 +87,9 @@ public void listJobsTest() { ListJobsResponse.newBuilder().setNextPageToken(nextPageToken).addAllJobs(jobs).build(); mockCloudScheduler.addResponse(expectedResponse); - String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]"); + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - ListJobsPagedResponse pagedListResponse = client.listJobs(formattedParent); + ListJobsPagedResponse pagedListResponse = client.listJobs(parent); List resources = Lists.newArrayList(pagedListResponse.iterateAll()); Assert.assertEquals(1, resources.size()); @@ -99,7 +99,7 @@ public void listJobsTest() { Assert.assertEquals(1, actualRequests.size()); ListJobsRequest actualRequest = (ListJobsRequest) actualRequests.get(0); - Assert.assertEquals(formattedParent, actualRequest.getParent()); + Assert.assertEquals(parent, LocationName.parse(actualRequest.getParent())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -113,9 +113,9 @@ public void listJobsExceptionTest() throws Exception { mockCloudScheduler.addException(exception); try { - String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]"); + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - client.listJobs(formattedParent); + client.listJobs(parent); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -125,29 +125,29 @@ public void listJobsExceptionTest() throws Exception { @Test @SuppressWarnings("all") public void getJobTest() { - String name2 = "name2-1052831874"; + JobName name2 = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); String description = "description-1724546052"; String schedule = "schedule-697920873"; String timeZone = "timeZone36848094"; Job expectedResponse = Job.newBuilder() - .setName(name2) + .setName(name2.toString()) .setDescription(description) .setSchedule(schedule) .setTimeZone(timeZone) .build(); mockCloudScheduler.addResponse(expectedResponse); - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - Job actualResponse = client.getJob(formattedName); + Job actualResponse = client.getJob(name); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockCloudScheduler.getRequests(); Assert.assertEquals(1, actualRequests.size()); GetJobRequest actualRequest = (GetJobRequest) actualRequests.get(0); - Assert.assertEquals(formattedName, actualRequest.getName()); + Assert.assertEquals(name, JobName.parse(actualRequest.getName())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -161,9 +161,9 @@ public void getJobExceptionTest() throws Exception { mockCloudScheduler.addException(exception); try { - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - client.getJob(formattedName); + client.getJob(name); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -173,30 +173,30 @@ public void getJobExceptionTest() throws Exception { @Test @SuppressWarnings("all") public void createJobTest() { - String name = "name3373707"; + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); String description = "description-1724546052"; String schedule = "schedule-697920873"; String timeZone = "timeZone36848094"; Job expectedResponse = Job.newBuilder() - .setName(name) + .setName(name.toString()) .setDescription(description) .setSchedule(schedule) .setTimeZone(timeZone) .build(); mockCloudScheduler.addResponse(expectedResponse); - String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]"); + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); Job job = Job.newBuilder().build(); - Job actualResponse = client.createJob(formattedParent, job); + Job actualResponse = client.createJob(parent, job); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockCloudScheduler.getRequests(); Assert.assertEquals(1, actualRequests.size()); CreateJobRequest actualRequest = (CreateJobRequest) actualRequests.get(0); - Assert.assertEquals(formattedParent, actualRequest.getParent()); + Assert.assertEquals(parent, LocationName.parse(actualRequest.getParent())); Assert.assertEquals(job, actualRequest.getJob()); Assert.assertTrue( channelProvider.isHeaderSent( @@ -211,10 +211,10 @@ public void createJobExceptionTest() throws Exception { mockCloudScheduler.addException(exception); try { - String formattedParent = CloudSchedulerClient.formatLocationName("[PROJECT]", "[LOCATION]"); + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); Job job = Job.newBuilder().build(); - client.createJob(formattedParent, job); + client.createJob(parent, job); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -224,13 +224,13 @@ public void createJobExceptionTest() throws Exception { @Test @SuppressWarnings("all") public void updateJobTest() { - String name = "name3373707"; + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); String description = "description-1724546052"; String schedule = "schedule-697920873"; String timeZone = "timeZone36848094"; Job expectedResponse = Job.newBuilder() - .setName(name) + .setName(name.toString()) .setDescription(description) .setSchedule(schedule) .setTimeZone(timeZone) @@ -278,15 +278,15 @@ public void deleteJobTest() { Empty expectedResponse = Empty.newBuilder().build(); mockCloudScheduler.addResponse(expectedResponse); - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - client.deleteJob(formattedName); + client.deleteJob(name); List actualRequests = mockCloudScheduler.getRequests(); Assert.assertEquals(1, actualRequests.size()); DeleteJobRequest actualRequest = (DeleteJobRequest) actualRequests.get(0); - Assert.assertEquals(formattedName, actualRequest.getName()); + Assert.assertEquals(name, JobName.parse(actualRequest.getName())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -300,9 +300,9 @@ public void deleteJobExceptionTest() throws Exception { mockCloudScheduler.addException(exception); try { - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - client.deleteJob(formattedName); + client.deleteJob(name); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -312,29 +312,29 @@ public void deleteJobExceptionTest() throws Exception { @Test @SuppressWarnings("all") public void pauseJobTest() { - String name2 = "name2-1052831874"; + JobName name2 = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); String description = "description-1724546052"; String schedule = "schedule-697920873"; String timeZone = "timeZone36848094"; Job expectedResponse = Job.newBuilder() - .setName(name2) + .setName(name2.toString()) .setDescription(description) .setSchedule(schedule) .setTimeZone(timeZone) .build(); mockCloudScheduler.addResponse(expectedResponse); - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - Job actualResponse = client.pauseJob(formattedName); + Job actualResponse = client.pauseJob(name); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockCloudScheduler.getRequests(); Assert.assertEquals(1, actualRequests.size()); PauseJobRequest actualRequest = (PauseJobRequest) actualRequests.get(0); - Assert.assertEquals(formattedName, actualRequest.getName()); + Assert.assertEquals(name, JobName.parse(actualRequest.getName())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -348,9 +348,9 @@ public void pauseJobExceptionTest() throws Exception { mockCloudScheduler.addException(exception); try { - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - client.pauseJob(formattedName); + client.pauseJob(name); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -360,29 +360,29 @@ public void pauseJobExceptionTest() throws Exception { @Test @SuppressWarnings("all") public void resumeJobTest() { - String name2 = "name2-1052831874"; + JobName name2 = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); String description = "description-1724546052"; String schedule = "schedule-697920873"; String timeZone = "timeZone36848094"; Job expectedResponse = Job.newBuilder() - .setName(name2) + .setName(name2.toString()) .setDescription(description) .setSchedule(schedule) .setTimeZone(timeZone) .build(); mockCloudScheduler.addResponse(expectedResponse); - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - Job actualResponse = client.resumeJob(formattedName); + Job actualResponse = client.resumeJob(name); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockCloudScheduler.getRequests(); Assert.assertEquals(1, actualRequests.size()); ResumeJobRequest actualRequest = (ResumeJobRequest) actualRequests.get(0); - Assert.assertEquals(formattedName, actualRequest.getName()); + Assert.assertEquals(name, JobName.parse(actualRequest.getName())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -396,9 +396,9 @@ public void resumeJobExceptionTest() throws Exception { mockCloudScheduler.addException(exception); try { - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - client.resumeJob(formattedName); + client.resumeJob(name); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -408,29 +408,29 @@ public void resumeJobExceptionTest() throws Exception { @Test @SuppressWarnings("all") public void runJobTest() { - String name2 = "name2-1052831874"; + JobName name2 = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); String description = "description-1724546052"; String schedule = "schedule-697920873"; String timeZone = "timeZone36848094"; Job expectedResponse = Job.newBuilder() - .setName(name2) + .setName(name2.toString()) .setDescription(description) .setSchedule(schedule) .setTimeZone(timeZone) .build(); mockCloudScheduler.addResponse(expectedResponse); - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - Job actualResponse = client.runJob(formattedName); + Job actualResponse = client.runJob(name); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockCloudScheduler.getRequests(); Assert.assertEquals(1, actualRequests.size()); RunJobRequest actualRequest = (RunJobRequest) actualRequests.get(0); - Assert.assertEquals(formattedName, actualRequest.getName()); + Assert.assertEquals(name, JobName.parse(actualRequest.getName())); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -444,9 +444,9 @@ public void runJobExceptionTest() throws Exception { mockCloudScheduler.addException(exception); try { - String formattedName = CloudSchedulerClient.formatJobName("[PROJECT]", "[LOCATION]", "[JOB]"); + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); - client.runJob(formattedName); + client.runJob(name); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception diff --git a/google-cloud-clients/google-cloud-scheduler/synth.metadata b/google-cloud-clients/google-cloud-scheduler/synth.metadata index 2bd4f07a69a5..3fe1cfae7e55 100644 --- a/google-cloud-clients/google-cloud-scheduler/synth.metadata +++ b/google-cloud-clients/google-cloud-scheduler/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-05T08:47:23.002288Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.4", + "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "a111a53c0c6722afcd793b64724ceef7862db5b9", + "internalRef": "227896184" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "scheduler", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/scheduler/artman_cloudscheduler_v1beta1.yaml" } } ] -} +} \ No newline at end of file From 5d2626d881e43b5a8a851e48264000fd228e349c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 18 Jan 2019 08:56:31 -0800 Subject: [PATCH 39/90] Regenerate spanner client (#4388) --- .../spanner/admin/database/v1/DatabaseAdminClient.java | 2 +- .../admin/database/v1/DatabaseAdminSettings.java | 2 +- .../cloud/spanner/admin/database/v1/package-info.java | 2 +- .../admin/database/v1/stub/DatabaseAdminStub.java | 2 +- .../database/v1/stub/DatabaseAdminStubSettings.java | 2 +- .../v1/stub/GrpcDatabaseAdminCallableFactory.java | 2 +- .../admin/database/v1/stub/GrpcDatabaseAdminStub.java | 2 +- .../spanner/admin/instance/v1/InstanceAdminClient.java | 2 +- .../admin/instance/v1/InstanceAdminSettings.java | 2 +- .../cloud/spanner/admin/instance/v1/package-info.java | 2 +- .../v1/stub/GrpcInstanceAdminCallableFactory.java | 2 +- .../admin/instance/v1/stub/GrpcInstanceAdminStub.java | 2 +- .../admin/instance/v1/stub/InstanceAdminStub.java | 2 +- .../instance/v1/stub/InstanceAdminStubSettings.java | 2 +- .../com/google/cloud/spanner/v1/SpannerClient.java | 2 +- .../com/google/cloud/spanner/v1/SpannerSettings.java | 2 +- .../java/com/google/cloud/spanner/v1/package-info.java | 2 +- .../spanner/v1/stub/GrpcSpannerCallableFactory.java | 2 +- .../google/cloud/spanner/v1/stub/GrpcSpannerStub.java | 2 +- .../com/google/cloud/spanner/v1/stub/SpannerStub.java | 2 +- .../cloud/spanner/v1/stub/SpannerStubSettings.java | 2 +- .../admin/database/v1/DatabaseAdminClientTest.java | 2 +- .../spanner/admin/database/v1/MockDatabaseAdmin.java | 2 +- .../admin/database/v1/MockDatabaseAdminImpl.java | 2 +- .../admin/instance/v1/InstanceAdminClientTest.java | 2 +- .../spanner/admin/instance/v1/MockInstanceAdmin.java | 2 +- .../admin/instance/v1/MockInstanceAdminImpl.java | 2 +- .../java/com/google/cloud/spanner/v1/MockSpanner.java | 2 +- .../com/google/cloud/spanner/v1/MockSpannerImpl.java | 2 +- .../com/google/cloud/spanner/v1/SpannerClientTest.java | 2 +- .../google-cloud-spanner/synth.metadata | 10 +++++----- 31 files changed, 35 insertions(+), 35 deletions(-) diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java index 8345a8448f02..ccc2d175b103 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java index 61d4c18ca854..a736045fb069 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java index 57836c612059..d8d56622fe3a 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java index 27c9a863812c..4d6c4becd7ab 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java index 0b131a4a3e5a..bc78f63cb0fe 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java index cdbca0cdb78b..42bfdda23058 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java index 164a2c57e34b..ab043ba0131f 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java index 24a80071c210..b305ec22e137 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java index 83f07a98f754..0a16c195dc8a 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java index e31a0d54f328..09bf03bb52bc 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java index a428abbc31d6..7126d8e527e6 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java index 57c49ecc740f..c9ab3dc6d289 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java index b3b37d4835c2..d257f85385da 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java index 6c7b68ea8f5f..498c218717ed 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java index 1643ab8936db..cf6633182073 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java index c1471cc59bdc..e6bc753f5c95 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java index c383a46baa47..c44bd3e7bf3e 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java index f5aa0659f666..a27a20b216a9 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java index 235aa6a20ce9..3818afc33859 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java index c49defcb599b..45a0ac0dd0ed 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java index 4c3220ad3224..e05a2447db75 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java index 4d5815772cb7..0029cba4dfe9 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java index 71039ee1995e..cac9113dfcdb 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java index e7daed9d4613..68801fd5989f 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java index 7a8c08284ce6..5ff0700f7b48 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java index 9f1ea8709868..cd133a6c5b69 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java index d5322544c765..d10baae76bb2 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java index ac4fe409b9db..f42d81bd02ca 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java index e84e41635690..0f23ffab7c33 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java index 08a3e92f23c8..2abf41b56a38 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-spanner/synth.metadata b/google-cloud-clients/google-cloud-spanner/synth.metadata index 35baf201b6fe..2ea4176ca90f 100644 --- a/google-cloud-clients/google-cloud-spanner/synth.metadata +++ b/google-cloud-clients/google-cloud-spanner/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-12T08:49:01.135927Z", + "updateTime": "2019-01-18T08:47:08.714209Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.5", - "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2156b3490f9fe4d79bcb34754a3aaed7ea52114d", - "internalRef": "228970571" + "sha": "c3e6909ae91bd2d520995030c34c22259c47e8fb", + "internalRef": "229821540" } } ], From 53e2bcbec312ecc0e3db145f0f761e17daaa4933 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 18 Jan 2019 10:02:52 -0800 Subject: [PATCH 40/90] Bump next snapshot (#4391) --- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 204 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/pom.xml | 286 +++++++-------- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/pom.xml | 4 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/pom.xml | 4 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/pom.xml | 4 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 326 +++++++++--------- 164 files changed, 732 insertions(+), 732 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index 6c512de6432f..16a3d78d8a61 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 4c362f404e93..3ad261f9b5a7 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 500832108651..44241721b4b4 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 0da42fd65f82..591c9c972e71 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index 1a5c98d81768..668066964530 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index c263be2b6bf4..778ed7ac76e8 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index c659ef746c18..f1571750a38b 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index dfcbeaced397..bda90d80cb43 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index cf4242bf980e..72b5f3ffa6a7 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index 9f90ad9d4111..be80485f75c3 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index d3fd0a690bec..688ea1ae9141 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 791be74d1edf..1181c1c4213d 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index c1dd4e88aa68..dbfbe183f1e1 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index 0d13efb99d73..08d0cef9124c 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index 5e6aceed31f2..bdabf3b8b427 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index 3d75dbdbdda2..401e6c1c9c87 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index ee42a054b1bc..b2e7deba74c4 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index 43375664b3f4..6252bbfac221 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 16639cac69b0..00963e144e62 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.42.0 + 1.42.1-SNAPSHOT grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index 55ff3fb21c00..d7d0df231043 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index b93b4c3dae1e..197ecf622ae5 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index 1a3048fe2a94..2ac16e3e9935 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.42.0 + 1.42.1-SNAPSHOT grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index f40de324199f..55d67f48c6ef 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index 0c39739da9d4..e5c78e555e26 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.42.0 + 1.42.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index 5029cfffe696..8816d0caf7ee 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index a64a0b1e0e87..34903cfd481f 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index a67f5b0a7603..85bade9b5657 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index e160d4bfd1b0..afa5c3b4ac3e 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index 9a821252ceb9..0c9399790971 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.5.0 + 1.5.1-SNAPSHOT grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index 1c6395e92289..5e5c625ac9e4 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.5.0 + 1.5.1-SNAPSHOT grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index a99f19fda2dd..60860d17613f 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.5.0 + 1.5.1-SNAPSHOT grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index 29b4a37e6cd9..7593b8a3f7b4 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 60940b67d09e..1bc719be7373 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index acad6eac6008..e75019d7b275 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index 0b2ef7d28e80..0d349efd4a09 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index 3f126ff150b2..a65e79e94c68 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index 767ae054c596..9cc80c21b72a 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index 4c322668e806..d34c179450b4 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index ffb8d54cdbe5..890b6dafaa23 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index 4f1bd3730a61..46d62c46a1bf 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index 564bc94f32b4..255e9a618e73 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index e99a279977c9..c4657ecb17a5 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 982d40c779b2..0179bdc5d8d1 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index d359068d836c..309ea5c8da41 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index 279eb1a92724..046b10c1b906 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index 212212d629d5..0f79f1e3386d 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.42.0 + 1.42.1-SNAPSHOT grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index 716271afc105..af8475e7aa4e 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index 22c2bd3427b8..3b86ed49737d 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.42.0 + 1.42.1-SNAPSHOT grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 6845f7f1ed67..31538bbf2019 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index 07e62db28bd2..a5864f6cf9b5 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.43.0 + 0.43.1-SNAPSHOT grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 0bcffeaed610..2b320e031269 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.43.0 + 0.43.1-SNAPSHOT Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,507 +142,507 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index 6182d2b26d9b..7d95a13d31fd 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index 3a69bbb1f2ee..2a6469b4e241 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 9fb265d31cf0..8136aca65add 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index d87c731ea434..93f483823cbe 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index 4aa67b68bee7..6041db8cfa2d 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index e5593a58bdc2..294a9ee197ce 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index cd9bf7a3e558..03b3122dd381 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index 62d6c509b521..9b276b065cf3 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index a1c774b4d3b1..39db727c9f27 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index 2afd535ca12b..4da4517883fc 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 03902d34ce03..0e32f62cc4f6 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index e5ac1732d77e..8991c87e4f63 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index 1738d0d25f4e..1a64eacbb48a 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index 1f59b9bce50a..75978de4b97e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index c29cc2f60a8b..8d5e10d0ec68 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index cf46e9689542..e576fcf2f484 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index 9d84fee18c16..040d811bebbf 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index fe5e1ddf2658..ec9cc3fef1aa 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index b24aba9d2acc..5b1fb462a768 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index d11e7326ed6a..b52f6ce8e65c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.42.0 + 1.42.1-SNAPSHOT proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 816857dd8afb..ba7948e0f2d2 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index dd27ed62b243..d04eb4bd83ed 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 53a7b1644bdc..52b6a30cca73 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.42.0 + 1.42.1-SNAPSHOT proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index 888283fe688e..939b7c2f485e 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index b7c20d9b7fb9..3181bf36a16f 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.42.0 + 1.42.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index 529717e38137..e7064612c574 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index be41af48ea52..8cf80ded4995 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index 051e7898d65a..5d23272aff2a 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index 066af029f84d..0a5da35f44a3 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index a9dacbdf8c1b..a559d0258c17 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.5.0 + 1.5.1-SNAPSHOT proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 1fd67ae6ac2f..691a83b15a37 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.5.0 + 1.5.1-SNAPSHOT proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index 0525e8946969..d7a88aebe9be 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.5.0 + 1.5.1-SNAPSHOT proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index c9504d59aedf..143294d4db85 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index a38d0205893a..be94b8cf5963 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index d073fb926d52..530065681b64 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index 9d7aba848e18..918d36ba73bf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index 2f0685d5b823..0b2821817b08 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index 254ee3bd8420..0b8adddc4726 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index 843e07c0e5c3..14c600f06da1 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index 560861bf548a..6aa4971bbb7a 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index fad6bb680b5d..4a9d2fdcbca3 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index 8b22b9c19f90..d0c9b2c0c2ba 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 190b26a8aace..210f73400e9e 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index 693765e9153e..6164d9dadab4 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index d6981f27ac89..0316949eeda7 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index 13f5bae61b95..fcb92cbd7445 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index 1bfd50f3b9ce..c92e640ad798 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.42.0 + 1.42.1-SNAPSHOT proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index e856cb2842af..6859e8b32e05 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index 0dbe76ea248e..6e777e446dd8 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.42.0 + 1.42.1-SNAPSHOT proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index 8db9703f68e3..13fbb87d4bc1 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 6d4c224833ac..1010851ad4af 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.43.0 + 0.43.1-SNAPSHOT proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.43.0 + 0.43.1-SNAPSHOT diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 03a4cff2350d..071cb2944bdf 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,713 +197,713 @@ com.google.cloud google-cloud-asset - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-automl - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-bigtable - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-bigtable-admin - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-bigtable-emulator - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.cloud google-cloud-bigquery - 1.60.0 + 1.60.1-SNAPSHOT com.google.cloud google-cloud-bigquerydatatransfer - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-compute - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.cloud google-cloud-container - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-containeranalysis - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-contrib - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.cloud google-cloud-nio - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.cloud google-cloud-core - 1.60.0 + 1.60.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.60.0 + 1.60.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.60.0 + 1.60.1-SNAPSHOT com.google.cloud google-cloud-dataproc - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-datastore - 1.60.0 + 1.60.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-dlp - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-dialogflow - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-dns - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.cloud google-cloud-errorreporting - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-firestore - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-kms - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-language - 1.60.0 + 1.60.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-logging - 1.60.0 + 1.60.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-logging-logback - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.cloud google-cloud-monitoring - 1.60.0 + 1.60.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.42.0 + 1.42.1-SNAPSHOT com.google.cloud google-cloud-os-login - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.60.0 + 1.60.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.cloud google-cloud-redis - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-resourcemanager - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-spanner - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.cloud google-cloud-speech - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-storage - 1.60.0 + 1.60.1-SNAPSHOT com.google.cloud google-cloud-tasks - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-texttospeech - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-trace - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-translate - 1.60.0 + 1.60.1-SNAPSHOT com.google.cloud google-cloud-vision - 1.60.0 + 1.60.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.42.0 + 1.42.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.cloud google-cloud-video-intelligence - 0.78.0-beta + 0.78.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.43.0 + 0.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT com.google.cloud google-cloud-iamcredentials - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index d52fb213ef1c..a8b1d76d8d53 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index d10e4554d09d..e7034266dc90 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 7cc11724d2af..2b463a218aa3 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index 85ff7289f8f7..92d1f2600111 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index 4b766e4bd797..f716c9a9ac62 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index e75e7b4f12c5..5956b367b7cb 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index c63cbff3f2a2..1abb2cc27404 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index dc9fa1c70e3d..716f839c7543 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index b5a3984d7ec3..d69fd2cb9ca9 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index 28b9de67d353..cff854134965 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index 543e00f9bca7..91340e277186 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index ad063311da86..4176bae42c6c 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.78.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.78.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index ca9b7e010c5c..ef759489b668 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index 8ffa10116405..9f24df7c5684 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index 2e9c1f5e564f..16b4d06036d9 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index b005a5be7236..6b180cf10907 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index c2dbef6aec36..5918e5875e0d 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index efdf6565aad0..6a3ce64ea95e 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index f9815795995e..05ab190d8dbe 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index 17d854b3ea57..4c7a5edd2fef 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index 8a82d44bc296..ee39ae2f1d5e 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index 6dcc38bd3526..942f255371da 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index 39ba1249f60f..618aa7ec61da 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index 485b3b822553..8746b3faaa42 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 3efe838049af..7f6ea6757885 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index a47b9e10e428..19c948e9ff97 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.5.0-alpha + 0.5.1-alpha-SNAPSHOT jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index 69867bededf1..13bb6bc2927f 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 0a939a19d336..1c6f3425ea09 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index 3f3d65ff7b3e..fffa3e9601ea 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 4746d0004188..1440b3af352e 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index d84a2e2d6f72..9f0cada2f99a 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index 7d2860e2b54a..4d1bdb602e30 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index 9f8e6dec7e02..a1785d9e315c 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index 99f36e7d99a1..7cd47ba2aa5c 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index d56c198bb004..e2fec98e3ad8 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index b49854130dd0..487d9ef6554e 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index f300e9250975..c5bea669c840 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index aba1370a7ca7..72220d82c3b4 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index f4861214f053..2631df0e7dce 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.5.0 + 1.5.1-SNAPSHOT jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index 42419f918806..5ff620a9ce27 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index 71fd2b04cf00..55335ec558a6 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index 518ceba889e6..ad7bcfac6333 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index 393f4f559f7f..56dfbd411932 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index ca78e4335ce4..670508742318 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index d2aeea39d8c9..3966e58ecb7e 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index 01c42feb2585..2f100891edbe 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.78.0-beta + 0.78.1-beta-SNAPSHOT jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index 28769d868e94..a82df33ae252 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index 49c09ffea138..021c6dd5ee64 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index bd6895da6417..a6f4922dc6e0 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT 1.27.0 1.37.0 @@ -239,7 +239,7 @@ com.google.cloud google-cloud-core - 1.60.0 + 1.60.1-SNAPSHOT test-jar diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index c4367cac1a0c..08f0b5841433 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index 8f55bc478ba0..dee19605d52b 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index d07cee4f418d..5f8bde1ec103 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index 4ae4cfb05979..538dfb48a26f 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index 9d0013d51268..3c346570ae7f 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index b671ca07881f..fa4f2aaef5c3 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT @@ -126,7 +126,7 @@ com.google.cloud google-cloud-bom - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index b60f3735191d..7823a407c861 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-gcloud-maven-plugin - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index 2bc94f67e918..e4ac0e250e53 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar google-cloud-testing com.google.cloud - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index 6abc3fe7fc1f..33c34f4ebbff 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT pom import com.google.cloud google-cloud-core - 1.60.0 + 1.60.1-SNAPSHOT test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index 72a505dab189..c4bfc85a4f06 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index d5dabfc7a9ac..1022e5a4fe75 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index fc6e781ff360..aa9fff8ab567 100644 --- a/versions.txt +++ b/versions.txt @@ -1,166 +1,166 @@ # Format: # module:released-version:current-version -google-api-grpc:0.43.0:0.43.0 -google-cloud:0.78.0-alpha:0.78.0-alpha -google-cloud-appengineflexcompat:0.78.0-alpha:0.78.0-alpha -google-cloud-appengineflexcustom:0.78.0-alpha:0.78.0-alpha -google-cloud-appengineflexjava:0.78.0-alpha:0.78.0-alpha -google-cloud-appenginejava8:0.78.0-alpha:0.78.0-alpha -google-cloud-asset:0.78.0-beta:0.78.0-beta -google-cloud-automl:0.78.0-beta:0.78.0-beta -google-cloud-bigquery:1.60.0:1.60.0 -google-cloud-bigquerydatatransfer:0.78.0-beta:0.78.0-beta -google-cloud-bigquerystorage:0.78.0-beta:0.78.0-beta -google-cloud-bigtable:0.78.0-alpha:0.78.0-alpha -google-cloud-bigtable-admin:0.78.0-alpha:0.78.0-alpha -google-cloud-bigtable-emulator:0.78.0-alpha:0.78.0-alpha -google-cloud-bom:0.78.0-alpha:0.78.0-alpha -google-cloud-clients:0.78.0-alpha:0.78.0-alpha -google-cloud-compat-checker:0.78.0-alpha:0.78.0-alpha -google-cloud-compute:0.78.0-alpha:0.78.0-alpha -google-cloud-container:0.78.0-beta:0.78.0-beta -google-cloud-containeranalysis:0.78.0-beta:0.78.0-beta -google-cloud-contrib:0.78.0-alpha:0.78.0-alpha -google-cloud-core:1.60.0:1.60.0 -google-cloud-core-grpc:1.60.0:1.60.0 -google-cloud-core-http:1.60.0:1.60.0 -google-cloud-dataproc:0.78.0-alpha:0.78.0-alpha -google-cloud-datastore:1.60.0:1.60.0 -google-cloud-dialogflow:0.78.0-alpha:0.78.0-alpha -google-cloud-dlp:0.78.0-beta:0.78.0-beta -google-cloud-dns:0.78.0-alpha:0.78.0-alpha -google-cloud-errorreporting:0.78.0-beta:0.78.0-beta -google-cloud-examples:0.78.0-alpha:0.78.0-alpha -google-cloud-firestore:0.78.0-beta:0.78.0-beta -google-cloud-gcloud-maven-plugin:0.78.0-alpha:0.78.0-alpha -google-cloud-iamcredentials:0.5.0-alpha:0.5.0-alpha -google-cloud-iot:0.78.0-beta:0.78.0-beta -google-cloud-kms:0.78.0-beta:0.78.0-beta -google-cloud-language:1.60.0:1.60.0 -google-cloud-logging:1.60.0:1.60.0 -google-cloud-logging-logback:0.78.0-alpha:0.78.0-alpha -google-cloud-managedtest:0.78.0-alpha:0.78.0-alpha -google-cloud-monitoring:1.60.0:1.60.0 -google-cloud-nio:0.78.0-alpha:0.78.0-alpha -google-cloud-nio-examples:0.78.0-alpha:0.78.0-alpha -google-cloud-notification:0.78.0-beta:0.78.0-beta -google-cloud-os-login:0.78.0-alpha:0.78.0-alpha -google-cloud-pubsub:1.60.0:1.60.0 -google-cloud-redis:0.78.0-alpha:0.78.0-alpha -google-cloud-resourcemanager:0.78.0-alpha:0.78.0-alpha -google-cloud-scheduler:0.78.0-alpha:0.78.0-alpha -google-cloud-securitycenter:0.78.0-alpha:0.78.0-alpha -google-cloud-spanner:1.5.0:1.5.0 -google-cloud-speech:0.78.0-beta:0.78.0-beta -google-cloud-storage:1.60.0:1.60.0 -google-cloud-tasks:0.78.0-beta:0.78.0-beta -google-cloud-testing:0.78.0-alpha:0.78.0-alpha -google-cloud-texttospeech:0.78.0-beta:0.78.0-beta -google-cloud-trace:0.78.0-beta:0.78.0-beta -google-cloud-translate:1.60.0:1.60.0 -google-cloud-util:0.78.0-alpha:0.78.0-alpha -google-cloud-video-intelligence:0.78.0-beta:0.78.0-beta -google-cloud-vision:1.60.0:1.60.0 -google-cloud-websecurityscanner:0.78.0-alpha:0.78.0-alpha -grpc-google-cloud-asset-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-automl-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.0 -grpc-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-bigtable-admin-v2:0.43.0:0.43.0 -grpc-google-cloud-bigtable-v2:0.43.0:0.43.0 -grpc-google-cloud-container-v1:0.43.0:0.43.0 -grpc-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-dataproc-v1:0.43.0:0.43.0 -grpc-google-cloud-dataproc-v1beta2:0.43.0:0.43.0 -grpc-google-cloud-dialogflow-v2:0.43.0:0.43.0 -grpc-google-cloud-dialogflow-v2beta1:0.43.0:0.43.0 -grpc-google-cloud-dlp-v2:0.43.0:0.43.0 -grpc-google-cloud-error-reporting-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-firestore-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.0-alpha -grpc-google-cloud-iot-v1:0.43.0:0.43.0 -grpc-google-cloud-kms-v1:0.43.0:0.43.0 -grpc-google-cloud-language-v1:1.42.0:1.42.0 -grpc-google-cloud-language-v1beta2:0.43.0:0.43.0 -grpc-google-cloud-logging-v2:0.43.0:0.43.0 -grpc-google-cloud-monitoring-v3:1.42.0:1.42.0 -grpc-google-cloud-os-login-v1:0.43.0:0.43.0 -grpc-google-cloud-pubsub-v1:1.42.0:1.42.0 -grpc-google-cloud-redis-v1:0.43.0:0.43.0 -grpc-google-cloud-redis-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-scheduler-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-securitycenter-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-spanner-admin-database-v1:1.5.0:1.5.0 -grpc-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.0 -grpc-google-cloud-spanner-v1:1.5.0:1.5.0 -grpc-google-cloud-speech-v1:0.43.0:0.43.0 -grpc-google-cloud-speech-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-speech-v1p1beta1:0.43.0:0.43.0 -grpc-google-cloud-tasks-v2beta2:0.43.0:0.43.0 -grpc-google-cloud-tasks-v2beta3:0.43.0:0.43.0 -grpc-google-cloud-texttospeech-v1:0.43.0:0.43.0 -grpc-google-cloud-texttospeech-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-trace-v1:0.43.0:0.43.0 -grpc-google-cloud-trace-v2:0.43.0:0.43.0 -grpc-google-cloud-video-intelligence-v1:0.43.0:0.43.0 -grpc-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.0 -grpc-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.0 -grpc-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.0 -grpc-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.0 -grpc-google-cloud-vision-v1:1.42.0:1.42.0 -grpc-google-cloud-vision-v1p1beta1:0.43.0:0.43.0 -grpc-google-cloud-vision-v1p2beta1:1.42.0:1.42.0 -grpc-google-cloud-vision-v1p3beta1:0.43.0:0.43.0 -grpc-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.0 -proto-google-cloud-asset-v1beta1:0.43.0:0.43.0 -proto-google-cloud-automl-v1beta1:0.43.0:0.43.0 -proto-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.0 -proto-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.0 -proto-google-cloud-bigtable-admin-v2:0.43.0:0.43.0 -proto-google-cloud-bigtable-v2:0.43.0:0.43.0 -proto-google-cloud-container-v1:0.43.0:0.43.0 -proto-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.0 -proto-google-cloud-dataproc-v1:0.43.0:0.43.0 -proto-google-cloud-dataproc-v1beta2:0.43.0:0.43.0 -proto-google-cloud-datastore-v1:0.43.0:0.43.0 -proto-google-cloud-dialogflow-v2:0.43.0:0.43.0 -proto-google-cloud-dialogflow-v2beta1:0.43.0:0.43.0 -proto-google-cloud-dlp-v2:0.43.0:0.43.0 -proto-google-cloud-error-reporting-v1beta1:0.43.0:0.43.0 -proto-google-cloud-firestore-v1beta1:0.43.0:0.43.0 -proto-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.0-alpha -proto-google-cloud-iot-v1:0.43.0:0.43.0 -proto-google-cloud-kms-v1:0.43.0:0.43.0 -proto-google-cloud-language-v1:1.42.0:1.42.0 -proto-google-cloud-language-v1beta2:0.43.0:0.43.0 -proto-google-cloud-logging-v2:0.43.0:0.43.0 -proto-google-cloud-monitoring-v3:1.42.0:1.42.0 -proto-google-cloud-os-login-v1:0.43.0:0.43.0 -proto-google-cloud-pubsub-v1:1.42.0:1.42.0 -proto-google-cloud-redis-v1:0.43.0:0.43.0 -proto-google-cloud-redis-v1beta1:0.43.0:0.43.0 -proto-google-cloud-scheduler-v1beta1:0.43.0:0.43.0 -proto-google-cloud-securitycenter-v1beta1:0.43.0:0.43.0 -proto-google-cloud-spanner-admin-database-v1:1.5.0:1.5.0 -proto-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.0 -proto-google-cloud-spanner-v1:1.5.0:1.5.0 -proto-google-cloud-speech-v1:0.43.0:0.43.0 -proto-google-cloud-speech-v1beta1:0.43.0:0.43.0 -proto-google-cloud-speech-v1p1beta1:0.43.0:0.43.0 -proto-google-cloud-tasks-v2beta2:0.43.0:0.43.0 -proto-google-cloud-tasks-v2beta3:0.43.0:0.43.0 -proto-google-cloud-texttospeech-v1:0.43.0:0.43.0 -proto-google-cloud-texttospeech-v1beta1:0.43.0:0.43.0 -proto-google-cloud-trace-v1:0.43.0:0.43.0 -proto-google-cloud-trace-v2:0.43.0:0.43.0 -proto-google-cloud-video-intelligence-v1:0.43.0:0.43.0 -proto-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.0 -proto-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.0 -proto-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.0 -proto-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.0 -proto-google-cloud-vision-v1:1.42.0:1.42.0 -proto-google-cloud-vision-v1p1beta1:0.43.0:0.43.0 -proto-google-cloud-vision-v1p2beta1:1.42.0:1.42.0 -proto-google-cloud-vision-v1p3beta1:0.43.0:0.43.0 -proto-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.0 +google-api-grpc:0.43.0:0.43.1-SNAPSHOT +google-cloud:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-appengineflexcompat:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-appengineflexcustom:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-appengineflexjava:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-appenginejava8:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-asset:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-automl:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-bigquery:1.60.0:1.60.1-SNAPSHOT +google-cloud-bigquerydatatransfer:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-bigquerystorage:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-bigtable:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-bigtable-admin:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-bigtable-emulator:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-bom:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-clients:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-compat-checker:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-compute:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-container:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-containeranalysis:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-contrib:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-core:1.60.0:1.60.1-SNAPSHOT +google-cloud-core-grpc:1.60.0:1.60.1-SNAPSHOT +google-cloud-core-http:1.60.0:1.60.1-SNAPSHOT +google-cloud-dataproc:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-datastore:1.60.0:1.60.1-SNAPSHOT +google-cloud-dialogflow:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-dlp:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-dns:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-errorreporting:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-examples:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-firestore:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-gcloud-maven-plugin:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-iamcredentials:0.5.0-alpha:0.5.1-alpha-SNAPSHOT +google-cloud-iot:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-kms:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-language:1.60.0:1.60.1-SNAPSHOT +google-cloud-logging:1.60.0:1.60.1-SNAPSHOT +google-cloud-logging-logback:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-managedtest:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-monitoring:1.60.0:1.60.1-SNAPSHOT +google-cloud-nio:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-nio-examples:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-notification:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-os-login:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-pubsub:1.60.0:1.60.1-SNAPSHOT +google-cloud-redis:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-resourcemanager:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-scheduler:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-securitycenter:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-spanner:1.5.0:1.5.1-SNAPSHOT +google-cloud-speech:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-storage:1.60.0:1.60.1-SNAPSHOT +google-cloud-tasks:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-testing:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-texttospeech:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-trace:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-translate:1.60.0:1.60.1-SNAPSHOT +google-cloud-util:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +google-cloud-video-intelligence:0.78.0-beta:0.78.1-beta-SNAPSHOT +google-cloud-vision:1.60.0:1.60.1-SNAPSHOT +google-cloud-websecurityscanner:0.78.0-alpha:0.78.1-alpha-SNAPSHOT +grpc-google-cloud-asset-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-automl-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-bigtable-admin-v2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-bigtable-v2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-container-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-dataproc-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-dataproc-v1beta2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-dlp-v2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-error-reporting-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-firestore-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.1-alpha-SNAPSHOT +grpc-google-cloud-iot-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-kms-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-language-v1:1.42.0:1.42.1-SNAPSHOT +grpc-google-cloud-language-v1beta2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-logging-v2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-monitoring-v3:1.42.0:1.42.1-SNAPSHOT +grpc-google-cloud-os-login-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.42.0:1.42.1-SNAPSHOT +grpc-google-cloud-redis-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-redis-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-scheduler-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-spanner-admin-database-v1:1.5.0:1.5.1-SNAPSHOT +grpc-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.1-SNAPSHOT +grpc-google-cloud-spanner-v1:1.5.0:1.5.1-SNAPSHOT +grpc-google-cloud-speech-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-speech-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-speech-v1p1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta3:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-trace-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-trace-v2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-vision-v1:1.42.0:1.42.1-SNAPSHOT +grpc-google-cloud-vision-v1p1beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-vision-v1p2beta1:1.42.0:1.42.1-SNAPSHOT +grpc-google-cloud-vision-v1p3beta1:0.43.0:0.43.1-SNAPSHOT +grpc-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-asset-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-automl-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-bigtable-admin-v2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-bigtable-v2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-container-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-dataproc-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-dataproc-v1beta2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-datastore-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-dialogflow-v2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-dialogflow-v2beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-dlp-v2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-error-reporting-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-firestore-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.1-alpha-SNAPSHOT +proto-google-cloud-iot-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-kms-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-language-v1:1.42.0:1.42.1-SNAPSHOT +proto-google-cloud-language-v1beta2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-logging-v2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-monitoring-v3:1.42.0:1.42.1-SNAPSHOT +proto-google-cloud-os-login-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.42.0:1.42.1-SNAPSHOT +proto-google-cloud-redis-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-redis-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-scheduler-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-securitycenter-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-spanner-admin-database-v1:1.5.0:1.5.1-SNAPSHOT +proto-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.1-SNAPSHOT +proto-google-cloud-spanner-v1:1.5.0:1.5.1-SNAPSHOT +proto-google-cloud-speech-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-speech-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-speech-v1p1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-tasks-v2beta2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-tasks-v2beta3:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-texttospeech-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-texttospeech-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-trace-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-trace-v2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-vision-v1:1.42.0:1.42.1-SNAPSHOT +proto-google-cloud-vision-v1p1beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-vision-v1p2beta1:1.42.0:1.42.1-SNAPSHOT +proto-google-cloud-vision-v1p3beta1:0.43.0:0.43.1-SNAPSHOT +proto-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.1-SNAPSHOT From c54f81f66577c1b349a194ffbc74298fe4cd7766 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 22 Jan 2019 10:54:00 -0800 Subject: [PATCH 41/90] Regenerate asset client (#4395) --- .../com/google/cloud/asset/v1beta1/Asset.java | 14 +- .../cloud/asset/v1beta1/AssetOrBuilder.java | 4 +- .../asset/v1beta1/AssetServiceProto.java | 44 ++-- .../v1beta1/BatchGetAssetsHistoryRequest.java | 108 +++++--- ...BatchGetAssetsHistoryRequestOrBuilder.java | 27 +- .../asset/v1beta1/ExportAssetsRequest.java | 234 +++++++++++------- .../v1beta1/ExportAssetsRequestOrBuilder.java | 64 +++-- .../cloud/asset/v1beta1/GcsDestination.java | 207 ++++++++++++---- .../v1beta1/GcsDestinationOrBuilder.java | 14 +- .../cloud/asset/v1beta1/TimeWindow.java | 52 ++-- .../asset/v1beta1/TimeWindowOrBuilder.java | 12 +- .../cloud/asset/v1beta1/asset_service.proto | 48 ++-- .../google/cloud/asset/v1beta1/assets.proto | 8 +- .../google-cloud-asset/synth.metadata | 10 +- 14 files changed, 542 insertions(+), 304 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java index 78ef2bc864c4..4d7d7e62c94f 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java @@ -183,7 +183,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Type of the asset. Example: "google.compute.disk".
+   * Type of the asset. Example: "google.compute.Disk".
    * 
* * string asset_type = 2; @@ -203,7 +203,7 @@ public java.lang.String getAssetType() { * * *
-   * Type of the asset. Example: "google.compute.disk".
+   * Type of the asset. Example: "google.compute.Disk".
    * 
* * string asset_type = 2; @@ -799,7 +799,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Type of the asset. Example: "google.compute.disk".
+     * Type of the asset. Example: "google.compute.Disk".
      * 
* * string asset_type = 2; @@ -819,7 +819,7 @@ public java.lang.String getAssetType() { * * *
-     * Type of the asset. Example: "google.compute.disk".
+     * Type of the asset. Example: "google.compute.Disk".
      * 
* * string asset_type = 2; @@ -839,7 +839,7 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { * * *
-     * Type of the asset. Example: "google.compute.disk".
+     * Type of the asset. Example: "google.compute.Disk".
      * 
* * string asset_type = 2; @@ -857,7 +857,7 @@ public Builder setAssetType(java.lang.String value) { * * *
-     * Type of the asset. Example: "google.compute.disk".
+     * Type of the asset. Example: "google.compute.Disk".
      * 
* * string asset_type = 2; @@ -872,7 +872,7 @@ public Builder clearAssetType() { * * *
-     * Type of the asset. Example: "google.compute.disk".
+     * Type of the asset. Example: "google.compute.Disk".
      * 
* * string asset_type = 2; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java index 3556a5505d43..7e86bd0fb721 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java @@ -37,7 +37,7 @@ public interface AssetOrBuilder * * *
-   * Type of the asset. Example: "google.compute.disk".
+   * Type of the asset. Example: "google.compute.Disk".
    * 
* * string asset_type = 2; @@ -47,7 +47,7 @@ public interface AssetOrBuilder * * *
-   * Type of the asset. Example: "google.compute.disk".
+   * Type of the asset. Example: "google.compute.Disk".
    * 
* * string asset_type = 2; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java index e9f12a371d44..d3d321770ae5 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java @@ -69,26 +69,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".google.cloud.asset.v1beta1.TemporalAsse" + "t\"d\n\014OutputConfig\022E\n\017gcs_destination\030\001 \001" + "(\0132*.google.cloud.asset.v1beta1.GcsDesti" - + "nationH\000B\r\n\013destination\"\035\n\016GcsDestinatio" - + "n\022\013\n\003uri\030\001 \001(\t*I\n\013ContentType\022\034\n\030CONTENT" - + "_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM" - + "_POLICY\020\0022\340\003\n\014AssetService\022\311\001\n\014ExportAss" - + "ets\022/.google.cloud.asset.v1beta1.ExportA" - + "ssetsRequest\032\035.google.longrunning.Operat" - + "ion\"i\202\323\344\223\002c\")/v1beta1/{parent=projects/*" - + "}:exportAssets:\001*Z3\"./v1beta1/{parent=or" - + "ganizations/*}:exportAssets:\001*\022\203\002\n\025Batch" - + "GetAssetsHistory\0228.google.cloud.asset.v1" - + "beta1.BatchGetAssetsHistoryRequest\0329.goo" - + "gle.cloud.asset.v1beta1.BatchGetAssetsHi" - + "storyResponse\"u\202\323\344\223\002o\0222/v1beta1/{parent=" - + "projects/*}:batchGetAssetsHistoryZ9\0227/v1" - + "beta1/{parent=organizations/*}:batchGetA" - + "ssetsHistoryB\260\001\n\036com.google.cloud.asset." - + "v1beta1B\021AssetServiceProtoP\001Z?google.gol" - + "ang.org/genproto/googleapis/cloud/asset/" - + "v1beta1;asset\252\002\032Google.Cloud.Asset.V1Bet" - + "a1\312\002\032Google\\Cloud\\Asset\\V1beta1b\006proto3" + + "nationH\000B\r\n\013destination\"-\n\016GcsDestinatio" + + "n\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri*I\n\013Conten" + + "tType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010R" + + "ESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\221\004\n\014AssetServi" + + "ce\022\372\001\n\014ExportAssets\022/.google.cloud.asset" + + ".v1beta1.ExportAssetsRequest\032\035.google.lo" + + "ngrunning.Operation\"\231\001\202\323\344\223\002\222\001\")/v1beta1/" + + "{parent=projects/*}:exportAssets:\001*Z-\"(/" + + "v1beta1/{parent=folders/*}:exportAssets:" + + "\001*Z3\"./v1beta1/{parent=organizations/*}:" + + "exportAssets:\001*\022\203\002\n\025BatchGetAssetsHistor" + + "y\0228.google.cloud.asset.v1beta1.BatchGetA" + + "ssetsHistoryRequest\0329.google.cloud.asset" + + ".v1beta1.BatchGetAssetsHistoryResponse\"u" + + "\202\323\344\223\002o\0222/v1beta1/{parent=projects/*}:bat" + + "chGetAssetsHistoryZ9\0227/v1beta1/{parent=o" + + "rganizations/*}:batchGetAssetsHistoryB\260\001" + + "\n\036com.google.cloud.asset.v1beta1B\021AssetS" + + "erviceProtoP\001Z?google.golang.org/genprot" + + "o/googleapis/cloud/asset/v1beta1;asset\252\002" + + "\032Google.Cloud.Asset.V1Beta1\312\002\032Google\\Clo" + + "ud\\Asset\\V1beta1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -153,7 +155,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_asset_v1beta1_GcsDestination_descriptor, new java.lang.String[] { - "Uri", + "Uri", "ObjectUri", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java index 359cedba639d..c30011557a27 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java @@ -284,9 +284,12 @@ public com.google.cloud.asset.v1beta1.ContentType getContentType() { * * *
-   * Required. The time window for the asset history. The start time is
-   * required. The returned results contain all temporal assets whose time
-   * window overlap with read_time_window.
+   * Optional. The time window for the asset history. Both start_time and
+   * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+   * end_time is not set, it is default to current timestamp. If start_time is
+   * not set, the snapshot of the assets at end_time will be returned. The
+   * returned results contain all temporal assets whose time window overlap with
+   * read_time_window.
    * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -298,9 +301,12 @@ public boolean hasReadTimeWindow() { * * *
-   * Required. The time window for the asset history. The start time is
-   * required. The returned results contain all temporal assets whose time
-   * window overlap with read_time_window.
+   * Optional. The time window for the asset history. Both start_time and
+   * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+   * end_time is not set, it is default to current timestamp. If start_time is
+   * not set, the snapshot of the assets at end_time will be returned. The
+   * returned results contain all temporal assets whose time window overlap with
+   * read_time_window.
    * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -314,9 +320,12 @@ public com.google.cloud.asset.v1beta1.TimeWindow getReadTimeWindow() { * * *
-   * Required. The time window for the asset history. The start time is
-   * required. The returned results contain all temporal assets whose time
-   * window overlap with read_time_window.
+   * Optional. The time window for the asset history. Both start_time and
+   * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+   * end_time is not set, it is default to current timestamp. If start_time is
+   * not set, the snapshot of the assets at end_time will be returned. The
+   * returned results contain all temporal assets whose time window overlap with
+   * read_time_window.
    * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1106,9 +1115,12 @@ public Builder clearContentType() { * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1120,9 +1132,12 @@ public boolean hasReadTimeWindow() { * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1140,9 +1155,12 @@ public com.google.cloud.asset.v1beta1.TimeWindow getReadTimeWindow() { * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1164,9 +1182,12 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1beta1.TimeWindow value * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1186,9 +1207,12 @@ public Builder setReadTimeWindow( * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1214,9 +1238,12 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1beta1.TimeWindow val * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1236,9 +1263,12 @@ public Builder clearReadTimeWindow() { * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1252,9 +1282,12 @@ public com.google.cloud.asset.v1beta1.TimeWindow.Builder getReadTimeWindowBuilde * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -1272,9 +1305,12 @@ public com.google.cloud.asset.v1beta1.TimeWindowOrBuilder getReadTimeWindowOrBui * * *
-     * Required. The time window for the asset history. The start time is
-     * required. The returned results contain all temporal assets whose time
-     * window overlap with read_time_window.
+     * Optional. The time window for the asset history. Both start_time and
+     * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+     * end_time is not set, it is default to current timestamp. If start_time is
+     * not set, the snapshot of the assets at end_time will be returned. The
+     * returned results contain all temporal assets whose time window overlap with
+     * read_time_window.
      * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java index dd6cbd0dd85b..49e72a7c3390 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java @@ -119,9 +119,12 @@ public interface BatchGetAssetsHistoryRequestOrBuilder * * *
-   * Required. The time window for the asset history. The start time is
-   * required. The returned results contain all temporal assets whose time
-   * window overlap with read_time_window.
+   * Optional. The time window for the asset history. Both start_time and
+   * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+   * end_time is not set, it is default to current timestamp. If start_time is
+   * not set, the snapshot of the assets at end_time will be returned. The
+   * returned results contain all temporal assets whose time window overlap with
+   * read_time_window.
    * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -131,9 +134,12 @@ public interface BatchGetAssetsHistoryRequestOrBuilder * * *
-   * Required. The time window for the asset history. The start time is
-   * required. The returned results contain all temporal assets whose time
-   * window overlap with read_time_window.
+   * Optional. The time window for the asset history. Both start_time and
+   * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+   * end_time is not set, it is default to current timestamp. If start_time is
+   * not set, the snapshot of the assets at end_time will be returned. The
+   * returned results contain all temporal assets whose time window overlap with
+   * read_time_window.
    * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; @@ -143,9 +149,12 @@ public interface BatchGetAssetsHistoryRequestOrBuilder * * *
-   * Required. The time window for the asset history. The start time is
-   * required. The returned results contain all temporal assets whose time
-   * window overlap with read_time_window.
+   * Optional. The time window for the asset history. Both start_time and
+   * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+   * end_time is not set, it is default to current timestamp. If start_time is
+   * not set, the snapshot of the assets at end_time will be returned. The
+   * returned results contain all temporal assets whose time window overlap with
+   * read_time_window.
    * 
* * .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java index 4f781b18da37..dd6c8196d24d 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java @@ -151,9 +151,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The relative name of the root asset. This can only be an organization
-   * number (such as "organizations/123"), a project ID (such as
-   * "projects/my-project-id"), or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), a project number (such as "projects/12345"), or
+   * a folder number (such as "folders/123").
    * 
* * string parent = 1; @@ -173,9 +174,10 @@ public java.lang.String getParent() { * * *
-   * Required. The relative name of the root asset. This can only be an organization
-   * number (such as "organizations/123"), a project ID (such as
-   * "projects/my-project-id"), or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), a project number (such as "projects/12345"), or
+   * a folder number (such as "folders/123").
    * 
* * string parent = 1; @@ -198,11 +200,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-   * the past or of the current time. If not specified, the current time will be
-   * used. Due to delays in resource data collection and indexing, there is a
-   * volatile window during which running the same query may get different
-   * results.
+   * Timestamp to take an asset snapshot. This can only be set to a timestamp
+   * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+   * the current time will be used. Due to delays in resource data collection
+   * and indexing, there is a volatile window during which running the same
+   * query may get different results.
    * 
* * .google.protobuf.Timestamp read_time = 2; @@ -214,11 +216,11 @@ public boolean hasReadTime() { * * *
-   * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-   * the past or of the current time. If not specified, the current time will be
-   * used. Due to delays in resource data collection and indexing, there is a
-   * volatile window during which running the same query may get different
-   * results.
+   * Timestamp to take an asset snapshot. This can only be set to a timestamp
+   * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+   * the current time will be used. Due to delays in resource data collection
+   * and indexing, there is a volatile window during which running the same
+   * query may get different results.
    * 
* * .google.protobuf.Timestamp read_time = 2; @@ -230,11 +232,11 @@ public com.google.protobuf.Timestamp getReadTime() { * * *
-   * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-   * the past or of the current time. If not specified, the current time will be
-   * used. Due to delays in resource data collection and indexing, there is a
-   * volatile window during which running the same query may get different
-   * results.
+   * Timestamp to take an asset snapshot. This can only be set to a timestamp
+   * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+   * the current time will be used. Due to delays in resource data collection
+   * and indexing, there is a volatile window during which running the same
+   * query may get different results.
    * 
* * .google.protobuf.Timestamp read_time = 2; @@ -250,7 +252,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; @@ -263,7 +268,10 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() { * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; @@ -276,7 +284,10 @@ public int getAssetTypesCount() { * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; @@ -289,7 +300,10 @@ public java.lang.String getAssetTypes(int index) { * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; @@ -809,9 +823,10 @@ public Builder mergeFrom( * * *
-     * Required. The relative name of the root asset. This can only be an organization
-     * number (such as "organizations/123"), a project ID (such as
-     * "projects/my-project-id"), or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), a project number (such as "projects/12345"), or
+     * a folder number (such as "folders/123").
      * 
* * string parent = 1; @@ -831,9 +846,10 @@ public java.lang.String getParent() { * * *
-     * Required. The relative name of the root asset. This can only be an organization
-     * number (such as "organizations/123"), a project ID (such as
-     * "projects/my-project-id"), or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), a project number (such as "projects/12345"), or
+     * a folder number (such as "folders/123").
      * 
* * string parent = 1; @@ -853,9 +869,10 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The relative name of the root asset. This can only be an organization
-     * number (such as "organizations/123"), a project ID (such as
-     * "projects/my-project-id"), or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), a project number (such as "projects/12345"), or
+     * a folder number (such as "folders/123").
      * 
* * string parent = 1; @@ -873,9 +890,10 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The relative name of the root asset. This can only be an organization
-     * number (such as "organizations/123"), a project ID (such as
-     * "projects/my-project-id"), or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), a project number (such as "projects/12345"), or
+     * a folder number (such as "folders/123").
      * 
* * string parent = 1; @@ -890,9 +908,10 @@ public Builder clearParent() { * * *
-     * Required. The relative name of the root asset. This can only be an organization
-     * number (such as "organizations/123"), a project ID (such as
-     * "projects/my-project-id"), or a project number (such as "projects/12345").
+     * Required. The relative name of the root asset. This can only be an
+     * organization number (such as "organizations/123"), a project ID (such as
+     * "projects/my-project-id"), a project number (such as "projects/12345"), or
+     * a folder number (such as "folders/123").
      * 
* * string parent = 1; @@ -918,11 +937,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -934,11 +953,11 @@ public boolean hasReadTime() { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -954,11 +973,11 @@ public com.google.protobuf.Timestamp getReadTime() { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -980,11 +999,11 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -1003,11 +1022,11 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -1031,11 +1050,11 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -1055,11 +1074,11 @@ public Builder clearReadTime() { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -1073,11 +1092,11 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -1093,11 +1112,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * * *
-     * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-     * the past or of the current time. If not specified, the current time will be
-     * used. Due to delays in resource data collection and indexing, there is a
-     * volatile window during which running the same query may get different
-     * results.
+     * Timestamp to take an asset snapshot. This can only be set to a timestamp
+     * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+     * the current time will be used. Due to delays in resource data collection
+     * and indexing, there is a volatile window during which running the same
+     * query may get different results.
      * 
* * .google.protobuf.Timestamp read_time = 2; @@ -1133,7 +1152,10 @@ private void ensureAssetTypesIsMutable() { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1146,7 +1168,10 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1159,7 +1184,10 @@ public int getAssetTypesCount() { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1172,7 +1200,10 @@ public java.lang.String getAssetTypes(int index) { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1185,7 +1216,10 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1204,7 +1238,10 @@ public Builder setAssetTypes(int index, java.lang.String value) { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1223,7 +1260,10 @@ public Builder addAssetTypes(java.lang.String value) { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1239,7 +1279,10 @@ public Builder addAllAssetTypes(java.lang.Iterable values) { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; @@ -1255,7 +1298,10 @@ public Builder clearAssetTypes() { * *
      * A list of asset types of which to take a snapshot for. For example:
-     * "google.compute.disk". If specified, only matching assets will be returned.
+     * "google.compute.Disk". If specified, only matching assets will be returned.
+     * See [Introduction to Cloud Asset
+     * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+     * for all supported asset types.
      * 
* * repeated string asset_types = 3; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java index 0d2db5c47253..aeab0fa8ef40 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java @@ -12,9 +12,10 @@ public interface ExportAssetsRequestOrBuilder * * *
-   * Required. The relative name of the root asset. This can only be an organization
-   * number (such as "organizations/123"), a project ID (such as
-   * "projects/my-project-id"), or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), a project number (such as "projects/12345"), or
+   * a folder number (such as "folders/123").
    * 
* * string parent = 1; @@ -24,9 +25,10 @@ public interface ExportAssetsRequestOrBuilder * * *
-   * Required. The relative name of the root asset. This can only be an organization
-   * number (such as "organizations/123"), a project ID (such as
-   * "projects/my-project-id"), or a project number (such as "projects/12345").
+   * Required. The relative name of the root asset. This can only be an
+   * organization number (such as "organizations/123"), a project ID (such as
+   * "projects/my-project-id"), a project number (such as "projects/12345"), or
+   * a folder number (such as "folders/123").
    * 
* * string parent = 1; @@ -37,11 +39,11 @@ public interface ExportAssetsRequestOrBuilder * * *
-   * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-   * the past or of the current time. If not specified, the current time will be
-   * used. Due to delays in resource data collection and indexing, there is a
-   * volatile window during which running the same query may get different
-   * results.
+   * Timestamp to take an asset snapshot. This can only be set to a timestamp
+   * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+   * the current time will be used. Due to delays in resource data collection
+   * and indexing, there is a volatile window during which running the same
+   * query may get different results.
    * 
* * .google.protobuf.Timestamp read_time = 2; @@ -51,11 +53,11 @@ public interface ExportAssetsRequestOrBuilder * * *
-   * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-   * the past or of the current time. If not specified, the current time will be
-   * used. Due to delays in resource data collection and indexing, there is a
-   * volatile window during which running the same query may get different
-   * results.
+   * Timestamp to take an asset snapshot. This can only be set to a timestamp
+   * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+   * the current time will be used. Due to delays in resource data collection
+   * and indexing, there is a volatile window during which running the same
+   * query may get different results.
    * 
* * .google.protobuf.Timestamp read_time = 2; @@ -65,11 +67,11 @@ public interface ExportAssetsRequestOrBuilder * * *
-   * Timestamp to take an asset snapshot. This can only be set to a timestamp in
-   * the past or of the current time. If not specified, the current time will be
-   * used. Due to delays in resource data collection and indexing, there is a
-   * volatile window during which running the same query may get different
-   * results.
+   * Timestamp to take an asset snapshot. This can only be set to a timestamp
+   * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+   * the current time will be used. Due to delays in resource data collection
+   * and indexing, there is a volatile window during which running the same
+   * query may get different results.
    * 
* * .google.protobuf.Timestamp read_time = 2; @@ -81,7 +83,10 @@ public interface ExportAssetsRequestOrBuilder * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; @@ -92,7 +97,10 @@ public interface ExportAssetsRequestOrBuilder * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; @@ -103,7 +111,10 @@ public interface ExportAssetsRequestOrBuilder * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; @@ -114,7 +125,10 @@ public interface ExportAssetsRequestOrBuilder * *
    * A list of asset types of which to take a snapshot for. For example:
-   * "google.compute.disk". If specified, only matching assets will be returned.
+   * "google.compute.Disk". If specified, only matching assets will be returned.
+   * See [Introduction to Cloud Asset
+   * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+   * for all supported asset types.
    * 
* * repeated string asset_types = 3; diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java index 62cae057f8e8..ea5bae07f52c 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java @@ -22,9 +22,7 @@ private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder super(builder); } - private GcsDestination() { - uri_ = ""; - } + private GcsDestination() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -53,8 +51,8 @@ private GcsDestination( case 10: { java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; + objectUriCase_ = 1; + objectUri_ = s; break; } default: @@ -91,27 +89,70 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.asset.v1beta1.GcsDestination.Builder.class); } + private int objectUriCase_ = 0; + private java.lang.Object objectUri_; + + public enum ObjectUriCase implements com.google.protobuf.Internal.EnumLite { + URI(1), + OBJECTURI_NOT_SET(0); + private final int value; + + private ObjectUriCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ObjectUriCase valueOf(int value) { + return forNumber(value); + } + + public static ObjectUriCase forNumber(int value) { + switch (value) { + case 1: + return URI; + case 0: + return OBJECTURI_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); + } + public static final int URI_FIELD_NUMBER = 1; - private volatile java.lang.Object uri_; /** * * *
-   * The path of the Cloud Storage objects. It's the same path that is used by
-   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * The uri of the Cloud Storage object. It's the same uri that is used by
+   * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+   * Editing Object
+   * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
    * for more information.
    * 
* * string uri = 1; */ public java.lang.String getUri() { - java.lang.Object ref = uri_; + java.lang.Object ref = ""; + if (objectUriCase_ == 1) { + ref = objectUri_; + } 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(); - uri_ = s; + if (objectUriCase_ == 1) { + objectUri_ = s; + } return s; } } @@ -119,19 +160,26 @@ public java.lang.String getUri() { * * *
-   * The path of the Cloud Storage objects. It's the same path that is used by
-   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * The uri of the Cloud Storage object. It's the same uri that is used by
+   * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+   * Editing Object
+   * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
    * for more information.
    * 
* * string uri = 1; */ public com.google.protobuf.ByteString getUriBytes() { - java.lang.Object ref = uri_; + java.lang.Object ref = ""; + if (objectUriCase_ == 1) { + ref = objectUri_; + } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uri_ = b; + if (objectUriCase_ == 1) { + objectUri_ = b; + } return b; } else { return (com.google.protobuf.ByteString) ref; @@ -152,8 +200,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); + if (objectUriCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } unknownFields.writeTo(output); } @@ -164,8 +212,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); + if (objectUriCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, objectUri_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -184,7 +232,15 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.asset.v1beta1.GcsDestination) obj; boolean result = true; - result = result && getUri().equals(other.getUri()); + result = result && getObjectUriCase().equals(other.getObjectUriCase()); + if (!result) return false; + switch (objectUriCase_) { + case 1: + result = result && getUri().equals(other.getUri()); + break; + case 0: + default: + } result = result && unknownFields.equals(other.unknownFields); return result; } @@ -196,8 +252,14 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); + switch (objectUriCase_) { + case 1: + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + break; + case 0: + default: + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -343,8 +405,8 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - uri_ = ""; - + objectUriCase_ = 0; + objectUri_ = null; return this; } @@ -372,7 +434,10 @@ public com.google.cloud.asset.v1beta1.GcsDestination build() { public com.google.cloud.asset.v1beta1.GcsDestination buildPartial() { com.google.cloud.asset.v1beta1.GcsDestination result = new com.google.cloud.asset.v1beta1.GcsDestination(this); - result.uri_ = uri_; + if (objectUriCase_ == 1) { + result.objectUri_ = objectUri_; + } + result.objectUriCase_ = objectUriCase_; onBuilt(); return result; } @@ -422,9 +487,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1beta1.GcsDestination other) { if (other == com.google.cloud.asset.v1beta1.GcsDestination.getDefaultInstance()) return this; - if (!other.getUri().isEmpty()) { - uri_ = other.uri_; - onChanged(); + switch (other.getObjectUriCase()) { + case URI: + { + objectUriCase_ = 1; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case OBJECTURI_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -455,24 +529,44 @@ public Builder mergeFrom( return this; } - private java.lang.Object uri_ = ""; + private int objectUriCase_ = 0; + private java.lang.Object objectUri_; + + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); + } + + public Builder clearObjectUri() { + objectUriCase_ = 0; + objectUri_ = null; + onChanged(); + return this; + } + /** * * *
-     * The path of the Cloud Storage objects. It's the same path that is used by
-     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * The uri of the Cloud Storage object. It's the same uri that is used by
+     * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+     * Editing Object
+     * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
      * for more information.
      * 
* * string uri = 1; */ public java.lang.String getUri() { - java.lang.Object ref = uri_; + java.lang.Object ref = ""; + if (objectUriCase_ == 1) { + ref = objectUri_; + } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - uri_ = s; + if (objectUriCase_ == 1) { + objectUri_ = s; + } return s; } else { return (java.lang.String) ref; @@ -482,19 +576,26 @@ public java.lang.String getUri() { * * *
-     * The path of the Cloud Storage objects. It's the same path that is used by
-     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * The uri of the Cloud Storage object. It's the same uri that is used by
+     * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+     * Editing Object
+     * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
      * for more information.
      * 
* * string uri = 1; */ public com.google.protobuf.ByteString getUriBytes() { - java.lang.Object ref = uri_; + java.lang.Object ref = ""; + if (objectUriCase_ == 1) { + ref = objectUri_; + } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uri_ = b; + if (objectUriCase_ == 1) { + objectUri_ = b; + } return b; } else { return (com.google.protobuf.ByteString) ref; @@ -504,8 +605,10 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-     * The path of the Cloud Storage objects. It's the same path that is used by
-     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * The uri of the Cloud Storage object. It's the same uri that is used by
+     * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+     * Editing Object
+     * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
      * for more information.
      * 
* @@ -515,8 +618,8 @@ public Builder setUri(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - - uri_ = value; + objectUriCase_ = 1; + objectUri_ = value; onChanged(); return this; } @@ -524,25 +627,31 @@ public Builder setUri(java.lang.String value) { * * *
-     * The path of the Cloud Storage objects. It's the same path that is used by
-     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * The uri of the Cloud Storage object. It's the same uri that is used by
+     * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+     * Editing Object
+     * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
      * for more information.
      * 
* * string uri = 1; */ public Builder clearUri() { - - uri_ = getDefaultInstance().getUri(); - onChanged(); + if (objectUriCase_ == 1) { + objectUriCase_ = 0; + objectUri_ = null; + onChanged(); + } return this; } /** * * *
-     * The path of the Cloud Storage objects. It's the same path that is used by
-     *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+     * The uri of the Cloud Storage object. It's the same uri that is used by
+     * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+     * Editing Object
+     * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
      * for more information.
      * 
* @@ -553,8 +662,8 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - - uri_ = value; + objectUriCase_ = 1; + objectUri_ = value; onChanged(); return this; } diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java index 65b54d40b70c..5f04fe37e7f0 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java @@ -12,8 +12,10 @@ public interface GcsDestinationOrBuilder * * *
-   * The path of the Cloud Storage objects. It's the same path that is used by
-   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * The uri of the Cloud Storage object. It's the same uri that is used by
+   * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+   * Editing Object
+   * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
    * for more information.
    * 
* @@ -24,12 +26,16 @@ public interface GcsDestinationOrBuilder * * *
-   * The path of the Cloud Storage objects. It's the same path that is used by
-   *  gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+   * The uri of the Cloud Storage object. It's the same uri that is used by
+   * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+   * Editing Object
+   * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
    * for more information.
    * 
* * string uri = 1; */ com.google.protobuf.ByteString getUriBytes(); + + public com.google.cloud.asset.v1beta1.GcsDestination.ObjectUriCase getObjectUriCase(); } diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java index 08fb8afa53d1..ad48d08e1971 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java @@ -7,7 +7,7 @@ * * *
- * A time window of [start_time, end_time).
+ * A time window of (start_time, end_time].
  * 
* * Protobuf type {@code google.cloud.asset.v1beta1.TimeWindow} @@ -118,7 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Start time of the time window (inclusive).
+   * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; @@ -130,7 +130,7 @@ public boolean hasStartTime() { * * *
-   * Start time of the time window (inclusive).
+   * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; @@ -142,7 +142,7 @@ public com.google.protobuf.Timestamp getStartTime() { * * *
-   * Start time of the time window (inclusive).
+   * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; @@ -157,7 +157,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
-   * End time of the time window (exclusive).
+   * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* @@ -170,7 +170,7 @@ public boolean hasEndTime() { * * *
-   * End time of the time window (exclusive).
+   * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* @@ -183,7 +183,7 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
-   * End time of the time window (exclusive).
+   * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* @@ -376,7 +376,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A time window of [start_time, end_time).
+   * A time window of (start_time, end_time].
    * 
* * Protobuf type {@code google.cloud.asset.v1beta1.TimeWindow} @@ -560,7 +560,7 @@ public Builder mergeFrom( * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -572,7 +572,7 @@ public boolean hasStartTime() { * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -588,7 +588,7 @@ public com.google.protobuf.Timestamp getStartTime() { * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -610,7 +610,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -629,7 +629,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -653,7 +653,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -673,7 +673,7 @@ public Builder clearStartTime() { * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -687,7 +687,7 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -703,7 +703,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
-     * Start time of the time window (inclusive).
+     * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; @@ -735,7 +735,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -748,7 +748,7 @@ public boolean hasEndTime() { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -765,7 +765,7 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -788,7 +788,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -808,7 +808,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -833,7 +833,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -854,7 +854,7 @@ public Builder clearEndTime() { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -869,7 +869,7 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* @@ -886,7 +886,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
-     * End time of the time window (exclusive).
+     * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java index 9ac0b5367a64..2d310d2df98a 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java @@ -12,7 +12,7 @@ public interface TimeWindowOrBuilder * * *
-   * Start time of the time window (inclusive).
+   * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; @@ -22,7 +22,7 @@ public interface TimeWindowOrBuilder * * *
-   * Start time of the time window (inclusive).
+   * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; @@ -32,7 +32,7 @@ public interface TimeWindowOrBuilder * * *
-   * Start time of the time window (inclusive).
+   * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; @@ -43,7 +43,7 @@ public interface TimeWindowOrBuilder * * *
-   * End time of the time window (exclusive).
+   * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* @@ -54,7 +54,7 @@ public interface TimeWindowOrBuilder * * *
-   * End time of the time window (exclusive).
+   * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* @@ -65,7 +65,7 @@ public interface TimeWindowOrBuilder * * *
-   * End time of the time window (exclusive).
+   * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto index aaaa0ba223b4..16e0789ebc46 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto @@ -40,6 +40,10 @@ service AssetService { option (google.api.http) = { post: "/v1beta1/{parent=projects/*}:exportAssets" body: "*" + additional_bindings { + post: "/v1beta1/{parent=folders/*}:exportAssets" + body: "*" + } additional_bindings { post: "/v1beta1/{parent=organizations/*}:exportAssets" body: "*" @@ -64,20 +68,24 @@ service AssetService { // Export asset request. message ExportAssetsRequest { - // Required. The relative name of the root asset. This can only be an organization - // number (such as "organizations/123"), a project ID (such as - // "projects/my-project-id"), or a project number (such as "projects/12345"). + // Required. The relative name of the root asset. This can only be an + // organization number (such as "organizations/123"), a project ID (such as + // "projects/my-project-id"), a project number (such as "projects/12345"), or + // a folder number (such as "folders/123"). string parent = 1; - // Timestamp to take an asset snapshot. This can only be set to a timestamp in - // the past or of the current time. If not specified, the current time will be - // used. Due to delays in resource data collection and indexing, there is a - // volatile window during which running the same query may get different - // results. + // Timestamp to take an asset snapshot. This can only be set to a timestamp + // between 2018-10-02 UTC (inclusive) and the current time. If not specified, + // the current time will be used. Due to delays in resource data collection + // and indexing, there is a volatile window during which running the same + // query may get different results. google.protobuf.Timestamp read_time = 2; // A list of asset types of which to take a snapshot for. For example: - // "google.compute.disk". If specified, only matching assets will be returned. + // "google.compute.Disk". If specified, only matching assets will be returned. + // See [Introduction to Cloud Asset + // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) + // for all supported asset types. repeated string asset_types = 3; // Asset content type. If not specified, no content but the asset name will be @@ -120,9 +128,12 @@ message BatchGetAssetsHistoryRequest { // Required. The content type. ContentType content_type = 3; - // Required. The time window for the asset history. The start time is - // required. The returned results contain all temporal assets whose time - // window overlap with read_time_window. + // Optional. The time window for the asset history. Both start_time and + // end_time are optional and if set, it must be after 2018-10-02 UTC. If + // end_time is not set, it is default to current timestamp. If start_time is + // not set, the snapshot of the assets at end_time will be returned. The + // returned results contain all temporal assets whose time window overlap with + // read_time_window. TimeWindow read_time_window = 4; } @@ -143,10 +154,15 @@ message OutputConfig { // A Cloud Storage location. message GcsDestination { - // The path of the Cloud Storage objects. It's the same path that is used by - // gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) - // for more information. - string uri = 1; + // Required. + oneof object_uri { + // The uri of the Cloud Storage object. It's the same uri that is used by + // gsutil. For example: "gs://bucket_name/object_name". See [Viewing and + // Editing Object + // Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) + // for more information. + string uri = 1; + } } // Asset content type. diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto index 5d339a20f007..cde70cddfc0b 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto @@ -44,12 +44,12 @@ message TemporalAsset { Asset asset = 3; } -// A time window of [start_time, end_time). +// A time window of (start_time, end_time]. message TimeWindow { - // Start time of the time window (inclusive). + // Start time of the time window (exclusive). google.protobuf.Timestamp start_time = 1; - // End time of the time window (exclusive). + // End time of the time window (inclusive). // Current timestamp if not specified. google.protobuf.Timestamp end_time = 2; } @@ -62,7 +62,7 @@ message Asset { // for more information. string name = 1; - // Type of the asset. Example: "google.compute.disk". + // Type of the asset. Example: "google.compute.Disk". string asset_type = 2; // Representation of the resource. diff --git a/google-cloud-clients/google-cloud-asset/synth.metadata b/google-cloud-clients/google-cloud-asset/synth.metadata index 991df3e55add..536e87aa7375 100644 --- a/google-cloud-clients/google-cloud-asset/synth.metadata +++ b/google-cloud-clients/google-cloud-asset/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:33:36.590398Z", + "updateTime": "2019-01-19T08:33:18.886065Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "96adaf6de4fa2cabbdd5de560a367bb488e0639b", + "internalRef": "229998977" } } ], From c9f7d7bb12a08f084dd826f27ce997db658dc86b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 22 Jan 2019 10:55:56 -0800 Subject: [PATCH 42/90] Regenerate scheduler client (#4396) --- .../v1beta1/AppEngineHttpTarget.java | 22 +++++++++---------- .../v1beta1/AppEngineHttpTargetOrBuilder.java | 10 ++++----- .../cloud/scheduler/v1beta1/target.proto | 2 +- .../v1beta1/CloudSchedulerClient.java | 2 +- .../v1beta1/CloudSchedulerSettings.java | 2 +- .../cloud/scheduler/v1beta1/package-info.java | 2 +- .../v1beta1/stub/CloudSchedulerStub.java | 2 +- .../stub/CloudSchedulerStubSettings.java | 2 +- .../GrpcCloudSchedulerCallableFactory.java | 2 +- .../v1beta1/stub/GrpcCloudSchedulerStub.java | 2 +- .../v1beta1/CloudSchedulerClientTest.java | 2 +- .../scheduler/v1beta1/MockCloudScheduler.java | 2 +- .../v1beta1/MockCloudSchedulerImpl.java | 2 +- .../google-cloud-scheduler/synth.metadata | 10 ++++----- 14 files changed, 32 insertions(+), 32 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java index acd5c9d53804..9467748ff0b5 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java @@ -334,7 +334,7 @@ public int getHeadersCount() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -378,7 +378,7 @@ public java.util.Map getHeaders() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -414,7 +414,7 @@ public java.util.Map getHeadersMap() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -454,7 +454,7 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -1355,7 +1355,7 @@ public int getHeadersCount() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -1399,7 +1399,7 @@ public java.util.Map getHeaders() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -1435,7 +1435,7 @@ public java.util.Map getHeadersMap() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -1476,7 +1476,7 @@ public java.lang.String getHeadersOrDefault( * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -1524,7 +1524,7 @@ public Builder clearHeaders() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -1569,7 +1569,7 @@ public java.util.Map getMutableHeaders() { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -1612,7 +1612,7 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) { * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java index 584a0dae0efd..92c63fbcb1ef 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java @@ -119,7 +119,7 @@ public interface AppEngineHttpTargetOrBuilder * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -153,7 +153,7 @@ public interface AppEngineHttpTargetOrBuilder * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -190,7 +190,7 @@ public interface AppEngineHttpTargetOrBuilder * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -224,7 +224,7 @@ public interface AppEngineHttpTargetOrBuilder * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; @@ -258,7 +258,7 @@ public interface AppEngineHttpTargetOrBuilder * [Reading request headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). * In addition, some App Engine headers, which contain * job-specific information, are also be sent to the job handler; see - * [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + * [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). *
* * map<string, string> headers = 4; diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto index a3fc6426cfe6..210002e32a20 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto @@ -126,7 +126,7 @@ message AppEngineHttpTarget { // // In addition, some App Engine headers, which contain // job-specific information, are also be sent to the job handler; see - // [request headers](https://cloud.google.comappengine/docs/standard/python/config/cron#securing_urls_for_cron). + // [request headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). map headers = 4; // Body. diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java index 1e3a8fffd56c..f933c5f97907 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java index db216d90a957..ed45ce188ca8 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java index 4f5848b10f17..1099fea70f06 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java index e654678b7a25..c7413dc5f50e 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java index 7c4112eff81f..aacf8d1d902f 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java index 7bda4ea77790..07cd1cf672f7 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java index d147c62cbd8c..a80233d442fb 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java +++ b/google-cloud-clients/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java index 25d32eb4356f..9006ade66f42 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java +++ b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java index 681c4c81ad32..499ddbaec156 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java +++ b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java index 9a8388821806..0f4356395a92 100644 --- a/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java +++ b/google-cloud-clients/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-scheduler/synth.metadata b/google-cloud-clients/google-cloud-scheduler/synth.metadata index 3fe1cfae7e55..676a40244f4b 100644 --- a/google-cloud-clients/google-cloud-scheduler/synth.metadata +++ b/google-cloud-clients/google-cloud-scheduler/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-05T08:47:23.002288Z", + "updateTime": "2019-01-19T08:47:20.100947Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.4", - "dockerImage": "googleapis/artman@sha256:8b45fae963557c3299921037ecbb86f0689f41b1b4aea73408ebc50562cb2857" + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a111a53c0c6722afcd793b64724ceef7862db5b9", - "internalRef": "227896184" + "sha": "96adaf6de4fa2cabbdd5de560a367bb488e0639b", + "internalRef": "229998977" } } ], From ed7bc857a05b34eed6be182d4798a62bf09cd394 Mon Sep 17 00:00:00 2001 From: Michael Lehenbauer Date: Tue, 22 Jan 2019 10:57:33 -0800 Subject: [PATCH 43/90] Firestore: Include a trailing /documents on root resource paths (#4352) This is required for v1 and accepted in v1beta1. Port of https://github.com/googleapis/nodejs-firestore/pull/516/commits/52c7381bc4f964c0ca0925f19c5192bf4a3e63c6 --- .../main/java/com/google/cloud/firestore/FirestoreImpl.java | 2 +- .../src/main/java/com/google/cloud/firestore/ResourcePath.java | 3 +-- .../java/com/google/cloud/firestore/LocalFirestoreHelper.java | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java index 568ee6f0b87b..fda247f81626 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java @@ -398,7 +398,7 @@ boolean areTimestampsInSnapshotsEnabled() { /** Returns the name of the Firestore project associated with this client. */ String getDatabaseName() { - return databasePath.toString(); + return databasePath.getDatabaseName().toString(); } /** Returns the underlying RPC client. */ diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java index 0633d938866a..6f6be76a9829 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java @@ -127,9 +127,8 @@ String getPath() { */ String getName() { String path = getPath(); - if (path.isEmpty()) { - return getDatabaseName().toString(); + return getDatabaseName() + "/documents"; } else { return getDatabaseName() + "/documents/" + getPath(); } diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java index 8876fa83cf64..fe740c7cc476 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java @@ -435,7 +435,7 @@ public static RunQueryRequest query(StructuredQuery... query) { public static RunQueryRequest query( @Nullable ByteString transactionId, StructuredQuery... query) { RunQueryRequest.Builder request = RunQueryRequest.newBuilder(); - request.setParent(LocalFirestoreHelper.DATABASE_NAME); + request.setParent(LocalFirestoreHelper.DATABASE_NAME + "/documents"); StructuredQuery.Builder structuredQuery = request.getStructuredQueryBuilder(); structuredQuery.addFrom( StructuredQuery.CollectionSelector.newBuilder().setCollectionId("coll")); From 82287b570708748c411d05c40f3932cff9606feb Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 23 Jan 2019 15:28:46 -0500 Subject: [PATCH 44/90] Release v0.79.0 (#4402) --- README.md | 8 +- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 204 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/README.md | 2 +- google-cloud-bom/pom.xml | 286 +++++++-------- .../google-cloud-asset/README.md | 6 +- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/README.md | 6 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/README.md | 6 +- .../google-cloud-bigquery/pom.xml | 4 +- .../README.md | 6 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/README.md | 6 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/README.md | 6 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/README.md | 6 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/README.md | 6 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/README.md | 6 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-contrib/README.md | 6 +- .../google-cloud-logging-logback/README.md | 6 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/README.md | 6 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/README.md | 6 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/README.md | 6 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/README.md | 6 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/README.md | 6 +- .../google-cloud-dialogflow/pom.xml | 4 +- .../google-cloud-dlp/README.md | 6 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- .../google-cloud-dns/README.md | 6 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/README.md | 6 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/README.md | 6 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/README.md | 6 +- .../google-cloud-iamcredentials/pom.xml | 4 +- .../google-cloud-iot/README.md | 6 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- .../google-cloud-kms/README.md | 6 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/README.md | 6 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/README.md | 6 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/README.md | 6 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/README.md | 6 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/README.md | 6 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/README.md | 6 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/README.md | 6 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/README.md | 6 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/README.md | 6 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/README.md | 6 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/README.md | 6 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/README.md | 6 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/README.md | 6 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/README.md | 6 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/README.md | 6 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/README.md | 6 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/README.md | 6 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/README.md | 6 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/README.md | 6 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/README.md | 6 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/README.md | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/README.md | 14 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 326 +++++++++--------- 211 files changed, 876 insertions(+), 876 deletions(-) diff --git a/README.md b/README.md index 8ec83ebc3b1b..44092d51b8fb 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.78.0-alpha + 0.79.0-alpha pom import @@ -85,11 +85,11 @@ If you are using Maven, add this to your pom.xml file [//]: # ({x-version-update-start:google-cloud-storage:released}) If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.60.0' +compile 'com.google.cloud:google-cloud-storage:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.61.0" ``` [//]: # ({x-version-update-end}) @@ -110,7 +110,7 @@ If you are running into problems with version conflicts, the easiest way to solv com.google.cloud google-cloud-bom - 0.78.0-alpha + 0.79.0-alpha pom import diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index 16a3d78d8a61..eebfbf789d34 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 3ad261f9b5a7..2f50e2489434 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 44241721b4b4..4303248915aa 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index 591c9c972e71..bed781b18065 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index 668066964530..6d3912dc853b 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index 778ed7ac76e8..50ca802846f6 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index f1571750a38b..3e8a6a2e83b4 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index bda90d80cb43..8741ef0037ec 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index 72b5f3ffa6a7..812b26235d8c 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index be80485f75c3..0f566f8e2e69 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index 688ea1ae9141..93ed8ab0a681 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 1181c1c4213d..18ffaabf7f6c 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index dbfbe183f1e1..35ec6750846b 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index 08d0cef9124c..c182bb2998d7 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index bdabf3b8b427..a98248339140 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index 401e6c1c9c87..adf59d42a3f6 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index b2e7deba74c4..565466816663 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index 6252bbfac221..9aaa7e0ea052 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 00963e144e62..5fe78d5d2146 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.42.1-SNAPSHOT + 1.43.0 grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index d7d0df231043..413c95c12f41 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index 197ecf622ae5..1705b461f729 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index 2ac16e3e9935..98b56ca36e00 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.42.1-SNAPSHOT + 1.43.0 grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index 55d67f48c6ef..afcd2296c8bc 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index e5c78e555e26..532e72dba106 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.42.1-SNAPSHOT + 1.43.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index 8816d0caf7ee..9dd5dd291c5a 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index 34903cfd481f..c716130d6d70 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index 85bade9b5657..711afeb5ca67 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index afa5c3b4ac3e..69035cdb2d19 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index 0c9399790971..5be4be8b018c 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.5.1-SNAPSHOT + 1.6.0 grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index 5e5c625ac9e4..7f36fa5fefd3 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.5.1-SNAPSHOT + 1.6.0 grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index 60860d17613f..3e55378921da 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.5.1-SNAPSHOT + 1.6.0 grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index 7593b8a3f7b4..bbc7e1c00d91 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 1bc719be7373..5b95048dc23c 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index e75019d7b275..c0c3d5167d60 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index 0d349efd4a09..99b748059830 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index a65e79e94c68..cbf6b4319501 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index 9cc80c21b72a..673a4315647f 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index d34c179450b4..090cc270a625 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index 890b6dafaa23..35b383f3281b 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index 46d62c46a1bf..c744bc1f58fa 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index 255e9a618e73..66e485a5de3f 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index c4657ecb17a5..106f3ec507cf 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 0179bdc5d8d1..1b36530299d1 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index 309ea5c8da41..f2d2b1889d35 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index 046b10c1b906..8abfe6f44daa 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index 0f79f1e3386d..d50f7560ec27 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.42.1-SNAPSHOT + 1.43.0 grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index af8475e7aa4e..e15028aa1c50 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index 3b86ed49737d..c4117ad16d8f 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.42.1-SNAPSHOT + 1.43.0 grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 31538bbf2019..f48c4aeb138f 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index a5864f6cf9b5..c86de5dcbd9c 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.43.1-SNAPSHOT + 0.44.0 grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 2b320e031269..2e5a02f09c1a 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.43.1-SNAPSHOT + 0.44.0 Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,507 +142,507 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-container-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-dlp-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-os-login-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-trace-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index 7d95a13d31fd..cabdc95b77a4 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index 2a6469b4e241..13a7b460d6a1 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 8136aca65add..9d1a86297623 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 93f483823cbe..2a42b8570aa1 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index 6041db8cfa2d..be907b154998 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index 294a9ee197ce..f8fb89321121 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index 03b3122dd381..69c48aa3f365 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index 9b276b065cf3..48631421c5e6 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index 39db727c9f27..e4aa1806e814 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index 4da4517883fc..a045bea64f45 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 0e32f62cc4f6..308d1849bfeb 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index 8991c87e4f63..d00092ff7176 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index 1a64eacbb48a..8d0933acd732 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index 75978de4b97e..32855f7aba3b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index 8d5e10d0ec68..364836eb4476 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index e576fcf2f484..370840f0def7 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index 040d811bebbf..b6aa6feb8d8f 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index ec9cc3fef1aa..cd5bc6c58f78 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index 5b1fb462a768..ce911aaefb13 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index b52f6ce8e65c..204bcc0859c8 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.42.1-SNAPSHOT + 1.43.0 proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index ba7948e0f2d2..64589d083504 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index d04eb4bd83ed..3bcbac4e5403 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 52b6a30cca73..3fa61520ef47 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.42.1-SNAPSHOT + 1.43.0 proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index 939b7c2f485e..6301845d9471 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index 3181bf36a16f..3e4e6057620a 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.42.1-SNAPSHOT + 1.43.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index e7064612c574..150bb1330506 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index 8cf80ded4995..61aadb55d331 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index 5d23272aff2a..ec81d3770ef9 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index 0a5da35f44a3..b39225dd42ae 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index a559d0258c17..adfa41368a16 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.5.1-SNAPSHOT + 1.6.0 proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 691a83b15a37..57ce22a3ce12 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.5.1-SNAPSHOT + 1.6.0 proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index d7a88aebe9be..cbfea1d5b099 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.5.1-SNAPSHOT + 1.6.0 proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index 143294d4db85..c0c3d4a68dab 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index be94b8cf5963..94a7851daf7f 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index 530065681b64..0ee2b0803a99 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index 918d36ba73bf..764ec191c2c7 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index 0b2821817b08..3c5ed2242e87 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index 0b8adddc4726..28407bd66c61 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index 14c600f06da1..52dcea113ff4 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index 6aa4971bbb7a..01aa53ead752 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index 4a9d2fdcbca3..25ec00df2253 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index d0c9b2c0c2ba..b081cd48aa37 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 210f73400e9e..412a9186839d 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index 6164d9dadab4..b86de542bbd2 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index 0316949eeda7..eeefcda15449 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index fcb92cbd7445..87dec29a7af5 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index c92e640ad798..8ba1dc3bdff0 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.42.1-SNAPSHOT + 1.43.0 proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index 6859e8b32e05..371640327051 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index 6e777e446dd8..e00235b2e9cc 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.42.1-SNAPSHOT + 1.43.0 proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index 13fbb87d4bc1..2dccf9bc93a0 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 1010851ad4af..aa6a0dcb8ec0 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.43.1-SNAPSHOT + 0.44.0 proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.43.1-SNAPSHOT + 0.44.0 diff --git a/google-cloud-bom/README.md b/google-cloud-bom/README.md index 88cccb136d19..0fefd5390126 100644 --- a/google-cloud-bom/README.md +++ b/google-cloud-bom/README.md @@ -13,7 +13,7 @@ To use it in Maven, add the following to your POM: com.google.cloud google-cloud-bom - 0.78.0-alpha + 0.79.0-alpha pom import diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 071cb2944bdf..d52281fdf11d 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,713 +197,713 @@ com.google.cloud google-cloud-asset - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-automl - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-bigtable - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-bigtable-admin - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-bigtable-emulator - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.cloud google-cloud-bigquery - 1.60.1-SNAPSHOT + 1.61.0 com.google.cloud google-cloud-bigquerydatatransfer - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-compute - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.cloud google-cloud-container - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-container-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-containeranalysis - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-contrib - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.cloud google-cloud-nio - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.cloud google-cloud-core - 1.60.1-SNAPSHOT + 1.61.0 com.google.cloud google-cloud-core-grpc - 1.60.1-SNAPSHOT + 1.61.0 com.google.cloud google-cloud-core-http - 1.60.1-SNAPSHOT + 1.61.0 com.google.cloud google-cloud-dataproc - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-datastore - 1.60.1-SNAPSHOT + 1.61.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-dlp - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-dlp-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-dialogflow - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-dns - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.cloud google-cloud-errorreporting - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-firestore - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-kms - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-kms-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-language - 1.60.1-SNAPSHOT + 1.61.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-logging - 1.60.1-SNAPSHOT + 1.61.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-logging-logback - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.cloud google-cloud-monitoring - 1.60.1-SNAPSHOT + 1.61.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.42.1-SNAPSHOT + 1.43.0 com.google.cloud google-cloud-os-login - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.api.grpc proto-google-cloud-os-login-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-pubsub - 1.60.1-SNAPSHOT + 1.61.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.cloud google-cloud-redis - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-resourcemanager - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-spanner - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.5.1-SNAPSHOT + 1.6.0 com.google.cloud google-cloud-speech - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-storage - 1.60.1-SNAPSHOT + 1.61.0 com.google.cloud google-cloud-tasks - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-texttospeech - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-trace - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-trace-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-translate - 1.60.1-SNAPSHOT + 1.61.0 com.google.cloud google-cloud-vision - 1.60.1-SNAPSHOT + 1.61.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.42.1-SNAPSHOT + 1.43.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.cloud google-cloud-video-intelligence - 0.78.1-beta-SNAPSHOT + 0.79.0-beta com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.43.1-SNAPSHOT + 0.44.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha com.google.cloud google-cloud-iamcredentials - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha diff --git a/google-cloud-clients/google-cloud-asset/README.md b/google-cloud-clients/google-cloud-asset/README.md index fce96fd5a20d..c7d0fb07275b 100644 --- a/google-cloud-clients/google-cloud-asset/README.md +++ b/google-cloud-clients/google-cloud-asset/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-asset - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-asset:0.78.0-beta' +compile 'com.google.cloud:google-cloud-asset:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index a8b1d76d8d53..d2ad3762789c 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/README.md b/google-cloud-clients/google-cloud-automl/README.md index 59a89beed039..e9f4e5a6fbae 100644 --- a/google-cloud-clients/google-cloud-automl/README.md +++ b/google-cloud-clients/google-cloud-automl/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-automl - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-automl:0.78.0-beta' +compile 'com.google.cloud:google-cloud-automl:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index e7034266dc90..e4699660d937 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/README.md b/google-cloud-clients/google-cloud-bigquery/README.md index e48d46b30c7e..c037a9e8ffb9 100644 --- a/google-cloud-clients/google-cloud-bigquery/README.md +++ b/google-cloud-clients/google-cloud-bigquery/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigquery - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquery:1.60.0' +compile 'com.google.cloud:google-cloud-bigquery:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 2b463a218aa3..f63d77ba7c34 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md index 2a5acd98474f..349bccd3f006 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md @@ -23,16 +23,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerydatatransfer - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.78.0-beta' +compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index 92d1f2600111..ea1616d210d3 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/README.md b/google-cloud-clients/google-cloud-bigquerystorage/README.md index 41a02cb0ad3b..a9830d68a629 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/README.md +++ b/google-cloud-clients/google-cloud-bigquerystorage/README.md @@ -20,16 +20,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerystorage - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerystorage:0.78.0-beta' +compile 'com.google.cloud:google-cloud-bigquerystorage:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index f716c9a9ac62..941fba67ffbc 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index 5956b367b7cb..abe67aef5b8e 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha diff --git a/google-cloud-clients/google-cloud-bigtable/README.md b/google-cloud-clients/google-cloud-bigtable/README.md index 00fcf68c32f9..5f731cb20a48 100644 --- a/google-cloud-clients/google-cloud-bigtable/README.md +++ b/google-cloud-clients/google-cloud-bigtable/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigtable - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index 1abb2cc27404..07fd87d47a69 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/README.md b/google-cloud-clients/google-cloud-compute/README.md index f8eeb4d693cc..c2b78f140060 100644 --- a/google-cloud-clients/google-cloud-compute/README.md +++ b/google-cloud-clients/google-cloud-compute/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-compute - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-compute:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-compute:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 716f839c7543..4001e4282238 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/README.md b/google-cloud-clients/google-cloud-container/README.md index e13c85732b87..1511c6a2c78b 100644 --- a/google-cloud-clients/google-cloud-container/README.md +++ b/google-cloud-clients/google-cloud-container/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-container - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-container:0.78.0-beta' +compile 'com.google.cloud:google-cloud-container:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index d69fd2cb9ca9..7aba3cbc7ce7 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/README.md b/google-cloud-clients/google-cloud-containeranalysis/README.md index d999baad772b..8ef98708d30f 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/README.md +++ b/google-cloud-clients/google-cloud-containeranalysis/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-containeranalysis - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-containeranalysis:0.78.0-beta' +compile 'com.google.cloud:google-cloud-containeranalysis:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index cff854134965..a03f06cd981d 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/README.md b/google-cloud-clients/google-cloud-contrib/README.md index a8a97a273522..7da08c448c65 100644 --- a/google-cloud-clients/google-cloud-contrib/README.md +++ b/google-cloud-clients/google-cloud-contrib/README.md @@ -25,16 +25,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-contrib - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-contrib:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-contrib:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md index 69c6cb10f2d1..5d55793aeb39 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-logging-logback - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging-logback:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-logging-logback:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index 91340e277186..f866c9b581d1 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index 4176bae42c6c..e84f6aba4ade 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.78.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.79.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.78.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index ef759489b668..696d3dc72b2f 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md index 5ad8867285ec..3e0a3616c3e3 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md @@ -26,16 +26,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-nio - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-nio:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-nio:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index 9f24df7c5684..1a2391a5ad4c 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index 16b4d06036d9..0353ea7c6749 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index 6b180cf10907..b008d4fefb40 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index 5918e5875e0d..279a57d5c0af 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/README.md b/google-cloud-clients/google-cloud-core/README.md index b92babe05c1e..754ab4d03566 100644 --- a/google-cloud-clients/google-cloud-core/README.md +++ b/google-cloud-clients/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.60.0' +compile 'com.google.cloud:google-cloud-core:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index 6a3ce64ea95e..39ce3c600da2 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/README.md b/google-cloud-clients/google-cloud-dataproc/README.md index 4a683e660193..6ce4490c4913 100644 --- a/google-cloud-clients/google-cloud-dataproc/README.md +++ b/google-cloud-clients/google-cloud-dataproc/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-dataproc - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dataproc:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-dataproc:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index 05ab190d8dbe..63fb976deb4a 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/README.md b/google-cloud-clients/google-cloud-datastore/README.md index c1f1bd3a9c87..d2cf2e86cbbf 100644 --- a/google-cloud-clients/google-cloud-datastore/README.md +++ b/google-cloud-clients/google-cloud-datastore/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-datastore - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-datastore:1.60.0' +compile 'com.google.cloud:google-cloud-datastore:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index 4c7a5edd2fef..07ba373f0c98 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/README.md b/google-cloud-clients/google-cloud-dialogflow/README.md index 6ed8c84d40e0..f8b0a41a4952 100644 --- a/google-cloud-clients/google-cloud-dialogflow/README.md +++ b/google-cloud-clients/google-cloud-dialogflow/README.md @@ -23,16 +23,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dialogflow - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dialogflow:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-dialogflow:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index ee39ae2f1d5e..6c0ab75cce1e 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/README.md b/google-cloud-clients/google-cloud-dlp/README.md index 310d14a645ca..1cf3596c514e 100644 --- a/google-cloud-clients/google-cloud-dlp/README.md +++ b/google-cloud-clients/google-cloud-dlp/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dlp - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dlp:0.78.0-beta' +compile 'com.google.cloud:google-cloud-dlp:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index 942f255371da..ff758f9f8129 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/README.md b/google-cloud-clients/google-cloud-dns/README.md index 853722861f2b..86cc68d8a793 100644 --- a/google-cloud-clients/google-cloud-dns/README.md +++ b/google-cloud-clients/google-cloud-dns/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dns - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dns:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-dns:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index 618aa7ec61da..fd7b3d4f010d 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/README.md b/google-cloud-clients/google-cloud-errorreporting/README.md index 571cf280ecee..e235e6fa9c63 100644 --- a/google-cloud-clients/google-cloud-errorreporting/README.md +++ b/google-cloud-clients/google-cloud-errorreporting/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-errorreporting - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-errorreporting:0.78.0-beta' +compile 'com.google.cloud:google-cloud-errorreporting:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index 8746b3faaa42..c4b5d31b5b99 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/README.md b/google-cloud-clients/google-cloud-firestore/README.md index cb5d87d667a7..9ab28d85d262 100644 --- a/google-cloud-clients/google-cloud-firestore/README.md +++ b/google-cloud-clients/google-cloud-firestore/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-firestore - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-firestore:0.78.0-beta' +compile 'com.google.cloud:google-cloud-firestore:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 7f6ea6757885..6fbe2e4b4535 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/README.md b/google-cloud-clients/google-cloud-iamcredentials/README.md index eb1148196ac9..144a23750733 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/README.md +++ b/google-cloud-clients/google-cloud-iamcredentials/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iamcredentials - 0.5.0-alpha + 0.6.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iamcredentials:0.5.0-alpha' +compile 'com.google.cloud:google-cloud-iamcredentials:0.6.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.5.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.6.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index 19c948e9ff97..6e417b138183 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.5.1-alpha-SNAPSHOT + 0.6.0-alpha jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/README.md b/google-cloud-clients/google-cloud-iot/README.md index 15b7a4ba41cc..aac43ef30cb3 100644 --- a/google-cloud-clients/google-cloud-iot/README.md +++ b/google-cloud-clients/google-cloud-iot/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iot - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iot:0.78.0-beta' +compile 'com.google.cloud:google-cloud-iot:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index 13bb6bc2927f..76d38fdab746 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/README.md b/google-cloud-clients/google-cloud-kms/README.md index a9f640692791..bc6e842f1ac3 100644 --- a/google-cloud-clients/google-cloud-kms/README.md +++ b/google-cloud-clients/google-cloud-kms/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-kms - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-kms:0.78.0-beta' +compile 'com.google.cloud:google-cloud-kms:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 1c6f3425ea09..0be6a7493958 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/README.md b/google-cloud-clients/google-cloud-language/README.md index 54a4aee3a320..5deee6d8ca40 100644 --- a/google-cloud-clients/google-cloud-language/README.md +++ b/google-cloud-clients/google-cloud-language/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-language - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-language:1.60.0' +compile 'com.google.cloud:google-cloud-language:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index fffa3e9601ea..6993769def5b 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/README.md b/google-cloud-clients/google-cloud-logging/README.md index 881113918b8c..5154f3539fd0 100644 --- a/google-cloud-clients/google-cloud-logging/README.md +++ b/google-cloud-clients/google-cloud-logging/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-logging - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging:1.60.0' +compile 'com.google.cloud:google-cloud-logging:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 1440b3af352e..22ec9a731672 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/README.md b/google-cloud-clients/google-cloud-monitoring/README.md index c17cb3d09788..5c40148489bb 100644 --- a/google-cloud-clients/google-cloud-monitoring/README.md +++ b/google-cloud-clients/google-cloud-monitoring/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-monitoring - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-monitoring:1.60.0' +compile 'com.google.cloud:google-cloud-monitoring:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index 9f0cada2f99a..e3c4a4eefe91 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/README.md b/google-cloud-clients/google-cloud-notification/README.md index 980297e1a666..ce5034348742 100644 --- a/google-cloud-clients/google-cloud-notification/README.md +++ b/google-cloud-clients/google-cloud-notification/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-notification - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-notification:0.78.0-beta' +compile 'com.google.cloud:google-cloud-notification:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index 4d1bdb602e30..f9ec39074097 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/README.md b/google-cloud-clients/google-cloud-os-login/README.md index c2baae523d2a..7f38389bde34 100644 --- a/google-cloud-clients/google-cloud-os-login/README.md +++ b/google-cloud-clients/google-cloud-os-login/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-os-login - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-os-login:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-os-login:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index a1785d9e315c..adcfc0228fd4 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/README.md b/google-cloud-clients/google-cloud-pubsub/README.md index cef71799def0..dd05eed73224 100644 --- a/google-cloud-clients/google-cloud-pubsub/README.md +++ b/google-cloud-clients/google-cloud-pubsub/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-pubsub - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-pubsub:1.60.0' +compile 'com.google.cloud:google-cloud-pubsub:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index 7cd47ba2aa5c..df9a13324862 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/README.md b/google-cloud-clients/google-cloud-redis/README.md index cc7a5ab1b94a..9cc97ab38806 100644 --- a/google-cloud-clients/google-cloud-redis/README.md +++ b/google-cloud-clients/google-cloud-redis/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-redis - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-redis:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-redis:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index e2fec98e3ad8..a722910f8c89 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/README.md b/google-cloud-clients/google-cloud-resourcemanager/README.md index 0465debf5a84..076cc3350191 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/README.md +++ b/google-cloud-clients/google-cloud-resourcemanager/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-resourcemanager - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-resourcemanager:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-resourcemanager:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index 487d9ef6554e..95a7dbcfc57d 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/README.md b/google-cloud-clients/google-cloud-scheduler/README.md index e5271af2d5b5..088c8f8287b6 100644 --- a/google-cloud-clients/google-cloud-scheduler/README.md +++ b/google-cloud-clients/google-cloud-scheduler/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-scheduler - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-scheduler:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-scheduler:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index c5bea669c840..346890f047c4 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/README.md b/google-cloud-clients/google-cloud-securitycenter/README.md index 7256ebe0bf1b..473409e9176f 100644 --- a/google-cloud-clients/google-cloud-securitycenter/README.md +++ b/google-cloud-clients/google-cloud-securitycenter/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-securitycenter - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-securitycenter:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-securitycenter:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index 72220d82c3b4..b25b307c4588 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/README.md b/google-cloud-clients/google-cloud-spanner/README.md index cd7307f5c5db..31216152f0b2 100644 --- a/google-cloud-clients/google-cloud-spanner/README.md +++ b/google-cloud-clients/google-cloud-spanner/README.md @@ -20,16 +20,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-spanner - 1.5.0 + 1.6.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-spanner:1.5.0' +compile 'com.google.cloud:google-cloud-spanner:1.6.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.6.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index 2631df0e7dce..8b454d51834d 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.5.1-SNAPSHOT + 1.6.0 jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/README.md b/google-cloud-clients/google-cloud-speech/README.md index 13d8a7d3d926..dcdb16fbf8dd 100644 --- a/google-cloud-clients/google-cloud-speech/README.md +++ b/google-cloud-clients/google-cloud-speech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-speech - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-speech:0.78.0-beta' +compile 'com.google.cloud:google-cloud-speech:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index 5ff620a9ce27..d267cac8419e 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/README.md b/google-cloud-clients/google-cloud-storage/README.md index 97c94abbdbfb..8c671677b2b4 100644 --- a/google-cloud-clients/google-cloud-storage/README.md +++ b/google-cloud-clients/google-cloud-storage/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-storage - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.60.0' +compile 'com.google.cloud:google-cloud-storage:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index 55335ec558a6..8a6ce2a2632f 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/README.md b/google-cloud-clients/google-cloud-tasks/README.md index cd4c38f2ab2d..48b6f6d6ee88 100644 --- a/google-cloud-clients/google-cloud-tasks/README.md +++ b/google-cloud-clients/google-cloud-tasks/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-tasks - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-tasks:0.78.0-beta' +compile 'com.google.cloud:google-cloud-tasks:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index ad7bcfac6333..d385abdf536b 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/README.md b/google-cloud-clients/google-cloud-texttospeech/README.md index a2b694b85cb5..783b07147be7 100644 --- a/google-cloud-clients/google-cloud-texttospeech/README.md +++ b/google-cloud-clients/google-cloud-texttospeech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-texttospeech - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-texttospeech:0.78.0-beta' +compile 'com.google.cloud:google-cloud-texttospeech:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index 56dfbd411932..f9e06e41cf06 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/README.md b/google-cloud-clients/google-cloud-trace/README.md index 86e0ad66eb36..1026dcab96a8 100644 --- a/google-cloud-clients/google-cloud-trace/README.md +++ b/google-cloud-clients/google-cloud-trace/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-trace - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-trace:0.78.0-beta' +compile 'com.google.cloud:google-cloud-trace:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index 670508742318..e574987efc75 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/README.md b/google-cloud-clients/google-cloud-translate/README.md index f9e0aeeea237..d9d322110f69 100644 --- a/google-cloud-clients/google-cloud-translate/README.md +++ b/google-cloud-clients/google-cloud-translate/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-translate - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-translate:1.60.0' +compile 'com.google.cloud:google-cloud-translate:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index 3966e58ecb7e..6bc521230f60 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/README.md b/google-cloud-clients/google-cloud-video-intelligence/README.md index 01514089557e..f9ac67104222 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/README.md +++ b/google-cloud-clients/google-cloud-video-intelligence/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-video-intelligence - 0.78.0-beta + 0.79.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-video-intelligence:0.78.0-beta' +compile 'com.google.cloud:google-cloud-video-intelligence:0.79.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.78.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.79.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index 2f100891edbe..fcecc02213d5 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.78.1-beta-SNAPSHOT + 0.79.0-beta jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/README.md b/google-cloud-clients/google-cloud-vision/README.md index 7c161c709868..591c60dea087 100644 --- a/google-cloud-clients/google-cloud-vision/README.md +++ b/google-cloud-clients/google-cloud-vision/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-vision - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-vision:1.60.0' +compile 'com.google.cloud:google-cloud-vision:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index a82df33ae252..ab995db5e7b4 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/README.md b/google-cloud-clients/google-cloud-websecurityscanner/README.md index 142ae3a4d1cc..f8644168a111 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/README.md +++ b/google-cloud-clients/google-cloud-websecurityscanner/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-websecurityscanner - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-websecurityscanner:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-websecurityscanner:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index 021c6dd5ee64..eff58b1ff8b4 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index a6f4922dc6e0..879e7d9ef2df 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha 1.27.0 1.37.0 @@ -239,7 +239,7 @@ com.google.cloud google-cloud-core - 1.60.1-SNAPSHOT + 1.61.0 test-jar diff --git a/google-cloud-examples/README.md b/google-cloud-examples/README.md index f70d6efbd5f6..04ca448e4228 100644 --- a/google-cloud-examples/README.md +++ b/google-cloud-examples/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-examples - 0.78.0-alpha + 0.79.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-examples:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-examples:0.79.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.78.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.79.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index 08f0b5841433..993eac8ccefd 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index dee19605d52b..869d9af291ab 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha war google-cloud-testing com.google.cloud - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index 5f8bde1ec103..61b77be10123 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha war google-cloud-testing com.google.cloud - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index 538dfb48a26f..45bc8d1bd82c 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha war google-cloud-testing com.google.cloud - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index 3c346570ae7f..9a44e20caf1f 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha war google-cloud-testing com.google.cloud - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/README.md b/google-cloud-testing/google-cloud-bigtable-emulator/README.md index 8a3f0f5b99a1..2ad7313c2e4d 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/README.md +++ b/google-cloud-testing/google-cloud-bigtable-emulator/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.78.0-alpha + 0.79.0-alpha pom import @@ -53,16 +53,16 @@ If you are using Maven, add this to your pom.xml file If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.78.0-alpha' -compile 'com.google.cloud:google-cloud-bigtable-admin:0.78.0-alpha' -testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.78.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable-admin:0.79.0-alpha' +testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.79.0-alpha' testCompile 'junit:junit:4.12' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.78.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.78.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.78.0-alpha" % Test +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.79.0-alpha" % Test libraryDependencies += "junit" % "junit" % "4.12" % Test ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index fa4f2aaef5c3..dc2809e5871b 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha @@ -126,7 +126,7 @@ com.google.cloud google-cloud-bom - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index 7823a407c861..82f951888a75 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-gcloud-maven-plugin - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index e4ac0e250e53..5c848dd9bcf6 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar google-cloud-testing com.google.cloud - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index 33c34f4ebbff..ae50b4c4c9e6 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha pom import com.google.cloud google-cloud-core - 1.60.1-SNAPSHOT + 1.61.0 test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index c4bfc85a4f06..dddf82064278 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index 1022e5a4fe75..95c7a5f0af86 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index aa9fff8ab567..9107c2884e3e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,166 +1,166 @@ # Format: # module:released-version:current-version -google-api-grpc:0.43.0:0.43.1-SNAPSHOT -google-cloud:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-appengineflexcompat:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-appengineflexcustom:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-appengineflexjava:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-appenginejava8:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-asset:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-automl:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-bigquery:1.60.0:1.60.1-SNAPSHOT -google-cloud-bigquerydatatransfer:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-bigquerystorage:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-bigtable:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-bigtable-admin:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-bigtable-emulator:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-bom:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-clients:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-compat-checker:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-compute:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-container:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-containeranalysis:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-contrib:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-core:1.60.0:1.60.1-SNAPSHOT -google-cloud-core-grpc:1.60.0:1.60.1-SNAPSHOT -google-cloud-core-http:1.60.0:1.60.1-SNAPSHOT -google-cloud-dataproc:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-datastore:1.60.0:1.60.1-SNAPSHOT -google-cloud-dialogflow:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-dlp:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-dns:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-errorreporting:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-examples:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-firestore:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-gcloud-maven-plugin:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-iamcredentials:0.5.0-alpha:0.5.1-alpha-SNAPSHOT -google-cloud-iot:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-kms:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-language:1.60.0:1.60.1-SNAPSHOT -google-cloud-logging:1.60.0:1.60.1-SNAPSHOT -google-cloud-logging-logback:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-managedtest:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-monitoring:1.60.0:1.60.1-SNAPSHOT -google-cloud-nio:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-nio-examples:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-notification:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-os-login:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-pubsub:1.60.0:1.60.1-SNAPSHOT -google-cloud-redis:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-resourcemanager:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-scheduler:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-securitycenter:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-spanner:1.5.0:1.5.1-SNAPSHOT -google-cloud-speech:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-storage:1.60.0:1.60.1-SNAPSHOT -google-cloud-tasks:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-testing:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-texttospeech:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-trace:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-translate:1.60.0:1.60.1-SNAPSHOT -google-cloud-util:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -google-cloud-video-intelligence:0.78.0-beta:0.78.1-beta-SNAPSHOT -google-cloud-vision:1.60.0:1.60.1-SNAPSHOT -google-cloud-websecurityscanner:0.78.0-alpha:0.78.1-alpha-SNAPSHOT -grpc-google-cloud-asset-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-automl-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-bigtable-admin-v2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-bigtable-v2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-container-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-dataproc-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-dataproc-v1beta2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-dlp-v2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-error-reporting-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-firestore-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.1-alpha-SNAPSHOT -grpc-google-cloud-iot-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-kms-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-language-v1:1.42.0:1.42.1-SNAPSHOT -grpc-google-cloud-language-v1beta2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-logging-v2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-monitoring-v3:1.42.0:1.42.1-SNAPSHOT -grpc-google-cloud-os-login-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.42.0:1.42.1-SNAPSHOT -grpc-google-cloud-redis-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-redis-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-scheduler-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-securitycenter-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-spanner-admin-database-v1:1.5.0:1.5.1-SNAPSHOT -grpc-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.1-SNAPSHOT -grpc-google-cloud-spanner-v1:1.5.0:1.5.1-SNAPSHOT -grpc-google-cloud-speech-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-speech-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-speech-v1p1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta3:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-trace-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-trace-v2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-vision-v1:1.42.0:1.42.1-SNAPSHOT -grpc-google-cloud-vision-v1p1beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-vision-v1p2beta1:1.42.0:1.42.1-SNAPSHOT -grpc-google-cloud-vision-v1p3beta1:0.43.0:0.43.1-SNAPSHOT -grpc-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-asset-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-automl-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-bigquerydatatransfer-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-bigtable-admin-v2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-bigtable-v2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-container-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-containeranalysis-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-dataproc-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-dataproc-v1beta2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-datastore-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-dialogflow-v2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-dialogflow-v2beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-dlp-v2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-error-reporting-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-firestore-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-iamcredentials-v1:0.5.0-alpha:0.5.1-alpha-SNAPSHOT -proto-google-cloud-iot-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-kms-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-language-v1:1.42.0:1.42.1-SNAPSHOT -proto-google-cloud-language-v1beta2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-logging-v2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-monitoring-v3:1.42.0:1.42.1-SNAPSHOT -proto-google-cloud-os-login-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.42.0:1.42.1-SNAPSHOT -proto-google-cloud-redis-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-redis-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-scheduler-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-securitycenter-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-spanner-admin-database-v1:1.5.0:1.5.1-SNAPSHOT -proto-google-cloud-spanner-admin-instance-v1:1.5.0:1.5.1-SNAPSHOT -proto-google-cloud-spanner-v1:1.5.0:1.5.1-SNAPSHOT -proto-google-cloud-speech-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-speech-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-speech-v1p1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-tasks-v2beta2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-tasks-v2beta3:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-texttospeech-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-texttospeech-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-trace-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-trace-v2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta2:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p2beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-vision-v1:1.42.0:1.42.1-SNAPSHOT -proto-google-cloud-vision-v1p1beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-vision-v1p2beta1:1.42.0:1.42.1-SNAPSHOT -proto-google-cloud-vision-v1p3beta1:0.43.0:0.43.1-SNAPSHOT -proto-google-cloud-websecurityscanner-v1alpha:0.43.0:0.43.1-SNAPSHOT +google-api-grpc:0.44.0:0.44.0 +google-cloud:0.79.0-alpha:0.79.0-alpha +google-cloud-appengineflexcompat:0.79.0-alpha:0.79.0-alpha +google-cloud-appengineflexcustom:0.79.0-alpha:0.79.0-alpha +google-cloud-appengineflexjava:0.79.0-alpha:0.79.0-alpha +google-cloud-appenginejava8:0.79.0-alpha:0.79.0-alpha +google-cloud-asset:0.79.0-beta:0.79.0-beta +google-cloud-automl:0.79.0-beta:0.79.0-beta +google-cloud-bigquery:1.61.0:1.61.0 +google-cloud-bigquerydatatransfer:0.79.0-beta:0.79.0-beta +google-cloud-bigquerystorage:0.79.0-beta:0.79.0-beta +google-cloud-bigtable:0.79.0-alpha:0.79.0-alpha +google-cloud-bigtable-admin:0.79.0-alpha:0.79.0-alpha +google-cloud-bigtable-emulator:0.79.0-alpha:0.79.0-alpha +google-cloud-bom:0.79.0-alpha:0.79.0-alpha +google-cloud-clients:0.79.0-alpha:0.79.0-alpha +google-cloud-compat-checker:0.79.0-alpha:0.79.0-alpha +google-cloud-compute:0.79.0-alpha:0.79.0-alpha +google-cloud-container:0.79.0-beta:0.79.0-beta +google-cloud-containeranalysis:0.79.0-beta:0.79.0-beta +google-cloud-contrib:0.79.0-alpha:0.79.0-alpha +google-cloud-core:1.61.0:1.61.0 +google-cloud-core-grpc:1.61.0:1.61.0 +google-cloud-core-http:1.61.0:1.61.0 +google-cloud-dataproc:0.79.0-alpha:0.79.0-alpha +google-cloud-datastore:1.61.0:1.61.0 +google-cloud-dialogflow:0.79.0-alpha:0.79.0-alpha +google-cloud-dlp:0.79.0-beta:0.79.0-beta +google-cloud-dns:0.79.0-alpha:0.79.0-alpha +google-cloud-errorreporting:0.79.0-beta:0.79.0-beta +google-cloud-examples:0.79.0-alpha:0.79.0-alpha +google-cloud-firestore:0.79.0-beta:0.79.0-beta +google-cloud-gcloud-maven-plugin:0.79.0-alpha:0.79.0-alpha +google-cloud-iamcredentials:0.6.0-alpha:0.6.0-alpha +google-cloud-iot:0.79.0-beta:0.79.0-beta +google-cloud-kms:0.79.0-beta:0.79.0-beta +google-cloud-language:1.61.0:1.61.0 +google-cloud-logging:1.61.0:1.61.0 +google-cloud-logging-logback:0.79.0-alpha:0.79.0-alpha +google-cloud-managedtest:0.79.0-alpha:0.79.0-alpha +google-cloud-monitoring:1.61.0:1.61.0 +google-cloud-nio:0.79.0-alpha:0.79.0-alpha +google-cloud-nio-examples:0.79.0-alpha:0.79.0-alpha +google-cloud-notification:0.79.0-beta:0.79.0-beta +google-cloud-os-login:0.79.0-alpha:0.79.0-alpha +google-cloud-pubsub:1.61.0:1.61.0 +google-cloud-redis:0.79.0-alpha:0.79.0-alpha +google-cloud-resourcemanager:0.79.0-alpha:0.79.0-alpha +google-cloud-scheduler:0.79.0-alpha:0.79.0-alpha +google-cloud-securitycenter:0.79.0-alpha:0.79.0-alpha +google-cloud-spanner:1.6.0:1.6.0 +google-cloud-speech:0.79.0-beta:0.79.0-beta +google-cloud-storage:1.61.0:1.61.0 +google-cloud-tasks:0.79.0-beta:0.79.0-beta +google-cloud-testing:0.79.0-alpha:0.79.0-alpha +google-cloud-texttospeech:0.79.0-beta:0.79.0-beta +google-cloud-trace:0.79.0-beta:0.79.0-beta +google-cloud-translate:1.61.0:1.61.0 +google-cloud-util:0.79.0-alpha:0.79.0-alpha +google-cloud-video-intelligence:0.79.0-beta:0.79.0-beta +google-cloud-vision:1.61.0:1.61.0 +google-cloud-websecurityscanner:0.79.0-alpha:0.79.0-alpha +grpc-google-cloud-asset-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-automl-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.0 +grpc-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-bigtable-admin-v2:0.44.0:0.44.0 +grpc-google-cloud-bigtable-v2:0.44.0:0.44.0 +grpc-google-cloud-container-v1:0.44.0:0.44.0 +grpc-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-dataproc-v1:0.44.0:0.44.0 +grpc-google-cloud-dataproc-v1beta2:0.44.0:0.44.0 +grpc-google-cloud-dialogflow-v2:0.44.0:0.44.0 +grpc-google-cloud-dialogflow-v2beta1:0.44.0:0.44.0 +grpc-google-cloud-dlp-v2:0.44.0:0.44.0 +grpc-google-cloud-error-reporting-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-firestore-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.0-alpha +grpc-google-cloud-iot-v1:0.44.0:0.44.0 +grpc-google-cloud-kms-v1:0.44.0:0.44.0 +grpc-google-cloud-language-v1:1.43.0:1.43.0 +grpc-google-cloud-language-v1beta2:0.44.0:0.44.0 +grpc-google-cloud-logging-v2:0.44.0:0.44.0 +grpc-google-cloud-monitoring-v3:1.43.0:1.43.0 +grpc-google-cloud-os-login-v1:0.44.0:0.44.0 +grpc-google-cloud-pubsub-v1:1.43.0:1.43.0 +grpc-google-cloud-redis-v1:0.44.0:0.44.0 +grpc-google-cloud-redis-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-scheduler-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-securitycenter-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-spanner-admin-database-v1:1.6.0:1.6.0 +grpc-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.0 +grpc-google-cloud-spanner-v1:1.6.0:1.6.0 +grpc-google-cloud-speech-v1:0.44.0:0.44.0 +grpc-google-cloud-speech-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-speech-v1p1beta1:0.44.0:0.44.0 +grpc-google-cloud-tasks-v2beta2:0.44.0:0.44.0 +grpc-google-cloud-tasks-v2beta3:0.44.0:0.44.0 +grpc-google-cloud-texttospeech-v1:0.44.0:0.44.0 +grpc-google-cloud-texttospeech-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-trace-v1:0.44.0:0.44.0 +grpc-google-cloud-trace-v2:0.44.0:0.44.0 +grpc-google-cloud-video-intelligence-v1:0.44.0:0.44.0 +grpc-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.0 +grpc-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.0 +grpc-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.0 +grpc-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.0 +grpc-google-cloud-vision-v1:1.43.0:1.43.0 +grpc-google-cloud-vision-v1p1beta1:0.44.0:0.44.0 +grpc-google-cloud-vision-v1p2beta1:1.43.0:1.43.0 +grpc-google-cloud-vision-v1p3beta1:0.44.0:0.44.0 +grpc-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.0 +proto-google-cloud-asset-v1beta1:0.44.0:0.44.0 +proto-google-cloud-automl-v1beta1:0.44.0:0.44.0 +proto-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.0 +proto-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.0 +proto-google-cloud-bigtable-admin-v2:0.44.0:0.44.0 +proto-google-cloud-bigtable-v2:0.44.0:0.44.0 +proto-google-cloud-container-v1:0.44.0:0.44.0 +proto-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.0 +proto-google-cloud-dataproc-v1:0.44.0:0.44.0 +proto-google-cloud-dataproc-v1beta2:0.44.0:0.44.0 +proto-google-cloud-datastore-v1:0.44.0:0.44.0 +proto-google-cloud-dialogflow-v2:0.44.0:0.44.0 +proto-google-cloud-dialogflow-v2beta1:0.44.0:0.44.0 +proto-google-cloud-dlp-v2:0.44.0:0.44.0 +proto-google-cloud-error-reporting-v1beta1:0.44.0:0.44.0 +proto-google-cloud-firestore-v1beta1:0.44.0:0.44.0 +proto-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.0-alpha +proto-google-cloud-iot-v1:0.44.0:0.44.0 +proto-google-cloud-kms-v1:0.44.0:0.44.0 +proto-google-cloud-language-v1:1.43.0:1.43.0 +proto-google-cloud-language-v1beta2:0.44.0:0.44.0 +proto-google-cloud-logging-v2:0.44.0:0.44.0 +proto-google-cloud-monitoring-v3:1.43.0:1.43.0 +proto-google-cloud-os-login-v1:0.44.0:0.44.0 +proto-google-cloud-pubsub-v1:1.43.0:1.43.0 +proto-google-cloud-redis-v1:0.44.0:0.44.0 +proto-google-cloud-redis-v1beta1:0.44.0:0.44.0 +proto-google-cloud-scheduler-v1beta1:0.44.0:0.44.0 +proto-google-cloud-securitycenter-v1beta1:0.44.0:0.44.0 +proto-google-cloud-spanner-admin-database-v1:1.6.0:1.6.0 +proto-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.0 +proto-google-cloud-spanner-v1:1.6.0:1.6.0 +proto-google-cloud-speech-v1:0.44.0:0.44.0 +proto-google-cloud-speech-v1beta1:0.44.0:0.44.0 +proto-google-cloud-speech-v1p1beta1:0.44.0:0.44.0 +proto-google-cloud-tasks-v2beta2:0.44.0:0.44.0 +proto-google-cloud-tasks-v2beta3:0.44.0:0.44.0 +proto-google-cloud-texttospeech-v1:0.44.0:0.44.0 +proto-google-cloud-texttospeech-v1beta1:0.44.0:0.44.0 +proto-google-cloud-trace-v1:0.44.0:0.44.0 +proto-google-cloud-trace-v2:0.44.0:0.44.0 +proto-google-cloud-video-intelligence-v1:0.44.0:0.44.0 +proto-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.0 +proto-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.0 +proto-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.0 +proto-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.0 +proto-google-cloud-vision-v1:1.43.0:1.43.0 +proto-google-cloud-vision-v1p1beta1:0.44.0:0.44.0 +proto-google-cloud-vision-v1p2beta1:1.43.0:1.43.0 +proto-google-cloud-vision-v1p3beta1:0.44.0:0.44.0 +proto-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.0 From 9f2b2bbe3707bb420c8e1aa733747efd579810a9 Mon Sep 17 00:00:00 2001 From: Solomon Duskis Date: Wed, 23 Jan 2019 19:18:53 -0500 Subject: [PATCH 45/90] Removing some unused dependencies (#4385) * Removing some unused dependencies Also, reducing scope of auto-value to provided. * Restoring Firestore auto-value * Removing more instances of easymock. --- google-cloud-clients/google-cloud-asset/pom.xml | 4 ---- .../google-cloud-bigquery/pom.xml | 2 +- .../google-cloud-bigquerydatatransfer/pom.xml | 10 ---------- .../google-cloud-core-http/pom.xml | 15 --------------- .../google-cloud-dataproc/pom.xml | 5 ----- google-cloud-clients/google-cloud-dns/pom.xml | 4 ---- .../google-cloud-firestore/pom.xml | 2 +- google-cloud-clients/google-cloud-pubsub/pom.xml | 2 +- google-cloud-clients/google-cloud-redis/pom.xml | 5 ----- .../google-cloud-scheduler/pom.xml | 5 ----- google-cloud-clients/google-cloud-spanner/pom.xml | 4 ---- google-cloud-clients/google-cloud-speech/pom.xml | 5 ----- google-cloud-clients/google-cloud-tasks/pom.xml | 5 ----- google-cloud-clients/google-cloud-trace/pom.xml | 5 ----- .../google-cloud-video-intelligence/pom.xml | 5 ----- google-cloud-clients/google-cloud-vision/pom.xml | 5 ----- 16 files changed, 3 insertions(+), 80 deletions(-) diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index d2ad3762789c..91bc792cc48a 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -18,10 +18,6 @@ google-cloud-asset - - ${project.groupId} - google-cloud-core - ${project.groupId} google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index f63d77ba7c34..147f759ad2ca 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -29,7 +29,7 @@ com.google.auto.value auto-value - compile + provided ${project.groupId} diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index ea1616d210d3..37ffeb9ea37b 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -54,11 +54,6 @@ junit test - - org.easymock - easymock - test - org.objenesis objenesis @@ -69,11 +64,6 @@ truth test - - com.google.api.grpc - grpc-google-iam-v1 - test - com.google.api diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index 279a57d5c0af..243238dc8422 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -35,11 +35,6 @@ google-http-client compile - - com.google.oauth-client - google-oauth-client - compile - com.google.guava guava @@ -54,11 +49,6 @@ google-http-client-appengine compile - - com.google.http-client - google-http-client-jackson2 - compile - com.google.api gax-httpjson @@ -85,11 +75,6 @@ truth test - - com.google.guava - guava-testlib - test - io.opencensus opencensus-api diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index 63fb976deb4a..8863e7a9fc56 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -76,11 +76,6 @@ truth test - - com.google.api.grpc - grpc-google-iam-v1 - test - com.google.api diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index fd7b3d4f010d..3bb9022c7898 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -33,10 +33,6 @@ google-api-services-dns compile - - commons-fileupload - commons-fileupload - diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 6fbe2e4b4535..136b9355fd1e 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -44,7 +44,7 @@ com.google.auto.value auto-value - compile + provided com.google.api.grpc diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index df9a13324862..06b6ccc0df01 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -49,7 +49,7 @@ com.google.auto.value auto-value - compile + provided diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index a722910f8c89..c46b5a8f8e0b 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -54,11 +54,6 @@ io.grpc grpc-auth - - com.google.auto.value - auto-value - compile - diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index 346890f047c4..b02e39f57fb7 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -46,11 +46,6 @@ io.grpc grpc-auth - - com.google.auto.value - auto-value - compile - diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index 8b454d51834d..24600d9b42ed 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -129,10 +129,6 @@ com.google.code.findbugs jsr305 - - joda-time - joda-time - diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index d267cac8419e..2a5684401bbe 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -57,11 +57,6 @@ junit test - - org.easymock - easymock - test - org.objenesis objenesis diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index d385abdf536b..af7e1c50e645 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -53,11 +53,6 @@ junit test - - org.easymock - easymock - test - org.objenesis objenesis diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index e574987efc75..e80f2aa3eaef 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -53,11 +53,6 @@ junit test - - org.easymock - easymock - test - org.objenesis objenesis diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index fcecc02213d5..d95fec46f7dc 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -66,11 +66,6 @@ junit test - - org.easymock - easymock - test - org.objenesis objenesis diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index ab995db5e7b4..9f3775056755 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -61,11 +61,6 @@ junit test - - org.easymock - easymock - test - org.objenesis objenesis From 8ef362eb1923e6ef3614eda16e65f1d9c97dbc1e Mon Sep 17 00:00:00 2001 From: Solomon Duskis Date: Wed, 23 Jan 2019 19:19:21 -0500 Subject: [PATCH 46/90] Removing non-deprecated uses of joda time. (#4351) * Removing non-deprecated uses of joda time. This works towards #3482 * Update pom.xml * Ran `mvn com.coveo:fmt-maven-plugin:format` * Fixing a bad merge --- .../cloud/bigquery/QueryParameterValue.java | 33 ++++++++++++------- .../google-cloud-compute/pom.xml | 5 +++ .../google-cloud-nio/pom.xml | 1 - .../google-cloud-core/pom.xml | 5 --- .../main/java/com/google/cloud/Timestamp.java | 4 +-- .../google/cloud/dns/ChangeRequestInfo.java | 13 +++++--- .../java/com/google/cloud/dns/ZoneInfo.java | 13 +++++--- .../cloud/resourcemanager/ProjectInfo.java | 15 ++++++--- .../testing/LocalResourceManagerHelper.java | 9 +++-- 9 files changed, 63 insertions(+), 35 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java index d74fc005f35c..5bf6b4e9f93a 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java @@ -27,9 +27,10 @@ import java.util.ArrayList; import java.util.List; import javax.annotation.Nullable; -import org.joda.time.DateTimeZone; -import org.joda.time.format.DateTimeFormat; -import org.joda.time.format.DateTimeFormatter; +import org.threeten.bp.Instant; +import org.threeten.bp.ZoneOffset; +import org.threeten.bp.format.DateTimeFormatter; +import org.threeten.bp.format.DateTimeParseException; /** * A value for a QueryParameter along with its type. @@ -60,12 +61,12 @@ public abstract class QueryParameterValue implements Serializable { private static final DateTimeFormatter timestampFormatter = - DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSSSSSZZ").withZone(DateTimeZone.UTC); - private static final DateTimeFormatter dateFormatter = DateTimeFormat.forPattern("yyyy-MM-dd"); + DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSSSSSxxx").withZone(ZoneOffset.UTC); + private static final DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); private static final DateTimeFormatter timeFormatter = - DateTimeFormat.forPattern("HH:mm:ss.SSSSSS"); + DateTimeFormatter.ofPattern("HH:mm:ss.SSSSSS"); private static final DateTimeFormatter datetimeFormatter = - DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSSSSS"); + DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSSSSS"); static final Function< QueryParameterValue, com.google.api.services.bigquery.model.QueryParameterValue> @@ -297,31 +298,31 @@ private static String valueToStringOrNull(T value, StandardSQLTypeName type) throw new IllegalArgumentException("Cannot convert ARRAY to String value"); case TIMESTAMP: if (value instanceof Long) { - return timestampFormatter.print(((Long) value) / 1000); + return timestampFormatter.format(Instant.ofEpochMilli(((Long) value) / 1000)); } else if (value instanceof String) { // verify that the String is in the right format - timestampFormatter.parseMillis((String) value); + checkFormat(value, timestampFormatter); return (String) value; } break; case DATE: if (value instanceof String) { // verify that the String is in the right format - dateFormatter.parseMillis((String) value); + checkFormat(value, dateFormatter); return (String) value; } break; case TIME: if (value instanceof String) { // verify that the String is in the right format - timeFormatter.parseMillis((String) value); + checkFormat(value, timeFormatter); return (String) value; } break; case DATETIME: if (value instanceof String) { // verify that the String is in the right format - datetimeFormatter.parseMillis((String) value); + checkFormat(value, datetimeFormatter); return (String) value; } break; @@ -332,6 +333,14 @@ private static String valueToStringOrNull(T value, StandardSQLTypeName type) "Type " + type + " incompatible with " + value.getClass().getCanonicalName()); } + private static void checkFormat(Object value, DateTimeFormatter formatter) { + try { + formatter.parse((String) value); + } catch (DateTimeParseException e) { + throw new IllegalArgumentException(e.getMessage(), e); + } + } + /** Returns a builder for a QueryParameterValue object with given value. */ public abstract Builder toBuilder(); diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 4001e4282238..97f90cc3dd63 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -31,6 +31,11 @@ google-api-services-compute compile + + joda-time + joda-time + compile + diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index 1a2391a5ad4c..7d84be1fb2a2 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -112,7 +112,6 @@ org shaded.cloud_nio.org - org.joda.** org.apache.** org.threeten.** org.codehaus.** diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index 39ce3c600da2..51495db58603 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -27,11 +27,6 @@ junit test - - joda-time - joda-time - compile - com.google.http-client google-http-client diff --git a/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index dc44f8abea10..02bb98131366 100644 --- a/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -26,7 +26,6 @@ import org.threeten.bp.Instant; import org.threeten.bp.LocalDateTime; import org.threeten.bp.ZoneOffset; -import org.threeten.bp.chrono.IsoChronology; import org.threeten.bp.format.DateTimeFormatter; /** @@ -46,8 +45,7 @@ public final class Timestamp implements Comparable, Serializable { 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.withChronology(IsoChronology.INSTANCE); + private static final DateTimeFormatter format = DateTimeFormatter.ISO_LOCAL_DATE_TIME; private final long seconds; private final int nanos; diff --git a/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ChangeRequestInfo.java b/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ChangeRequestInfo.java index fa93b4f7c161..a7802045e068 100644 --- a/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ChangeRequestInfo.java +++ b/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ChangeRequestInfo.java @@ -30,8 +30,9 @@ import java.util.LinkedList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; -import org.joda.time.format.ISODateTimeFormat; +import org.threeten.bp.Instant; +import org.threeten.bp.ZoneOffset; +import org.threeten.bp.format.DateTimeFormatter; /** * A class representing an atomic update to a collection of {@link RecordSet}s within a {@code @@ -328,7 +329,10 @@ Change toPb() { } // set timestamp if (getStartTimeMillis() != null) { - pb.setStartTime(ISODateTimeFormat.dateTime().withZoneUTC().print(getStartTimeMillis())); + pb.setStartTime( + DateTimeFormatter.ISO_DATE_TIME + .withZone(ZoneOffset.UTC) + .format(Instant.ofEpochMilli(getStartTimeMillis()))); } // set status if (status() != null) { @@ -347,7 +351,8 @@ static ChangeRequestInfo fromPb(Change pb) { builder.setGeneratedId(pb.getId()); } if (pb.getStartTime() != null) { - builder.setStartTime(DateTime.parse(pb.getStartTime()).getMillis()); + builder.setStartTime( + DateTimeFormatter.ISO_DATE_TIME.parse(pb.getStartTime(), Instant.FROM).toEpochMilli()); } if (pb.getStatus() != null) { // we are assuming that status indicated in pb is a lower case version of the enum name diff --git a/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ZoneInfo.java b/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ZoneInfo.java index bc0592dd3ff4..a66167341793 100644 --- a/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ZoneInfo.java +++ b/google-cloud-clients/google-cloud-dns/src/main/java/com/google/cloud/dns/ZoneInfo.java @@ -26,8 +26,9 @@ import java.math.BigInteger; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; -import org.joda.time.format.ISODateTimeFormat; +import org.threeten.bp.Instant; +import org.threeten.bp.ZoneOffset; +import org.threeten.bp.format.DateTimeFormatter; /** * A {@code Zone} represents a DNS zone hosted by the Google Cloud DNS service. A zone is a subtree @@ -38,6 +39,9 @@ public class ZoneInfo implements Serializable { private static final long serialVersionUID = -5313169712036079818L; + private static final DateTimeFormatter DATE_TIME_FORMATTER = + DateTimeFormatter.ISO_DATE_TIME.withZone(ZoneOffset.UTC); + private final String name; private final String generatedId; private final Long creationTimeMillis; @@ -234,7 +238,7 @@ ManagedZone toPb() { pb.setNameServerSet(this.getNameServerSet()); if (this.getCreationTimeMillis() != null) { pb.setCreationTime( - ISODateTimeFormat.dateTime().withZoneUTC().print(this.getCreationTimeMillis())); + DATE_TIME_FORMATTER.format(Instant.ofEpochMilli(this.getCreationTimeMillis()))); } return pb; } @@ -257,7 +261,8 @@ static ZoneInfo fromPb(ManagedZone pb) { builder.setNameServerSet(pb.getNameServerSet()); } if (pb.getCreationTime() != null) { - builder.setCreationTimeMillis(DateTime.parse(pb.getCreationTime()).getMillis()); + builder.setCreationTimeMillis( + DATE_TIME_FORMATTER.parse(pb.getCreationTime(), Instant.FROM).toEpochMilli()); } return builder.build(); } diff --git a/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/ProjectInfo.java b/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/ProjectInfo.java index 75e2021b6194..d20c3ccd86e3 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/ProjectInfo.java +++ b/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/ProjectInfo.java @@ -29,8 +29,9 @@ import java.util.HashMap; import java.util.Map; import java.util.Objects; -import org.joda.time.DateTime; -import org.joda.time.format.ISODateTimeFormat; +import org.threeten.bp.Instant; +import org.threeten.bp.ZoneOffset; +import org.threeten.bp.format.DateTimeFormatter; /** * A Google Cloud Resource Manager project metadata object. A Project is a high-level Google Cloud @@ -39,6 +40,8 @@ */ public class ProjectInfo implements Serializable { + public static final DateTimeFormatter DATE_TIME_FORMATTER = + DateTimeFormatter.ISO_DATE_TIME.withZone(ZoneOffset.UTC); private static final long serialVersionUID = 9148970963697734236L; private final String name; private final String projectId; @@ -390,7 +393,10 @@ com.google.api.services.cloudresourcemanager.model.Project toPb() { projectPb.setLifecycleState(state.toString()); } if (createTimeMillis != null) { - projectPb.setCreateTime(ISODateTimeFormat.dateTime().withZoneUTC().print(createTimeMillis)); + projectPb.setCreateTime( + DateTimeFormatter.ISO_DATE_TIME + .withZone(ZoneOffset.UTC) + .format(Instant.ofEpochMilli(createTimeMillis))); } if (parent != null) { projectPb.setParent(parent.toPb()); @@ -411,7 +417,8 @@ static ProjectInfo fromPb(com.google.api.services.cloudresourcemanager.model.Pro builder.setState(State.valueOf(projectPb.getLifecycleState())); } if (projectPb.getCreateTime() != null) { - builder.setCreateTimeMillis(DateTime.parse(projectPb.getCreateTime()).getMillis()); + builder.setCreateTimeMillis( + DATE_TIME_FORMATTER.parse(projectPb.getCreateTime(), Instant.FROM).toEpochMilli()); } if (projectPb.getParent() != null) { builder.setParent(ResourceId.fromPb(projectPb.getParent())); diff --git a/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/testing/LocalResourceManagerHelper.java b/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/testing/LocalResourceManagerHelper.java index 70163f00f6a3..bbaa25d72ae8 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/testing/LocalResourceManagerHelper.java +++ b/google-cloud-clients/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/testing/LocalResourceManagerHelper.java @@ -61,7 +61,9 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.zip.GZIPInputStream; -import org.joda.time.format.ISODateTimeFormat; +import org.threeten.bp.Instant; +import org.threeten.bp.ZoneOffset; +import org.threeten.bp.format.DateTimeFormatter; /** * Utility to create a local Resource Manager mock for testing. @@ -443,7 +445,10 @@ synchronized Response create(Project project) { } else { project.setLifecycleState("ACTIVE"); project.setProjectNumber(Math.abs(PROJECT_NUMBER_GENERATOR.nextLong() % Long.MAX_VALUE)); - project.setCreateTime(ISODateTimeFormat.dateTime().print(System.currentTimeMillis())); + project.setCreateTime( + DateTimeFormatter.ISO_DATE_TIME + .withZone(ZoneOffset.UTC) + .format(Instant.ofEpochMilli(System.currentTimeMillis()))); if (projects.putIfAbsent(project.getProjectId(), project) != null) { return Error.ALREADY_EXISTS.response( "A project with the same project ID (" + project.getProjectId() + ") already exists."); From 8fc5f7ac4303d0755d2998cd3005a03465406cba Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 24 Jan 2019 13:40:36 -0500 Subject: [PATCH 47/90] Bump next snapshot (#4405) --- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 204 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/pom.xml | 286 +++++++-------- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/pom.xml | 4 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/pom.xml | 4 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/pom.xml | 4 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 326 +++++++++--------- 164 files changed, 732 insertions(+), 732 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index eebfbf789d34..822352caa338 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 2f50e2489434..79b1c52e629b 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 4303248915aa..8043843ebc37 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index bed781b18065..ea2020a7c65a 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index 6d3912dc853b..b3d4297ce78a 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index 50ca802846f6..4d56e2653838 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index 3e8a6a2e83b4..af0f807782d9 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index 8741ef0037ec..554cf292b415 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index 812b26235d8c..2c36f2d596df 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index 0f566f8e2e69..f57d138bf615 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index 93ed8ab0a681..9360658be80d 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 18ffaabf7f6c..88268789cc05 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index 35ec6750846b..771cf230585f 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index c182bb2998d7..0a1125d8dcad 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index a98248339140..c0ffaeb8a02f 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index adf59d42a3f6..ed018e047048 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index 565466816663..2ffbbfbba1bb 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index 9aaa7e0ea052..00fa8045624d 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 5fe78d5d2146..34a40c3651cf 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.43.0 + 1.43.1-SNAPSHOT grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index 413c95c12f41..713708329064 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index 1705b461f729..6b4796faa529 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index 98b56ca36e00..e21d6884dcef 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.43.0 + 1.43.1-SNAPSHOT grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index afcd2296c8bc..4390e839f00e 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index 532e72dba106..3e476f3a9ace 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.43.0 + 1.43.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index 9dd5dd291c5a..1dcbf211a342 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index c716130d6d70..b0240852153e 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index 711afeb5ca67..813c6fd885c5 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 69035cdb2d19..8a3ced521834 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index 5be4be8b018c..167581c445e1 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.6.0 + 1.6.1-SNAPSHOT grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index 7f36fa5fefd3..03f49a403f14 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.6.0 + 1.6.1-SNAPSHOT grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index 3e55378921da..e696841128eb 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.6.0 + 1.6.1-SNAPSHOT grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index bbc7e1c00d91..cf6da56338a4 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 5b95048dc23c..350fd77f1d94 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index c0c3d5167d60..62af4a72d702 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index 99b748059830..faae4e1237ed 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index cbf6b4319501..a35eebc32c85 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index 673a4315647f..eaeac8050674 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index 090cc270a625..59c330dfce0d 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index 35b383f3281b..631ca1a6d169 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index c744bc1f58fa..161de75887ac 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index 66e485a5de3f..c4fd948d1015 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index 106f3ec507cf..efbf10947ecc 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 1b36530299d1..b0f438ff0f1a 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index f2d2b1889d35..3fe5e35ec8ce 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index 8abfe6f44daa..9716567a424f 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index d50f7560ec27..dc99c67831d8 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.43.0 + 1.43.1-SNAPSHOT grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index e15028aa1c50..6dc4c816a24d 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index c4117ad16d8f..8b7dff4428bb 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.43.0 + 1.43.1-SNAPSHOT grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index f48c4aeb138f..74b0f75978b5 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index c86de5dcbd9c..27718be3c4e5 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.44.0 + 0.44.1-SNAPSHOT grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 2e5a02f09c1a..5b3f680e89f4 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.44.0 + 0.44.1-SNAPSHOT Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,507 +142,507 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index cabdc95b77a4..5082fa1bb626 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index 13a7b460d6a1..1fbc39ba5752 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 9d1a86297623..9a12809b527f 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 2a42b8570aa1..e0f47bced39e 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index be907b154998..119418dcf537 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index f8fb89321121..f479fc7fefac 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index 69c48aa3f365..0c168a96dbd4 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index 48631421c5e6..7b97a463c907 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index e4aa1806e814..c362a6fa1adf 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index a045bea64f45..fea6f11d1716 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 308d1849bfeb..6b9fdf9bf7ad 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index d00092ff7176..85e8fc1d7217 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index 8d0933acd732..c327aa639fc5 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index 32855f7aba3b..09f118ed8476 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index 364836eb4476..f3355d381e1c 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index 370840f0def7..ad0a5f81ab18 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index b6aa6feb8d8f..15c7192e2046 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index cd5bc6c58f78..97474fa96e60 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index ce911aaefb13..31a30f29e583 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index 204bcc0859c8..98da3b08a30c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.43.0 + 1.43.1-SNAPSHOT proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 64589d083504..1a0a86febccf 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index 3bcbac4e5403..ba910bd7e5a4 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 3fa61520ef47..46278dae256f 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.43.0 + 1.43.1-SNAPSHOT proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index 6301845d9471..8a1ac5bb3b8e 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index 3e4e6057620a..4cb8f8ab2a57 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.43.0 + 1.43.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index 150bb1330506..c834918a029e 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index 61aadb55d331..eaac012669bc 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index ec81d3770ef9..f1f7b6620e90 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index b39225dd42ae..35db06f2d1d5 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index adfa41368a16..c4cc13dcc09f 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.6.0 + 1.6.1-SNAPSHOT proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 57ce22a3ce12..6b4112503d3a 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.6.0 + 1.6.1-SNAPSHOT proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index cbfea1d5b099..12d17e55a2db 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.6.0 + 1.6.1-SNAPSHOT proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index c0c3d4a68dab..ddb62a58fe9b 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index 94a7851daf7f..2b357b8cc01d 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index 0ee2b0803a99..2ceffdccf7e1 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index 764ec191c2c7..dddc84f795cd 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index 3c5ed2242e87..915e4cf4759a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index 28407bd66c61..04f0de5b30d0 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index 52dcea113ff4..ee9aa71aa5bb 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index 01aa53ead752..9bfa5517555a 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index 25ec00df2253..591805318d82 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index b081cd48aa37..0604ca7d4ef2 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 412a9186839d..97bcdce828b6 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index b86de542bbd2..363a04ae1485 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index eeefcda15449..0922ca949d9c 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index 87dec29a7af5..4bacba94ac38 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index 8ba1dc3bdff0..288570809ac1 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.43.0 + 1.43.1-SNAPSHOT proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index 371640327051..cb7560ac67a6 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index e00235b2e9cc..d4aa2a7d8eac 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.43.0 + 1.43.1-SNAPSHOT proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index 2dccf9bc93a0..83dcf73afec2 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index aa6a0dcb8ec0..08bc4bf45afa 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.44.0 + 0.44.1-SNAPSHOT proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.44.0 + 0.44.1-SNAPSHOT diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index d52281fdf11d..ccdfca220098 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,713 +197,713 @@ com.google.cloud google-cloud-asset - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-automl - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-bigtable - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-bigtable-admin - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-bigtable-emulator - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.cloud google-cloud-bigquery - 1.61.0 + 1.61.1-SNAPSHOT com.google.cloud google-cloud-bigquerydatatransfer - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-compute - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.cloud google-cloud-container - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-containeranalysis - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-contrib - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.cloud google-cloud-nio - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.cloud google-cloud-core - 1.61.0 + 1.61.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.61.0 + 1.61.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.61.0 + 1.61.1-SNAPSHOT com.google.cloud google-cloud-dataproc - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-datastore - 1.61.0 + 1.61.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-dlp - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-dialogflow - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-dns - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.cloud google-cloud-errorreporting - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-firestore - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-kms - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-language - 1.61.0 + 1.61.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-logging - 1.61.0 + 1.61.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-logging-logback - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.cloud google-cloud-monitoring - 1.61.0 + 1.61.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.43.0 + 1.43.1-SNAPSHOT com.google.cloud google-cloud-os-login - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.61.0 + 1.61.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.cloud google-cloud-redis - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-resourcemanager - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-spanner - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.cloud google-cloud-speech - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-storage - 1.61.0 + 1.61.1-SNAPSHOT com.google.cloud google-cloud-tasks - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-texttospeech - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-trace - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-translate - 1.61.0 + 1.61.1-SNAPSHOT com.google.cloud google-cloud-vision - 1.61.0 + 1.61.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.43.0 + 1.43.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.cloud google-cloud-video-intelligence - 0.79.0-beta + 0.79.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.44.0 + 0.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT com.google.cloud google-cloud-iamcredentials - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index 91bc792cc48a..29497666be22 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index e4699660d937..3357190d77e5 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 147f759ad2ca..067f9b2bb647 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index 37ffeb9ea37b..dc8c16e98662 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index 941fba67ffbc..f76bdf782545 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index abe67aef5b8e..17dbcb89ee3a 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index 07fd87d47a69..aa42e674864c 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 97f90cc3dd63..d3b009279d7e 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index 7aba3cbc7ce7..a763295bac29 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index a03f06cd981d..787d6bb6faaa 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index f866c9b581d1..df6ef209b1cb 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index e84f6aba4ade..7620f4599975 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.79.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.79.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index 696d3dc72b2f..1bbc37c332d1 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index 7d84be1fb2a2..d8fa4dcc68cf 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index 0353ea7c6749..b1e7a1ebe99e 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index b008d4fefb40..8e994a683e28 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index 243238dc8422..dee2182fc55c 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index 51495db58603..f55944198f6a 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index 8863e7a9fc56..0738806d69a1 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index 07ba373f0c98..414601407664 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index 6c0ab75cce1e..1acea25e9f13 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index ff758f9f8129..29e9266d997a 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index 3bb9022c7898..d534d7c04efb 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index c4b5d31b5b99..a5f2cacfc0f6 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 136b9355fd1e..a1a729b5f3a2 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index 6e417b138183..2ee075366c6e 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.6.0-alpha + 0.6.1-alpha-SNAPSHOT jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index 76d38fdab746..d6a828c5009e 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 0be6a7493958..8cb47d1ef021 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index 6993769def5b..3539aa38347e 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 22ec9a731672..7f08c4cc4d2c 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index e3c4a4eefe91..854b2555e1c1 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index f9ec39074097..f44db53395c8 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index adcfc0228fd4..24b597082a6f 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index 06b6ccc0df01..2efaa0336044 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index c46b5a8f8e0b..63fd9dcb30ec 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index 95a7dbcfc57d..053fc35000e2 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index b02e39f57fb7..d776660ca5f4 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index b25b307c4588..efd19ba88701 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index 24600d9b42ed..fa9ff3b4b137 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.6.0 + 1.6.1-SNAPSHOT jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index 2a5684401bbe..ffc9f35a873e 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index 8a6ce2a2632f..ff2c19459c20 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index af7e1c50e645..8c2d294f43cd 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index f9e06e41cf06..f7274ab42a85 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index e80f2aa3eaef..abc5e5d4d27a 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index 6bc521230f60..661feb6f196c 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index d95fec46f7dc..b753a0370154 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.79.0-beta + 0.79.1-beta-SNAPSHOT jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index 9f3775056755..de3727fab7fe 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index eff58b1ff8b4..14076a70bb77 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 879e7d9ef2df..595bac9eafcb 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT 1.27.0 1.37.0 @@ -239,7 +239,7 @@ com.google.cloud google-cloud-core - 1.61.0 + 1.61.1-SNAPSHOT test-jar diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index 993eac8ccefd..09bcf658ef76 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index 869d9af291ab..a26ab07199bc 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index 61b77be10123..8e6551640f54 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index 45bc8d1bd82c..16f4c8607b7a 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index 9a44e20caf1f..0e917a918c24 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index dc2809e5871b..71602d7b999e 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT @@ -126,7 +126,7 @@ com.google.cloud google-cloud-bom - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index 82f951888a75..9304ab9ac8a4 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-gcloud-maven-plugin - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index 5c848dd9bcf6..e263d34bcd97 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar google-cloud-testing com.google.cloud - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index ae50b4c4c9e6..d2359b2d230a 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT pom import com.google.cloud google-cloud-core - 1.61.0 + 1.61.1-SNAPSHOT test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index dddf82064278..eb1f430d4f0c 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index 95c7a5f0af86..3a0d9d3c8de8 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index 9107c2884e3e..42823b51fe6d 100644 --- a/versions.txt +++ b/versions.txt @@ -1,166 +1,166 @@ # Format: # module:released-version:current-version -google-api-grpc:0.44.0:0.44.0 -google-cloud:0.79.0-alpha:0.79.0-alpha -google-cloud-appengineflexcompat:0.79.0-alpha:0.79.0-alpha -google-cloud-appengineflexcustom:0.79.0-alpha:0.79.0-alpha -google-cloud-appengineflexjava:0.79.0-alpha:0.79.0-alpha -google-cloud-appenginejava8:0.79.0-alpha:0.79.0-alpha -google-cloud-asset:0.79.0-beta:0.79.0-beta -google-cloud-automl:0.79.0-beta:0.79.0-beta -google-cloud-bigquery:1.61.0:1.61.0 -google-cloud-bigquerydatatransfer:0.79.0-beta:0.79.0-beta -google-cloud-bigquerystorage:0.79.0-beta:0.79.0-beta -google-cloud-bigtable:0.79.0-alpha:0.79.0-alpha -google-cloud-bigtable-admin:0.79.0-alpha:0.79.0-alpha -google-cloud-bigtable-emulator:0.79.0-alpha:0.79.0-alpha -google-cloud-bom:0.79.0-alpha:0.79.0-alpha -google-cloud-clients:0.79.0-alpha:0.79.0-alpha -google-cloud-compat-checker:0.79.0-alpha:0.79.0-alpha -google-cloud-compute:0.79.0-alpha:0.79.0-alpha -google-cloud-container:0.79.0-beta:0.79.0-beta -google-cloud-containeranalysis:0.79.0-beta:0.79.0-beta -google-cloud-contrib:0.79.0-alpha:0.79.0-alpha -google-cloud-core:1.61.0:1.61.0 -google-cloud-core-grpc:1.61.0:1.61.0 -google-cloud-core-http:1.61.0:1.61.0 -google-cloud-dataproc:0.79.0-alpha:0.79.0-alpha -google-cloud-datastore:1.61.0:1.61.0 -google-cloud-dialogflow:0.79.0-alpha:0.79.0-alpha -google-cloud-dlp:0.79.0-beta:0.79.0-beta -google-cloud-dns:0.79.0-alpha:0.79.0-alpha -google-cloud-errorreporting:0.79.0-beta:0.79.0-beta -google-cloud-examples:0.79.0-alpha:0.79.0-alpha -google-cloud-firestore:0.79.0-beta:0.79.0-beta -google-cloud-gcloud-maven-plugin:0.79.0-alpha:0.79.0-alpha -google-cloud-iamcredentials:0.6.0-alpha:0.6.0-alpha -google-cloud-iot:0.79.0-beta:0.79.0-beta -google-cloud-kms:0.79.0-beta:0.79.0-beta -google-cloud-language:1.61.0:1.61.0 -google-cloud-logging:1.61.0:1.61.0 -google-cloud-logging-logback:0.79.0-alpha:0.79.0-alpha -google-cloud-managedtest:0.79.0-alpha:0.79.0-alpha -google-cloud-monitoring:1.61.0:1.61.0 -google-cloud-nio:0.79.0-alpha:0.79.0-alpha -google-cloud-nio-examples:0.79.0-alpha:0.79.0-alpha -google-cloud-notification:0.79.0-beta:0.79.0-beta -google-cloud-os-login:0.79.0-alpha:0.79.0-alpha -google-cloud-pubsub:1.61.0:1.61.0 -google-cloud-redis:0.79.0-alpha:0.79.0-alpha -google-cloud-resourcemanager:0.79.0-alpha:0.79.0-alpha -google-cloud-scheduler:0.79.0-alpha:0.79.0-alpha -google-cloud-securitycenter:0.79.0-alpha:0.79.0-alpha -google-cloud-spanner:1.6.0:1.6.0 -google-cloud-speech:0.79.0-beta:0.79.0-beta -google-cloud-storage:1.61.0:1.61.0 -google-cloud-tasks:0.79.0-beta:0.79.0-beta -google-cloud-testing:0.79.0-alpha:0.79.0-alpha -google-cloud-texttospeech:0.79.0-beta:0.79.0-beta -google-cloud-trace:0.79.0-beta:0.79.0-beta -google-cloud-translate:1.61.0:1.61.0 -google-cloud-util:0.79.0-alpha:0.79.0-alpha -google-cloud-video-intelligence:0.79.0-beta:0.79.0-beta -google-cloud-vision:1.61.0:1.61.0 -google-cloud-websecurityscanner:0.79.0-alpha:0.79.0-alpha -grpc-google-cloud-asset-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-automl-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.0 -grpc-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-bigtable-admin-v2:0.44.0:0.44.0 -grpc-google-cloud-bigtable-v2:0.44.0:0.44.0 -grpc-google-cloud-container-v1:0.44.0:0.44.0 -grpc-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-dataproc-v1:0.44.0:0.44.0 -grpc-google-cloud-dataproc-v1beta2:0.44.0:0.44.0 -grpc-google-cloud-dialogflow-v2:0.44.0:0.44.0 -grpc-google-cloud-dialogflow-v2beta1:0.44.0:0.44.0 -grpc-google-cloud-dlp-v2:0.44.0:0.44.0 -grpc-google-cloud-error-reporting-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-firestore-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.0-alpha -grpc-google-cloud-iot-v1:0.44.0:0.44.0 -grpc-google-cloud-kms-v1:0.44.0:0.44.0 -grpc-google-cloud-language-v1:1.43.0:1.43.0 -grpc-google-cloud-language-v1beta2:0.44.0:0.44.0 -grpc-google-cloud-logging-v2:0.44.0:0.44.0 -grpc-google-cloud-monitoring-v3:1.43.0:1.43.0 -grpc-google-cloud-os-login-v1:0.44.0:0.44.0 -grpc-google-cloud-pubsub-v1:1.43.0:1.43.0 -grpc-google-cloud-redis-v1:0.44.0:0.44.0 -grpc-google-cloud-redis-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-scheduler-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-securitycenter-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-spanner-admin-database-v1:1.6.0:1.6.0 -grpc-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.0 -grpc-google-cloud-spanner-v1:1.6.0:1.6.0 -grpc-google-cloud-speech-v1:0.44.0:0.44.0 -grpc-google-cloud-speech-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-speech-v1p1beta1:0.44.0:0.44.0 -grpc-google-cloud-tasks-v2beta2:0.44.0:0.44.0 -grpc-google-cloud-tasks-v2beta3:0.44.0:0.44.0 -grpc-google-cloud-texttospeech-v1:0.44.0:0.44.0 -grpc-google-cloud-texttospeech-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-trace-v1:0.44.0:0.44.0 -grpc-google-cloud-trace-v2:0.44.0:0.44.0 -grpc-google-cloud-video-intelligence-v1:0.44.0:0.44.0 -grpc-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.0 -grpc-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.0 -grpc-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.0 -grpc-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.0 -grpc-google-cloud-vision-v1:1.43.0:1.43.0 -grpc-google-cloud-vision-v1p1beta1:0.44.0:0.44.0 -grpc-google-cloud-vision-v1p2beta1:1.43.0:1.43.0 -grpc-google-cloud-vision-v1p3beta1:0.44.0:0.44.0 -grpc-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.0 -proto-google-cloud-asset-v1beta1:0.44.0:0.44.0 -proto-google-cloud-automl-v1beta1:0.44.0:0.44.0 -proto-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.0 -proto-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.0 -proto-google-cloud-bigtable-admin-v2:0.44.0:0.44.0 -proto-google-cloud-bigtable-v2:0.44.0:0.44.0 -proto-google-cloud-container-v1:0.44.0:0.44.0 -proto-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.0 -proto-google-cloud-dataproc-v1:0.44.0:0.44.0 -proto-google-cloud-dataproc-v1beta2:0.44.0:0.44.0 -proto-google-cloud-datastore-v1:0.44.0:0.44.0 -proto-google-cloud-dialogflow-v2:0.44.0:0.44.0 -proto-google-cloud-dialogflow-v2beta1:0.44.0:0.44.0 -proto-google-cloud-dlp-v2:0.44.0:0.44.0 -proto-google-cloud-error-reporting-v1beta1:0.44.0:0.44.0 -proto-google-cloud-firestore-v1beta1:0.44.0:0.44.0 -proto-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.0-alpha -proto-google-cloud-iot-v1:0.44.0:0.44.0 -proto-google-cloud-kms-v1:0.44.0:0.44.0 -proto-google-cloud-language-v1:1.43.0:1.43.0 -proto-google-cloud-language-v1beta2:0.44.0:0.44.0 -proto-google-cloud-logging-v2:0.44.0:0.44.0 -proto-google-cloud-monitoring-v3:1.43.0:1.43.0 -proto-google-cloud-os-login-v1:0.44.0:0.44.0 -proto-google-cloud-pubsub-v1:1.43.0:1.43.0 -proto-google-cloud-redis-v1:0.44.0:0.44.0 -proto-google-cloud-redis-v1beta1:0.44.0:0.44.0 -proto-google-cloud-scheduler-v1beta1:0.44.0:0.44.0 -proto-google-cloud-securitycenter-v1beta1:0.44.0:0.44.0 -proto-google-cloud-spanner-admin-database-v1:1.6.0:1.6.0 -proto-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.0 -proto-google-cloud-spanner-v1:1.6.0:1.6.0 -proto-google-cloud-speech-v1:0.44.0:0.44.0 -proto-google-cloud-speech-v1beta1:0.44.0:0.44.0 -proto-google-cloud-speech-v1p1beta1:0.44.0:0.44.0 -proto-google-cloud-tasks-v2beta2:0.44.0:0.44.0 -proto-google-cloud-tasks-v2beta3:0.44.0:0.44.0 -proto-google-cloud-texttospeech-v1:0.44.0:0.44.0 -proto-google-cloud-texttospeech-v1beta1:0.44.0:0.44.0 -proto-google-cloud-trace-v1:0.44.0:0.44.0 -proto-google-cloud-trace-v2:0.44.0:0.44.0 -proto-google-cloud-video-intelligence-v1:0.44.0:0.44.0 -proto-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.0 -proto-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.0 -proto-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.0 -proto-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.0 -proto-google-cloud-vision-v1:1.43.0:1.43.0 -proto-google-cloud-vision-v1p1beta1:0.44.0:0.44.0 -proto-google-cloud-vision-v1p2beta1:1.43.0:1.43.0 -proto-google-cloud-vision-v1p3beta1:0.44.0:0.44.0 -proto-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.0 +google-api-grpc:0.44.0:0.44.1-SNAPSHOT +google-cloud:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-appengineflexcompat:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-appengineflexcustom:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-appengineflexjava:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-appenginejava8:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-asset:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-automl:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-bigquery:1.61.0:1.61.1-SNAPSHOT +google-cloud-bigquerydatatransfer:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-bigquerystorage:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-bigtable:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-bigtable-admin:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-bigtable-emulator:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-bom:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-clients:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-compat-checker:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-compute:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-container:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-containeranalysis:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-contrib:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-core:1.61.0:1.61.1-SNAPSHOT +google-cloud-core-grpc:1.61.0:1.61.1-SNAPSHOT +google-cloud-core-http:1.61.0:1.61.1-SNAPSHOT +google-cloud-dataproc:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-datastore:1.61.0:1.61.1-SNAPSHOT +google-cloud-dialogflow:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-dlp:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-dns:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-errorreporting:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-examples:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-firestore:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-gcloud-maven-plugin:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-iamcredentials:0.6.0-alpha:0.6.1-alpha-SNAPSHOT +google-cloud-iot:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-kms:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-language:1.61.0:1.61.1-SNAPSHOT +google-cloud-logging:1.61.0:1.61.1-SNAPSHOT +google-cloud-logging-logback:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-managedtest:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-monitoring:1.61.0:1.61.1-SNAPSHOT +google-cloud-nio:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-nio-examples:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-notification:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-os-login:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-pubsub:1.61.0:1.61.1-SNAPSHOT +google-cloud-redis:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-resourcemanager:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-scheduler:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-securitycenter:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-spanner:1.6.0:1.6.1-SNAPSHOT +google-cloud-speech:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-storage:1.61.0:1.61.1-SNAPSHOT +google-cloud-tasks:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-testing:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-texttospeech:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-trace:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-translate:1.61.0:1.61.1-SNAPSHOT +google-cloud-util:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +google-cloud-video-intelligence:0.79.0-beta:0.79.1-beta-SNAPSHOT +google-cloud-vision:1.61.0:1.61.1-SNAPSHOT +google-cloud-websecurityscanner:0.79.0-alpha:0.79.1-alpha-SNAPSHOT +grpc-google-cloud-asset-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-automl-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-bigtable-admin-v2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-bigtable-v2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-container-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-dataproc-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-dataproc-v1beta2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-dlp-v2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-error-reporting-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-firestore-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.1-alpha-SNAPSHOT +grpc-google-cloud-iot-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-kms-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-language-v1:1.43.0:1.43.1-SNAPSHOT +grpc-google-cloud-language-v1beta2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-logging-v2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-monitoring-v3:1.43.0:1.43.1-SNAPSHOT +grpc-google-cloud-os-login-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.43.0:1.43.1-SNAPSHOT +grpc-google-cloud-redis-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-redis-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-scheduler-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-spanner-admin-database-v1:1.6.0:1.6.1-SNAPSHOT +grpc-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.1-SNAPSHOT +grpc-google-cloud-spanner-v1:1.6.0:1.6.1-SNAPSHOT +grpc-google-cloud-speech-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-speech-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-speech-v1p1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta3:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-trace-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-trace-v2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-vision-v1:1.43.0:1.43.1-SNAPSHOT +grpc-google-cloud-vision-v1p1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-vision-v1p2beta1:1.43.0:1.43.1-SNAPSHOT +grpc-google-cloud-vision-v1p3beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-asset-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-automl-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-bigtable-admin-v2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-bigtable-v2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-container-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-dataproc-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-dataproc-v1beta2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-datastore-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-dialogflow-v2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-dialogflow-v2beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-dlp-v2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-error-reporting-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-firestore-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.1-alpha-SNAPSHOT +proto-google-cloud-iot-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-kms-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-language-v1:1.43.0:1.43.1-SNAPSHOT +proto-google-cloud-language-v1beta2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-logging-v2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-monitoring-v3:1.43.0:1.43.1-SNAPSHOT +proto-google-cloud-os-login-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.43.0:1.43.1-SNAPSHOT +proto-google-cloud-redis-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-redis-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-scheduler-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-securitycenter-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-spanner-admin-database-v1:1.6.0:1.6.1-SNAPSHOT +proto-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.1-SNAPSHOT +proto-google-cloud-spanner-v1:1.6.0:1.6.1-SNAPSHOT +proto-google-cloud-speech-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-speech-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-speech-v1p1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-tasks-v2beta2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-tasks-v2beta3:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-texttospeech-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-texttospeech-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-trace-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-trace-v2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-vision-v1:1.43.0:1.43.1-SNAPSHOT +proto-google-cloud-vision-v1p1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-vision-v1p2beta1:1.43.0:1.43.1-SNAPSHOT +proto-google-cloud-vision-v1p3beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.1-SNAPSHOT From 9c47e1b4ff84f5ac07b0b38848e662c0e7eb3dad Mon Sep 17 00:00:00 2001 From: JP Martin Date: Thu, 24 Jan 2019 15:52:25 -0800 Subject: [PATCH 48/90] fix shading (#4406) --- .../google-cloud-contrib/google-cloud-nio/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index d8fa4dcc68cf..54079b06b026 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -92,7 +92,7 @@ org.apache.maven.plugins maven-shade-plugin - 2.4.3 + 3.0.0 true From b92a48b90f0f6b5b0749afe30523a9097958229b Mon Sep 17 00:00:00 2001 From: elisheva-qlogic <43041115+elisheva-qlogic@users.noreply.github.com> Date: Fri, 25 Jan 2019 13:26:28 -0500 Subject: [PATCH 49/90] Fixing some deprecation warnings (#4390) * fixing some deprecation warnings * updated comment --- .../data/v2/stub/mutaterows/MutateRowsAttemptCallable.java | 3 ++- .../com/google/cloud/bigtable/data/v2/it/env/Emulator.java | 4 +--- .../src/main/java/com/google/cloud/ServiceOptions.java | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java index cb66f767d98f..77f85f4b28fb 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java @@ -185,7 +185,8 @@ public Void call() { // Handle RPC level errors by wrapping them in a MutateRowsException ApiFuture> catching = - ApiFutures.catching(innerFuture, Throwable.class, attemptFailedCallback); + ApiFutures.catching( + innerFuture, Throwable.class, attemptFailedCallback, MoreExecutors.directExecutor()); // Inspect the results and either propagate the success, or prepare to retry the failed // mutations diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/Emulator.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/Emulator.java index d8e7b00b0c4f..dca4efbc514e 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/Emulator.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/Emulator.java @@ -172,10 +172,8 @@ private void waitForPort(int port) throws InterruptedException, TimeoutException } private ManagedChannel createChannel(int port) { - // NOTE: usePlaintext is currently @ExperimentalAPI. In grpc 1.11 it be became parameterless. - // In 1.12 it should be stable. See https://github.com/grpc/grpc-java/issues/1772 for discussion return ManagedChannelBuilder.forAddress("localhost", port) - .usePlaintext(true) + .usePlaintext() .maxInboundMessageSize(256 * 1024 * 1024) .build(); } diff --git a/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 141c99857da4..d08b14e71506 100644 --- a/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -349,7 +349,8 @@ private static String getActiveGoogleCloudConfig(File configDir) { String activeGoogleCloudConfig = null; try { activeGoogleCloudConfig = - Files.readFirstLine(new File(configDir, "active_config"), Charset.defaultCharset()); + Files.asCharSource(new File(configDir, "active_config"), Charset.defaultCharset()) + .readFirstLine(); } catch (IOException ex) { // ignore } From f4bac2ff79670ccf5d13a692f84ea006767125a5 Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Fri, 25 Jan 2019 23:56:47 +0530 Subject: [PATCH 50/90] BigQuery : Fix Location configurable at BigQueryOptions (#4329) * Fix Location configurable from BigQueryOptions * modified code * modified code and add test case * removed unused location --- .../google/cloud/bigquery/BigQueryImpl.java | 24 ++++++++-- .../cloud/bigquery/BigQueryOptions.java | 13 ++++++ .../java/com/google/cloud/bigquery/JobId.java | 4 ++ .../cloud/bigquery/BigQueryImplTest.java | 46 +++++++++++++++++++ 4 files changed, 84 insertions(+), 3 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryImpl.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryImpl.java index e30b0ffd2156..09376fe13154 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryImpl.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryImpl.java @@ -679,7 +679,13 @@ public Job getJob(String jobId, JobOption... options) { @Override public Job getJob(JobId jobId, JobOption... options) { final Map optionsMap = optionMap(options); - final JobId completeJobId = jobId.setProjectId(getOptions().getProjectId()); + final JobId completeJobId = + jobId + .setProjectId(getOptions().getProjectId()) + .setLocation( + jobId.getLocation() == null && getOptions().getLocation() != null + ? getOptions().getLocation() + : jobId.getLocation()); try { com.google.api.services.bigquery.model.Job answer = runWithRetries( @@ -742,7 +748,13 @@ public boolean cancel(String jobId) { @Override public boolean cancel(JobId jobId) { - final JobId completeJobId = jobId.setProjectId(getOptions().getProjectId()); + final JobId completeJobId = + jobId + .setProjectId(getOptions().getProjectId()) + .setLocation( + jobId.getLocation() == null && getOptions().getLocation() != null + ? getOptions().getLocation() + : jobId.getLocation()); try { return runWithRetries( new Callable() { @@ -784,7 +796,13 @@ private static QueryResponse getQueryResults( JobId jobId, final BigQueryOptions serviceOptions, final Map optionsMap) { - final JobId completeJobId = jobId.setProjectId(serviceOptions.getProjectId()); + final JobId completeJobId = + jobId + .setProjectId(serviceOptions.getProjectId()) + .setLocation( + jobId.getLocation() == null && serviceOptions.getLocation() != null + ? serviceOptions.getLocation() + : jobId.getLocation()); try { GetQueryResultsResponse results = runWithRetries( diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryOptions.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryOptions.java index 080bb57521f3..fecf5005f157 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryOptions.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryOptions.java @@ -33,6 +33,7 @@ public class BigQueryOptions extends ServiceOptions { private static final String BIGQUERY_SCOPE = "https://www.googleapis.com/auth/bigquery"; private static final Set SCOPES = ImmutableSet.of(BIGQUERY_SCOPE); private static final long serialVersionUID = -2437598817433266049L; + private final String location; public static class DefaultBigQueryFactory implements BigQueryFactory { @@ -56,6 +57,8 @@ public ServiceRpc create(BigQueryOptions options) { public static class Builder extends ServiceOptions.Builder { + private String location; + private Builder() {} private Builder(BigQueryOptions options) { @@ -71,6 +74,11 @@ public Builder setTransportOptions(TransportOptions transportOptions) { return super.setTransportOptions(transportOptions); } + public Builder setLocation(String location) { + this.location = location; + return this; + } + @Override public BigQueryOptions build() { return new BigQueryOptions(this); @@ -79,6 +87,7 @@ public BigQueryOptions build() { private BigQueryOptions(Builder builder) { super(BigQueryFactory.class, BigQueryRpcFactory.class, builder, new BigQueryDefaults()); + this.location = builder.location; } private static class BigQueryDefaults implements ServiceDefaults { @@ -112,6 +121,10 @@ protected BigQueryRpc getBigQueryRpcV2() { return (BigQueryRpc) getRpc(); } + public String getLocation() { + return location; + } + @SuppressWarnings("unchecked") @Override public Builder toBuilder() { diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/JobId.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/JobId.java index 254e69647e1a..05f80bbf376f 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/JobId.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/JobId.java @@ -101,6 +101,10 @@ JobId setProjectId(String projectId) { return getProject() != null ? this : toBuilder().setProject(projectId).build(); } + JobId setLocation(String location) { + return getLocation() != null ? this : toBuilder().setLocation(location).build(); + } + JobReference toPb() { return new JobReference() .setProjectId(getProject()) diff --git a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/BigQueryImplTest.java b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/BigQueryImplTest.java index 9b67445acd13..6d3348cae0a6 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/BigQueryImplTest.java +++ b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/BigQueryImplTest.java @@ -66,6 +66,7 @@ public class BigQueryImplTest { private static final String PROJECT = "project"; + private static final String LOCATION = "US"; private static final String OTHER_PROJECT = "otherProject"; private static final String DATASET = "dataset"; private static final String TABLE = "table"; @@ -293,6 +294,16 @@ private BigQueryOptions createBigQueryOptionsForProject( .build(); } + private BigQueryOptions createBigQueryOptionsForProjectWithLocation( + String project, BigQueryRpcFactory rpcFactory) { + return BigQueryOptions.newBuilder() + .setProjectId(project) + .setLocation(LOCATION) + .setServiceRpcFactory(rpcFactory) + .setRetrySettings(ServiceOptions.getNoRetrySettings()) + .build(); + } + @Before public void setUp() { rpcFactoryMock = EasyMock.createMock(BigQueryRpcFactory.class); @@ -1179,6 +1190,17 @@ public void testGetJob() { assertEquals(new Job(bigquery, new JobInfo.BuilderImpl(COMPLETE_COPY_JOB)), job); } + @Test + public void testGetJobWithLocation() { + EasyMock.expect(bigqueryRpcMock.getJob(PROJECT, JOB, LOCATION, EMPTY_RPC_OPTIONS)) + .andReturn(COMPLETE_COPY_JOB.toPb()); + EasyMock.replay(bigqueryRpcMock); + BigQueryOptions options = createBigQueryOptionsForProjectWithLocation(PROJECT, rpcFactoryMock); + bigquery = options.getService(); + Job job = bigquery.getJob(JOB); + assertEquals(new Job(bigquery, new JobInfo.BuilderImpl(COMPLETE_COPY_JOB)), job); + } + @Test public void testGetJobFromJobId() { EasyMock.expect(bigqueryRpcMock.getJob(PROJECT, JOB, null, EMPTY_RPC_OPTIONS)) @@ -1189,6 +1211,17 @@ public void testGetJobFromJobId() { assertEquals(new Job(bigquery, new JobInfo.BuilderImpl(COMPLETE_COPY_JOB)), job); } + @Test + public void testGetJobFromJobIdWithLocation() { + EasyMock.expect(bigqueryRpcMock.getJob(PROJECT, JOB, LOCATION, EMPTY_RPC_OPTIONS)) + .andReturn(COMPLETE_COPY_JOB.toPb()); + EasyMock.replay(bigqueryRpcMock); + BigQueryOptions options = createBigQueryOptionsForProjectWithLocation(PROJECT, rpcFactoryMock); + bigquery = options.getService(); + Job job = bigquery.getJob(JobId.of(JOB)); + assertEquals(new Job(bigquery, new JobInfo.BuilderImpl(COMPLETE_COPY_JOB)), job); + } + @Test public void testGetJobFromJobIdWithProject() { JobId jobId = JobId.of(OTHER_PROJECT, JOB); @@ -1201,6 +1234,19 @@ public void testGetJobFromJobIdWithProject() { assertEquals(new Job(bigquery, new JobInfo.BuilderImpl(jobInfo)), job); } + @Test + public void testGetJobFromJobIdWithProjectWithLocation() { + JobId jobId = JobId.of(OTHER_PROJECT, JOB); + JobInfo jobInfo = COPY_JOB.setProjectId(OTHER_PROJECT); + EasyMock.expect(bigqueryRpcMock.getJob(OTHER_PROJECT, JOB, LOCATION, EMPTY_RPC_OPTIONS)) + .andReturn(jobInfo.toPb()); + EasyMock.replay(bigqueryRpcMock); + BigQueryOptions options = createBigQueryOptionsForProjectWithLocation(PROJECT, rpcFactoryMock); + bigquery = options.getService(); + Job job = bigquery.getJob(jobId); + assertEquals(new Job(bigquery, new JobInfo.BuilderImpl(jobInfo)), job); + } + @Test public void testListJobs() { bigquery = options.getService(); From 7fc4b3b2973faa23292b4f92f49ef1445d19934d Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Wed, 30 Jan 2019 13:04:42 -0800 Subject: [PATCH 51/90] Generate Firestore API v1 (#4410) --- .../grpc-google-cloud-firestore-v1/pom.xml | 31 + .../google/firestore/v1/FirestoreGrpc.java | 1788 +++ google-api-grpc/pom.xml | 12 + .../proto-google-cloud-firestore-v1/pom.xml | 31 + .../com/google/firestore/v1/AnyPathName.java | 240 + .../com/google/firestore/v1/ArrayValue.java | 916 ++ .../firestore/v1/ArrayValueOrBuilder.java | 61 + .../v1/BatchGetDocumentsRequest.java | 1975 +++ .../v1/BatchGetDocumentsRequestOrBuilder.java | 211 + .../v1/BatchGetDocumentsResponse.java | 1373 ++ .../BatchGetDocumentsResponseOrBuilder.java | 119 + .../firestore/v1/BeginTransactionRequest.java | 883 ++ .../v1/BeginTransactionRequestOrBuilder.java | 67 + .../v1/BeginTransactionResponse.java | 520 + .../v1/BeginTransactionResponseOrBuilder.java | 21 + .../google/firestore/v1/CommitRequest.java | 1194 ++ .../firestore/v1/CommitRequestOrBuilder.java | 100 + .../google/firestore/v1/CommitResponse.java | 1234 ++ .../firestore/v1/CommitResponseOrBuilder.java | 103 + .../com/google/firestore/v1/CommonProto.java | 124 + .../firestore/v1/CreateDocumentRequest.java | 1487 ++ .../v1/CreateDocumentRequestOrBuilder.java | 147 + .../java/com/google/firestore/v1/Cursor.java | 1046 ++ .../google/firestore/v1/CursorOrBuilder.java | 83 + .../google/firestore/v1/DatabaseRootName.java | 180 + .../firestore/v1/DeleteDocumentRequest.java | 883 ++ .../v1/DeleteDocumentRequestOrBuilder.java | 67 + .../com/google/firestore/v1/Document.java | 1722 +++ .../google/firestore/v1/DocumentChange.java | 1156 ++ .../firestore/v1/DocumentChangeOrBuilder.java | 106 + .../google/firestore/v1/DocumentDelete.java | 1096 ++ .../firestore/v1/DocumentDeleteOrBuilder.java | 96 + .../com/google/firestore/v1/DocumentMask.java | 698 + .../firestore/v1/DocumentMaskOrBuilder.java | 55 + .../firestore/v1/DocumentOrBuilder.java | 258 + .../google/firestore/v1/DocumentPathName.java | 213 + .../google/firestore/v1/DocumentProto.java | 163 + .../google/firestore/v1/DocumentRemove.java | 1098 ++ .../firestore/v1/DocumentRemoveOrBuilder.java | 96 + .../google/firestore/v1/DocumentRootName.java | 180 + .../firestore/v1/DocumentTransform.java | 4484 ++++++ .../v1/DocumentTransformOrBuilder.java | 99 + .../google/firestore/v1/ExistenceFilter.java | 603 + .../v1/ExistenceFilterOrBuilder.java | 34 + .../google/firestore/v1/FirestoreProto.java | 597 + .../firestore/v1/GetDocumentRequest.java | 1357 ++ .../v1/GetDocumentRequestOrBuilder.java | 118 + .../v1/ListCollectionIdsRequest.java | 867 ++ .../v1/ListCollectionIdsRequestOrBuilder.java | 71 + .../v1/ListCollectionIdsResponse.java | 846 ++ .../ListCollectionIdsResponseOrBuilder.java | 72 + .../firestore/v1/ListDocumentsRequest.java | 2055 +++ .../v1/ListDocumentsRequestOrBuilder.java | 218 + .../firestore/v1/ListDocumentsResponse.java | 1087 ++ .../v1/ListDocumentsResponseOrBuilder.java | 82 + .../google/firestore/v1/ListenRequest.java | 1370 ++ .../firestore/v1/ListenRequestOrBuilder.java | 131 + .../google/firestore/v1/ListenResponse.java | 2007 +++ .../firestore/v1/ListenResponseOrBuilder.java | 179 + .../com/google/firestore/v1/MapValue.java | 800 ++ .../firestore/v1/MapValueOrBuilder.java | 85 + .../com/google/firestore/v1/Precondition.java | 900 ++ .../firestore/v1/PreconditionOrBuilder.java | 58 + .../com/google/firestore/v1/QueryProto.java | 225 + .../google/firestore/v1/RollbackRequest.java | 686 + .../v1/RollbackRequestOrBuilder.java | 44 + .../google/firestore/v1/RunQueryRequest.java | 1790 +++ .../v1/RunQueryRequestOrBuilder.java | 162 + .../google/firestore/v1/RunQueryResponse.java | 1206 ++ .../v1/RunQueryResponseOrBuilder.java | 116 + .../google/firestore/v1/StructuredQuery.java | 11934 ++++++++++++++++ .../v1/StructuredQueryOrBuilder.java | 353 + .../java/com/google/firestore/v1/Target.java | 3572 +++++ .../com/google/firestore/v1/TargetChange.java | 1730 +++ .../firestore/v1/TargetChangeOrBuilder.java | 173 + .../google/firestore/v1/TargetOrBuilder.java | 149 + .../firestore/v1/TransactionOptions.java | 2480 ++++ .../v1/TransactionOptionsOrBuilder.java | 74 + .../firestore/v1/UpdateDocumentRequest.java | 1599 +++ .../v1/UpdateDocumentRequestOrBuilder.java | 161 + .../java/com/google/firestore/v1/Value.java | 2654 ++++ .../google/firestore/v1/ValueOrBuilder.java | 265 + .../java/com/google/firestore/v1/Write.java | 1949 +++ .../google/firestore/v1/WriteOrBuilder.java | 195 + .../com/google/firestore/v1/WriteProto.java | 195 + .../com/google/firestore/v1/WriteRequest.java | 1802 +++ .../firestore/v1/WriteRequestOrBuilder.java | 205 + .../google/firestore/v1/WriteResponse.java | 1492 ++ .../firestore/v1/WriteResponseOrBuilder.java | 139 + .../com/google/firestore/v1/WriteResult.java | 1244 ++ .../firestore/v1/WriteResultOrBuilder.java | 107 + .../proto/google/firestore/v1/common.proto | 84 + .../proto/google/firestore/v1/document.proto | 151 + .../proto/google/firestore/v1/firestore.proto | 761 + .../proto/google/firestore/v1/query.proto | 236 + .../proto/google/firestore/v1/write.proto | 255 + .../firestore/v1beta1/DocumentTransform.java | 1386 ++ .../google/firestore/v1beta1/WriteProto.java | 59 +- .../google/firestore/v1beta1/common.proto | 3 +- .../google/firestore/v1beta1/document.proto | 3 +- .../google/firestore/v1beta1/firestore.proto | 3 +- .../google/firestore/v1beta1/query.proto | 3 +- .../google/firestore/v1beta1/write.proto | 43 +- google-cloud-bom/pom.xml | 10 + .../google-cloud-firestore/pom.xml | 9 + .../cloud/firestore/v1/FirestoreClient.java | 1286 ++ .../cloud/firestore/v1/FirestoreSettings.java | 334 + .../cloud/firestore/v1/package-info.java | 49 + .../firestore/v1/stub/FirestoreStub.java | 128 + .../v1/stub/FirestoreStubSettings.java | 707 + .../v1/stub/GrpcFirestoreCallableFactory.java | 115 + .../firestore/v1/stub/GrpcFirestoreStub.java | 446 + .../firestore/v1beta1/FirestoreClient.java | 2 +- .../firestore/v1beta1/FirestoreSettings.java | 2 +- .../cloud/firestore/v1beta1/package-info.java | 2 +- .../firestore/v1beta1/stub/FirestoreStub.java | 2 +- .../v1beta1/stub/FirestoreStubSettings.java | 2 +- .../stub/GrpcFirestoreCallableFactory.java | 2 +- .../v1beta1/stub/GrpcFirestoreStub.java | 2 +- .../firestore/v1/FirestoreClientTest.java | 561 + .../cloud/firestore/v1/MockFirestore.java | 57 + .../cloud/firestore/v1/MockFirestoreImpl.java | 303 + .../v1beta1/FirestoreClientTest.java | 2 +- .../firestore/v1beta1/MockFirestore.java | 2 +- .../firestore/v1beta1/MockFirestoreImpl.java | 2 +- .../google-cloud-firestore/synth.py | 47 +- google-cloud-clients/pom.xml | 2 +- 127 files changed, 83656 insertions(+), 59 deletions(-) create mode 100644 google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml create mode 100644 google-api-grpc/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/pom.xml create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AnyPathName.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DatabaseRootName.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentPathName.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRootName.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto create mode 100644 google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto create mode 100644 google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java create mode 100644 google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml new file mode 100644 index 000000000000..0c42bddddf11 --- /dev/null +++ b/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml @@ -0,0 +1,31 @@ + + 4.0.0 + grpc-google-cloud-firestore-v1 + 0.44.1-SNAPSHOT + grpc-google-cloud-firestore-v1 + GRPC library for grpc-google-cloud-firestore-v1 + + com.google.api.grpc + google-api-grpc + 0.44.1-SNAPSHOT + + + + io.grpc + grpc-stub + compile + + + io.grpc + grpc-protobuf + compile + + + com.google.api.grpc + proto-google-cloud-firestore-v1 + compile + + + \ No newline at end of file diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/google-api-grpc/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java new file mode 100644 index 000000000000..cfe117b3af9d --- /dev/null +++ b/google-api-grpc/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java @@ -0,0 +1,1788 @@ +package com.google.firestore.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; +import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; +import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; +import static io.grpc.stub.ClientCalls.asyncUnaryCall; +import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; +import static io.grpc.stub.ClientCalls.blockingUnaryCall; +import static io.grpc.stub.ClientCalls.futureUnaryCall; +import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; +import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; +import static io.grpc.stub.ServerCalls.asyncUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; + +/** + * + * + *
+ * The Cloud Firestore service.
+ * This service exposes several types of comparable timestamps:
+ * *    `create_time` - The time at which a document was created. Changes only
+ *      when a document is deleted, then re-created. Increases in a strict
+ *       monotonic fashion.
+ * *    `update_time` - The time at which a document was last updated. Changes
+ *      every time a document is modified. Does not change when a write results
+ *      in no modifications. Increases in a strict monotonic fashion.
+ * *    `read_time` - The time at which a particular state was observed. Used
+ *      to denote a consistent snapshot of the database or the time at which a
+ *      Document was observed to not exist.
+ * *    `commit_time` - The time at which the writes in a transaction were
+ *      committed. Any read with an equal or greater `read_time` is guaranteed
+ *      to see the effects of the transaction.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/firestore/v1/firestore.proto") +public final class FirestoreGrpc { + + private FirestoreGrpc() {} + + public static final String SERVICE_NAME = "google.firestore.v1.Firestore"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getGetDocumentMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + METHOD_GET_DOCUMENT = getGetDocumentMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + getGetDocumentMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + getGetDocumentMethod() { + return getGetDocumentMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + getGetDocumentMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + getGetDocumentMethod; + if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { + FirestoreGrpc.getGetDocumentMethod = + getGetDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "GetDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.GetDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("GetDocument")) + .build(); + } + } + } + return getGetDocumentMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getListDocumentsMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + METHOD_LIST_DOCUMENTS = getListDocumentsMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + getListDocumentsMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + getListDocumentsMethod() { + return getListDocumentsMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + getListDocumentsMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + getListDocumentsMethod; + if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { + FirestoreGrpc.getListDocumentsMethod = + getListDocumentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "ListDocuments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListDocumentsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListDocumentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("ListDocuments")) + .build(); + } + } + } + return getListDocumentsMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateDocumentMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + METHOD_CREATE_DOCUMENT = getCreateDocumentMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + getCreateDocumentMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + getCreateDocumentMethod() { + return getCreateDocumentMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + getCreateDocumentMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + getCreateDocumentMethod; + if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { + FirestoreGrpc.getCreateDocumentMethod = + getCreateDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "CreateDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CreateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("CreateDocument")) + .build(); + } + } + } + return getCreateDocumentMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getUpdateDocumentMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + METHOD_UPDATE_DOCUMENT = getUpdateDocumentMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + getUpdateDocumentMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + getUpdateDocumentMethod() { + return getUpdateDocumentMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + getUpdateDocumentMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + getUpdateDocumentMethod; + if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { + FirestoreGrpc.getUpdateDocumentMethod = + getUpdateDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "UpdateDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.UpdateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("UpdateDocument")) + .build(); + } + } + } + return getUpdateDocumentMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getDeleteDocumentMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + METHOD_DELETE_DOCUMENT = getDeleteDocumentMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + getDeleteDocumentMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + getDeleteDocumentMethod() { + return getDeleteDocumentMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + getDeleteDocumentMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + getDeleteDocumentMethod; + if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { + FirestoreGrpc.getDeleteDocumentMethod = + getDeleteDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "DeleteDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.DeleteDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("DeleteDocument")) + .build(); + } + } + } + return getDeleteDocumentMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getBatchGetDocumentsMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + METHOD_BATCH_GET_DOCUMENTS = getBatchGetDocumentsMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + getBatchGetDocumentsMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + getBatchGetDocumentsMethod() { + return getBatchGetDocumentsMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + getBatchGetDocumentsMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + getBatchGetDocumentsMethod; + if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { + FirestoreGrpc.getBatchGetDocumentsMethod = + getBatchGetDocumentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName( + generateFullMethodName( + "google.firestore.v1.Firestore", "BatchGetDocuments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchGetDocumentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchGetDocumentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FirestoreMethodDescriptorSupplier("BatchGetDocuments")) + .build(); + } + } + } + return getBatchGetDocumentsMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getBeginTransactionMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + METHOD_BEGIN_TRANSACTION = getBeginTransactionMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + getBeginTransactionMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + getBeginTransactionMethod() { + return getBeginTransactionMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + getBeginTransactionMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + getBeginTransactionMethod; + if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { + FirestoreGrpc.getBeginTransactionMethod = + getBeginTransactionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + "google.firestore.v1.Firestore", "BeginTransaction")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BeginTransactionResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FirestoreMethodDescriptorSupplier("BeginTransaction")) + .build(); + } + } + } + return getBeginTransactionMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCommitMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + METHOD_COMMIT = getCommitMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + getCommitMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + getCommitMethod() { + return getCommitMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + getCommitMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + getCommitMethod; + if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { + FirestoreGrpc.getCommitMethod = + getCommitMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "Commit")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CommitRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CommitResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Commit")) + .build(); + } + } + } + return getCommitMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getRollbackMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> + METHOD_ROLLBACK = getRollbackMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> + getRollbackMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> + getRollbackMethod() { + return getRollbackMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> + getRollbackMethodHelper() { + io.grpc.MethodDescriptor + getRollbackMethod; + if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { + FirestoreGrpc.getRollbackMethod = + getRollbackMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "Rollback")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RollbackRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Rollback")) + .build(); + } + } + } + return getRollbackMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getRunQueryMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + METHOD_RUN_QUERY = getRunQueryMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + getRunQueryMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + getRunQueryMethod() { + return getRunQueryMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + getRunQueryMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + getRunQueryMethod; + if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { + FirestoreGrpc.getRunQueryMethod = + getRunQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "RunQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunQueryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("RunQuery")) + .build(); + } + } + } + return getRunQueryMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getWriteMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + METHOD_WRITE = getWriteMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + getWriteMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + getWriteMethod() { + return getWriteMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + getWriteMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + getWriteMethod; + if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { + FirestoreGrpc.getWriteMethod = + getWriteMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "Write")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.WriteRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.WriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Write")) + .build(); + } + } + } + return getWriteMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getListenMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + METHOD_LISTEN = getListenMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + getListenMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + getListenMethod() { + return getListenMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + getListenMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + getListenMethod; + if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { + FirestoreGrpc.getListenMethod = + getListenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName( + generateFullMethodName("google.firestore.v1.Firestore", "Listen")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListenRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListenResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Listen")) + .build(); + } + } + } + return getListenMethod; + } + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getListCollectionIdsMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + METHOD_LIST_COLLECTION_IDS = getListCollectionIdsMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + getListCollectionIdsMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + getListCollectionIdsMethod() { + return getListCollectionIdsMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + getListCollectionIdsMethodHelper() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + getListCollectionIdsMethod; + if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { + FirestoreGrpc.getListCollectionIdsMethod = + getListCollectionIdsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + "google.firestore.v1.Firestore", "ListCollectionIds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListCollectionIdsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListCollectionIdsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FirestoreMethodDescriptorSupplier("ListCollectionIds")) + .build(); + } + } + } + return getListCollectionIdsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static FirestoreStub newStub(io.grpc.Channel channel) { + return new FirestoreStub(channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static FirestoreBlockingStub newBlockingStub(io.grpc.Channel channel) { + return new FirestoreBlockingStub(channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static FirestoreFutureStub newFutureStub(io.grpc.Channel channel) { + return new FirestoreFutureStub(channel); + } + + /** + * + * + *
+   * The Cloud Firestore service.
+   * This service exposes several types of comparable timestamps:
+   * *    `create_time` - The time at which a document was created. Changes only
+   *      when a document is deleted, then re-created. Increases in a strict
+   *       monotonic fashion.
+   * *    `update_time` - The time at which a document was last updated. Changes
+   *      every time a document is modified. Does not change when a write results
+   *      in no modifications. Increases in a strict monotonic fashion.
+   * *    `read_time` - The time at which a particular state was observed. Used
+   *      to denote a consistent snapshot of the database or the time at which a
+   *      Document was observed to not exist.
+   * *    `commit_time` - The time at which the writes in a transaction were
+   *      committed. Any read with an equal or greater `read_time` is guaranteed
+   *      to see the effects of the transaction.
+   * 
+ */ + public abstract static class FirestoreImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public void getDocument( + com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getGetDocumentMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public void listDocuments( + com.google.firestore.v1.ListDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnimplementedUnaryCall(getListDocumentsMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public void createDocument( + com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getCreateDocumentMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + public void updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getUpdateDocumentMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public void deleteDocument( + com.google.firestore.v1.DeleteDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getDeleteDocumentMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + public void batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnimplementedUnaryCall(getBatchGetDocumentsMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public void beginTransaction( + com.google.firestore.v1.BeginTransactionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnimplementedUnaryCall(getBeginTransactionMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public void commit( + com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getCommitMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public void rollback( + com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getRollbackMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Runs a query.
+     * 
+ */ + public void runQuery( + com.google.firestore.v1.RunQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getRunQueryMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Streams batches of document updates and deletes, in order.
+     * 
+ */ + public io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return asyncUnimplementedStreamingCall(getWriteMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Listens to changes.
+     * 
+ */ + public io.grpc.stub.StreamObserver listen( + io.grpc.stub.StreamObserver responseObserver) { + return asyncUnimplementedStreamingCall(getListenMethodHelper(), responseObserver); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public void listCollectionIds( + com.google.firestore.v1.ListCollectionIdsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnimplementedUnaryCall(getListCollectionIdsMethodHelper(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetDocumentMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document>( + this, METHODID_GET_DOCUMENT))) + .addMethod( + getListDocumentsMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse>( + this, METHODID_LIST_DOCUMENTS))) + .addMethod( + getCreateDocumentMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CreateDocumentRequest, + com.google.firestore.v1.Document>(this, METHODID_CREATE_DOCUMENT))) + .addMethod( + getUpdateDocumentMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.UpdateDocumentRequest, + com.google.firestore.v1.Document>(this, METHODID_UPDATE_DOCUMENT))) + .addMethod( + getDeleteDocumentMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_DOCUMENT))) + .addMethod( + getBatchGetDocumentsMethodHelper(), + asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse>( + this, METHODID_BATCH_GET_DOCUMENTS))) + .addMethod( + getBeginTransactionMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse>( + this, METHODID_BEGIN_TRANSACTION))) + .addMethod( + getCommitMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitResponse>(this, METHODID_COMMIT))) + .addMethod( + getRollbackMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty>( + this, METHODID_ROLLBACK))) + .addMethod( + getRunQueryMethodHelper(), + asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunQueryRequest, + com.google.firestore.v1.RunQueryResponse>(this, METHODID_RUN_QUERY))) + .addMethod( + getWriteMethodHelper(), + asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse>( + this, METHODID_WRITE))) + .addMethod( + getListenMethodHelper(), + asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.ListenRequest, + com.google.firestore.v1.ListenResponse>(this, METHODID_LISTEN))) + .addMethod( + getListCollectionIdsMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse>( + this, METHODID_LIST_COLLECTION_IDS))) + .build(); + } + } + + /** + * + * + *
+   * The Cloud Firestore service.
+   * This service exposes several types of comparable timestamps:
+   * *    `create_time` - The time at which a document was created. Changes only
+   *      when a document is deleted, then re-created. Increases in a strict
+   *       monotonic fashion.
+   * *    `update_time` - The time at which a document was last updated. Changes
+   *      every time a document is modified. Does not change when a write results
+   *      in no modifications. Increases in a strict monotonic fashion.
+   * *    `read_time` - The time at which a particular state was observed. Used
+   *      to denote a consistent snapshot of the database or the time at which a
+   *      Document was observed to not exist.
+   * *    `commit_time` - The time at which the writes in a transaction were
+   *      committed. Any read with an equal or greater `read_time` is guaranteed
+   *      to see the effects of the transaction.
+   * 
+ */ + public static final class FirestoreStub extends io.grpc.stub.AbstractStub { + private FirestoreStub(io.grpc.Channel channel) { + super(channel); + } + + private FirestoreStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public void getDocument( + com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(getGetDocumentMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public void listDocuments( + com.google.firestore.v1.ListDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnaryCall( + getChannel().newCall(getListDocumentsMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public void createDocument( + com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(getCreateDocumentMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + public void updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(getUpdateDocumentMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public void deleteDocument( + com.google.firestore.v1.DeleteDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(getDeleteDocumentMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + public void batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncServerStreamingCall( + getChannel().newCall(getBatchGetDocumentsMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public void beginTransaction( + com.google.firestore.v1.BeginTransactionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnaryCall( + getChannel().newCall(getBeginTransactionMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public void commit( + com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(getCommitMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public void rollback( + com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(getRollbackMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Runs a query.
+     * 
+ */ + public void runQuery( + com.google.firestore.v1.RunQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncServerStreamingCall( + getChannel().newCall(getRunQueryMethodHelper(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Streams batches of document updates and deletes, in order.
+     * 
+ */ + public io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return asyncBidiStreamingCall( + getChannel().newCall(getWriteMethodHelper(), getCallOptions()), responseObserver); + } + + /** + * + * + *
+     * Listens to changes.
+     * 
+ */ + public io.grpc.stub.StreamObserver listen( + io.grpc.stub.StreamObserver responseObserver) { + return asyncBidiStreamingCall( + getChannel().newCall(getListenMethodHelper(), getCallOptions()), responseObserver); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public void listCollectionIds( + com.google.firestore.v1.ListCollectionIdsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnaryCall( + getChannel().newCall(getListCollectionIdsMethodHelper(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Cloud Firestore service.
+   * This service exposes several types of comparable timestamps:
+   * *    `create_time` - The time at which a document was created. Changes only
+   *      when a document is deleted, then re-created. Increases in a strict
+   *       monotonic fashion.
+   * *    `update_time` - The time at which a document was last updated. Changes
+   *      every time a document is modified. Does not change when a write results
+   *      in no modifications. Increases in a strict monotonic fashion.
+   * *    `read_time` - The time at which a particular state was observed. Used
+   *      to denote a consistent snapshot of the database or the time at which a
+   *      Document was observed to not exist.
+   * *    `commit_time` - The time at which the writes in a transaction were
+   *      committed. Any read with an equal or greater `read_time` is guaranteed
+   *      to see the effects of the transaction.
+   * 
+ */ + public static final class FirestoreBlockingStub + extends io.grpc.stub.AbstractStub { + private FirestoreBlockingStub(io.grpc.Channel channel) { + super(channel); + } + + private FirestoreBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public com.google.firestore.v1.Document getDocument( + com.google.firestore.v1.GetDocumentRequest request) { + return blockingUnaryCall( + getChannel(), getGetDocumentMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public com.google.firestore.v1.ListDocumentsResponse listDocuments( + com.google.firestore.v1.ListDocumentsRequest request) { + return blockingUnaryCall( + getChannel(), getListDocumentsMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public com.google.firestore.v1.Document createDocument( + com.google.firestore.v1.CreateDocumentRequest request) { + return blockingUnaryCall( + getChannel(), getCreateDocumentMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + public com.google.firestore.v1.Document updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request) { + return blockingUnaryCall( + getChannel(), getUpdateDocumentMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public com.google.protobuf.Empty deleteDocument( + com.google.firestore.v1.DeleteDocumentRequest request) { + return blockingUnaryCall( + getChannel(), getDeleteDocumentMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + public java.util.Iterator batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request) { + return blockingServerStreamingCall( + getChannel(), getBatchGetDocumentsMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public com.google.firestore.v1.BeginTransactionResponse beginTransaction( + com.google.firestore.v1.BeginTransactionRequest request) { + return blockingUnaryCall( + getChannel(), getBeginTransactionMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public com.google.firestore.v1.CommitResponse commit( + com.google.firestore.v1.CommitRequest request) { + return blockingUnaryCall(getChannel(), getCommitMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public com.google.protobuf.Empty rollback(com.google.firestore.v1.RollbackRequest request) { + return blockingUnaryCall(getChannel(), getRollbackMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Runs a query.
+     * 
+ */ + public java.util.Iterator runQuery( + com.google.firestore.v1.RunQueryRequest request) { + return blockingServerStreamingCall( + getChannel(), getRunQueryMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public com.google.firestore.v1.ListCollectionIdsResponse listCollectionIds( + com.google.firestore.v1.ListCollectionIdsRequest request) { + return blockingUnaryCall( + getChannel(), getListCollectionIdsMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Cloud Firestore service.
+   * This service exposes several types of comparable timestamps:
+   * *    `create_time` - The time at which a document was created. Changes only
+   *      when a document is deleted, then re-created. Increases in a strict
+   *       monotonic fashion.
+   * *    `update_time` - The time at which a document was last updated. Changes
+   *      every time a document is modified. Does not change when a write results
+   *      in no modifications. Increases in a strict monotonic fashion.
+   * *    `read_time` - The time at which a particular state was observed. Used
+   *      to denote a consistent snapshot of the database or the time at which a
+   *      Document was observed to not exist.
+   * *    `commit_time` - The time at which the writes in a transaction were
+   *      committed. Any read with an equal or greater `read_time` is guaranteed
+   *      to see the effects of the transaction.
+   * 
+ */ + public static final class FirestoreFutureStub + extends io.grpc.stub.AbstractStub { + private FirestoreFutureStub(io.grpc.Channel channel) { + super(channel); + } + + private FirestoreFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getDocument(com.google.firestore.v1.GetDocumentRequest request) { + return futureUnaryCall( + getChannel().newCall(getGetDocumentMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.ListDocumentsResponse> + listDocuments(com.google.firestore.v1.ListDocumentsRequest request) { + return futureUnaryCall( + getChannel().newCall(getListDocumentsMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDocument(com.google.firestore.v1.CreateDocumentRequest request) { + return futureUnaryCall( + getChannel().newCall(getCreateDocumentMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDocument(com.google.firestore.v1.UpdateDocumentRequest request) { + return futureUnaryCall( + getChannel().newCall(getUpdateDocumentMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request) { + return futureUnaryCall( + getChannel().newCall(getDeleteDocumentMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.BeginTransactionResponse> + beginTransaction(com.google.firestore.v1.BeginTransactionRequest request) { + return futureUnaryCall( + getChannel().newCall(getBeginTransactionMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.CommitResponse> + commit(com.google.firestore.v1.CommitRequest request) { + return futureUnaryCall( + getChannel().newCall(getCommitMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollback( + com.google.firestore.v1.RollbackRequest request) { + return futureUnaryCall( + getChannel().newCall(getRollbackMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.ListCollectionIdsResponse> + listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request) { + return futureUnaryCall( + getChannel().newCall(getListCollectionIdsMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_DOCUMENT = 0; + private static final int METHODID_LIST_DOCUMENTS = 1; + private static final int METHODID_CREATE_DOCUMENT = 2; + private static final int METHODID_UPDATE_DOCUMENT = 3; + private static final int METHODID_DELETE_DOCUMENT = 4; + private static final int METHODID_BATCH_GET_DOCUMENTS = 5; + private static final int METHODID_BEGIN_TRANSACTION = 6; + private static final int METHODID_COMMIT = 7; + private static final int METHODID_ROLLBACK = 8; + private static final int METHODID_RUN_QUERY = 9; + private static final int METHODID_LIST_COLLECTION_IDS = 10; + private static final int METHODID_WRITE = 11; + private static final int METHODID_LISTEN = 12; + + 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 FirestoreImplBase serviceImpl; + private final int methodId; + + MethodHandlers(FirestoreImplBase 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_GET_DOCUMENT: + serviceImpl.getDocument( + (com.google.firestore.v1.GetDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DOCUMENTS: + serviceImpl.listDocuments( + (com.google.firestore.v1.ListDocumentsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DOCUMENT: + serviceImpl.createDocument( + (com.google.firestore.v1.CreateDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DOCUMENT: + serviceImpl.updateDocument( + (com.google.firestore.v1.UpdateDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DOCUMENT: + serviceImpl.deleteDocument( + (com.google.firestore.v1.DeleteDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_DOCUMENTS: + serviceImpl.batchGetDocuments( + (com.google.firestore.v1.BatchGetDocumentsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BEGIN_TRANSACTION: + serviceImpl.beginTransaction( + (com.google.firestore.v1.BeginTransactionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_COMMIT: + serviceImpl.commit( + (com.google.firestore.v1.CommitRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ROLLBACK: + serviceImpl.rollback( + (com.google.firestore.v1.RollbackRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_QUERY: + serviceImpl.runQuery( + (com.google.firestore.v1.RunQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_COLLECTION_IDS: + serviceImpl.listCollectionIds( + (com.google.firestore.v1.ListCollectionIdsRequest) 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) { + case METHODID_WRITE: + return (io.grpc.stub.StreamObserver) + serviceImpl.write( + (io.grpc.stub.StreamObserver) + responseObserver); + case METHODID_LISTEN: + return (io.grpc.stub.StreamObserver) + serviceImpl.listen( + (io.grpc.stub.StreamObserver) + responseObserver); + default: + throw new AssertionError(); + } + } + } + + private abstract static class FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + FirestoreBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.firestore.v1.FirestoreProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Firestore"); + } + } + + private static final class FirestoreFileDescriptorSupplier + extends FirestoreBaseDescriptorSupplier { + FirestoreFileDescriptorSupplier() {} + } + + private static final class FirestoreMethodDescriptorSupplier + extends FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + FirestoreMethodDescriptorSupplier(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 (FirestoreGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FirestoreFileDescriptorSupplier()) + .addMethod(getGetDocumentMethodHelper()) + .addMethod(getListDocumentsMethodHelper()) + .addMethod(getCreateDocumentMethodHelper()) + .addMethod(getUpdateDocumentMethodHelper()) + .addMethod(getDeleteDocumentMethodHelper()) + .addMethod(getBatchGetDocumentsMethodHelper()) + .addMethod(getBeginTransactionMethodHelper()) + .addMethod(getCommitMethodHelper()) + .addMethod(getRollbackMethodHelper()) + .addMethod(getRunQueryMethodHelper()) + .addMethod(getWriteMethodHelper()) + .addMethod(getListenMethodHelper()) + .addMethod(getListCollectionIdsMethodHelper()) + .build(); + } + } + } + return result; + } +} diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 5b3f680e89f4..9860e5ceb745 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -284,11 +284,21 @@ grpc-google-cloud-error-reporting-v1beta1 0.44.1-SNAPSHOT
+ + com.google.api.grpc + proto-google-cloud-firestore-v1 + 0.44.1-SNAPSHOT + com.google.api.grpc proto-google-cloud-firestore-v1beta1 0.44.1-SNAPSHOT + + com.google.api.grpc + grpc-google-cloud-firestore-v1 + 0.44.1-SNAPSHOT + com.google.api.grpc grpc-google-cloud-firestore-v1beta1 @@ -662,6 +672,7 @@ grpc-google-cloud-dialogflow-v2beta1 grpc-google-cloud-dlp-v2 grpc-google-cloud-error-reporting-v1beta1 + grpc-google-cloud-firestore-v1 grpc-google-cloud-firestore-v1beta1 grpc-google-cloud-iamcredentials-v1 grpc-google-cloud-iot-v1 @@ -714,6 +725,7 @@ proto-google-cloud-dialogflow-v2beta1 proto-google-cloud-dlp-v2 proto-google-cloud-error-reporting-v1beta1 + proto-google-cloud-firestore-v1 proto-google-cloud-firestore-v1beta1 proto-google-cloud-iamcredentials-v1 proto-google-cloud-iot-v1 diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml new file mode 100644 index 000000000000..f043f884679a --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml @@ -0,0 +1,31 @@ + + 4.0.0 + proto-google-cloud-firestore-v1 + 0.44.1-SNAPSHOT + proto-google-cloud-firestore-v1 + PROTO library for proto-google-cloud-firestore-v1 + + com.google.api.grpc + google-api-grpc + 0.44.1-SNAPSHOT + + + + com.google.protobuf + protobuf-java + compile + + + com.google.api + api-common + compile + + + com.google.api.grpc + proto-google-common-protos + compile + + + \ No newline at end of file diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AnyPathName.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AnyPathName.java new file mode 100644 index 000000000000..9bd9d56a3cc4 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AnyPathName.java @@ -0,0 +1,240 @@ +/* + * 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.firestore.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; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +@javax.annotation.Generated("by GAPIC protoc plugin") +public class AnyPathName implements ResourceName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/databases/{database}/documents/{document}/{any_path=**}"); + + private volatile Map fieldValuesMap; + + private final String project; + private final String database; + private final String document; + private final String anyPath; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public String getDocument() { + return document; + } + + public String getAnyPath() { + return anyPath; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private AnyPathName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + database = Preconditions.checkNotNull(builder.getDatabase()); + document = Preconditions.checkNotNull(builder.getDocument()); + anyPath = Preconditions.checkNotNull(builder.getAnyPath()); + } + + public static AnyPathName of(String project, String database, String document, String anyPath) { + return newBuilder() + .setProject(project) + .setDatabase(database) + .setDocument(document) + .setAnyPath(anyPath) + .build(); + } + + public static String format(String project, String database, String document, String anyPath) { + return newBuilder() + .setProject(project) + .setDatabase(database) + .setDocument(document) + .setAnyPath(anyPath) + .build() + .toString(); + } + + public static AnyPathName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "AnyPathName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("database"), + matchMap.get("document"), + matchMap.get("any_path")); + } + + 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 (AnyPathName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("project", project); + fieldMapBuilder.put("database", database); + fieldMapBuilder.put("document", document); + fieldMapBuilder.put("anyPath", anyPath); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate( + "project", project, "database", database, "document", document, "any_path", anyPath); + } + + /** Builder for AnyPathName. */ + public static class Builder { + + private String project; + private String database; + private String document; + private String anyPath; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public String getDocument() { + return document; + } + + public String getAnyPath() { + return anyPath; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setDatabase(String database) { + this.database = database; + return this; + } + + public Builder setDocument(String document) { + this.document = document; + return this; + } + + public Builder setAnyPath(String anyPath) { + this.anyPath = anyPath; + return this; + } + + private Builder() {} + + private Builder(AnyPathName anyPathName) { + project = anyPathName.project; + database = anyPathName.database; + document = anyPathName.document; + anyPath = anyPathName.anyPath; + } + + public AnyPathName build() { + return new AnyPathName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof AnyPathName) { + AnyPathName that = (AnyPathName) o; + return (this.project.equals(that.project)) + && (this.database.equals(that.database)) + && (this.document.equals(that.document)) + && (this.anyPath.equals(that.anyPath)); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= project.hashCode(); + h *= 1000003; + h ^= database.hashCode(); + h *= 1000003; + h ^= document.hashCode(); + h *= 1000003; + h ^= anyPath.hashCode(); + return h; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java new file mode 100644 index 000000000000..e543995933e1 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java @@ -0,0 +1,916 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * An array value.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ArrayValue} + */ +public final class ArrayValue extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ArrayValue) + ArrayValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArrayValue.newBuilder() to construct. + private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ArrayValue() { + values_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ArrayValue( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + values_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + values_.add( + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + values_ = java.util.Collections.unmodifiableList(values_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ArrayValue.class, + com.google.firestore.v1.ArrayValue.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + private java.util.List values_; + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesList() { + return values_; + } + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesOrBuilderList() { + return values_; + } + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public int getValuesCount() { + return values_.size(); + } + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value getValues(int index) { + return values_.get(index); + } + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { + return values_.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 < values_.size(); i++) { + output.writeMessage(1, values_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < values_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); + } + size += unknownFields.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.firestore.v1.ArrayValue)) { + return super.equals(obj); + } + com.google.firestore.v1.ArrayValue other = (com.google.firestore.v1.ArrayValue) obj; + + boolean result = true; + result = result && getValuesList().equals(other.getValuesList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getValuesCount() > 0) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + getValuesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ArrayValue parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ArrayValue parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ArrayValue parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ArrayValue 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.firestore.v1.ArrayValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ArrayValue parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ArrayValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ArrayValue 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.firestore.v1.ArrayValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ArrayValue 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.firestore.v1.ArrayValue parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ArrayValue 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.firestore.v1.ArrayValue 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; + } + /** + * + * + *
+   * An array value.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ArrayValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ArrayValue) + com.google.firestore.v1.ArrayValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ArrayValue.class, + com.google.firestore.v1.ArrayValue.Builder.class); + } + + // Construct using com.google.firestore.v1.ArrayValue.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getValuesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + valuesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ArrayValue getDefaultInstanceForType() { + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ArrayValue build() { + com.google.firestore.v1.ArrayValue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ArrayValue buildPartial() { + com.google.firestore.v1.ArrayValue result = new com.google.firestore.v1.ArrayValue(this); + int from_bitField0_ = bitField0_; + if (valuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + values_ = java.util.Collections.unmodifiableList(values_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.values_ = values_; + } else { + result.values_ = valuesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ArrayValue) { + return mergeFrom((com.google.firestore.v1.ArrayValue) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ArrayValue other) { + if (other == com.google.firestore.v1.ArrayValue.getDefaultInstance()) return this; + if (valuesBuilder_ == null) { + if (!other.values_.isEmpty()) { + if (values_.isEmpty()) { + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureValuesIsMutable(); + values_.addAll(other.values_); + } + onChanged(); + } + } else { + if (!other.values_.isEmpty()) { + if (valuesBuilder_.isEmpty()) { + valuesBuilder_.dispose(); + valuesBuilder_ = null; + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValuesFieldBuilder() + : null; + } else { + valuesBuilder_.addAllMessages(other.values_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ArrayValue parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.ArrayValue) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List values_ = + java.util.Collections.emptyList(); + + private void ensureValuesIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + values_ = new java.util.ArrayList(values_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + valuesBuilder_; + + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesList() { + if (valuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(values_); + } else { + return valuesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public int getValuesCount() { + if (valuesBuilder_ == null) { + return values_.size(); + } else { + return valuesBuilder_.getCount(); + } + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value getValues(int index) { + if (valuesBuilder_ == null) { + return values_.get(index); + } else { + return valuesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder setValues(int index, com.google.firestore.v1.Value value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.set(index, value); + onChanged(); + } else { + valuesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.set(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(com.google.firestore.v1.Value value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(value); + onChanged(); + } else { + valuesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(int index, com.google.firestore.v1.Value value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(index, value); + onChanged(); + } else { + valuesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addAllValues( + java.lang.Iterable values) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + onChanged(); + } else { + valuesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder clearValues() { + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + valuesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder removeValues(int index) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.remove(index); + onChanged(); + } else { + valuesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) { + return getValuesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { + if (valuesBuilder_ == null) { + return values_.get(index); + } else { + return valuesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List + getValuesOrBuilderList() { + if (valuesBuilder_ != null) { + return valuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(values_); + } + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value.Builder addValuesBuilder() { + return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance()); + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) { + return getValuesFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance()); + } + /** + * + * + *
+     * Values in the array.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesBuilderList() { + return getValuesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + getValuesFieldBuilder() { + if (valuesBuilder_ == null) { + valuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + values_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + values_ = null; + } + return valuesBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ArrayValue) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ArrayValue) + private static final com.google.firestore.v1.ArrayValue DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ArrayValue(); + } + + public static com.google.firestore.v1.ArrayValue getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrayValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArrayValue(input, extensionRegistry); + } + }; + + 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.firestore.v1.ArrayValue getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java new file mode 100644 index 000000000000..87b209185bdb --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java @@ -0,0 +1,61 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +public interface ArrayValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ArrayValue) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + java.util.List getValuesList(); + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + com.google.firestore.v1.Value getValues(int index); + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + int getValuesCount(); + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + java.util.List getValuesOrBuilderList(); + /** + * + * + *
+   * Values in the array.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java new file mode 100644 index 000000000000..80ede040eaa6 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java @@ -0,0 +1,1975 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest} + */ +public final class BatchGetDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsRequest) + BatchGetDocumentsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchGetDocumentsRequest.newBuilder() to construct. + private BatchGetDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BatchGetDocumentsRequest() { + database_ = ""; + documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BatchGetDocumentsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + database_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + documents_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + documents_.add(s); + break; + } + case 26: + { + com.google.firestore.v1.DocumentMask.Builder subBuilder = null; + if (mask_ != null) { + subBuilder = mask_.toBuilder(); + } + mask_ = + input.readMessage( + com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mask_); + mask_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + consistencySelectorCase_ = 4; + consistencySelector_ = input.readBytes(); + break; + } + case 42: + { + com.google.firestore.v1.TransactionOptions.Builder subBuilder = null; + if (consistencySelectorCase_ == 5) { + subBuilder = + ((com.google.firestore.v1.TransactionOptions) consistencySelector_).toBuilder(); + } + consistencySelector_ = + input.readMessage( + com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.firestore.v1.TransactionOptions) consistencySelector_); + consistencySelector_ = subBuilder.buildPartial(); + } + consistencySelectorCase_ = 5; + break; + } + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (consistencySelectorCase_ == 7) { + subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); + } + consistencySelector_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); + consistencySelector_ = subBuilder.buildPartial(); + } + consistencySelectorCase_ = 7; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + documents_ = documents_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BatchGetDocumentsRequest.class, + com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class); + } + + private int bitField0_; + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public enum ConsistencySelectorCase implements com.google.protobuf.Internal.EnumLite { + TRANSACTION(4), + NEW_TRANSACTION(5), + READ_TIME(7), + CONSISTENCYSELECTOR_NOT_SET(0); + private final int value; + + private ConsistencySelectorCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ConsistencySelectorCase valueOf(int value) { + return forNumber(value); + } + + public static ConsistencySelectorCase forNumber(int value) { + switch (value) { + case 4: + return TRANSACTION; + case 5: + return NEW_TRANSACTION; + case 7: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + 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(); + database_ = s; + return s; + } + } + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOCUMENTS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList documents_; + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ProtocolStringList getDocumentsList() { + return documents_; + } + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + public int getDocumentsCount() { + return documents_.size(); + } + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + public java.lang.String getDocuments(int index) { + return documents_.get(index); + } + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ByteString getDocumentsBytes(int index) { + return documents_.getByteString(index); + } + + public static final int MASK_FIELD_NUMBER = 3; + private com.google.firestore.v1.DocumentMask mask_; + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field will
+   * not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public boolean hasMask() { + return mask_ != null; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field will
+   * not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMask getMask() { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field will
+   * not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + return getMask(); + } + + public static final int TRANSACTION_FIELD_NUMBER = 4; + /** + * + * + *
+   * Reads documents in a transaction.
+   * 
+ * + * bytes transaction = 4; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 4) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public boolean hasNewTransaction() { + return consistencySelectorCase_ == 5; + } + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public com.google.firestore.v1.TransactionOptions getNewTransaction() { + if (consistencySelectorCase_ == 5) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() { + if (consistencySelectorCase_ == 5) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + + public static final int READ_TIME_FIELD_NUMBER = 7; + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 7; + } + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.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 (!getDatabaseBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + for (int i = 0; i < documents_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i)); + } + if (mask_ != null) { + output.writeMessage(3, getMask()); + } + if (consistencySelectorCase_ == 4) { + output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 5) { + output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_); + } + if (consistencySelectorCase_ == 7) { + output.writeMessage(7, (com.google.protobuf.Timestamp) consistencySelector_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDatabaseBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + { + int dataSize = 0; + for (int i = 0; i < documents_.size(); i++) { + dataSize += computeStringSizeNoTag(documents_.getRaw(i)); + } + size += dataSize; + size += 1 * getDocumentsList().size(); + } + if (mask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMask()); + } + if (consistencySelectorCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 4, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.firestore.v1.TransactionOptions) consistencySelector_); + } + if (consistencySelectorCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.protobuf.Timestamp) consistencySelector_); + } + size += unknownFields.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.firestore.v1.BatchGetDocumentsRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.BatchGetDocumentsRequest other = + (com.google.firestore.v1.BatchGetDocumentsRequest) obj; + + boolean result = true; + result = result && getDatabase().equals(other.getDatabase()); + result = result && getDocumentsList().equals(other.getDocumentsList()); + result = result && (hasMask() == other.hasMask()); + if (hasMask()) { + result = result && getMask().equals(other.getMask()); + } + result = result && getConsistencySelectorCase().equals(other.getConsistencySelectorCase()); + if (!result) return false; + switch (consistencySelectorCase_) { + case 4: + result = result && getTransaction().equals(other.getTransaction()); + break; + case 5: + result = result && getNewTransaction().equals(other.getNewTransaction()); + break; + case 7: + result = result && getReadTime().equals(other.getReadTime()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + if (getDocumentsCount() > 0) { + hash = (37 * hash) + DOCUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getDocumentsList().hashCode(); + } + if (hasMask()) { + hash = (37 * hash) + MASK_FIELD_NUMBER; + hash = (53 * hash) + getMask().hashCode(); + } + switch (consistencySelectorCase_) { + case 4: + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + break; + case 5: + hash = (37 * hash) + NEW_TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getNewTransaction().hashCode(); + break; + case 7: + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest 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.firestore.v1.BatchGetDocumentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest 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.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest 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.firestore.v1.BatchGetDocumentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest 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.firestore.v1.BatchGetDocumentsRequest 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 request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsRequest) + com.google.firestore.v1.BatchGetDocumentsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BatchGetDocumentsRequest.class, + com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.BatchGetDocumentsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + if (maskBuilder_ == null) { + mask_ = null; + } else { + mask_ = null; + maskBuilder_ = null; + } + consistencySelectorCase_ = 0; + consistencySelector_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanceForType() { + return com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.BatchGetDocumentsRequest build() { + com.google.firestore.v1.BatchGetDocumentsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() { + com.google.firestore.v1.BatchGetDocumentsRequest result = + new com.google.firestore.v1.BatchGetDocumentsRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.database_ = database_; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + documents_ = documents_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.documents_ = documents_; + if (maskBuilder_ == null) { + result.mask_ = mask_; + } else { + result.mask_ = maskBuilder_.build(); + } + if (consistencySelectorCase_ == 4) { + result.consistencySelector_ = consistencySelector_; + } + if (consistencySelectorCase_ == 5) { + if (newTransactionBuilder_ == null) { + result.consistencySelector_ = consistencySelector_; + } else { + result.consistencySelector_ = newTransactionBuilder_.build(); + } + } + if (consistencySelectorCase_ == 7) { + if (readTimeBuilder_ == null) { + result.consistencySelector_ = consistencySelector_; + } else { + result.consistencySelector_ = readTimeBuilder_.build(); + } + } + result.bitField0_ = to_bitField0_; + result.consistencySelectorCase_ = consistencySelectorCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.BatchGetDocumentsRequest) { + return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other) { + if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance()) + return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (!other.documents_.isEmpty()) { + if (documents_.isEmpty()) { + documents_ = other.documents_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDocumentsIsMutable(); + documents_.addAll(other.documents_); + } + onChanged(); + } + if (other.hasMask()) { + mergeMask(other.getMask()); + } + switch (other.getConsistencySelectorCase()) { + case TRANSACTION: + { + setTransaction(other.getTransaction()); + break; + } + case NEW_TRANSACTION: + { + mergeNewTransaction(other.getNewTransaction()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.BatchGetDocumentsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.BatchGetDocumentsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public Builder clearConsistencySelector() { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private java.lang.Object database_ = ""; + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList documents_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDocumentsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + documents_ = new com.google.protobuf.LazyStringArrayList(documents_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ProtocolStringList getDocumentsList() { + return documents_.getUnmodifiableView(); + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public int getDocumentsCount() { + return documents_.size(); + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public java.lang.String getDocuments(int index) { + return documents_.get(index); + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ByteString getDocumentsBytes(int index) { + return documents_.getByteString(index); + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public Builder setDocuments(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); + documents_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public Builder addDocuments(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); + documents_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public Builder addAllDocuments(java.lang.Iterable values) { + ensureDocumentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + onChanged(); + return this; + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public Builder clearDocuments() { + documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of the
+     * given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDocumentsIsMutable(); + documents_.add(value); + onChanged(); + return this; + } + + private com.google.firestore.v1.DocumentMask mask_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public boolean hasMask() { + return maskBuilder_ != null || mask_ != null; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMask getMask() { + if (maskBuilder_ == null) { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } else { + return maskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mask_ = value; + onChanged(); + } else { + maskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + if (maskBuilder_ == null) { + mask_ = builderForValue.build(); + onChanged(); + } else { + maskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (mask_ != null) { + mask_ = + com.google.firestore.v1.DocumentMask.newBuilder(mask_) + .mergeFrom(value) + .buildPartial(); + } else { + mask_ = value; + } + onChanged(); + } else { + maskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder clearMask() { + if (maskBuilder_ == null) { + mask_ = null; + onChanged(); + } else { + mask_ = null; + maskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { + + onChanged(); + return getMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + if (maskBuilder_ != null) { + return maskBuilder_.getMessageOrBuilder(); + } else { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field will
+     * not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + getMaskFieldBuilder() { + if (maskBuilder_ == null) { + maskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getMask(), getParentForChildren(), isClean()); + mask_ = null; + } + return maskBuilder_; + } + + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 4; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 4) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 4; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelectorCase_ = 4; + consistencySelector_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 4; + */ + public Builder clearTransaction() { + if (consistencySelectorCase_ == 4) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + newTransactionBuilder_; + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public boolean hasNewTransaction() { + return consistencySelectorCase_ == 5; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public com.google.firestore.v1.TransactionOptions getNewTransaction() { + if (newTransactionBuilder_ == null) { + if (consistencySelectorCase_ == 5) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } else { + if (consistencySelectorCase_ == 5) { + return newTransactionBuilder_.getMessage(); + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions value) { + if (newTransactionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelector_ = value; + onChanged(); + } else { + newTransactionBuilder_.setMessage(value); + } + consistencySelectorCase_ = 5; + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public Builder setNewTransaction( + com.google.firestore.v1.TransactionOptions.Builder builderForValue) { + if (newTransactionBuilder_ == null) { + consistencySelector_ = builderForValue.build(); + onChanged(); + } else { + newTransactionBuilder_.setMessage(builderForValue.build()); + } + consistencySelectorCase_ = 5; + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) { + if (newTransactionBuilder_ == null) { + if (consistencySelectorCase_ == 5 + && consistencySelector_ + != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) { + consistencySelector_ = + com.google.firestore.v1.TransactionOptions.newBuilder( + (com.google.firestore.v1.TransactionOptions) consistencySelector_) + .mergeFrom(value) + .buildPartial(); + } else { + consistencySelector_ = value; + } + onChanged(); + } else { + if (consistencySelectorCase_ == 5) { + newTransactionBuilder_.mergeFrom(value); + } + newTransactionBuilder_.setMessage(value); + } + consistencySelectorCase_ = 5; + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public Builder clearNewTransaction() { + if (newTransactionBuilder_ == null) { + if (consistencySelectorCase_ == 5) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + } else { + if (consistencySelectorCase_ == 5) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + } + newTransactionBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuilder() { + return getNewTransactionFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() { + if ((consistencySelectorCase_ == 5) && (newTransactionBuilder_ != null)) { + return newTransactionBuilder_.getMessageOrBuilder(); + } else { + if (consistencySelectorCase_ == 5) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + getNewTransactionFieldBuilder() { + if (newTransactionBuilder_ == null) { + if (!(consistencySelectorCase_ == 5)) { + consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + newTransactionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder>( + (com.google.firestore.v1.TransactionOptions) consistencySelector_, + getParentForChildren(), + isClean()); + consistencySelector_ = null; + } + consistencySelectorCase_ = 5; + onChanged(); + ; + return newTransactionBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 7; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (consistencySelectorCase_ == 7) { + return readTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelector_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 7; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + consistencySelector_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + consistencySelectorCase_ = 7; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 7 + && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + consistencySelector_ = + com.google.protobuf.Timestamp.newBuilder( + (com.google.protobuf.Timestamp) consistencySelector_) + .mergeFrom(value) + .buildPartial(); + } else { + consistencySelector_ = value; + } + onChanged(); + } else { + if (consistencySelectorCase_ == 7) { + readTimeBuilder_.mergeFrom(value); + } + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 7; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 7) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + } else { + if (consistencySelectorCase_ == 7) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + } + readTimeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if ((consistencySelectorCase_ == 7) && (readTimeBuilder_ != null)) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + if (!(consistencySelectorCase_ == 7)) { + consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) consistencySelector_, + getParentForChildren(), + isClean()); + consistencySelector_ = null; + } + consistencySelectorCase_ = 7; + onChanged(); + ; + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsRequest) + private static final com.google.firestore.v1.BatchGetDocumentsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsRequest(); + } + + public static com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetDocumentsRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.BatchGetDocumentsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java new file mode 100644 index 000000000000..4b0b3e16732f --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java @@ -0,0 +1,211 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface BatchGetDocumentsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + com.google.protobuf.ByteString getDatabaseBytes(); + + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + java.util.List getDocumentsList(); + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + int getDocumentsCount(); + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + java.lang.String getDocuments(int index); + /** + * + * + *
+   * The names of the documents to retrieve. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * The request will fail if any of the document is not a child resource of the
+   * given `database`. Duplicate names will be elided.
+   * 
+ * + * repeated string documents = 2; + */ + com.google.protobuf.ByteString getDocumentsBytes(int index); + + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field will
+   * not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + boolean hasMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field will
+   * not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + com.google.firestore.v1.DocumentMask getMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field will
+   * not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder(); + + /** + * + * + *
+   * Reads documents in a transaction.
+   * 
+ * + * bytes transaction = 4; + */ + com.google.protobuf.ByteString getTransaction(); + + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + boolean hasNewTransaction(); + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + com.google.firestore.v1.TransactionOptions getNewTransaction(); + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 5; + */ + com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder(); + + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + boolean hasReadTime(); + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase + getConsistencySelectorCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java new file mode 100644 index 000000000000..641fae961f7d --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java @@ -0,0 +1,1373 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse} + */ +public final class BatchGetDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsResponse) + BatchGetDocumentsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchGetDocumentsResponse.newBuilder() to construct. + private BatchGetDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BatchGetDocumentsResponse() { + transaction_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BatchGetDocumentsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.Document.Builder subBuilder = null; + if (resultCase_ == 1) { + subBuilder = ((com.google.firestore.v1.Document) result_).toBuilder(); + } + result_ = + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Document) result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 1; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + resultCase_ = 2; + result_ = s; + break; + } + case 26: + { + transaction_ = input.readBytes(); + break; + } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); + } + readTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BatchGetDocumentsResponse.class, + com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class); + } + + private int resultCase_ = 0; + private java.lang.Object result_; + + public enum ResultCase implements com.google.protobuf.Internal.EnumLite { + FOUND(1), + MISSING(2), + RESULT_NOT_SET(0); + private final int value; + + private ResultCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ResultCase valueOf(int value) { + return forNumber(value); + } + + public static ResultCase forNumber(int value) { + switch (value) { + case 1: + return FOUND; + case 2: + return MISSING; + case 0: + return RESULT_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); + } + + public static final int FOUND_FIELD_NUMBER = 1; + /** + * + * + *
+   * A document that was requested.
+   * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public boolean hasFound() { + return resultCase_ == 1; + } + /** + * + * + *
+   * A document that was requested.
+   * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public com.google.firestore.v1.Document getFound() { + if (resultCase_ == 1) { + return (com.google.firestore.v1.Document) result_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + /** + * + * + *
+   * A document that was requested.
+   * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { + if (resultCase_ == 1) { + return (com.google.firestore.v1.Document) result_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + + public static final int MISSING_FIELD_NUMBER = 2; + /** + * + * + *
+   * A document name that was requested but does not exist. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string missing = 2; + */ + public java.lang.String getMissing() { + java.lang.Object ref = ""; + if (resultCase_ == 2) { + ref = result_; + } + 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 (resultCase_ == 2) { + result_ = s; + } + return s; + } + } + /** + * + * + *
+   * A document name that was requested but does not exist. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string missing = 2; + */ + public com.google.protobuf.ByteString getMissingBytes() { + java.lang.Object ref = ""; + if (resultCase_ == 2) { + ref = result_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (resultCase_ == 2) { + result_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSACTION_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString transaction_; + /** + * + * + *
+   * The transaction that was started as part of this request.
+   * Will only be set in the first response, and only if
+   * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+   * 
+ * + * bytes transaction = 3; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + + public static final int READ_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp readTime_; + /** + * + * + *
+   * The time at which the document was read.
+   * This may be monotically increasing, in this case the previous documents in
+   * the result stream are guaranteed not to have changed between their
+   * read_time and this one.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public boolean hasReadTime() { + return readTime_ != null; + } + /** + * + * + *
+   * The time at which the document was read.
+   * This may be monotically increasing, in this case the previous documents in
+   * the result stream are guaranteed not to have changed between their
+   * read_time and this one.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp getReadTime() { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + /** + * + * + *
+   * The time at which the document was read.
+   * This may be monotically increasing, in this case the previous documents in
+   * the result stream are guaranteed not to have changed between their
+   * read_time and this one.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + return getReadTime(); + } + + 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 (resultCase_ == 1) { + output.writeMessage(1, (com.google.firestore.v1.Document) result_); + } + if (resultCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, result_); + } + if (!transaction_.isEmpty()) { + output.writeBytes(3, transaction_); + } + if (readTime_ != null) { + output.writeMessage(4, getReadTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (resultCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.firestore.v1.Document) result_); + } + if (resultCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, result_); + } + if (!transaction_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, transaction_); + } + if (readTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime()); + } + size += unknownFields.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.firestore.v1.BatchGetDocumentsResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.BatchGetDocumentsResponse other = + (com.google.firestore.v1.BatchGetDocumentsResponse) obj; + + boolean result = true; + result = result && getTransaction().equals(other.getTransaction()); + result = result && (hasReadTime() == other.hasReadTime()); + if (hasReadTime()) { + result = result && getReadTime().equals(other.getReadTime()); + } + result = result && getResultCase().equals(other.getResultCase()); + if (!result) return false; + switch (resultCase_) { + case 1: + result = result && getFound().equals(other.getFound()); + break; + case 2: + result = result && getMissing().equals(other.getMissing()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + if (hasReadTime()) { + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + } + switch (resultCase_) { + case 1: + hash = (37 * hash) + FOUND_FIELD_NUMBER; + hash = (53 * hash) + getFound().hashCode(); + break; + case 2: + hash = (37 * hash) + MISSING_FIELD_NUMBER; + hash = (53 * hash) + getMissing().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse 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.firestore.v1.BatchGetDocumentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse 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.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse 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.firestore.v1.BatchGetDocumentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse 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.firestore.v1.BatchGetDocumentsResponse 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 streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsResponse) + com.google.firestore.v1.BatchGetDocumentsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BatchGetDocumentsResponse.class, + com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.BatchGetDocumentsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + transaction_ = com.google.protobuf.ByteString.EMPTY; + + if (readTimeBuilder_ == null) { + readTime_ = null; + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + resultCase_ = 0; + result_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstanceForType() { + return com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.BatchGetDocumentsResponse build() { + com.google.firestore.v1.BatchGetDocumentsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.BatchGetDocumentsResponse buildPartial() { + com.google.firestore.v1.BatchGetDocumentsResponse result = + new com.google.firestore.v1.BatchGetDocumentsResponse(this); + if (resultCase_ == 1) { + if (foundBuilder_ == null) { + result.result_ = result_; + } else { + result.result_ = foundBuilder_.build(); + } + } + if (resultCase_ == 2) { + result.result_ = result_; + } + result.transaction_ = transaction_; + if (readTimeBuilder_ == null) { + result.readTime_ = readTime_; + } else { + result.readTime_ = readTimeBuilder_.build(); + } + result.resultCase_ = resultCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.BatchGetDocumentsResponse) { + return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsResponse other) { + if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance()) + return this; + if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { + setTransaction(other.getTransaction()); + } + if (other.hasReadTime()) { + mergeReadTime(other.getReadTime()); + } + switch (other.getResultCase()) { + case FOUND: + { + mergeFound(other.getFound()); + break; + } + case MISSING: + { + resultCase_ = 2; + result_ = other.result_; + onChanged(); + break; + } + case RESULT_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.BatchGetDocumentsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.BatchGetDocumentsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int resultCase_ = 0; + private java.lang.Object result_; + + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); + } + + public Builder clearResult() { + resultCase_ = 0; + result_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + foundBuilder_; + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public boolean hasFound() { + return resultCase_ == 1; + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public com.google.firestore.v1.Document getFound() { + if (foundBuilder_ == null) { + if (resultCase_ == 1) { + return (com.google.firestore.v1.Document) result_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } else { + if (resultCase_ == 1) { + return foundBuilder_.getMessage(); + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public Builder setFound(com.google.firestore.v1.Document value) { + if (foundBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + result_ = value; + onChanged(); + } else { + foundBuilder_.setMessage(value); + } + resultCase_ = 1; + return this; + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue) { + if (foundBuilder_ == null) { + result_ = builderForValue.build(); + onChanged(); + } else { + foundBuilder_.setMessage(builderForValue.build()); + } + resultCase_ = 1; + return this; + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public Builder mergeFound(com.google.firestore.v1.Document value) { + if (foundBuilder_ == null) { + if (resultCase_ == 1 && result_ != com.google.firestore.v1.Document.getDefaultInstance()) { + result_ = + com.google.firestore.v1.Document.newBuilder( + (com.google.firestore.v1.Document) result_) + .mergeFrom(value) + .buildPartial(); + } else { + result_ = value; + } + onChanged(); + } else { + if (resultCase_ == 1) { + foundBuilder_.mergeFrom(value); + } + foundBuilder_.setMessage(value); + } + resultCase_ = 1; + return this; + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public Builder clearFound() { + if (foundBuilder_ == null) { + if (resultCase_ == 1) { + resultCase_ = 0; + result_ = null; + onChanged(); + } + } else { + if (resultCase_ == 1) { + resultCase_ = 0; + result_ = null; + } + foundBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public com.google.firestore.v1.Document.Builder getFoundBuilder() { + return getFoundFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { + if ((resultCase_ == 1) && (foundBuilder_ != null)) { + return foundBuilder_.getMessageOrBuilder(); + } else { + if (resultCase_ == 1) { + return (com.google.firestore.v1.Document) result_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + } + /** + * + * + *
+     * A document that was requested.
+     * 
+ * + * .google.firestore.v1.Document found = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + getFoundFieldBuilder() { + if (foundBuilder_ == null) { + if (!(resultCase_ == 1)) { + result_ = com.google.firestore.v1.Document.getDefaultInstance(); + } + foundBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + (com.google.firestore.v1.Document) result_, getParentForChildren(), isClean()); + result_ = null; + } + resultCase_ = 1; + onChanged(); + ; + return foundBuilder_; + } + + /** + * + * + *
+     * A document name that was requested but does not exist. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string missing = 2; + */ + public java.lang.String getMissing() { + java.lang.Object ref = ""; + if (resultCase_ == 2) { + ref = result_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (resultCase_ == 2) { + result_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A document name that was requested but does not exist. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string missing = 2; + */ + public com.google.protobuf.ByteString getMissingBytes() { + java.lang.Object ref = ""; + if (resultCase_ == 2) { + ref = result_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (resultCase_ == 2) { + result_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A document name that was requested but does not exist. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string missing = 2; + */ + public Builder setMissing(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resultCase_ = 2; + result_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A document name that was requested but does not exist. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string missing = 2; + */ + public Builder clearMissing() { + if (resultCase_ == 2) { + resultCase_ = 0; + result_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * A document name that was requested but does not exist. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string missing = 2; + */ + public Builder setMissingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resultCase_ = 2; + result_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * The transaction that was started as part of this request.
+     * Will only be set in the first response, and only if
+     * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+     * 
+ * + * bytes transaction = 3; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + /** + * + * + *
+     * The transaction that was started as part of this request.
+     * Will only be set in the first response, and only if
+     * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+     * 
+ * + * bytes transaction = 3; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + transaction_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The transaction that was started as part of this request.
+     * Will only be set in the first response, and only if
+     * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+     * 
+ * + * bytes transaction = 3; + */ + public Builder clearTransaction() { + + transaction_ = getDefaultInstance().getTransaction(); + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp readTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public boolean hasReadTime() { + return readTimeBuilder_ != null || readTime_ != null; + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } else { + return readTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readTime_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + readTime_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (readTime_ != null) { + readTime_ = + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + } else { + readTime_ = value; + } + onChanged(); + } else { + readTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + readTime_ = null; + onChanged(); + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + + onChanged(); + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (readTimeBuilder_ != null) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + } + /** + * + * + *
+     * The time at which the document was read.
+     * This may be monotically increasing, in this case the previous documents in
+     * the result stream are guaranteed not to have changed between their
+     * read_time and this one.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getReadTime(), getParentForChildren(), isClean()); + readTime_ = null; + } + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsResponse) + private static final com.google.firestore.v1.BatchGetDocumentsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsResponse(); + } + + public static com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetDocumentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetDocumentsResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.BatchGetDocumentsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java new file mode 100644 index 000000000000..7757fe305814 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java @@ -0,0 +1,119 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface BatchGetDocumentsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A document that was requested.
+   * 
+ * + * .google.firestore.v1.Document found = 1; + */ + boolean hasFound(); + /** + * + * + *
+   * A document that was requested.
+   * 
+ * + * .google.firestore.v1.Document found = 1; + */ + com.google.firestore.v1.Document getFound(); + /** + * + * + *
+   * A document that was requested.
+   * 
+ * + * .google.firestore.v1.Document found = 1; + */ + com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder(); + + /** + * + * + *
+   * A document name that was requested but does not exist. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string missing = 2; + */ + java.lang.String getMissing(); + /** + * + * + *
+   * A document name that was requested but does not exist. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string missing = 2; + */ + com.google.protobuf.ByteString getMissingBytes(); + + /** + * + * + *
+   * The transaction that was started as part of this request.
+   * Will only be set in the first response, and only if
+   * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+   * 
+ * + * bytes transaction = 3; + */ + com.google.protobuf.ByteString getTransaction(); + + /** + * + * + *
+   * The time at which the document was read.
+   * This may be monotically increasing, in this case the previous documents in
+   * the result stream are guaranteed not to have changed between their
+   * read_time and this one.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + boolean hasReadTime(); + /** + * + * + *
+   * The time at which the document was read.
+   * This may be monotically increasing, in this case the previous documents in
+   * the result stream are guaranteed not to have changed between their
+   * read_time and this one.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * The time at which the document was read.
+   * This may be monotically increasing, in this case the previous documents in
+   * the result stream are guaranteed not to have changed between their
+   * read_time and this one.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + public com.google.firestore.v1.BatchGetDocumentsResponse.ResultCase getResultCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java new file mode 100644 index 000000000000..af42d2e00f96 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java @@ -0,0 +1,883 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.BeginTransactionRequest} + */ +public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionRequest) + BeginTransactionRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use BeginTransactionRequest.newBuilder() to construct. + private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BeginTransactionRequest() { + database_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BeginTransactionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + database_ = s; + break; + } + case 18: + { + com.google.firestore.v1.TransactionOptions.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = + input.readMessage( + com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BeginTransactionRequest.class, + com.google.firestore.v1.BeginTransactionRequest.Builder.class); + } + + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + 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(); + database_ = s; + return s; + } + } + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPTIONS_FIELD_NUMBER = 2; + private com.google.firestore.v1.TransactionOptions options_; + /** + * + * + *
+   * The options for the transaction.
+   * Defaults to a read-write transaction.
+   * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public boolean hasOptions() { + return options_ != null; + } + /** + * + * + *
+   * The options for the transaction.
+   * Defaults to a read-write transaction.
+   * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public com.google.firestore.v1.TransactionOptions getOptions() { + return options_ == null + ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() + : options_; + } + /** + * + * + *
+   * The options for the transaction.
+   * Defaults to a read-write transaction.
+   * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { + return getOptions(); + } + + 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 (!getDatabaseBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + if (options_ != null) { + output.writeMessage(2, getOptions()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDatabaseBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + if (options_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions()); + } + size += unknownFields.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.firestore.v1.BeginTransactionRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.BeginTransactionRequest other = + (com.google.firestore.v1.BeginTransactionRequest) obj; + + boolean result = true; + result = result && getDatabase().equals(other.getDatabase()); + result = result && (hasOptions() == other.hasOptions()); + if (hasOptions()) { + result = result && getOptions().equals(other.getOptions()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + if (hasOptions()) { + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptions().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BeginTransactionRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BeginTransactionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BeginTransactionRequest 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.firestore.v1.BeginTransactionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BeginTransactionRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BeginTransactionRequest 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.firestore.v1.BeginTransactionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BeginTransactionRequest 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.firestore.v1.BeginTransactionRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BeginTransactionRequest 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.firestore.v1.BeginTransactionRequest 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 request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.BeginTransactionRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.BeginTransactionRequest) + com.google.firestore.v1.BeginTransactionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BeginTransactionRequest.class, + com.google.firestore.v1.BeginTransactionRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.BeginTransactionRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + if (optionsBuilder_ == null) { + options_ = null; + } else { + options_ = null; + optionsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.BeginTransactionRequest getDefaultInstanceForType() { + return com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.BeginTransactionRequest build() { + com.google.firestore.v1.BeginTransactionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.BeginTransactionRequest buildPartial() { + com.google.firestore.v1.BeginTransactionRequest result = + new com.google.firestore.v1.BeginTransactionRequest(this); + result.database_ = database_; + if (optionsBuilder_ == null) { + result.options_ = options_; + } else { + result.options_ = optionsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.BeginTransactionRequest) { + return mergeFrom((com.google.firestore.v1.BeginTransactionRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.BeginTransactionRequest other) { + if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance()) + return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (other.hasOptions()) { + mergeOptions(other.getOptions()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.BeginTransactionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.BeginTransactionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object database_ = ""; + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private com.google.firestore.v1.TransactionOptions options_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + optionsBuilder_; + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public boolean hasOptions() { + return optionsBuilder_ != null || options_ != null; + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public com.google.firestore.v1.TransactionOptions getOptions() { + if (optionsBuilder_ == null) { + return options_ == null + ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() + : options_; + } else { + return optionsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public Builder setOptions(com.google.firestore.v1.TransactionOptions value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + onChanged(); + } else { + optionsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public Builder setOptions(com.google.firestore.v1.TransactionOptions.Builder builderForValue) { + if (optionsBuilder_ == null) { + options_ = builderForValue.build(); + onChanged(); + } else { + optionsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) { + if (optionsBuilder_ == null) { + if (options_ != null) { + options_ = + com.google.firestore.v1.TransactionOptions.newBuilder(options_) + .mergeFrom(value) + .buildPartial(); + } else { + options_ = value; + } + onChanged(); + } else { + optionsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public Builder clearOptions() { + if (optionsBuilder_ == null) { + options_ = null; + onChanged(); + } else { + options_ = null; + optionsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public com.google.firestore.v1.TransactionOptions.Builder getOptionsBuilder() { + + onChanged(); + return getOptionsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { + if (optionsBuilder_ != null) { + return optionsBuilder_.getMessageOrBuilder(); + } else { + return options_ == null + ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() + : options_; + } + } + /** + * + * + *
+     * The options for the transaction.
+     * Defaults to a read-write transaction.
+     * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + getOptionsFieldBuilder() { + if (optionsBuilder_ == null) { + optionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder>( + getOptions(), getParentForChildren(), isClean()); + options_ = null; + } + return optionsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.BeginTransactionRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.BeginTransactionRequest) + private static final com.google.firestore.v1.BeginTransactionRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.BeginTransactionRequest(); + } + + public static com.google.firestore.v1.BeginTransactionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BeginTransactionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BeginTransactionRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.BeginTransactionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java new file mode 100644 index 000000000000..229deba4fdb3 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java @@ -0,0 +1,67 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface BeginTransactionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + com.google.protobuf.ByteString getDatabaseBytes(); + + /** + * + * + *
+   * The options for the transaction.
+   * Defaults to a read-write transaction.
+   * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + boolean hasOptions(); + /** + * + * + *
+   * The options for the transaction.
+   * Defaults to a read-write transaction.
+   * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + com.google.firestore.v1.TransactionOptions getOptions(); + /** + * + * + *
+   * The options for the transaction.
+   * Defaults to a read-write transaction.
+   * 
+ * + * .google.firestore.v1.TransactionOptions options = 2; + */ + com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java new file mode 100644 index 000000000000..e6e333802284 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java @@ -0,0 +1,520 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.BeginTransactionResponse} + */ +public final class BeginTransactionResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionResponse) + BeginTransactionResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use BeginTransactionResponse.newBuilder() to construct. + private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BeginTransactionResponse() { + transaction_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BeginTransactionResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + transaction_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BeginTransactionResponse.class, + com.google.firestore.v1.BeginTransactionResponse.Builder.class); + } + + public static final int TRANSACTION_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString transaction_; + /** + * + * + *
+   * The transaction that was started.
+   * 
+ * + * bytes transaction = 1; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + + 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 (!transaction_.isEmpty()) { + output.writeBytes(1, transaction_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!transaction_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, transaction_); + } + size += unknownFields.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.firestore.v1.BeginTransactionResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.BeginTransactionResponse other = + (com.google.firestore.v1.BeginTransactionResponse) obj; + + boolean result = true; + result = result && getTransaction().equals(other.getTransaction()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.BeginTransactionResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BeginTransactionResponse 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.firestore.v1.BeginTransactionResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BeginTransactionResponse 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.firestore.v1.BeginTransactionResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BeginTransactionResponse 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.firestore.v1.BeginTransactionResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.BeginTransactionResponse 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.firestore.v1.BeginTransactionResponse 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 response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.BeginTransactionResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.BeginTransactionResponse) + com.google.firestore.v1.BeginTransactionResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.BeginTransactionResponse.class, + com.google.firestore.v1.BeginTransactionResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.BeginTransactionResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + transaction_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.BeginTransactionResponse getDefaultInstanceForType() { + return com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.BeginTransactionResponse build() { + com.google.firestore.v1.BeginTransactionResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.BeginTransactionResponse buildPartial() { + com.google.firestore.v1.BeginTransactionResponse result = + new com.google.firestore.v1.BeginTransactionResponse(this); + result.transaction_ = transaction_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.BeginTransactionResponse) { + return mergeFrom((com.google.firestore.v1.BeginTransactionResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.BeginTransactionResponse other) { + if (other == com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance()) + return this; + if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { + setTransaction(other.getTransaction()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.BeginTransactionResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.BeginTransactionResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * The transaction that was started.
+     * 
+ * + * bytes transaction = 1; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + /** + * + * + *
+     * The transaction that was started.
+     * 
+ * + * bytes transaction = 1; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + transaction_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The transaction that was started.
+     * 
+ * + * bytes transaction = 1; + */ + public Builder clearTransaction() { + + transaction_ = getDefaultInstance().getTransaction(); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.BeginTransactionResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.BeginTransactionResponse) + private static final com.google.firestore.v1.BeginTransactionResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.BeginTransactionResponse(); + } + + public static com.google.firestore.v1.BeginTransactionResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BeginTransactionResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BeginTransactionResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.BeginTransactionResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java new file mode 100644 index 000000000000..62333e98506d --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface BeginTransactionResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The transaction that was started.
+   * 
+ * + * bytes transaction = 1; + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java new file mode 100644 index 000000000000..a098bdc6f5df --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java @@ -0,0 +1,1194 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.CommitRequest} + */ +public final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitRequest) + CommitRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CommitRequest.newBuilder() to construct. + private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CommitRequest() { + database_ = ""; + writes_ = java.util.Collections.emptyList(); + transaction_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CommitRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + database_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + writes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + writes_.add( + input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry)); + break; + } + case 26: + { + transaction_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + writes_ = java.util.Collections.unmodifiableList(writes_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.CommitRequest.class, + com.google.firestore.v1.CommitRequest.Builder.class); + } + + private int bitField0_; + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + 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(); + database_ = s; + return s; + } + } + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WRITES_FIELD_NUMBER = 2; + private java.util.List writes_; + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public java.util.List getWritesList() { + return writes_; + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public java.util.List getWritesOrBuilderList() { + return writes_; + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public int getWritesCount() { + return writes_.size(); + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public com.google.firestore.v1.Write getWrites(int index) { + return writes_.get(index); + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) { + return writes_.get(index); + } + + public static final int TRANSACTION_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString transaction_; + /** + * + * + *
+   * If set, applies all writes in this transaction, and commits it.
+   * 
+ * + * bytes transaction = 3; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + + 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 (!getDatabaseBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + for (int i = 0; i < writes_.size(); i++) { + output.writeMessage(2, writes_.get(i)); + } + if (!transaction_.isEmpty()) { + output.writeBytes(3, transaction_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDatabaseBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + for (int i = 0; i < writes_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, writes_.get(i)); + } + if (!transaction_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, transaction_); + } + size += unknownFields.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.firestore.v1.CommitRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.CommitRequest other = (com.google.firestore.v1.CommitRequest) obj; + + boolean result = true; + result = result && getDatabase().equals(other.getDatabase()); + result = result && getWritesList().equals(other.getWritesList()); + result = result && getTransaction().equals(other.getTransaction()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + if (getWritesCount() > 0) { + hash = (37 * hash) + WRITES_FIELD_NUMBER; + hash = (53 * hash) + getWritesList().hashCode(); + } + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.CommitRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CommitRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CommitRequest 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.firestore.v1.CommitRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CommitRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.CommitRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CommitRequest 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.firestore.v1.CommitRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CommitRequest 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.firestore.v1.CommitRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CommitRequest 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.firestore.v1.CommitRequest 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 request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.CommitRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.CommitRequest) + com.google.firestore.v1.CommitRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.CommitRequest.class, + com.google.firestore.v1.CommitRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.CommitRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWritesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + if (writesBuilder_ == null) { + writes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + writesBuilder_.clear(); + } + transaction_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.CommitRequest getDefaultInstanceForType() { + return com.google.firestore.v1.CommitRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.CommitRequest build() { + com.google.firestore.v1.CommitRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.CommitRequest buildPartial() { + com.google.firestore.v1.CommitRequest result = + new com.google.firestore.v1.CommitRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.database_ = database_; + if (writesBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + writes_ = java.util.Collections.unmodifiableList(writes_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.writes_ = writes_; + } else { + result.writes_ = writesBuilder_.build(); + } + result.transaction_ = transaction_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.CommitRequest) { + return mergeFrom((com.google.firestore.v1.CommitRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.CommitRequest other) { + if (other == com.google.firestore.v1.CommitRequest.getDefaultInstance()) return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (writesBuilder_ == null) { + if (!other.writes_.isEmpty()) { + if (writes_.isEmpty()) { + writes_ = other.writes_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureWritesIsMutable(); + writes_.addAll(other.writes_); + } + onChanged(); + } + } else { + if (!other.writes_.isEmpty()) { + if (writesBuilder_.isEmpty()) { + writesBuilder_.dispose(); + writesBuilder_ = null; + writes_ = other.writes_; + bitField0_ = (bitField0_ & ~0x00000002); + writesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWritesFieldBuilder() + : null; + } else { + writesBuilder_.addAllMessages(other.writes_); + } + } + } + if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { + setTransaction(other.getTransaction()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.CommitRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.CommitRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object database_ = ""; + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private java.util.List writes_ = + java.util.Collections.emptyList(); + + private void ensureWritesIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + writes_ = new java.util.ArrayList(writes_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; + + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public java.util.List getWritesList() { + if (writesBuilder_ == null) { + return java.util.Collections.unmodifiableList(writes_); + } else { + return writesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public int getWritesCount() { + if (writesBuilder_ == null) { + return writes_.size(); + } else { + return writesBuilder_.getCount(); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public com.google.firestore.v1.Write getWrites(int index) { + if (writesBuilder_ == null) { + return writes_.get(index); + } else { + return writesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder setWrites(int index, com.google.firestore.v1.Write value) { + if (writesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWritesIsMutable(); + writes_.set(index, value); + onChanged(); + } else { + writesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.set(index, builderForValue.build()); + onChanged(); + } else { + writesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder addWrites(com.google.firestore.v1.Write value) { + if (writesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWritesIsMutable(); + writes_.add(value); + onChanged(); + } else { + writesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder addWrites(int index, com.google.firestore.v1.Write value) { + if (writesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWritesIsMutable(); + writes_.add(index, value); + onChanged(); + } else { + writesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.add(builderForValue.build()); + onChanged(); + } else { + writesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.add(index, builderForValue.build()); + onChanged(); + } else { + writesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder addAllWrites( + java.lang.Iterable values) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_); + onChanged(); + } else { + writesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder clearWrites() { + if (writesBuilder_ == null) { + writes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + writesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public Builder removeWrites(int index) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.remove(index); + onChanged(); + } else { + writesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) { + return getWritesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) { + if (writesBuilder_ == null) { + return writes_.get(index); + } else { + return writesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public java.util.List + getWritesOrBuilderList() { + if (writesBuilder_ != null) { + return writesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(writes_); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public com.google.firestore.v1.Write.Builder addWritesBuilder() { + return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance()); + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) { + return getWritesFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance()); + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + public java.util.List getWritesBuilderList() { + return getWritesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + getWritesFieldBuilder() { + if (writesBuilder_ == null) { + writesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder>( + writes_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + writes_ = null; + } + return writesBuilder_; + } + + private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * If set, applies all writes in this transaction, and commits it.
+     * 
+ * + * bytes transaction = 3; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + /** + * + * + *
+     * If set, applies all writes in this transaction, and commits it.
+     * 
+ * + * bytes transaction = 3; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + transaction_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If set, applies all writes in this transaction, and commits it.
+     * 
+ * + * bytes transaction = 3; + */ + public Builder clearTransaction() { + + transaction_ = getDefaultInstance().getTransaction(); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.CommitRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.CommitRequest) + private static final com.google.firestore.v1.CommitRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.CommitRequest(); + } + + public static com.google.firestore.v1.CommitRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.CommitRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java new file mode 100644 index 000000000000..a3149c3bf144 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java @@ -0,0 +1,100 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface CommitRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + com.google.protobuf.ByteString getDatabaseBytes(); + + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + java.util.List getWritesList(); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + com.google.firestore.v1.Write getWrites(int index); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + int getWritesCount(); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + java.util.List getWritesOrBuilderList(); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 2; + */ + com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index); + + /** + * + * + *
+   * If set, applies all writes in this transaction, and commits it.
+   * 
+ * + * bytes transaction = 3; + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java new file mode 100644 index 000000000000..3afba5cac924 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java @@ -0,0 +1,1234 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.CommitResponse} + */ +public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitResponse) + CommitResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CommitResponse.newBuilder() to construct. + private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CommitResponse() { + writeResults_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CommitResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + writeResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + writeResults_.add( + input.readMessage( + com.google.firestore.v1.WriteResult.parser(), extensionRegistry)); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (commitTime_ != null) { + subBuilder = commitTime_.toBuilder(); + } + commitTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitTime_); + commitTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + writeResults_ = java.util.Collections.unmodifiableList(writeResults_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.CommitResponse.class, + com.google.firestore.v1.CommitResponse.Builder.class); + } + + private int bitField0_; + public static final int WRITE_RESULTS_FIELD_NUMBER = 1; + private java.util.List writeResults_; + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public java.util.List getWriteResultsList() { + return writeResults_; + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public java.util.List + getWriteResultsOrBuilderList() { + return writeResults_; + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public int getWriteResultsCount() { + return writeResults_.size(); + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public com.google.firestore.v1.WriteResult getWriteResults(int index) { + return writeResults_.get(index); + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) { + return writeResults_.get(index); + } + + public static final int COMMIT_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp commitTime_; + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public boolean hasCommitTime() { + return commitTime_ != null; + } + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public com.google.protobuf.Timestamp getCommitTime() { + return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + } + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { + return getCommitTime(); + } + + 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 < writeResults_.size(); i++) { + output.writeMessage(1, writeResults_.get(i)); + } + if (commitTime_ != null) { + output.writeMessage(2, getCommitTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < writeResults_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, writeResults_.get(i)); + } + if (commitTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCommitTime()); + } + size += unknownFields.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.firestore.v1.CommitResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.CommitResponse other = (com.google.firestore.v1.CommitResponse) obj; + + boolean result = true; + result = result && getWriteResultsList().equals(other.getWriteResultsList()); + result = result && (hasCommitTime() == other.hasCommitTime()); + if (hasCommitTime()) { + result = result && getCommitTime().equals(other.getCommitTime()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getWriteResultsCount() > 0) { + hash = (37 * hash) + WRITE_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getWriteResultsList().hashCode(); + } + if (hasCommitTime()) { + hash = (37 * hash) + COMMIT_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCommitTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.CommitResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CommitResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.CommitResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CommitResponse 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.firestore.v1.CommitResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CommitResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.CommitResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CommitResponse 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.firestore.v1.CommitResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CommitResponse 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.firestore.v1.CommitResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CommitResponse 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.firestore.v1.CommitResponse 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 response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.CommitResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.CommitResponse) + com.google.firestore.v1.CommitResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.CommitResponse.class, + com.google.firestore.v1.CommitResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.CommitResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWriteResultsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (writeResultsBuilder_ == null) { + writeResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + writeResultsBuilder_.clear(); + } + if (commitTimeBuilder_ == null) { + commitTime_ = null; + } else { + commitTime_ = null; + commitTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.CommitResponse getDefaultInstanceForType() { + return com.google.firestore.v1.CommitResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.CommitResponse build() { + com.google.firestore.v1.CommitResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.CommitResponse buildPartial() { + com.google.firestore.v1.CommitResponse result = + new com.google.firestore.v1.CommitResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (writeResultsBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + writeResults_ = java.util.Collections.unmodifiableList(writeResults_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.writeResults_ = writeResults_; + } else { + result.writeResults_ = writeResultsBuilder_.build(); + } + if (commitTimeBuilder_ == null) { + result.commitTime_ = commitTime_; + } else { + result.commitTime_ = commitTimeBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.CommitResponse) { + return mergeFrom((com.google.firestore.v1.CommitResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.CommitResponse other) { + if (other == com.google.firestore.v1.CommitResponse.getDefaultInstance()) return this; + if (writeResultsBuilder_ == null) { + if (!other.writeResults_.isEmpty()) { + if (writeResults_.isEmpty()) { + writeResults_ = other.writeResults_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureWriteResultsIsMutable(); + writeResults_.addAll(other.writeResults_); + } + onChanged(); + } + } else { + if (!other.writeResults_.isEmpty()) { + if (writeResultsBuilder_.isEmpty()) { + writeResultsBuilder_.dispose(); + writeResultsBuilder_ = null; + writeResults_ = other.writeResults_; + bitField0_ = (bitField0_ & ~0x00000001); + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWriteResultsFieldBuilder() + : null; + } else { + writeResultsBuilder_.addAllMessages(other.writeResults_); + } + } + } + if (other.hasCommitTime()) { + mergeCommitTime(other.getCommitTime()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.CommitResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.CommitResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List writeResults_ = + java.util.Collections.emptyList(); + + private void ensureWriteResultsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + writeResults_ = new java.util.ArrayList(writeResults_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + writeResultsBuilder_; + + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public java.util.List getWriteResultsList() { + if (writeResultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(writeResults_); + } else { + return writeResultsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public int getWriteResultsCount() { + if (writeResultsBuilder_ == null) { + return writeResults_.size(); + } else { + return writeResultsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public com.google.firestore.v1.WriteResult getWriteResults(int index) { + if (writeResultsBuilder_ == null) { + return writeResults_.get(index); + } else { + return writeResultsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) { + if (writeResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWriteResultsIsMutable(); + writeResults_.set(index, value); + onChanged(); + } else { + writeResultsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder setWriteResults( + int index, com.google.firestore.v1.WriteResult.Builder builderForValue) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.set(index, builderForValue.build()); + onChanged(); + } else { + writeResultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder addWriteResults(com.google.firestore.v1.WriteResult value) { + if (writeResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWriteResultsIsMutable(); + writeResults_.add(value); + onChanged(); + } else { + writeResultsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) { + if (writeResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWriteResultsIsMutable(); + writeResults_.add(index, value); + onChanged(); + } else { + writeResultsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(builderForValue.build()); + onChanged(); + } else { + writeResultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder addWriteResults( + int index, com.google.firestore.v1.WriteResult.Builder builderForValue) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(index, builderForValue.build()); + onChanged(); + } else { + writeResultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder addAllWriteResults( + java.lang.Iterable values) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_); + onChanged(); + } else { + writeResultsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder clearWriteResults() { + if (writeResultsBuilder_ == null) { + writeResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + writeResultsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public Builder removeWriteResults(int index) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.remove(index); + onChanged(); + } else { + writeResultsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) { + return getWriteResultsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) { + if (writeResultsBuilder_ == null) { + return writeResults_.get(index); + } else { + return writeResultsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public java.util.List + getWriteResultsOrBuilderList() { + if (writeResultsBuilder_ != null) { + return writeResultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(writeResults_); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() { + return getWriteResultsFieldBuilder() + .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance()); + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) { + return getWriteResultsFieldBuilder() + .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance()); + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + public java.util.List + getWriteResultsBuilderList() { + return getWriteResultsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + getWriteResultsFieldBuilder() { + if (writeResultsBuilder_ == null) { + writeResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder>( + writeResults_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + writeResults_ = null; + } + return writeResultsBuilder_; + } + + private com.google.protobuf.Timestamp commitTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimeBuilder_; + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public boolean hasCommitTime() { + return commitTimeBuilder_ != null || commitTime_ != null; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public com.google.protobuf.Timestamp getCommitTime() { + if (commitTimeBuilder_ == null) { + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; + } else { + return commitTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public Builder setCommitTime(com.google.protobuf.Timestamp value) { + if (commitTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + commitTime_ = value; + onChanged(); + } else { + commitTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (commitTimeBuilder_ == null) { + commitTime_ = builderForValue.build(); + onChanged(); + } else { + commitTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { + if (commitTimeBuilder_ == null) { + if (commitTime_ != null) { + commitTime_ = + com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial(); + } else { + commitTime_ = value; + } + onChanged(); + } else { + commitTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public Builder clearCommitTime() { + if (commitTimeBuilder_ == null) { + commitTime_ = null; + onChanged(); + } else { + commitTime_ = null; + commitTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { + + onChanged(); + return getCommitTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { + if (commitTimeBuilder_ != null) { + return commitTimeBuilder_.getMessageOrBuilder(); + } else { + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; + } + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCommitTimeFieldBuilder() { + if (commitTimeBuilder_ == null) { + commitTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCommitTime(), getParentForChildren(), isClean()); + commitTime_ = null; + } + return commitTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.CommitResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.CommitResponse) + private static final com.google.firestore.v1.CommitResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.CommitResponse(); + } + + public static com.google.firestore.v1.CommitResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.CommitResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java new file mode 100644 index 000000000000..6fda2567d2fe --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java @@ -0,0 +1,103 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface CommitResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + java.util.List getWriteResultsList(); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + com.google.firestore.v1.WriteResult getWriteResults(int index); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + int getWriteResultsCount(); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + java.util.List + getWriteResultsOrBuilderList(); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 1; + */ + com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index); + + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + boolean hasCommitTime(); + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + com.google.protobuf.Timestamp getCommitTime(); + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java new file mode 100644 index 000000000000..84047cf6c4ec --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java @@ -0,0 +1,124 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/common.proto + +package com.google.firestore.v1; + +public final class CommonProto { + private CommonProto() {} + + 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_firestore_v1_DocumentMask_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Precondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Precondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TransactionOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TransactionOptions_ReadOnly_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/firestore/v1/common.proto\022\023goog" + + "le.firestore.v1\032\034google/api/annotations." + + "proto\032\037google/protobuf/timestamp.proto\"#" + + "\n\014DocumentMask\022\023\n\013field_paths\030\001 \003(\t\"e\n\014P" + + "recondition\022\020\n\006exists\030\001 \001(\010H\000\0221\n\013update_" + + "time\030\002 \001(\0132\032.google.protobuf.TimestampH\000" + + "B\020\n\016condition_type\"\251\002\n\022TransactionOption" + + "s\022E\n\tread_only\030\002 \001(\01320.google.firestore." + + "v1.TransactionOptions.ReadOnlyH\000\022G\n\nread" + + "_write\030\003 \001(\01321.google.firestore.v1.Trans" + + "actionOptions.ReadWriteH\000\032&\n\tReadWrite\022\031" + + "\n\021retry_transaction\030\001 \001(\014\032S\n\010ReadOnly\022/\n" + + "\tread_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampH\000B\026\n\024consistency_selectorB\006\n\004modeB\245" + + "\001\n\027com.google.firestore.v1B\013CommonProtoP" + + "\001Z + * The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. + *
+ * + * Protobuf type {@code google.firestore.v1.CreateDocumentRequest} + */ +public final class CreateDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.CreateDocumentRequest) + CreateDocumentRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateDocumentRequest.newBuilder() to construct. + private CreateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateDocumentRequest() { + parent_ = ""; + collectionId_ = ""; + documentId_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CreateDocumentRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + collectionId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + documentId_ = s; + break; + } + case 34: + { + com.google.firestore.v1.Document.Builder subBuilder = null; + if (document_ != null) { + subBuilder = document_.toBuilder(); + } + document_ = + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(document_); + document_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + com.google.firestore.v1.DocumentMask.Builder subBuilder = null; + if (mask_ != null) { + subBuilder = mask_.toBuilder(); + } + mask_ = + input.readMessage( + com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mask_); + mask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.CreateDocumentRequest.class, + com.google.firestore.v1.CreateDocumentRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * The parent resource. For example:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+   * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+   * The parent resource. For example:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+   * 
+ * + * string parent = 1; + */ + 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 COLLECTION_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object collectionId_; + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+   * 
+ * + * string collection_id = 2; + */ + public java.lang.String getCollectionId() { + java.lang.Object ref = collectionId_; + 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(); + collectionId_ = s; + return s; + } + } + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+   * 
+ * + * string collection_id = 2; + */ + public com.google.protobuf.ByteString getCollectionIdBytes() { + java.lang.Object ref = collectionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOCUMENT_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object documentId_; + /** + * + * + *
+   * The client-assigned document ID to use for this document.
+   * Optional. If not specified, an ID will be assigned by the service.
+   * 
+ * + * string document_id = 3; + */ + public java.lang.String getDocumentId() { + java.lang.Object ref = documentId_; + 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(); + documentId_ = s; + return s; + } + } + /** + * + * + *
+   * The client-assigned document ID to use for this document.
+   * Optional. If not specified, an ID will be assigned by the service.
+   * 
+ * + * string document_id = 3; + */ + public com.google.protobuf.ByteString getDocumentIdBytes() { + java.lang.Object ref = documentId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + documentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOCUMENT_FIELD_NUMBER = 4; + private com.google.firestore.v1.Document document_; + /** + * + * + *
+   * The document to create. `name` must not be set.
+   * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public boolean hasDocument() { + return document_ != null; + } + /** + * + * + *
+   * The document to create. `name` must not be set.
+   * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public com.google.firestore.v1.Document getDocument() { + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + } + /** + * + * + *
+   * The document to create. `name` must not be set.
+   * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + return getDocument(); + } + + public static final int MASK_FIELD_NUMBER = 5; + private com.google.firestore.v1.DocumentMask mask_; + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public boolean hasMask() { + return mask_ != null; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public com.google.firestore.v1.DocumentMask getMask() { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + return getMask(); + } + + 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 (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!getCollectionIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionId_); + } + if (!getDocumentIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, documentId_); + } + if (document_ != null) { + output.writeMessage(4, getDocument()); + } + if (mask_ != null) { + output.writeMessage(5, getMask()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!getCollectionIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); + } + if (!getDocumentIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, documentId_); + } + if (document_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDocument()); + } + if (mask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMask()); + } + size += unknownFields.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.firestore.v1.CreateDocumentRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.CreateDocumentRequest other = + (com.google.firestore.v1.CreateDocumentRequest) obj; + + boolean result = true; + result = result && getParent().equals(other.getParent()); + result = result && getCollectionId().equals(other.getCollectionId()); + result = result && getDocumentId().equals(other.getDocumentId()); + result = result && (hasDocument() == other.hasDocument()); + if (hasDocument()) { + result = result && getDocument().equals(other.getDocument()); + } + result = result && (hasMask() == other.hasMask()); + if (hasMask()) { + result = result && getMask().equals(other.getMask()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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) + COLLECTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getCollectionId().hashCode(); + hash = (37 * hash) + DOCUMENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getDocumentId().hashCode(); + if (hasDocument()) { + hash = (37 * hash) + DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getDocument().hashCode(); + } + if (hasMask()) { + hash = (37 * hash) + MASK_FIELD_NUMBER; + hash = (53 * hash) + getMask().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.CreateDocumentRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CreateDocumentRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.CreateDocumentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CreateDocumentRequest 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.firestore.v1.CreateDocumentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.CreateDocumentRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.CreateDocumentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CreateDocumentRequest 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.firestore.v1.CreateDocumentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CreateDocumentRequest 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.firestore.v1.CreateDocumentRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.CreateDocumentRequest 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.firestore.v1.CreateDocumentRequest 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 request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.CreateDocumentRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.CreateDocumentRequest) + com.google.firestore.v1.CreateDocumentRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.CreateDocumentRequest.class, + com.google.firestore.v1.CreateDocumentRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.CreateDocumentRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + collectionId_ = ""; + + documentId_ = ""; + + if (documentBuilder_ == null) { + document_ = null; + } else { + document_ = null; + documentBuilder_ = null; + } + if (maskBuilder_ == null) { + mask_ = null; + } else { + mask_ = null; + maskBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.CreateDocumentRequest getDefaultInstanceForType() { + return com.google.firestore.v1.CreateDocumentRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.CreateDocumentRequest build() { + com.google.firestore.v1.CreateDocumentRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.CreateDocumentRequest buildPartial() { + com.google.firestore.v1.CreateDocumentRequest result = + new com.google.firestore.v1.CreateDocumentRequest(this); + result.parent_ = parent_; + result.collectionId_ = collectionId_; + result.documentId_ = documentId_; + if (documentBuilder_ == null) { + result.document_ = document_; + } else { + result.document_ = documentBuilder_.build(); + } + if (maskBuilder_ == null) { + result.mask_ = mask_; + } else { + result.mask_ = maskBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.CreateDocumentRequest) { + return mergeFrom((com.google.firestore.v1.CreateDocumentRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.CreateDocumentRequest other) { + if (other == com.google.firestore.v1.CreateDocumentRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (!other.getCollectionId().isEmpty()) { + collectionId_ = other.collectionId_; + onChanged(); + } + if (!other.getDocumentId().isEmpty()) { + documentId_ = other.documentId_; + onChanged(); + } + if (other.hasDocument()) { + mergeDocument(other.getDocument()); + } + if (other.hasMask()) { + mergeMask(other.getMask()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.CreateDocumentRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.CreateDocumentRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * The parent resource. For example:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent resource. For example:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent resource. For example:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+     * 
+ * + * string parent = 1; + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The parent resource. For example:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+     * 
+ * + * string parent = 1; + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * The parent resource. For example:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+     * 
+ * + * string parent = 1; + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private java.lang.Object collectionId_ = ""; + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+     * 
+ * + * string collection_id = 2; + */ + public java.lang.String getCollectionId() { + java.lang.Object ref = collectionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + collectionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+     * 
+ * + * string collection_id = 2; + */ + public com.google.protobuf.ByteString getCollectionIdBytes() { + java.lang.Object ref = collectionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+     * 
+ * + * string collection_id = 2; + */ + public Builder setCollectionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + collectionId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+     * 
+ * + * string collection_id = 2; + */ + public Builder clearCollectionId() { + + collectionId_ = getDefaultInstance().getCollectionId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+     * 
+ * + * string collection_id = 2; + */ + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + collectionId_ = value; + onChanged(); + return this; + } + + private java.lang.Object documentId_ = ""; + /** + * + * + *
+     * The client-assigned document ID to use for this document.
+     * Optional. If not specified, an ID will be assigned by the service.
+     * 
+ * + * string document_id = 3; + */ + public java.lang.String getDocumentId() { + java.lang.Object ref = documentId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + documentId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The client-assigned document ID to use for this document.
+     * Optional. If not specified, an ID will be assigned by the service.
+     * 
+ * + * string document_id = 3; + */ + public com.google.protobuf.ByteString getDocumentIdBytes() { + java.lang.Object ref = documentId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + documentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The client-assigned document ID to use for this document.
+     * Optional. If not specified, an ID will be assigned by the service.
+     * 
+ * + * string document_id = 3; + */ + public Builder setDocumentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + documentId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The client-assigned document ID to use for this document.
+     * Optional. If not specified, an ID will be assigned by the service.
+     * 
+ * + * string document_id = 3; + */ + public Builder clearDocumentId() { + + documentId_ = getDefaultInstance().getDocumentId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The client-assigned document ID to use for this document.
+     * Optional. If not specified, an ID will be assigned by the service.
+     * 
+ * + * string document_id = 3; + */ + public Builder setDocumentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + documentId_ = value; + onChanged(); + return this; + } + + private com.google.firestore.v1.Document document_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + documentBuilder_; + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public boolean hasDocument() { + return documentBuilder_ != null || document_ != null; + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public com.google.firestore.v1.Document getDocument() { + if (documentBuilder_ == null) { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } else { + return documentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public Builder setDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + document_ = value; + onChanged(); + } else { + documentBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + if (documentBuilder_ == null) { + document_ = builderForValue.build(); + onChanged(); + } else { + documentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public Builder mergeDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (document_ != null) { + document_ = + com.google.firestore.v1.Document.newBuilder(document_) + .mergeFrom(value) + .buildPartial(); + } else { + document_ = value; + } + onChanged(); + } else { + documentBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public Builder clearDocument() { + if (documentBuilder_ == null) { + document_ = null; + onChanged(); + } else { + document_ = null; + documentBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public com.google.firestore.v1.Document.Builder getDocumentBuilder() { + + onChanged(); + return getDocumentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + if (documentBuilder_ != null) { + return documentBuilder_.getMessageOrBuilder(); + } else { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } + } + /** + * + * + *
+     * The document to create. `name` must not be set.
+     * 
+ * + * .google.firestore.v1.Document document = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + getDocumentFieldBuilder() { + if (documentBuilder_ == null) { + documentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), getParentForChildren(), isClean()); + document_ = null; + } + return documentBuilder_; + } + + private com.google.firestore.v1.DocumentMask mask_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public boolean hasMask() { + return maskBuilder_ != null || mask_ != null; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public com.google.firestore.v1.DocumentMask getMask() { + if (maskBuilder_ == null) { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } else { + return maskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mask_ = value; + onChanged(); + } else { + maskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + if (maskBuilder_ == null) { + mask_ = builderForValue.build(); + onChanged(); + } else { + maskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (mask_ != null) { + mask_ = + com.google.firestore.v1.DocumentMask.newBuilder(mask_) + .mergeFrom(value) + .buildPartial(); + } else { + mask_ = value; + } + onChanged(); + } else { + maskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public Builder clearMask() { + if (maskBuilder_ == null) { + mask_ = null; + onChanged(); + } else { + mask_ = null; + maskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { + + onChanged(); + return getMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + if (maskBuilder_ != null) { + return maskBuilder_.getMessageOrBuilder(); + } else { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + getMaskFieldBuilder() { + if (maskBuilder_ == null) { + maskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getMask(), getParentForChildren(), isClean()); + mask_ = null; + } + return maskBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.CreateDocumentRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.CreateDocumentRequest) + private static final com.google.firestore.v1.CreateDocumentRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.CreateDocumentRequest(); + } + + public static com.google.firestore.v1.CreateDocumentRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDocumentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDocumentRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.CreateDocumentRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java new file mode 100644 index 000000000000..f2fad7c4837e --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface CreateDocumentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.CreateDocumentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The parent resource. For example:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+   * 
+ * + * string parent = 1; + */ + java.lang.String getParent(); + /** + * + * + *
+   * The parent resource. For example:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
+   * 
+ * + * string parent = 1; + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+   * 
+ * + * string collection_id = 2; + */ + java.lang.String getCollectionId(); + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`.
+   * 
+ * + * string collection_id = 2; + */ + com.google.protobuf.ByteString getCollectionIdBytes(); + + /** + * + * + *
+   * The client-assigned document ID to use for this document.
+   * Optional. If not specified, an ID will be assigned by the service.
+   * 
+ * + * string document_id = 3; + */ + java.lang.String getDocumentId(); + /** + * + * + *
+   * The client-assigned document ID to use for this document.
+   * Optional. If not specified, an ID will be assigned by the service.
+   * 
+ * + * string document_id = 3; + */ + com.google.protobuf.ByteString getDocumentIdBytes(); + + /** + * + * + *
+   * The document to create. `name` must not be set.
+   * 
+ * + * .google.firestore.v1.Document document = 4; + */ + boolean hasDocument(); + /** + * + * + *
+   * The document to create. `name` must not be set.
+   * 
+ * + * .google.firestore.v1.Document document = 4; + */ + com.google.firestore.v1.Document getDocument(); + /** + * + * + *
+   * The document to create. `name` must not be set.
+   * 
+ * + * .google.firestore.v1.Document document = 4; + */ + com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); + + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + boolean hasMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + com.google.firestore.v1.DocumentMask getMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 5; + */ + com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java new file mode 100644 index 000000000000..7a9982bc9aed --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java @@ -0,0 +1,1046 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/query.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A position in a query result set.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.Cursor} + */ +public final class Cursor extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Cursor) + CursorOrBuilder { + private static final long serialVersionUID = 0L; + // Use Cursor.newBuilder() to construct. + private Cursor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Cursor() { + values_ = java.util.Collections.emptyList(); + before_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Cursor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + values_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + values_.add( + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry)); + break; + } + case 16: + { + before_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + values_ = java.util.Collections.unmodifiableList(values_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Cursor.class, com.google.firestore.v1.Cursor.Builder.class); + } + + private int bitField0_; + public static final int VALUES_FIELD_NUMBER = 1; + private java.util.List values_; + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesList() { + return values_; + } + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesOrBuilderList() { + return values_; + } + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public int getValuesCount() { + return values_.size(); + } + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value getValues(int index) { + return values_.get(index); + } + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { + return values_.get(index); + } + + public static final int BEFORE_FIELD_NUMBER = 2; + private boolean before_; + /** + * + * + *
+   * If the position is just before or just after the given values, relative
+   * to the sort order defined by the query.
+   * 
+ * + * bool before = 2; + */ + public boolean getBefore() { + return before_; + } + + 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 < values_.size(); i++) { + output.writeMessage(1, values_.get(i)); + } + if (before_ != false) { + output.writeBool(2, before_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < values_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); + } + if (before_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, before_); + } + size += unknownFields.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.firestore.v1.Cursor)) { + return super.equals(obj); + } + com.google.firestore.v1.Cursor other = (com.google.firestore.v1.Cursor) obj; + + boolean result = true; + result = result && getValuesList().equals(other.getValuesList()); + result = result && (getBefore() == other.getBefore()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getValuesCount() > 0) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + getValuesList().hashCode(); + } + hash = (37 * hash) + BEFORE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBefore()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Cursor parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Cursor parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Cursor parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Cursor 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.firestore.v1.Cursor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Cursor parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Cursor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Cursor 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.firestore.v1.Cursor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Cursor 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.firestore.v1.Cursor parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Cursor 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.firestore.v1.Cursor prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A position in a query result set.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Cursor} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Cursor) + com.google.firestore.v1.CursorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Cursor.class, com.google.firestore.v1.Cursor.Builder.class); + } + + // Construct using com.google.firestore.v1.Cursor.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getValuesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + valuesBuilder_.clear(); + } + before_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Cursor getDefaultInstanceForType() { + return com.google.firestore.v1.Cursor.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Cursor build() { + com.google.firestore.v1.Cursor result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Cursor buildPartial() { + com.google.firestore.v1.Cursor result = new com.google.firestore.v1.Cursor(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (valuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + values_ = java.util.Collections.unmodifiableList(values_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.values_ = values_; + } else { + result.values_ = valuesBuilder_.build(); + } + result.before_ = before_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Cursor) { + return mergeFrom((com.google.firestore.v1.Cursor) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Cursor other) { + if (other == com.google.firestore.v1.Cursor.getDefaultInstance()) return this; + if (valuesBuilder_ == null) { + if (!other.values_.isEmpty()) { + if (values_.isEmpty()) { + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureValuesIsMutable(); + values_.addAll(other.values_); + } + onChanged(); + } + } else { + if (!other.values_.isEmpty()) { + if (valuesBuilder_.isEmpty()) { + valuesBuilder_.dispose(); + valuesBuilder_ = null; + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValuesFieldBuilder() + : null; + } else { + valuesBuilder_.addAllMessages(other.values_); + } + } + } + if (other.getBefore() != false) { + setBefore(other.getBefore()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Cursor parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Cursor) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List values_ = + java.util.Collections.emptyList(); + + private void ensureValuesIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + values_ = new java.util.ArrayList(values_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + valuesBuilder_; + + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesList() { + if (valuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(values_); + } else { + return valuesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public int getValuesCount() { + if (valuesBuilder_ == null) { + return values_.size(); + } else { + return valuesBuilder_.getCount(); + } + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value getValues(int index) { + if (valuesBuilder_ == null) { + return values_.get(index); + } else { + return valuesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder setValues(int index, com.google.firestore.v1.Value value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.set(index, value); + onChanged(); + } else { + valuesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.set(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(com.google.firestore.v1.Value value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(value); + onChanged(); + } else { + valuesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(int index, com.google.firestore.v1.Value value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(index, value); + onChanged(); + } else { + valuesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder addAllValues( + java.lang.Iterable values) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + onChanged(); + } else { + valuesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder clearValues() { + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + valuesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public Builder removeValues(int index) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.remove(index); + onChanged(); + } else { + valuesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) { + return getValuesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { + if (valuesBuilder_ == null) { + return values_.get(index); + } else { + return valuesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List + getValuesOrBuilderList() { + if (valuesBuilder_ != null) { + return valuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(values_); + } + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value.Builder addValuesBuilder() { + return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance()); + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) { + return getValuesFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance()); + } + /** + * + * + *
+     * The values that represent a position, in the order they appear in
+     * the order by clause of a query.
+     * Can contain fewer values than specified in the order by clause.
+     * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + public java.util.List getValuesBuilderList() { + return getValuesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + getValuesFieldBuilder() { + if (valuesBuilder_ == null) { + valuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + values_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + values_ = null; + } + return valuesBuilder_; + } + + private boolean before_; + /** + * + * + *
+     * If the position is just before or just after the given values, relative
+     * to the sort order defined by the query.
+     * 
+ * + * bool before = 2; + */ + public boolean getBefore() { + return before_; + } + /** + * + * + *
+     * If the position is just before or just after the given values, relative
+     * to the sort order defined by the query.
+     * 
+ * + * bool before = 2; + */ + public Builder setBefore(boolean value) { + + before_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If the position is just before or just after the given values, relative
+     * to the sort order defined by the query.
+     * 
+ * + * bool before = 2; + */ + public Builder clearBefore() { + + before_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Cursor) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Cursor) + private static final com.google.firestore.v1.Cursor DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Cursor(); + } + + public static com.google.firestore.v1.Cursor getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cursor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Cursor(input, extensionRegistry); + } + }; + + 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.firestore.v1.Cursor getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java new file mode 100644 index 000000000000..fada6f7f8410 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/query.proto + +package com.google.firestore.v1; + +public interface CursorOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Cursor) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + java.util.List getValuesList(); + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + com.google.firestore.v1.Value getValues(int index); + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + int getValuesCount(); + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + java.util.List getValuesOrBuilderList(); + /** + * + * + *
+   * The values that represent a position, in the order they appear in
+   * the order by clause of a query.
+   * Can contain fewer values than specified in the order by clause.
+   * 
+ * + * repeated .google.firestore.v1.Value values = 1; + */ + com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index); + + /** + * + * + *
+   * If the position is just before or just after the given values, relative
+   * to the sort order defined by the query.
+   * 
+ * + * bool before = 2; + */ + boolean getBefore(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DatabaseRootName.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DatabaseRootName.java new file mode 100644 index 000000000000..3acfa897f7ba --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DatabaseRootName.java @@ -0,0 +1,180 @@ +/* + * 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.firestore.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; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +@javax.annotation.Generated("by GAPIC protoc plugin") +public class DatabaseRootName implements ResourceName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("projects/{project}/databases/{database}"); + + private volatile Map fieldValuesMap; + + private final String project; + private final String database; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private DatabaseRootName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + database = Preconditions.checkNotNull(builder.getDatabase()); + } + + public static DatabaseRootName of(String project, String database) { + return newBuilder().setProject(project).setDatabase(database).build(); + } + + public static String format(String project, String database) { + return newBuilder().setProject(project).setDatabase(database).build().toString(); + } + + public static DatabaseRootName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "DatabaseRootName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("database")); + } + + 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 (DatabaseRootName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("project", project); + fieldMapBuilder.put("database", database); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("project", project, "database", database); + } + + /** Builder for DatabaseRootName. */ + public static class Builder { + + private String project; + private String database; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setDatabase(String database) { + this.database = database; + return this; + } + + private Builder() {} + + private Builder(DatabaseRootName databaseRootName) { + project = databaseRootName.project; + database = databaseRootName.database; + } + + public DatabaseRootName build() { + return new DatabaseRootName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof DatabaseRootName) { + DatabaseRootName that = (DatabaseRootName) o; + return (this.project.equals(that.project)) && (this.database.equals(that.database)); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= project.hashCode(); + h *= 1000003; + h ^= database.hashCode(); + return h; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java new file mode 100644 index 000000000000..a6d7daf36d7d --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java @@ -0,0 +1,883 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest} + */ +public final class DeleteDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.DeleteDocumentRequest) + DeleteDocumentRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteDocumentRequest.newBuilder() to construct. + private DeleteDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteDocumentRequest() { + name_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeleteDocumentRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + name_ = s; + break; + } + case 18: + { + com.google.firestore.v1.Precondition.Builder subBuilder = null; + if (currentDocument_ != null) { + subBuilder = currentDocument_.toBuilder(); + } + currentDocument_ = + input.readMessage( + com.google.firestore.v1.Precondition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentDocument_); + currentDocument_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DeleteDocumentRequest.class, + com.google.firestore.v1.DeleteDocumentRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The resource name of the Document to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+   * The resource name of the Document to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + 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 CURRENT_DOCUMENT_FIELD_NUMBER = 2; + private com.google.firestore.v1.Precondition currentDocument_; + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public boolean hasCurrentDocument() { + return currentDocument_ != null; + } + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public com.google.firestore.v1.Precondition getCurrentDocument() { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() { + return getCurrentDocument(); + } + + 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 (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (currentDocument_ != null) { + output.writeMessage(2, getCurrentDocument()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (currentDocument_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCurrentDocument()); + } + size += unknownFields.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.firestore.v1.DeleteDocumentRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.DeleteDocumentRequest other = + (com.google.firestore.v1.DeleteDocumentRequest) obj; + + boolean result = true; + result = result && getName().equals(other.getName()); + result = result && (hasCurrentDocument() == other.hasCurrentDocument()); + if (hasCurrentDocument()) { + result = result && getCurrentDocument().equals(other.getCurrentDocument()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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 (hasCurrentDocument()) { + hash = (37 * hash) + CURRENT_DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getCurrentDocument().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DeleteDocumentRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DeleteDocumentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DeleteDocumentRequest 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.firestore.v1.DeleteDocumentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DeleteDocumentRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DeleteDocumentRequest 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.firestore.v1.DeleteDocumentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DeleteDocumentRequest 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.firestore.v1.DeleteDocumentRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DeleteDocumentRequest 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.firestore.v1.DeleteDocumentRequest 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 request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.DeleteDocumentRequest) + com.google.firestore.v1.DeleteDocumentRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DeleteDocumentRequest.class, + com.google.firestore.v1.DeleteDocumentRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.DeleteDocumentRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + if (currentDocumentBuilder_ == null) { + currentDocument_ = null; + } else { + currentDocument_ = null; + currentDocumentBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.DeleteDocumentRequest getDefaultInstanceForType() { + return com.google.firestore.v1.DeleteDocumentRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.DeleteDocumentRequest build() { + com.google.firestore.v1.DeleteDocumentRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.DeleteDocumentRequest buildPartial() { + com.google.firestore.v1.DeleteDocumentRequest result = + new com.google.firestore.v1.DeleteDocumentRequest(this); + result.name_ = name_; + if (currentDocumentBuilder_ == null) { + result.currentDocument_ = currentDocument_; + } else { + result.currentDocument_ = currentDocumentBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.DeleteDocumentRequest) { + return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.DeleteDocumentRequest other) { + if (other == com.google.firestore.v1.DeleteDocumentRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.hasCurrentDocument()) { + mergeCurrentDocument(other.getCurrentDocument()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.DeleteDocumentRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.DeleteDocumentRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The resource name of the Document to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+     * The resource name of the Document to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+     * The resource name of the Document to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the Document to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the Document to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private com.google.firestore.v1.Precondition currentDocument_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + currentDocumentBuilder_; + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public boolean hasCurrentDocument() { + return currentDocumentBuilder_ != null || currentDocument_ != null; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public com.google.firestore.v1.Precondition getCurrentDocument() { + if (currentDocumentBuilder_ == null) { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } else { + return currentDocumentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) { + if (currentDocumentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + currentDocument_ = value; + onChanged(); + } else { + currentDocumentBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public Builder setCurrentDocument( + com.google.firestore.v1.Precondition.Builder builderForValue) { + if (currentDocumentBuilder_ == null) { + currentDocument_ = builderForValue.build(); + onChanged(); + } else { + currentDocumentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) { + if (currentDocumentBuilder_ == null) { + if (currentDocument_ != null) { + currentDocument_ = + com.google.firestore.v1.Precondition.newBuilder(currentDocument_) + .mergeFrom(value) + .buildPartial(); + } else { + currentDocument_ = value; + } + onChanged(); + } else { + currentDocumentBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public Builder clearCurrentDocument() { + if (currentDocumentBuilder_ == null) { + currentDocument_ = null; + onChanged(); + } else { + currentDocument_ = null; + currentDocumentBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() { + + onChanged(); + return getCurrentDocumentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() { + if (currentDocumentBuilder_ != null) { + return currentDocumentBuilder_.getMessageOrBuilder(); + } else { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + getCurrentDocumentFieldBuilder() { + if (currentDocumentBuilder_ == null) { + currentDocumentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder>( + getCurrentDocument(), getParentForChildren(), isClean()); + currentDocument_ = null; + } + return currentDocumentBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DeleteDocumentRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.DeleteDocumentRequest) + private static final com.google.firestore.v1.DeleteDocumentRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.DeleteDocumentRequest(); + } + + public static com.google.firestore.v1.DeleteDocumentRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDocumentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDocumentRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.DeleteDocumentRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java new file mode 100644 index 000000000000..9c689205be95 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java @@ -0,0 +1,67 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface DeleteDocumentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.DeleteDocumentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name of the Document to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + java.lang.String getName(); + /** + * + * + *
+   * The resource name of the Document to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + boolean hasCurrentDocument(); + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + com.google.firestore.v1.Precondition getCurrentDocument(); + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 2; + */ + com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java new file mode 100644 index 000000000000..da198de868b2 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java @@ -0,0 +1,1722 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A Firestore document.
+ * Must not exceed 1 MiB - 4 bytes.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.Document} + */ +public final class Document extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Document) + DocumentOrBuilder { + private static final long serialVersionUID = 0L; + // Use Document.newBuilder() to construct. + private Document(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Document() { + name_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Document( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + name_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + fields_ = + com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry + fields__ = + input.readMessage( + FieldsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + fields_.getMutableMap().put(fields__.getKey(), fields__.getValue()); + break; + } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Document_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 2: + return internalGetFields(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Document_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Document.class, com.google.firestore.v1.Document.Builder.class); + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The resource name of the document, for example
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+   * The resource name of the document, for example
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + 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 FIELDS_FIELD_NUMBER = 2; + + private static final class FieldsDefaultEntryHolder { + static final com.google.protobuf.MapEntry + defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.firestore.v1.Value.getDefaultInstance()); + } + + private com.google.protobuf.MapField fields_; + + private com.google.protobuf.MapField + internalGetFields() { + if (fields_ == null) { + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + } + return fields_; + } + + public int getFieldsCount() { + return internalGetFields().getMap().size(); + } + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetFields().getMap().containsKey(key); + } + /** Use {@link #getFieldsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getFields() { + return getFieldsMap(); + } + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public java.util.Map getFieldsMap() { + return internalGetFields().getMap(); + } + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public com.google.firestore.v1.Value getFieldsOrDefault( + java.lang.String key, com.google.firestore.v1.Value defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int CREATE_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. The time at which the document was created.
+   * This value increases monotonically when a document is deleted then
+   * recreated. It can also be compared to values from other documents and
+   * the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. The time at which the document was created.
+   * This value increases monotonically when a document is deleted then
+   * recreated. It can also be compared to values from other documents and
+   * the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. The time at which the document was created.
+   * This value increases monotonically when a document is deleted then
+   * recreated. It can also be compared to values from other documents and
+   * the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * Output only. The time at which the document was last changed.
+   * This value is initially set to the `create_time` then increases
+   * monotonically with each change to the document. It can also be
+   * compared to values from other documents and the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * Output only. The time at which the document was last changed.
+   * This value is initially set to the `create_time` then increases
+   * monotonically with each change to the document. It can also be
+   * compared to values from other documents and the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+   * Output only. The time at which the document was last changed.
+   * This value is initially set to the `create_time` then increases
+   * monotonically with each change to the document. It can also be
+   * compared to values from other documents and the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + 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 (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 2); + if (createTime_ != null) { + output.writeMessage(3, getCreateTime()); + } + if (updateTime_ != null) { + output.writeMessage(4, getUpdateTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + for (java.util.Map.Entry entry : + internalGetFields().getMap().entrySet()) { + com.google.protobuf.MapEntry fields__ = + FieldsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields__); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + } + size += unknownFields.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.firestore.v1.Document)) { + return super.equals(obj); + } + com.google.firestore.v1.Document other = (com.google.firestore.v1.Document) obj; + + boolean result = true; + result = result && getName().equals(other.getName()); + result = result && internalGetFields().equals(other.internalGetFields()); + result = result && (hasCreateTime() == other.hasCreateTime()); + if (hasCreateTime()) { + result = result && getCreateTime().equals(other.getCreateTime()); + } + result = result && (hasUpdateTime() == other.hasUpdateTime()); + if (hasUpdateTime()) { + result = result && getUpdateTime().equals(other.getUpdateTime()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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 (!internalGetFields().getMap().isEmpty()) { + hash = (37 * hash) + FIELDS_FIELD_NUMBER; + hash = (53 * hash) + internalGetFields().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(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Document parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Document parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Document parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Document 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.firestore.v1.Document parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Document parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Document parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Document 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.firestore.v1.Document parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Document 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.firestore.v1.Document parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Document 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.firestore.v1.Document prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A Firestore document.
+   * Must not exceed 1 MiB - 4 bytes.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Document} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Document) + com.google.firestore.v1.DocumentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Document_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 2: + return internalGetFields(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 2: + return internalGetMutableFields(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Document_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Document.class, + com.google.firestore.v1.Document.Builder.class); + } + + // Construct using com.google.firestore.v1.Document.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + internalGetMutableFields().clear(); + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Document_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Document getDefaultInstanceForType() { + return com.google.firestore.v1.Document.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Document build() { + com.google.firestore.v1.Document result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Document buildPartial() { + com.google.firestore.v1.Document result = new com.google.firestore.v1.Document(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.name_ = name_; + result.fields_ = internalGetFields(); + result.fields_.makeImmutable(); + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Document) { + return mergeFrom((com.google.firestore.v1.Document) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Document other) { + if (other == com.google.firestore.v1.Document.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + internalGetMutableFields().mergeFrom(other.internalGetFields()); + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Document parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Document) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The resource name of the document, for example
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+     * The resource name of the document, for example
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+     * The resource name of the document, for example
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the document, for example
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the document, for example
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField fields_; + + private com.google.protobuf.MapField + internalGetFields() { + if (fields_ == null) { + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + } + return fields_; + } + + private com.google.protobuf.MapField + internalGetMutableFields() { + onChanged(); + ; + if (fields_ == null) { + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + } + if (!fields_.isMutable()) { + fields_ = fields_.copy(); + } + return fields_; + } + + public int getFieldsCount() { + return internalGetFields().getMap().size(); + } + /** + * + * + *
+     * The document's fields.
+     * The map keys represent field names.
+     * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+     * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+     * `foo_bar_17`.
+     * Field names matching the regular expression `__.*__` are reserved. Reserved
+     * field names are forbidden except in certain documented contexts. The map
+     * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+     * empty.
+     * Field paths may be used in other contexts to refer to structured fields
+     * defined here. For `map_value`, the field path is represented by the simple
+     * or quoted field names of the containing fields, delimited by `.`. For
+     * example, the structured field
+     * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+     * represented by the field path `foo.x&y`.
+     * Within a field path, a quoted field name starts and ends with `` ` `` and
+     * may contain any character. Some characters, including `` ` ``, must be
+     * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+     * `` `bak\`tik` `` represents `` bak`tik ``.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetFields().getMap().containsKey(key); + } + /** Use {@link #getFieldsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getFields() { + return getFieldsMap(); + } + /** + * + * + *
+     * The document's fields.
+     * The map keys represent field names.
+     * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+     * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+     * `foo_bar_17`.
+     * Field names matching the regular expression `__.*__` are reserved. Reserved
+     * field names are forbidden except in certain documented contexts. The map
+     * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+     * empty.
+     * Field paths may be used in other contexts to refer to structured fields
+     * defined here. For `map_value`, the field path is represented by the simple
+     * or quoted field names of the containing fields, delimited by `.`. For
+     * example, the structured field
+     * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+     * represented by the field path `foo.x&y`.
+     * Within a field path, a quoted field name starts and ends with `` ` `` and
+     * may contain any character. Some characters, including `` ` ``, must be
+     * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+     * `` `bak\`tik` `` represents `` bak`tik ``.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public java.util.Map getFieldsMap() { + return internalGetFields().getMap(); + } + /** + * + * + *
+     * The document's fields.
+     * The map keys represent field names.
+     * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+     * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+     * `foo_bar_17`.
+     * Field names matching the regular expression `__.*__` are reserved. Reserved
+     * field names are forbidden except in certain documented contexts. The map
+     * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+     * empty.
+     * Field paths may be used in other contexts to refer to structured fields
+     * defined here. For `map_value`, the field path is represented by the simple
+     * or quoted field names of the containing fields, delimited by `.`. For
+     * example, the structured field
+     * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+     * represented by the field path `foo.x&y`.
+     * Within a field path, a quoted field name starts and ends with `` ` `` and
+     * may contain any character. Some characters, including `` ` ``, must be
+     * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+     * `` `bak\`tik` `` represents `` bak`tik ``.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public com.google.firestore.v1.Value getFieldsOrDefault( + java.lang.String key, com.google.firestore.v1.Value defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * The document's fields.
+     * The map keys represent field names.
+     * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+     * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+     * `foo_bar_17`.
+     * Field names matching the regular expression `__.*__` are reserved. Reserved
+     * field names are forbidden except in certain documented contexts. The map
+     * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+     * empty.
+     * Field paths may be used in other contexts to refer to structured fields
+     * defined here. For `map_value`, the field path is represented by the simple
+     * or quoted field names of the containing fields, delimited by `.`. For
+     * example, the structured field
+     * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+     * represented by the field path `foo.x&y`.
+     * Within a field path, a quoted field name starts and ends with `` ` `` and
+     * may contain any character. Some characters, including `` ` ``, must be
+     * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+     * `` `bak\`tik` `` represents `` bak`tik ``.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearFields() { + internalGetMutableFields().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * The document's fields.
+     * The map keys represent field names.
+     * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+     * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+     * `foo_bar_17`.
+     * Field names matching the regular expression `__.*__` are reserved. Reserved
+     * field names are forbidden except in certain documented contexts. The map
+     * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+     * empty.
+     * Field paths may be used in other contexts to refer to structured fields
+     * defined here. For `map_value`, the field path is represented by the simple
+     * or quoted field names of the containing fields, delimited by `.`. For
+     * example, the structured field
+     * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+     * represented by the field path `foo.x&y`.
+     * Within a field path, a quoted field name starts and ends with `` ` `` and
+     * may contain any character. Some characters, including `` ` ``, must be
+     * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+     * `` `bak\`tik` `` represents `` bak`tik ``.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public Builder removeFields(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableFields().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableFields() { + return internalGetMutableFields().getMutableMap(); + } + /** + * + * + *
+     * The document's fields.
+     * The map keys represent field names.
+     * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+     * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+     * `foo_bar_17`.
+     * Field names matching the regular expression `__.*__` are reserved. Reserved
+     * field names are forbidden except in certain documented contexts. The map
+     * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+     * empty.
+     * Field paths may be used in other contexts to refer to structured fields
+     * defined here. For `map_value`, the field path is represented by the simple
+     * or quoted field names of the containing fields, delimited by `.`. For
+     * example, the structured field
+     * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+     * represented by the field path `foo.x&y`.
+     * Within a field path, a quoted field name starts and ends with `` ` `` and
+     * may contain any character. Some characters, including `` ` ``, must be
+     * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+     * `` `bak\`tik` `` represents `` bak`tik ``.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableFields().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * The document's fields.
+     * The map keys represent field names.
+     * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+     * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+     * `foo_bar_17`.
+     * Field names matching the regular expression `__.*__` are reserved. Reserved
+     * field names are forbidden except in certain documented contexts. The map
+     * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+     * empty.
+     * Field paths may be used in other contexts to refer to structured fields
+     * defined here. For `map_value`, the field path is represented by the simple
+     * or quoted field names of the containing fields, delimited by `.`. For
+     * example, the structured field
+     * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+     * represented by the field path `foo.x&y`.
+     * Within a field path, a quoted field name starts and ends with `` ` `` and
+     * may contain any character. Some characters, including `` ` ``, must be
+     * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+     * `` `bak\`tik` `` represents `` bak`tik ``.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + public Builder putAllFields( + java.util.Map values) { + internalGetMutableFields().getMutableMap().putAll(values); + return this; + } + + private com.google.protobuf.Timestamp createTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+     * Output only. The time at which the document was created.
+     * This value increases monotonically when a document is deleted then
+     * recreated. It can also be compared to values from other documents and
+     * the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + 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_ = null; + 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 the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + * + * + *
+     * Output only. The time at which the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + 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 the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The time at which the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time at which the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + 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 the document was last changed.
+     * This value is initially set to the `create_time` then increases
+     * monotonically with each change to the document. It can also be
+     * compared to values from other documents and the `read_time` of a query.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + 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.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Document) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Document) + private static final com.google.firestore.v1.Document DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Document(); + } + + public static com.google.firestore.v1.Document getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Document parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Document(input, extensionRegistry); + } + }; + + 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.firestore.v1.Document getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java new file mode 100644 index 000000000000..088e1847cf33 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java @@ -0,0 +1,1156 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A [Document][google.firestore.v1.Document] has changed.
+ * May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that
+ * ultimately resulted in a new value for the [Document][google.firestore.v1.Document].
+ * Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical
+ * change, if multiple targets are affected.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentChange} + */ +public final class DocumentChange extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentChange) + DocumentChangeOrBuilder { + private static final long serialVersionUID = 0L; + // Use DocumentChange.newBuilder() to construct. + private DocumentChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DocumentChange() { + targetIds_ = java.util.Collections.emptyList(); + removedTargetIds_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DocumentChange( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.Document.Builder subBuilder = null; + if (document_ != null) { + subBuilder = document_.toBuilder(); + } + document_ = + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(document_); + document_ = subBuilder.buildPartial(); + } + + break; + } + case 40: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + targetIds_.add(input.readInt32()); + break; + } + case 42: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) + && input.getBytesUntilLimit() > 0) { + targetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + targetIds_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 48: + { + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + removedTargetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + removedTargetIds_.add(input.readInt32()); + break; + } + case 50: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) + && input.getBytesUntilLimit() > 0) { + removedTargetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + while (input.getBytesUntilLimit() > 0) { + removedTargetIds_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = java.util.Collections.unmodifiableList(targetIds_); + } + if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + removedTargetIds_ = java.util.Collections.unmodifiableList(removedTargetIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentChange_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentChange.class, + com.google.firestore.v1.DocumentChange.Builder.class); + } + + private int bitField0_; + public static final int DOCUMENT_FIELD_NUMBER = 1; + private com.google.firestore.v1.Document document_; + /** + * + * + *
+   * The new state of the [Document][google.firestore.v1.Document].
+   * If `mask` is set, contains only fields that were updated or added.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public boolean hasDocument() { + return document_ != null; + } + /** + * + * + *
+   * The new state of the [Document][google.firestore.v1.Document].
+   * If `mask` is set, contains only fields that were updated or added.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document getDocument() { + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + } + /** + * + * + *
+   * The new state of the [Document][google.firestore.v1.Document].
+   * If `mask` is set, contains only fields that were updated or added.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + return getDocument(); + } + + public static final int TARGET_IDS_FIELD_NUMBER = 5; + private java.util.List targetIds_; + /** + * + * + *
+   * A set of target IDs of targets that match this document.
+   * 
+ * + * repeated int32 target_ids = 5; + */ + public java.util.List getTargetIdsList() { + return targetIds_; + } + /** + * + * + *
+   * A set of target IDs of targets that match this document.
+   * 
+ * + * repeated int32 target_ids = 5; + */ + public int getTargetIdsCount() { + return targetIds_.size(); + } + /** + * + * + *
+   * A set of target IDs of targets that match this document.
+   * 
+ * + * repeated int32 target_ids = 5; + */ + public int getTargetIds(int index) { + return targetIds_.get(index); + } + + private int targetIdsMemoizedSerializedSize = -1; + + public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; + private java.util.List removedTargetIds_; + /** + * + * + *
+   * A set of target IDs for targets that no longer match this document.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public java.util.List getRemovedTargetIdsList() { + return removedTargetIds_; + } + /** + * + * + *
+   * A set of target IDs for targets that no longer match this document.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIdsCount() { + return removedTargetIds_.size(); + } + /** + * + * + *
+   * A set of target IDs for targets that no longer match this document.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIds(int index) { + return removedTargetIds_.get(index); + } + + private int removedTargetIdsMemoizedSerializedSize = -1; + + 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 { + getSerializedSize(); + if (document_ != null) { + output.writeMessage(1, getDocument()); + } + if (getTargetIdsList().size() > 0) { + output.writeUInt32NoTag(42); + output.writeUInt32NoTag(targetIdsMemoizedSerializedSize); + } + for (int i = 0; i < targetIds_.size(); i++) { + output.writeInt32NoTag(targetIds_.get(i)); + } + if (getRemovedTargetIdsList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(removedTargetIdsMemoizedSerializedSize); + } + for (int i = 0; i < removedTargetIds_.size(); i++) { + output.writeInt32NoTag(removedTargetIds_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (document_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument()); + } + { + int dataSize = 0; + for (int i = 0; i < targetIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(targetIds_.get(i)); + } + size += dataSize; + if (!getTargetIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + targetIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < removedTargetIds_.size(); i++) { + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(removedTargetIds_.get(i)); + } + size += dataSize; + if (!getRemovedTargetIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + removedTargetIdsMemoizedSerializedSize = dataSize; + } + size += unknownFields.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.firestore.v1.DocumentChange)) { + return super.equals(obj); + } + com.google.firestore.v1.DocumentChange other = (com.google.firestore.v1.DocumentChange) obj; + + boolean result = true; + result = result && (hasDocument() == other.hasDocument()); + if (hasDocument()) { + result = result && getDocument().equals(other.getDocument()); + } + result = result && getTargetIdsList().equals(other.getTargetIdsList()); + result = result && getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDocument()) { + hash = (37 * hash) + DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getDocument().hashCode(); + } + if (getTargetIdsCount() > 0) { + hash = (37 * hash) + TARGET_IDS_FIELD_NUMBER; + hash = (53 * hash) + getTargetIdsList().hashCode(); + } + if (getRemovedTargetIdsCount() > 0) { + hash = (37 * hash) + REMOVED_TARGET_IDS_FIELD_NUMBER; + hash = (53 * hash) + getRemovedTargetIdsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.DocumentChange parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentChange parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentChange parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentChange 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.firestore.v1.DocumentChange parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentChange parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentChange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentChange 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.firestore.v1.DocumentChange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentChange 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.firestore.v1.DocumentChange parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentChange 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.firestore.v1.DocumentChange prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has changed.
+   * May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that
+   * ultimately resulted in a new value for the [Document][google.firestore.v1.Document].
+   * Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical
+   * change, if multiple targets are affected.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentChange} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentChange) + com.google.firestore.v1.DocumentChangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentChange_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentChange.class, + com.google.firestore.v1.DocumentChange.Builder.class); + } + + // Construct using com.google.firestore.v1.DocumentChange.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (documentBuilder_ == null) { + document_ = null; + } else { + document_ = null; + documentBuilder_ = null; + } + targetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + removedTargetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentChange_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentChange getDefaultInstanceForType() { + return com.google.firestore.v1.DocumentChange.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.DocumentChange build() { + com.google.firestore.v1.DocumentChange result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentChange buildPartial() { + com.google.firestore.v1.DocumentChange result = + new com.google.firestore.v1.DocumentChange(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (documentBuilder_ == null) { + result.document_ = document_; + } else { + result.document_ = documentBuilder_.build(); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = java.util.Collections.unmodifiableList(targetIds_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.targetIds_ = targetIds_; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + removedTargetIds_ = java.util.Collections.unmodifiableList(removedTargetIds_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.removedTargetIds_ = removedTargetIds_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.DocumentChange) { + return mergeFrom((com.google.firestore.v1.DocumentChange) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.DocumentChange other) { + if (other == com.google.firestore.v1.DocumentChange.getDefaultInstance()) return this; + if (other.hasDocument()) { + mergeDocument(other.getDocument()); + } + if (!other.targetIds_.isEmpty()) { + if (targetIds_.isEmpty()) { + targetIds_ = other.targetIds_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTargetIdsIsMutable(); + targetIds_.addAll(other.targetIds_); + } + onChanged(); + } + if (!other.removedTargetIds_.isEmpty()) { + if (removedTargetIds_.isEmpty()) { + removedTargetIds_ = other.removedTargetIds_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.addAll(other.removedTargetIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.DocumentChange parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.DocumentChange) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.firestore.v1.Document document_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + documentBuilder_; + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public boolean hasDocument() { + return documentBuilder_ != null || document_ != null; + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document getDocument() { + if (documentBuilder_ == null) { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } else { + return documentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder setDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + document_ = value; + onChanged(); + } else { + documentBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + if (documentBuilder_ == null) { + document_ = builderForValue.build(); + onChanged(); + } else { + documentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder mergeDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (document_ != null) { + document_ = + com.google.firestore.v1.Document.newBuilder(document_) + .mergeFrom(value) + .buildPartial(); + } else { + document_ = value; + } + onChanged(); + } else { + documentBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder clearDocument() { + if (documentBuilder_ == null) { + document_ = null; + onChanged(); + } else { + document_ = null; + documentBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document.Builder getDocumentBuilder() { + + onChanged(); + return getDocumentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + if (documentBuilder_ != null) { + return documentBuilder_.getMessageOrBuilder(); + } else { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } + } + /** + * + * + *
+     * The new state of the [Document][google.firestore.v1.Document].
+     * If `mask` is set, contains only fields that were updated or added.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + getDocumentFieldBuilder() { + if (documentBuilder_ == null) { + documentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), getParentForChildren(), isClean()); + document_ = null; + } + return documentBuilder_; + } + + private java.util.List targetIds_ = java.util.Collections.emptyList(); + + private void ensureTargetIdsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = new java.util.ArrayList(targetIds_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+     * A set of target IDs of targets that match this document.
+     * 
+ * + * repeated int32 target_ids = 5; + */ + public java.util.List getTargetIdsList() { + return java.util.Collections.unmodifiableList(targetIds_); + } + /** + * + * + *
+     * A set of target IDs of targets that match this document.
+     * 
+ * + * repeated int32 target_ids = 5; + */ + public int getTargetIdsCount() { + return targetIds_.size(); + } + /** + * + * + *
+     * A set of target IDs of targets that match this document.
+     * 
+ * + * repeated int32 target_ids = 5; + */ + public int getTargetIds(int index) { + return targetIds_.get(index); + } + /** + * + * + *
+     * A set of target IDs of targets that match this document.
+     * 
+ * + * repeated int32 target_ids = 5; + */ + public Builder setTargetIds(int index, int value) { + ensureTargetIdsIsMutable(); + targetIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs of targets that match this document.
+     * 
+ * + * repeated int32 target_ids = 5; + */ + public Builder addTargetIds(int value) { + ensureTargetIdsIsMutable(); + targetIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs of targets that match this document.
+     * 
+ * + * repeated int32 target_ids = 5; + */ + public Builder addAllTargetIds(java.lang.Iterable values) { + ensureTargetIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs of targets that match this document.
+     * 
+ * + * repeated int32 target_ids = 5; + */ + public Builder clearTargetIds() { + targetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + private java.util.List removedTargetIds_ = java.util.Collections.emptyList(); + + private void ensureRemovedTargetIdsIsMutable() { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { + removedTargetIds_ = new java.util.ArrayList(removedTargetIds_); + bitField0_ |= 0x00000004; + } + } + /** + * + * + *
+     * A set of target IDs for targets that no longer match this document.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public java.util.List getRemovedTargetIdsList() { + return java.util.Collections.unmodifiableList(removedTargetIds_); + } + /** + * + * + *
+     * A set of target IDs for targets that no longer match this document.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIdsCount() { + return removedTargetIds_.size(); + } + /** + * + * + *
+     * A set of target IDs for targets that no longer match this document.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIds(int index) { + return removedTargetIds_.get(index); + } + /** + * + * + *
+     * A set of target IDs for targets that no longer match this document.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder setRemovedTargetIds(int index, int value) { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that no longer match this document.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder addRemovedTargetIds(int value) { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that no longer match this document.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder addAllRemovedTargetIds(java.lang.Iterable values) { + ensureRemovedTargetIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that no longer match this document.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder clearRemovedTargetIds() { + removedTargetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentChange) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentChange) + private static final com.google.firestore.v1.DocumentChange DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentChange(); + } + + public static com.google.firestore.v1.DocumentChange getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentChange(input, extensionRegistry); + } + }; + + 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.firestore.v1.DocumentChange getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java new file mode 100644 index 000000000000..38363b63c83b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java @@ -0,0 +1,106 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public interface DocumentChangeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentChange) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The new state of the [Document][google.firestore.v1.Document].
+   * If `mask` is set, contains only fields that were updated or added.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + boolean hasDocument(); + /** + * + * + *
+   * The new state of the [Document][google.firestore.v1.Document].
+   * If `mask` is set, contains only fields that were updated or added.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + com.google.firestore.v1.Document getDocument(); + /** + * + * + *
+   * The new state of the [Document][google.firestore.v1.Document].
+   * If `mask` is set, contains only fields that were updated or added.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); + + /** + * + * + *
+   * A set of target IDs of targets that match this document.
+   * 
+ * + * repeated int32 target_ids = 5; + */ + java.util.List getTargetIdsList(); + /** + * + * + *
+   * A set of target IDs of targets that match this document.
+   * 
+ * + * repeated int32 target_ids = 5; + */ + int getTargetIdsCount(); + /** + * + * + *
+   * A set of target IDs of targets that match this document.
+   * 
+ * + * repeated int32 target_ids = 5; + */ + int getTargetIds(int index); + + /** + * + * + *
+   * A set of target IDs for targets that no longer match this document.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + java.util.List getRemovedTargetIdsList(); + /** + * + * + *
+   * A set of target IDs for targets that no longer match this document.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + int getRemovedTargetIdsCount(); + /** + * + * + *
+   * A set of target IDs for targets that no longer match this document.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + int getRemovedTargetIds(int index); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java new file mode 100644 index 000000000000..c0a83d86a3ae --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java @@ -0,0 +1,1096 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A [Document][google.firestore.v1.Document] has been deleted.
+ * May be the result of multiple [writes][google.firestore.v1.Write], including updates, the
+ * last of which deleted the [Document][google.firestore.v1.Document].
+ * Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be returned for the same logical
+ * delete, if multiple targets are affected.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentDelete} + */ +public final class DocumentDelete extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentDelete) + DocumentDeleteOrBuilder { + private static final long serialVersionUID = 0L; + // Use DocumentDelete.newBuilder() to construct. + private DocumentDelete(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DocumentDelete() { + document_ = ""; + removedTargetIds_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DocumentDelete( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + document_ = s; + break; + } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); + } + readTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); + } + + break; + } + case 48: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + removedTargetIds_.add(input.readInt32()); + break; + } + case 50: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) + && input.getBytesUntilLimit() > 0) { + removedTargetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + removedTargetIds_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = java.util.Collections.unmodifiableList(removedTargetIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentDelete_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentDelete.class, + com.google.firestore.v1.DocumentDelete.Builder.class); + } + + private int bitField0_; + public static final int DOCUMENT_FIELD_NUMBER = 1; + private volatile java.lang.Object document_; + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+   * 
+ * + * string document = 1; + */ + public java.lang.String getDocument() { + java.lang.Object ref = document_; + 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(); + document_ = s; + return s; + } + } + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+   * 
+ * + * string document = 1; + */ + public com.google.protobuf.ByteString getDocumentBytes() { + java.lang.Object ref = document_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + document_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; + private java.util.List removedTargetIds_; + /** + * + * + *
+   * A set of target IDs for targets that previously matched this entity.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public java.util.List getRemovedTargetIdsList() { + return removedTargetIds_; + } + /** + * + * + *
+   * A set of target IDs for targets that previously matched this entity.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIdsCount() { + return removedTargetIds_.size(); + } + /** + * + * + *
+   * A set of target IDs for targets that previously matched this entity.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIds(int index) { + return removedTargetIds_.get(index); + } + + private int removedTargetIdsMemoizedSerializedSize = -1; + + public static final int READ_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp readTime_; + /** + * + * + *
+   * The read timestamp at which the delete was observed.
+   * Greater or equal to the `commit_time` of the delete.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public boolean hasReadTime() { + return readTime_ != null; + } + /** + * + * + *
+   * The read timestamp at which the delete was observed.
+   * Greater or equal to the `commit_time` of the delete.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp getReadTime() { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + /** + * + * + *
+   * The read timestamp at which the delete was observed.
+   * Greater or equal to the `commit_time` of the delete.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + return getReadTime(); + } + + 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 { + getSerializedSize(); + if (!getDocumentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_); + } + if (readTime_ != null) { + output.writeMessage(4, getReadTime()); + } + if (getRemovedTargetIdsList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(removedTargetIdsMemoizedSerializedSize); + } + for (int i = 0; i < removedTargetIds_.size(); i++) { + output.writeInt32NoTag(removedTargetIds_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDocumentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, document_); + } + if (readTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime()); + } + { + int dataSize = 0; + for (int i = 0; i < removedTargetIds_.size(); i++) { + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(removedTargetIds_.get(i)); + } + size += dataSize; + if (!getRemovedTargetIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + removedTargetIdsMemoizedSerializedSize = dataSize; + } + size += unknownFields.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.firestore.v1.DocumentDelete)) { + return super.equals(obj); + } + com.google.firestore.v1.DocumentDelete other = (com.google.firestore.v1.DocumentDelete) obj; + + boolean result = true; + result = result && getDocument().equals(other.getDocument()); + result = result && getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList()); + result = result && (hasReadTime() == other.hasReadTime()); + if (hasReadTime()) { + result = result && getReadTime().equals(other.getReadTime()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getDocument().hashCode(); + if (getRemovedTargetIdsCount() > 0) { + hash = (37 * hash) + REMOVED_TARGET_IDS_FIELD_NUMBER; + hash = (53 * hash) + getRemovedTargetIdsList().hashCode(); + } + if (hasReadTime()) { + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.DocumentDelete parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentDelete parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentDelete parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentDelete 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.firestore.v1.DocumentDelete parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentDelete parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentDelete parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentDelete 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.firestore.v1.DocumentDelete parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentDelete 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.firestore.v1.DocumentDelete parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentDelete 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.firestore.v1.DocumentDelete prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been deleted.
+   * May be the result of multiple [writes][google.firestore.v1.Write], including updates, the
+   * last of which deleted the [Document][google.firestore.v1.Document].
+   * Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be returned for the same logical
+   * delete, if multiple targets are affected.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentDelete} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentDelete) + com.google.firestore.v1.DocumentDeleteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentDelete_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentDelete.class, + com.google.firestore.v1.DocumentDelete.Builder.class); + } + + // Construct using com.google.firestore.v1.DocumentDelete.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + document_ = ""; + + removedTargetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + if (readTimeBuilder_ == null) { + readTime_ = null; + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentDelete_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentDelete getDefaultInstanceForType() { + return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.DocumentDelete build() { + com.google.firestore.v1.DocumentDelete result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentDelete buildPartial() { + com.google.firestore.v1.DocumentDelete result = + new com.google.firestore.v1.DocumentDelete(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.document_ = document_; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = java.util.Collections.unmodifiableList(removedTargetIds_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.removedTargetIds_ = removedTargetIds_; + if (readTimeBuilder_ == null) { + result.readTime_ = readTime_; + } else { + result.readTime_ = readTimeBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.DocumentDelete) { + return mergeFrom((com.google.firestore.v1.DocumentDelete) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.DocumentDelete other) { + if (other == com.google.firestore.v1.DocumentDelete.getDefaultInstance()) return this; + if (!other.getDocument().isEmpty()) { + document_ = other.document_; + onChanged(); + } + if (!other.removedTargetIds_.isEmpty()) { + if (removedTargetIds_.isEmpty()) { + removedTargetIds_ = other.removedTargetIds_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.addAll(other.removedTargetIds_); + } + onChanged(); + } + if (other.hasReadTime()) { + mergeReadTime(other.getReadTime()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.DocumentDelete parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.DocumentDelete) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object document_ = ""; + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+     * 
+ * + * string document = 1; + */ + public java.lang.String getDocument() { + java.lang.Object ref = document_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + document_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+     * 
+ * + * string document = 1; + */ + public com.google.protobuf.ByteString getDocumentBytes() { + java.lang.Object ref = document_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + document_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+     * 
+ * + * string document = 1; + */ + public Builder setDocument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + document_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+     * 
+ * + * string document = 1; + */ + public Builder clearDocument() { + + document_ = getDefaultInstance().getDocument(); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+     * 
+ * + * string document = 1; + */ + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + document_ = value; + onChanged(); + return this; + } + + private java.util.List removedTargetIds_ = java.util.Collections.emptyList(); + + private void ensureRemovedTargetIdsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = new java.util.ArrayList(removedTargetIds_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this entity.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public java.util.List getRemovedTargetIdsList() { + return java.util.Collections.unmodifiableList(removedTargetIds_); + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this entity.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIdsCount() { + return removedTargetIds_.size(); + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this entity.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public int getRemovedTargetIds(int index) { + return removedTargetIds_.get(index); + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this entity.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder setRemovedTargetIds(int index, int value) { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this entity.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder addRemovedTargetIds(int value) { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this entity.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder addAllRemovedTargetIds(java.lang.Iterable values) { + ensureRemovedTargetIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this entity.
+     * 
+ * + * repeated int32 removed_target_ids = 6; + */ + public Builder clearRemovedTargetIds() { + removedTargetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp readTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public boolean hasReadTime() { + return readTimeBuilder_ != null || readTime_ != null; + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } else { + return readTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readTime_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + readTime_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (readTime_ != null) { + readTime_ = + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + } else { + readTime_ = value; + } + onChanged(); + } else { + readTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + readTime_ = null; + onChanged(); + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + + onChanged(); + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (readTimeBuilder_ != null) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + } + /** + * + * + *
+     * The read timestamp at which the delete was observed.
+     * Greater or equal to the `commit_time` of the delete.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getReadTime(), getParentForChildren(), isClean()); + readTime_ = null; + } + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentDelete) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentDelete) + private static final com.google.firestore.v1.DocumentDelete DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentDelete(); + } + + public static com.google.firestore.v1.DocumentDelete getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentDelete parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentDelete(input, extensionRegistry); + } + }; + + 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.firestore.v1.DocumentDelete getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java new file mode 100644 index 000000000000..a4644be12f4b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public interface DocumentDeleteOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentDelete) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+   * 
+ * + * string document = 1; + */ + java.lang.String getDocument(); + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
+   * 
+ * + * string document = 1; + */ + com.google.protobuf.ByteString getDocumentBytes(); + + /** + * + * + *
+   * A set of target IDs for targets that previously matched this entity.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + java.util.List getRemovedTargetIdsList(); + /** + * + * + *
+   * A set of target IDs for targets that previously matched this entity.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + int getRemovedTargetIdsCount(); + /** + * + * + *
+   * A set of target IDs for targets that previously matched this entity.
+   * 
+ * + * repeated int32 removed_target_ids = 6; + */ + int getRemovedTargetIds(int index); + + /** + * + * + *
+   * The read timestamp at which the delete was observed.
+   * Greater or equal to the `commit_time` of the delete.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + boolean hasReadTime(); + /** + * + * + *
+   * The read timestamp at which the delete was observed.
+   * Greater or equal to the `commit_time` of the delete.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * The read timestamp at which the delete was observed.
+   * Greater or equal to the `commit_time` of the delete.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java new file mode 100644 index 000000000000..eac18de912d5 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java @@ -0,0 +1,698 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/common.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A set of field paths on a document.
+ * Used to restrict a get or update operation on a document to a subset of its
+ * fields.
+ * This is different from standard field masks, as this is always scoped to a
+ * [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentMask} + */ +public final class DocumentMask extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentMask) + DocumentMaskOrBuilder { + private static final long serialVersionUID = 0L; + // Use DocumentMask.newBuilder() to construct. + private DocumentMask(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DocumentMask() { + fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DocumentMask( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + fieldPaths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + fieldPaths_.add(s); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + fieldPaths_ = fieldPaths_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_DocumentMask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentMask.class, + com.google.firestore.v1.DocumentMask.Builder.class); + } + + public static final int FIELD_PATHS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList fieldPaths_; + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + public com.google.protobuf.ProtocolStringList getFieldPathsList() { + return fieldPaths_; + } + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + public int getFieldPathsCount() { + return fieldPaths_.size(); + } + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + public java.lang.String getFieldPaths(int index) { + return fieldPaths_.get(index); + } + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + public com.google.protobuf.ByteString getFieldPathsBytes(int index) { + return fieldPaths_.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 < fieldPaths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPaths_.getRaw(i)); + } + unknownFields.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 < fieldPaths_.size(); i++) { + dataSize += computeStringSizeNoTag(fieldPaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getFieldPathsList().size(); + } + size += unknownFields.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.firestore.v1.DocumentMask)) { + return super.equals(obj); + } + com.google.firestore.v1.DocumentMask other = (com.google.firestore.v1.DocumentMask) obj; + + boolean result = true; + result = result && getFieldPathsList().equals(other.getFieldPathsList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getFieldPathsCount() > 0) { + hash = (37 * hash) + FIELD_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getFieldPathsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.DocumentMask parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentMask parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentMask parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentMask 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.firestore.v1.DocumentMask parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentMask parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentMask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentMask 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.firestore.v1.DocumentMask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentMask 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.firestore.v1.DocumentMask parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentMask 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.firestore.v1.DocumentMask prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A set of field paths on a document.
+   * Used to restrict a get or update operation on a document to a subset of its
+   * fields.
+   * This is different from standard field masks, as this is always scoped to a
+   * [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentMask} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentMask) + com.google.firestore.v1.DocumentMaskOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_DocumentMask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentMask.class, + com.google.firestore.v1.DocumentMask.Builder.class); + } + + // Construct using com.google.firestore.v1.DocumentMask.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_DocumentMask_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentMask getDefaultInstanceForType() { + return com.google.firestore.v1.DocumentMask.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.DocumentMask build() { + com.google.firestore.v1.DocumentMask result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentMask buildPartial() { + com.google.firestore.v1.DocumentMask result = new com.google.firestore.v1.DocumentMask(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + fieldPaths_ = fieldPaths_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.fieldPaths_ = fieldPaths_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.DocumentMask) { + return mergeFrom((com.google.firestore.v1.DocumentMask) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.DocumentMask other) { + if (other == com.google.firestore.v1.DocumentMask.getDefaultInstance()) return this; + if (!other.fieldPaths_.isEmpty()) { + if (fieldPaths_.isEmpty()) { + fieldPaths_ = other.fieldPaths_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFieldPathsIsMutable(); + fieldPaths_.addAll(other.fieldPaths_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.DocumentMask parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.DocumentMask) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList fieldPaths_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureFieldPathsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + fieldPaths_ = new com.google.protobuf.LazyStringArrayList(fieldPaths_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public com.google.protobuf.ProtocolStringList getFieldPathsList() { + return fieldPaths_.getUnmodifiableView(); + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public int getFieldPathsCount() { + return fieldPaths_.size(); + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public java.lang.String getFieldPaths(int index) { + return fieldPaths_.get(index); + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public com.google.protobuf.ByteString getFieldPathsBytes(int index) { + return fieldPaths_.getByteString(index); + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public Builder setFieldPaths(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldPathsIsMutable(); + fieldPaths_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public Builder addFieldPaths(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldPathsIsMutable(); + fieldPaths_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public Builder addAllFieldPaths(java.lang.Iterable values) { + ensureFieldPathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldPaths_); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public Builder clearFieldPaths() { + fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+     * path syntax reference.
+     * 
+ * + * repeated string field_paths = 1; + */ + public Builder addFieldPathsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureFieldPathsIsMutable(); + fieldPaths_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentMask) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentMask) + private static final com.google.firestore.v1.DocumentMask DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentMask(); + } + + public static com.google.firestore.v1.DocumentMask getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentMask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentMask(input, extensionRegistry); + } + }; + + 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.firestore.v1.DocumentMask getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java new file mode 100644 index 000000000000..11476e48406b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java @@ -0,0 +1,55 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/common.proto + +package com.google.firestore.v1; + +public interface DocumentMaskOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentMask) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + java.util.List getFieldPathsList(); + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + int getFieldPathsCount(); + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + java.lang.String getFieldPaths(int index); + /** + * + * + *
+   * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
+   * path syntax reference.
+   * 
+ * + * repeated string field_paths = 1; + */ + com.google.protobuf.ByteString getFieldPathsBytes(int index); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java new file mode 100644 index 000000000000..831405256159 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java @@ -0,0 +1,258 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +public interface DocumentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Document) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name of the document, for example
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + java.lang.String getName(); + /** + * + * + *
+   * The resource name of the document, for example
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + int getFieldsCount(); + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + boolean containsFields(java.lang.String key); + /** Use {@link #getFieldsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getFields(); + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + java.util.Map getFieldsMap(); + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + com.google.firestore.v1.Value getFieldsOrDefault( + java.lang.String key, com.google.firestore.v1.Value defaultValue); + /** + * + * + *
+   * The document's fields.
+   * The map keys represent field names.
+   * A simple field name contains only characters `a` to `z`, `A` to `Z`,
+   * `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
+   * `foo_bar_17`.
+   * Field names matching the regular expression `__.*__` are reserved. Reserved
+   * field names are forbidden except in certain documented contexts. The map
+   * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
+   * empty.
+   * Field paths may be used in other contexts to refer to structured fields
+   * defined here. For `map_value`, the field path is represented by the simple
+   * or quoted field names of the containing fields, delimited by `.`. For
+   * example, the structured field
+   * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
+   * represented by the field path `foo.x&y`.
+   * Within a field path, a quoted field name starts and ends with `` ` `` and
+   * may contain any character. Some characters, including `` ` ``, must be
+   * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
+   * `` `bak\`tik` `` represents `` bak`tik ``.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 2; + */ + com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Output only. The time at which the document was created.
+   * This value increases monotonically when a document is deleted then
+   * recreated. It can also be compared to values from other documents and
+   * the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. The time at which the document was created.
+   * This value increases monotonically when a document is deleted then
+   * recreated. It can also be compared to values from other documents and
+   * the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. The time at which the document was created.
+   * This value increases monotonically when a document is deleted then
+   * recreated. It can also be compared to values from other documents and
+   * the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 3; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. The time at which the document was last changed.
+   * This value is initially set to the `create_time` then increases
+   * monotonically with each change to the document. It can also be
+   * compared to values from other documents and the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * Output only. The time at which the document was last changed.
+   * This value is initially set to the `create_time` then increases
+   * monotonically with each change to the document. It can also be
+   * compared to values from other documents and the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * Output only. The time at which the document was last changed.
+   * This value is initially set to the `create_time` then increases
+   * monotonically with each change to the document. It can also be
+   * compared to values from other documents and the `read_time` of a query.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentPathName.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentPathName.java new file mode 100644 index 000000000000..ce5f8a5fce51 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentPathName.java @@ -0,0 +1,213 @@ +/* + * 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.firestore.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; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +@javax.annotation.Generated("by GAPIC protoc plugin") +public class DocumentPathName implements ResourceName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/databases/{database}/documents/{document_path=**}"); + + private volatile Map fieldValuesMap; + + private final String project; + private final String database; + private final String documentPath; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public String getDocumentPath() { + return documentPath; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private DocumentPathName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + database = Preconditions.checkNotNull(builder.getDatabase()); + documentPath = Preconditions.checkNotNull(builder.getDocumentPath()); + } + + public static DocumentPathName of(String project, String database, String documentPath) { + return newBuilder() + .setProject(project) + .setDatabase(database) + .setDocumentPath(documentPath) + .build(); + } + + public static String format(String project, String database, String documentPath) { + return newBuilder() + .setProject(project) + .setDatabase(database) + .setDocumentPath(documentPath) + .build() + .toString(); + } + + public static DocumentPathName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "DocumentPathName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("database"), matchMap.get("document_path")); + } + + 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 (DocumentPathName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("project", project); + fieldMapBuilder.put("database", database); + fieldMapBuilder.put("documentPath", documentPath); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate( + "project", project, "database", database, "document_path", documentPath); + } + + /** Builder for DocumentPathName. */ + public static class Builder { + + private String project; + private String database; + private String documentPath; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public String getDocumentPath() { + return documentPath; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setDatabase(String database) { + this.database = database; + return this; + } + + public Builder setDocumentPath(String documentPath) { + this.documentPath = documentPath; + return this; + } + + private Builder() {} + + private Builder(DocumentPathName documentPathName) { + project = documentPathName.project; + database = documentPathName.database; + documentPath = documentPathName.documentPath; + } + + public DocumentPathName build() { + return new DocumentPathName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof DocumentPathName) { + DocumentPathName that = (DocumentPathName) o; + return (this.project.equals(that.project)) + && (this.database.equals(that.database)) + && (this.documentPath.equals(that.documentPath)); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= project.hashCode(); + h *= 1000003; + h ^= database.hashCode(); + h *= 1000003; + h ^= documentPath.hashCode(); + return h; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java new file mode 100644 index 000000000000..de16046a0533 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java @@ -0,0 +1,163 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +public final class DocumentProto { + private DocumentProto() {} + + 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_firestore_v1_Document_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Document_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Document_FieldsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Value_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Value_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ArrayValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_MapValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_MapValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_MapValue_FieldsEntry_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/firestore/v1/document.proto\022\023go" + + "ogle.firestore.v1\032\034google/api/annotation" + + "s.proto\032\034google/protobuf/struct.proto\032\037g" + + "oogle/protobuf/timestamp.proto\032\030google/t" + + "ype/latlng.proto\"\200\002\n\010Document\022\014\n\004name\030\001 " + + "\001(\t\0229\n\006fields\030\002 \003(\0132).google.firestore.v" + + "1.Document.FieldsEntry\022/\n\013create_time\030\003 " + + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013updat" + + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005value\030\002 " + + "\001(\0132\032.google.firestore.v1.Value:\0028\001\"\256\003\n\005" + + "Value\0220\n\nnull_value\030\013 \001(\0162\032.google.proto" + + "buf.NullValueH\000\022\027\n\rboolean_value\030\001 \001(\010H\000" + + "\022\027\n\rinteger_value\030\002 \001(\003H\000\022\026\n\014double_valu" + + "e\030\003 \001(\001H\000\0225\n\017timestamp_value\030\n \001(\0132\032.goo" + + "gle.protobuf.TimestampH\000\022\026\n\014string_value" + + "\030\021 \001(\tH\000\022\025\n\013bytes_value\030\022 \001(\014H\000\022\031\n\017refer" + + "ence_value\030\005 \001(\tH\000\022.\n\017geo_point_value\030\010 " + + "\001(\0132\023.google.type.LatLngH\000\0226\n\013array_valu" + + "e\030\t \001(\0132\037.google.firestore.v1.ArrayValue" + + "H\000\0222\n\tmap_value\030\006 \001(\0132\035.google.firestore" + + ".v1.MapValueH\000B\014\n\nvalue_type\"8\n\nArrayVal" + + "ue\022*\n\006values\030\001 \003(\0132\032.google.firestore.v1" + + ".Value\"\220\001\n\010MapValue\0229\n\006fields\030\001 \003(\0132).go" + + "ogle.firestore.v1.MapValue.FieldsEntry\032I" + + "\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005value\030\002 \001(" + + "\0132\032.google.firestore.v1.Value:\0028\001B\247\001\n\027co" + + "m.google.firestore.v1B\rDocumentProtoP\001Z<" + + "google.golang.org/genproto/googleapis/fi" + + "restore/v1;firestore\242\002\004GCFS\252\002\031Google.Clo" + + "ud.Firestore.V1\312\002\031Google\\Cloud\\Firestore" + + "\\V1b\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + }, + assigner); + internal_static_google_firestore_v1_Document_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_v1_Document_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_Document_descriptor, + new java.lang.String[] { + "Name", "Fields", "CreateTime", "UpdateTime", + }); + internal_static_google_firestore_v1_Document_FieldsEntry_descriptor = + internal_static_google_firestore_v1_Document_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_firestore_v1_Value_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_v1_Value_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_Value_descriptor, + new java.lang.String[] { + "NullValue", + "BooleanValue", + "IntegerValue", + "DoubleValue", + "TimestampValue", + "StringValue", + "BytesValue", + "ReferenceValue", + "GeoPointValue", + "ArrayValue", + "MapValue", + "ValueType", + }); + internal_static_google_firestore_v1_ArrayValue_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_ArrayValue_descriptor, + new java.lang.String[] { + "Values", + }); + internal_static_google_firestore_v1_MapValue_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_firestore_v1_MapValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_MapValue_descriptor, + new java.lang.String[] { + "Fields", + }); + internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor = + internal_static_google_firestore_v1_MapValue_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java new file mode 100644 index 000000000000..f8c8714e7a2a --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java @@ -0,0 +1,1098 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A [Document][google.firestore.v1.Document] has been removed from the view of the targets.
+ * Sent if the document is no longer relevant to a target and is out of view.
+ * Can be sent instead of a DocumentDelete or a DocumentChange if the server
+ * can not send the new value of the document.
+ * Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be returned for the same logical
+ * write or delete, if multiple targets are affected.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentRemove} + */ +public final class DocumentRemove extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentRemove) + DocumentRemoveOrBuilder { + private static final long serialVersionUID = 0L; + // Use DocumentRemove.newBuilder() to construct. + private DocumentRemove(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DocumentRemove() { + document_ = ""; + removedTargetIds_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DocumentRemove( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + document_ = s; + break; + } + case 16: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + removedTargetIds_.add(input.readInt32()); + break; + } + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) + && input.getBytesUntilLimit() > 0) { + removedTargetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + removedTargetIds_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); + } + readTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = java.util.Collections.unmodifiableList(removedTargetIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentRemove_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentRemove.class, + com.google.firestore.v1.DocumentRemove.Builder.class); + } + + private int bitField0_; + public static final int DOCUMENT_FIELD_NUMBER = 1; + private volatile java.lang.Object document_; + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+   * 
+ * + * string document = 1; + */ + public java.lang.String getDocument() { + java.lang.Object ref = document_; + 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(); + document_ = s; + return s; + } + } + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+   * 
+ * + * string document = 1; + */ + public com.google.protobuf.ByteString getDocumentBytes() { + java.lang.Object ref = document_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + document_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 2; + private java.util.List removedTargetIds_; + /** + * + * + *
+   * A set of target IDs for targets that previously matched this document.
+   * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public java.util.List getRemovedTargetIdsList() { + return removedTargetIds_; + } + /** + * + * + *
+   * A set of target IDs for targets that previously matched this document.
+   * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public int getRemovedTargetIdsCount() { + return removedTargetIds_.size(); + } + /** + * + * + *
+   * A set of target IDs for targets that previously matched this document.
+   * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public int getRemovedTargetIds(int index) { + return removedTargetIds_.get(index); + } + + private int removedTargetIdsMemoizedSerializedSize = -1; + + public static final int READ_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp readTime_; + /** + * + * + *
+   * The read timestamp at which the remove was observed.
+   * Greater or equal to the `commit_time` of the change/delete/remove.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public boolean hasReadTime() { + return readTime_ != null; + } + /** + * + * + *
+   * The read timestamp at which the remove was observed.
+   * Greater or equal to the `commit_time` of the change/delete/remove.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp getReadTime() { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + /** + * + * + *
+   * The read timestamp at which the remove was observed.
+   * Greater or equal to the `commit_time` of the change/delete/remove.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + return getReadTime(); + } + + 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 { + getSerializedSize(); + if (!getDocumentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_); + } + if (getRemovedTargetIdsList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(removedTargetIdsMemoizedSerializedSize); + } + for (int i = 0; i < removedTargetIds_.size(); i++) { + output.writeInt32NoTag(removedTargetIds_.get(i)); + } + if (readTime_ != null) { + output.writeMessage(4, getReadTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDocumentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, document_); + } + { + int dataSize = 0; + for (int i = 0; i < removedTargetIds_.size(); i++) { + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(removedTargetIds_.get(i)); + } + size += dataSize; + if (!getRemovedTargetIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + removedTargetIdsMemoizedSerializedSize = dataSize; + } + if (readTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime()); + } + size += unknownFields.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.firestore.v1.DocumentRemove)) { + return super.equals(obj); + } + com.google.firestore.v1.DocumentRemove other = (com.google.firestore.v1.DocumentRemove) obj; + + boolean result = true; + result = result && getDocument().equals(other.getDocument()); + result = result && getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList()); + result = result && (hasReadTime() == other.hasReadTime()); + if (hasReadTime()) { + result = result && getReadTime().equals(other.getReadTime()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getDocument().hashCode(); + if (getRemovedTargetIdsCount() > 0) { + hash = (37 * hash) + REMOVED_TARGET_IDS_FIELD_NUMBER; + hash = (53 * hash) + getRemovedTargetIdsList().hashCode(); + } + if (hasReadTime()) { + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.DocumentRemove parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentRemove parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentRemove parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentRemove 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.firestore.v1.DocumentRemove parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentRemove parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentRemove parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentRemove 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.firestore.v1.DocumentRemove parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentRemove 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.firestore.v1.DocumentRemove parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentRemove 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.firestore.v1.DocumentRemove prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been removed from the view of the targets.
+   * Sent if the document is no longer relevant to a target and is out of view.
+   * Can be sent instead of a DocumentDelete or a DocumentChange if the server
+   * can not send the new value of the document.
+   * Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be returned for the same logical
+   * write or delete, if multiple targets are affected.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentRemove} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentRemove) + com.google.firestore.v1.DocumentRemoveOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentRemove_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentRemove.class, + com.google.firestore.v1.DocumentRemove.Builder.class); + } + + // Construct using com.google.firestore.v1.DocumentRemove.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + document_ = ""; + + removedTargetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + if (readTimeBuilder_ == null) { + readTime_ = null; + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentRemove_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentRemove getDefaultInstanceForType() { + return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.DocumentRemove build() { + com.google.firestore.v1.DocumentRemove result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentRemove buildPartial() { + com.google.firestore.v1.DocumentRemove result = + new com.google.firestore.v1.DocumentRemove(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.document_ = document_; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = java.util.Collections.unmodifiableList(removedTargetIds_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.removedTargetIds_ = removedTargetIds_; + if (readTimeBuilder_ == null) { + result.readTime_ = readTime_; + } else { + result.readTime_ = readTimeBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.DocumentRemove) { + return mergeFrom((com.google.firestore.v1.DocumentRemove) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.DocumentRemove other) { + if (other == com.google.firestore.v1.DocumentRemove.getDefaultInstance()) return this; + if (!other.getDocument().isEmpty()) { + document_ = other.document_; + onChanged(); + } + if (!other.removedTargetIds_.isEmpty()) { + if (removedTargetIds_.isEmpty()) { + removedTargetIds_ = other.removedTargetIds_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.addAll(other.removedTargetIds_); + } + onChanged(); + } + if (other.hasReadTime()) { + mergeReadTime(other.getReadTime()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.DocumentRemove parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.DocumentRemove) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object document_ = ""; + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+     * 
+ * + * string document = 1; + */ + public java.lang.String getDocument() { + java.lang.Object ref = document_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + document_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+     * 
+ * + * string document = 1; + */ + public com.google.protobuf.ByteString getDocumentBytes() { + java.lang.Object ref = document_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + document_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+     * 
+ * + * string document = 1; + */ + public Builder setDocument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + document_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+     * 
+ * + * string document = 1; + */ + public Builder clearDocument() { + + document_ = getDefaultInstance().getDocument(); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+     * 
+ * + * string document = 1; + */ + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + document_ = value; + onChanged(); + return this; + } + + private java.util.List removedTargetIds_ = java.util.Collections.emptyList(); + + private void ensureRemovedTargetIdsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + removedTargetIds_ = new java.util.ArrayList(removedTargetIds_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this document.
+     * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public java.util.List getRemovedTargetIdsList() { + return java.util.Collections.unmodifiableList(removedTargetIds_); + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this document.
+     * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public int getRemovedTargetIdsCount() { + return removedTargetIds_.size(); + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this document.
+     * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public int getRemovedTargetIds(int index) { + return removedTargetIds_.get(index); + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this document.
+     * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public Builder setRemovedTargetIds(int index, int value) { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this document.
+     * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public Builder addRemovedTargetIds(int value) { + ensureRemovedTargetIdsIsMutable(); + removedTargetIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this document.
+     * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public Builder addAllRemovedTargetIds(java.lang.Iterable values) { + ensureRemovedTargetIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * A set of target IDs for targets that previously matched this document.
+     * 
+ * + * repeated int32 removed_target_ids = 2; + */ + public Builder clearRemovedTargetIds() { + removedTargetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp readTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public boolean hasReadTime() { + return readTimeBuilder_ != null || readTime_ != null; + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } else { + return readTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readTime_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + readTime_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (readTime_ != null) { + readTime_ = + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + } else { + readTime_ = value; + } + onChanged(); + } else { + readTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + readTime_ = null; + onChanged(); + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + + onChanged(); + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (readTimeBuilder_ != null) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + } + /** + * + * + *
+     * The read timestamp at which the remove was observed.
+     * Greater or equal to the `commit_time` of the change/delete/remove.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getReadTime(), getParentForChildren(), isClean()); + readTime_ = null; + } + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentRemove) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentRemove) + private static final com.google.firestore.v1.DocumentRemove DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentRemove(); + } + + public static com.google.firestore.v1.DocumentRemove getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentRemove parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentRemove(input, extensionRegistry); + } + }; + + 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.firestore.v1.DocumentRemove getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java new file mode 100644 index 000000000000..55e07d9aecff --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public interface DocumentRemoveOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentRemove) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+   * 
+ * + * string document = 1; + */ + java.lang.String getDocument(); + /** + * + * + *
+   * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
+   * 
+ * + * string document = 1; + */ + com.google.protobuf.ByteString getDocumentBytes(); + + /** + * + * + *
+   * A set of target IDs for targets that previously matched this document.
+   * 
+ * + * repeated int32 removed_target_ids = 2; + */ + java.util.List getRemovedTargetIdsList(); + /** + * + * + *
+   * A set of target IDs for targets that previously matched this document.
+   * 
+ * + * repeated int32 removed_target_ids = 2; + */ + int getRemovedTargetIdsCount(); + /** + * + * + *
+   * A set of target IDs for targets that previously matched this document.
+   * 
+ * + * repeated int32 removed_target_ids = 2; + */ + int getRemovedTargetIds(int index); + + /** + * + * + *
+   * The read timestamp at which the remove was observed.
+   * Greater or equal to the `commit_time` of the change/delete/remove.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + boolean hasReadTime(); + /** + * + * + *
+   * The read timestamp at which the remove was observed.
+   * Greater or equal to the `commit_time` of the change/delete/remove.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * The read timestamp at which the remove was observed.
+   * Greater or equal to the `commit_time` of the change/delete/remove.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRootName.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRootName.java new file mode 100644 index 000000000000..2c407f4521f3 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRootName.java @@ -0,0 +1,180 @@ +/* + * 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.firestore.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; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +@javax.annotation.Generated("by GAPIC protoc plugin") +public class DocumentRootName implements ResourceName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("projects/{project}/databases/{database}/documents"); + + private volatile Map fieldValuesMap; + + private final String project; + private final String database; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private DocumentRootName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + database = Preconditions.checkNotNull(builder.getDatabase()); + } + + public static DocumentRootName of(String project, String database) { + return newBuilder().setProject(project).setDatabase(database).build(); + } + + public static String format(String project, String database) { + return newBuilder().setProject(project).setDatabase(database).build().toString(); + } + + public static DocumentRootName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "DocumentRootName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("database")); + } + + 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 (DocumentRootName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("project", project); + fieldMapBuilder.put("database", database); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("project", project, "database", database); + } + + /** Builder for DocumentRootName. */ + public static class Builder { + + private String project; + private String database; + + public String getProject() { + return project; + } + + public String getDatabase() { + return database; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setDatabase(String database) { + this.database = database; + return this; + } + + private Builder() {} + + private Builder(DocumentRootName documentRootName) { + project = documentRootName.project; + database = documentRootName.database; + } + + public DocumentRootName build() { + return new DocumentRootName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof DocumentRootName) { + DocumentRootName that = (DocumentRootName) o; + return (this.project.equals(that.project)) && (this.database.equals(that.database)); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= project.hashCode(); + h *= 1000003; + h ^= database.hashCode(); + return h; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java new file mode 100644 index 000000000000..16b9eb8cdeb7 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java @@ -0,0 +1,4484 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A transformation of a document.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentTransform} + */ +public final class DocumentTransform extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform) + DocumentTransformOrBuilder { + private static final long serialVersionUID = 0L; + // Use DocumentTransform.newBuilder() to construct. + private DocumentTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DocumentTransform() { + document_ = ""; + fieldTransforms_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DocumentTransform( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + document_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + fieldTransforms_ = + new java.util.ArrayList< + com.google.firestore.v1.DocumentTransform.FieldTransform>(); + mutable_bitField0_ |= 0x00000002; + } + fieldTransforms_.add( + input.readMessage( + com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + fieldTransforms_ = java.util.Collections.unmodifiableList(fieldTransforms_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentTransform.class, + com.google.firestore.v1.DocumentTransform.Builder.class); + } + + public interface FieldTransformOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform.FieldTransform) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+     * reference.
+     * 
+ * + * string field_path = 1; + */ + java.lang.String getFieldPath(); + /** + * + * + *
+     * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+     * reference.
+     * 
+ * + * string field_path = 1; + */ + com.google.protobuf.ByteString getFieldPathBytes(); + + /** + * + * + *
+     * Sets the field to the given server value.
+     * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + int getSetToServerValueValue(); + /** + * + * + *
+     * Sets the field to the given server value.
+     * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue(); + + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + boolean hasIncrement(); + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + com.google.firestore.v1.Value getIncrement(); + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder(); + + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + boolean hasMaximum(); + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + com.google.firestore.v1.Value getMaximum(); + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder(); + + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + boolean hasMinimum(); + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + com.google.firestore.v1.Value getMinimum(); + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder(); + + /** + * + * + *
+     * Append the given elements in order if they are not already present in
+     * the current field value.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * first set to the empty array.
+     * Equivalent numbers of different types (e.g. 3L and 3.0) are
+     * considered equal when checking if a value is missing.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * If the input contains multiple equivalent values, only the first will
+     * be considered.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + boolean hasAppendMissingElements(); + /** + * + * + *
+     * Append the given elements in order if they are not already present in
+     * the current field value.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * first set to the empty array.
+     * Equivalent numbers of different types (e.g. 3L and 3.0) are
+     * considered equal when checking if a value is missing.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * If the input contains multiple equivalent values, only the first will
+     * be considered.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + com.google.firestore.v1.ArrayValue getAppendMissingElements(); + /** + * + * + *
+     * Append the given elements in order if they are not already present in
+     * the current field value.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * first set to the empty array.
+     * Equivalent numbers of different types (e.g. 3L and 3.0) are
+     * considered equal when checking if a value is missing.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * If the input contains multiple equivalent values, only the first will
+     * be considered.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder(); + + /** + * + * + *
+     * Remove all of the given elements from the array in the field.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * set to the empty array.
+     * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+     * considered equal when deciding whether an element should be removed.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * This will remove all equivalent values if there are duplicates.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + boolean hasRemoveAllFromArray(); + /** + * + * + *
+     * Remove all of the given elements from the array in the field.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * set to the empty array.
+     * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+     * considered equal when deciding whether an element should be removed.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * This will remove all equivalent values if there are duplicates.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + com.google.firestore.v1.ArrayValue getRemoveAllFromArray(); + /** + * + * + *
+     * Remove all of the given elements from the array in the field.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * set to the empty array.
+     * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+     * considered equal when deciding whether an element should be removed.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * This will remove all equivalent values if there are duplicates.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder(); + + public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase + getTransformTypeCase(); + } + /** + * + * + *
+   * A transformation of a field of the document.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} + */ + public static final class FieldTransform extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform.FieldTransform) + FieldTransformOrBuilder { + private static final long serialVersionUID = 0L; + // Use FieldTransform.newBuilder() to construct. + private FieldTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FieldTransform() { + fieldPath_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private FieldTransform( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + fieldPath_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); + transformTypeCase_ = 2; + transformType_ = rawValue; + break; + } + case 26: + { + com.google.firestore.v1.Value.Builder subBuilder = null; + if (transformTypeCase_ == 3) { + subBuilder = ((com.google.firestore.v1.Value) transformType_).toBuilder(); + } + transformType_ = + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Value) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 3; + break; + } + case 34: + { + com.google.firestore.v1.Value.Builder subBuilder = null; + if (transformTypeCase_ == 4) { + subBuilder = ((com.google.firestore.v1.Value) transformType_).toBuilder(); + } + transformType_ = + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Value) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 4; + break; + } + case 42: + { + com.google.firestore.v1.Value.Builder subBuilder = null; + if (transformTypeCase_ == 5) { + subBuilder = ((com.google.firestore.v1.Value) transformType_).toBuilder(); + } + transformType_ = + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Value) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 5; + break; + } + case 50: + { + com.google.firestore.v1.ArrayValue.Builder subBuilder = null; + if (transformTypeCase_ == 6) { + subBuilder = ((com.google.firestore.v1.ArrayValue) transformType_).toBuilder(); + } + transformType_ = + input.readMessage( + com.google.firestore.v1.ArrayValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.ArrayValue) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 6; + break; + } + case 58: + { + com.google.firestore.v1.ArrayValue.Builder subBuilder = null; + if (transformTypeCase_ == 7) { + subBuilder = ((com.google.firestore.v1.ArrayValue) transformType_).toBuilder(); + } + transformType_ = + input.readMessage( + com.google.firestore.v1.ArrayValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.ArrayValue) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 7; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentTransform.FieldTransform.class, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); + } + + /** + * + * + *
+     * A value that is calculated by the server.
+     * 
+ * + * Protobuf enum {@code google.firestore.v1.DocumentTransform.FieldTransform.ServerValue} + */ + public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * SERVER_VALUE_UNSPECIFIED = 0; + */ + SERVER_VALUE_UNSPECIFIED(0), + /** + * + * + *
+       * The time at which the server processed the request, with millisecond
+       * precision.
+       * 
+ * + * REQUEST_TIME = 1; + */ + REQUEST_TIME(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * SERVER_VALUE_UNSPECIFIED = 0; + */ + public static final int SERVER_VALUE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The time at which the server processed the request, with millisecond
+       * precision.
+       * 
+ * + * REQUEST_TIME = 1; + */ + public static final int REQUEST_TIME_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; + } + + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ServerValue valueOf(int value) { + return forNumber(value); + } + + public static ServerValue forNumber(int value) { + switch (value) { + case 0: + return SERVER_VALUE_UNSPECIFIED; + case 1: + return REQUEST_TIME; + 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 ServerValue findValueByNumber(int number) { + return ServerValue.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + 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.firestore.v1.DocumentTransform.FieldTransform.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final ServerValue[] VALUES = values(); + + public static ServerValue 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 ServerValue(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.firestore.v1.DocumentTransform.FieldTransform.ServerValue) + } + + private int transformTypeCase_ = 0; + private java.lang.Object transformType_; + + public enum TransformTypeCase implements com.google.protobuf.Internal.EnumLite { + SET_TO_SERVER_VALUE(2), + INCREMENT(3), + MAXIMUM(4), + MINIMUM(5), + APPEND_MISSING_ELEMENTS(6), + REMOVE_ALL_FROM_ARRAY(7), + TRANSFORMTYPE_NOT_SET(0); + private final int value; + + private TransformTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static TransformTypeCase valueOf(int value) { + return forNumber(value); + } + + public static TransformTypeCase forNumber(int value) { + switch (value) { + case 2: + return SET_TO_SERVER_VALUE; + case 3: + return INCREMENT; + case 4: + return MAXIMUM; + case 5: + return MINIMUM; + case 6: + return APPEND_MISSING_ELEMENTS; + case 7: + return REMOVE_ALL_FROM_ARRAY; + case 0: + return TRANSFORMTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public TransformTypeCase getTransformTypeCase() { + return TransformTypeCase.forNumber(transformTypeCase_); + } + + public static final int FIELD_PATH_FIELD_NUMBER = 1; + private volatile java.lang.Object fieldPath_; + /** + * + * + *
+     * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+     * reference.
+     * 
+ * + * string field_path = 1; + */ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + 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(); + fieldPath_ = s; + return s; + } + } + /** + * + * + *
+     * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+     * reference.
+     * 
+ * + * string field_path = 1; + */ + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SET_TO_SERVER_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+     * Sets the field to the given server value.
+     * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + public int getSetToServerValueValue() { + if (transformTypeCase_ == 2) { + return (java.lang.Integer) transformType_; + } + return 0; + } + /** + * + * + *
+     * Sets the field to the given server value.
+     * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + getSetToServerValue() { + if (transformTypeCase_ == 2) { + @SuppressWarnings("deprecation") + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.valueOf( + (java.lang.Integer) transformType_); + return result == null + ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED + : result; + } + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + .SERVER_VALUE_UNSPECIFIED; + } + + public static final int INCREMENT_FIELD_NUMBER = 3; + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public boolean hasIncrement() { + return transformTypeCase_ == 3; + } + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public com.google.firestore.v1.Value getIncrement() { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + + public static final int MAXIMUM_FIELD_NUMBER = 4; + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public boolean hasMaximum() { + return transformTypeCase_ == 4; + } + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public com.google.firestore.v1.Value getMaximum() { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + + public static final int MINIMUM_FIELD_NUMBER = 5; + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public boolean hasMinimum() { + return transformTypeCase_ == 5; + } + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public com.google.firestore.v1.Value getMinimum() { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + + public static final int APPEND_MISSING_ELEMENTS_FIELD_NUMBER = 6; + /** + * + * + *
+     * Append the given elements in order if they are not already present in
+     * the current field value.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * first set to the empty array.
+     * Equivalent numbers of different types (e.g. 3L and 3.0) are
+     * considered equal when checking if a value is missing.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * If the input contains multiple equivalent values, only the first will
+     * be considered.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public boolean hasAppendMissingElements() { + return transformTypeCase_ == 6; + } + /** + * + * + *
+     * Append the given elements in order if they are not already present in
+     * the current field value.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * first set to the empty array.
+     * Equivalent numbers of different types (e.g. 3L and 3.0) are
+     * considered equal when checking if a value is missing.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * If the input contains multiple equivalent values, only the first will
+     * be considered.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public com.google.firestore.v1.ArrayValue getAppendMissingElements() { + if (transformTypeCase_ == 6) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + /** + * + * + *
+     * Append the given elements in order if they are not already present in
+     * the current field value.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * first set to the empty array.
+     * Equivalent numbers of different types (e.g. 3L and 3.0) are
+     * considered equal when checking if a value is missing.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * If the input contains multiple equivalent values, only the first will
+     * be considered.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder() { + if (transformTypeCase_ == 6) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + + public static final int REMOVE_ALL_FROM_ARRAY_FIELD_NUMBER = 7; + /** + * + * + *
+     * Remove all of the given elements from the array in the field.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * set to the empty array.
+     * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+     * considered equal when deciding whether an element should be removed.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * This will remove all equivalent values if there are duplicates.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public boolean hasRemoveAllFromArray() { + return transformTypeCase_ == 7; + } + /** + * + * + *
+     * Remove all of the given elements from the array in the field.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * set to the empty array.
+     * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+     * considered equal when deciding whether an element should be removed.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * This will remove all equivalent values if there are duplicates.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { + if (transformTypeCase_ == 7) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + /** + * + * + *
+     * Remove all of the given elements from the array in the field.
+     * If the field is not an array, or if the field does not yet exist, it is
+     * set to the empty array.
+     * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+     * considered equal when deciding whether an element should be removed.
+     * NaN is equal to NaN, and Null is equal to Null.
+     * This will remove all equivalent values if there are duplicates.
+     * The corresponding transform_result will be the null value.
+     * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder() { + if (transformTypeCase_ == 7) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.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 (!getFieldPathBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_); + } + if (transformTypeCase_ == 2) { + output.writeEnum(2, ((java.lang.Integer) transformType_)); + } + if (transformTypeCase_ == 3) { + output.writeMessage(3, (com.google.firestore.v1.Value) transformType_); + } + if (transformTypeCase_ == 4) { + output.writeMessage(4, (com.google.firestore.v1.Value) transformType_); + } + if (transformTypeCase_ == 5) { + output.writeMessage(5, (com.google.firestore.v1.Value) transformType_); + } + if (transformTypeCase_ == 6) { + output.writeMessage(6, (com.google.firestore.v1.ArrayValue) transformType_); + } + if (transformTypeCase_ == 7) { + output.writeMessage(7, (com.google.firestore.v1.ArrayValue) transformType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getFieldPathBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_); + } + if (transformTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, ((java.lang.Integer) transformType_)); + } + if (transformTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.Value) transformType_); + } + if (transformTypeCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.firestore.v1.Value) transformType_); + } + if (transformTypeCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.firestore.v1.Value) transformType_); + } + if (transformTypeCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.firestore.v1.ArrayValue) transformType_); + } + if (transformTypeCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.firestore.v1.ArrayValue) transformType_); + } + size += unknownFields.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.firestore.v1.DocumentTransform.FieldTransform)) { + return super.equals(obj); + } + com.google.firestore.v1.DocumentTransform.FieldTransform other = + (com.google.firestore.v1.DocumentTransform.FieldTransform) obj; + + boolean result = true; + result = result && getFieldPath().equals(other.getFieldPath()); + result = result && getTransformTypeCase().equals(other.getTransformTypeCase()); + if (!result) return false; + switch (transformTypeCase_) { + case 2: + result = result && getSetToServerValueValue() == other.getSetToServerValueValue(); + break; + case 3: + result = result && getIncrement().equals(other.getIncrement()); + break; + case 4: + result = result && getMaximum().equals(other.getMaximum()); + break; + case 5: + result = result && getMinimum().equals(other.getMinimum()); + break; + case 6: + result = result && getAppendMissingElements().equals(other.getAppendMissingElements()); + break; + case 7: + result = result && getRemoveAllFromArray().equals(other.getRemoveAllFromArray()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER; + hash = (53 * hash) + getFieldPath().hashCode(); + switch (transformTypeCase_) { + case 2: + hash = (37 * hash) + SET_TO_SERVER_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getSetToServerValueValue(); + break; + case 3: + hash = (37 * hash) + INCREMENT_FIELD_NUMBER; + hash = (53 * hash) + getIncrement().hashCode(); + break; + case 4: + hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; + hash = (53 * hash) + getMaximum().hashCode(); + break; + case 5: + hash = (37 * hash) + MINIMUM_FIELD_NUMBER; + hash = (53 * hash) + getMinimum().hashCode(); + break; + case 6: + hash = (37 * hash) + APPEND_MISSING_ELEMENTS_FIELD_NUMBER; + hash = (53 * hash) + getAppendMissingElements().hashCode(); + break; + case 7: + hash = (37 * hash) + REMOVE_ALL_FROM_ARRAY_FIELD_NUMBER; + hash = (53 * hash) + getRemoveAllFromArray().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform 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.firestore.v1.DocumentTransform.FieldTransform parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform 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.firestore.v1.DocumentTransform.FieldTransform parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform 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.firestore.v1.DocumentTransform.FieldTransform parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform 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.firestore.v1.DocumentTransform.FieldTransform prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A transformation of a field of the document.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentTransform.FieldTransform) + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentTransform.FieldTransform.class, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); + } + + // Construct using com.google.firestore.v1.DocumentTransform.FieldTransform.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + fieldPath_ = ""; + + transformTypeCase_ = 0; + transformType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentTransform.FieldTransform getDefaultInstanceForType() { + return com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.DocumentTransform.FieldTransform build() { + com.google.firestore.v1.DocumentTransform.FieldTransform result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentTransform.FieldTransform buildPartial() { + com.google.firestore.v1.DocumentTransform.FieldTransform result = + new com.google.firestore.v1.DocumentTransform.FieldTransform(this); + result.fieldPath_ = fieldPath_; + if (transformTypeCase_ == 2) { + result.transformType_ = transformType_; + } + if (transformTypeCase_ == 3) { + if (incrementBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = incrementBuilder_.build(); + } + } + if (transformTypeCase_ == 4) { + if (maximumBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = maximumBuilder_.build(); + } + } + if (transformTypeCase_ == 5) { + if (minimumBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = minimumBuilder_.build(); + } + } + if (transformTypeCase_ == 6) { + if (appendMissingElementsBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = appendMissingElementsBuilder_.build(); + } + } + if (transformTypeCase_ == 7) { + if (removeAllFromArrayBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = removeAllFromArrayBuilder_.build(); + } + } + result.transformTypeCase_ = transformTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.DocumentTransform.FieldTransform) { + return mergeFrom((com.google.firestore.v1.DocumentTransform.FieldTransform) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.DocumentTransform.FieldTransform other) { + if (other == com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()) + return this; + if (!other.getFieldPath().isEmpty()) { + fieldPath_ = other.fieldPath_; + onChanged(); + } + switch (other.getTransformTypeCase()) { + case SET_TO_SERVER_VALUE: + { + setSetToServerValueValue(other.getSetToServerValueValue()); + break; + } + case INCREMENT: + { + mergeIncrement(other.getIncrement()); + break; + } + case MAXIMUM: + { + mergeMaximum(other.getMaximum()); + break; + } + case MINIMUM: + { + mergeMinimum(other.getMinimum()); + break; + } + case APPEND_MISSING_ELEMENTS: + { + mergeAppendMissingElements(other.getAppendMissingElements()); + break; + } + case REMOVE_ALL_FROM_ARRAY: + { + mergeRemoveAllFromArray(other.getRemoveAllFromArray()); + break; + } + case TRANSFORMTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.DocumentTransform.FieldTransform parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.DocumentTransform.FieldTransform) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int transformTypeCase_ = 0; + private java.lang.Object transformType_; + + public TransformTypeCase getTransformTypeCase() { + return TransformTypeCase.forNumber(transformTypeCase_); + } + + public Builder clearTransformType() { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + return this; + } + + private java.lang.Object fieldPath_ = ""; + /** + * + * + *
+       * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+       * reference.
+       * 
+ * + * string field_path = 1; + */ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+       * reference.
+       * 
+ * + * string field_path = 1; + */ + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+       * reference.
+       * 
+ * + * string field_path = 1; + */ + public Builder setFieldPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + fieldPath_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+       * reference.
+       * 
+ * + * string field_path = 1; + */ + public Builder clearFieldPath() { + + fieldPath_ = getDefaultInstance().getFieldPath(); + onChanged(); + return this; + } + /** + * + * + *
+       * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
+       * reference.
+       * 
+ * + * string field_path = 1; + */ + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + fieldPath_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+       * Sets the field to the given server value.
+       * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + public int getSetToServerValueValue() { + if (transformTypeCase_ == 2) { + return ((java.lang.Integer) transformType_).intValue(); + } + return 0; + } + /** + * + * + *
+       * Sets the field to the given server value.
+       * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + public Builder setSetToServerValueValue(int value) { + transformTypeCase_ = 2; + transformType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Sets the field to the given server value.
+       * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + getSetToServerValue() { + if (transformTypeCase_ == 2) { + @SuppressWarnings("deprecation") + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.valueOf( + (java.lang.Integer) transformType_); + return result == null + ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED + : result; + } + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + .SERVER_VALUE_UNSPECIFIED; + } + /** + * + * + *
+       * Sets the field to the given server value.
+       * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + public Builder setSetToServerValue( + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue value) { + if (value == null) { + throw new NullPointerException(); + } + transformTypeCase_ = 2; + transformType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Sets the field to the given server value.
+       * 
+ * + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + */ + public Builder clearSetToServerValue() { + if (transformTypeCase_ == 2) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + incrementBuilder_; + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public boolean hasIncrement() { + return transformTypeCase_ == 3; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public com.google.firestore.v1.Value getIncrement() { + if (incrementBuilder_ == null) { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } else { + if (transformTypeCase_ == 3) { + return incrementBuilder_.getMessage(); + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public Builder setIncrement(com.google.firestore.v1.Value value) { + if (incrementBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + incrementBuilder_.setMessage(value); + } + transformTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValue) { + if (incrementBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + incrementBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public Builder mergeIncrement(com.google.firestore.v1.Value value) { + if (incrementBuilder_ == null) { + if (transformTypeCase_ == 3 + && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1.Value.newBuilder( + (com.google.firestore.v1.Value) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 3) { + incrementBuilder_.mergeFrom(value); + } + incrementBuilder_.setMessage(value); + } + transformTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public Builder clearIncrement() { + if (incrementBuilder_ == null) { + if (transformTypeCase_ == 3) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 3) { + transformTypeCase_ = 0; + transformType_ = null; + } + incrementBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public com.google.firestore.v1.Value.Builder getIncrementBuilder() { + return getIncrementFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() { + if ((transformTypeCase_ == 3) && (incrementBuilder_ != null)) { + return incrementBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1.Value increment = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + getIncrementFieldBuilder() { + if (incrementBuilder_ == null) { + if (!(transformTypeCase_ == 3)) { + transformType_ = com.google.firestore.v1.Value.getDefaultInstance(); + } + incrementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + (com.google.firestore.v1.Value) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 3; + onChanged(); + ; + return incrementBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + maximumBuilder_; + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public boolean hasMaximum() { + return transformTypeCase_ == 4; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public com.google.firestore.v1.Value getMaximum() { + if (maximumBuilder_ == null) { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } else { + if (transformTypeCase_ == 4) { + return maximumBuilder_.getMessage(); + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public Builder setMaximum(com.google.firestore.v1.Value value) { + if (maximumBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + maximumBuilder_.setMessage(value); + } + transformTypeCase_ = 4; + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue) { + if (maximumBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + maximumBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 4; + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public Builder mergeMaximum(com.google.firestore.v1.Value value) { + if (maximumBuilder_ == null) { + if (transformTypeCase_ == 4 + && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1.Value.newBuilder( + (com.google.firestore.v1.Value) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 4) { + maximumBuilder_.mergeFrom(value); + } + maximumBuilder_.setMessage(value); + } + transformTypeCase_ = 4; + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public Builder clearMaximum() { + if (maximumBuilder_ == null) { + if (transformTypeCase_ == 4) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 4) { + transformTypeCase_ = 0; + transformType_ = null; + } + maximumBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public com.google.firestore.v1.Value.Builder getMaximumBuilder() { + return getMaximumFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() { + if ((transformTypeCase_ == 4) && (maximumBuilder_ != null)) { + return maximumBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value maximum = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + getMaximumFieldBuilder() { + if (maximumBuilder_ == null) { + if (!(transformTypeCase_ == 4)) { + transformType_ = com.google.firestore.v1.Value.getDefaultInstance(); + } + maximumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + (com.google.firestore.v1.Value) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 4; + onChanged(); + ; + return maximumBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + minimumBuilder_; + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public boolean hasMinimum() { + return transformTypeCase_ == 5; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public com.google.firestore.v1.Value getMinimum() { + if (minimumBuilder_ == null) { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } else { + if (transformTypeCase_ == 5) { + return minimumBuilder_.getMessage(); + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public Builder setMinimum(com.google.firestore.v1.Value value) { + if (minimumBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + minimumBuilder_.setMessage(value); + } + transformTypeCase_ = 5; + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue) { + if (minimumBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + minimumBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 5; + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public Builder mergeMinimum(com.google.firestore.v1.Value value) { + if (minimumBuilder_ == null) { + if (transformTypeCase_ == 5 + && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1.Value.newBuilder( + (com.google.firestore.v1.Value) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 5) { + minimumBuilder_.mergeFrom(value); + } + minimumBuilder_.setMessage(value); + } + transformTypeCase_ = 5; + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public Builder clearMinimum() { + if (minimumBuilder_ == null) { + if (transformTypeCase_ == 5) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 5) { + transformTypeCase_ = 0; + transformType_ = null; + } + minimumBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public com.google.firestore.v1.Value.Builder getMinimumBuilder() { + return getMinimumFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() { + if ((transformTypeCase_ == 5) && (minimumBuilder_ != null)) { + return minimumBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1.Value) transformType_; + } + return com.google.firestore.v1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1.Value minimum = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + getMinimumFieldBuilder() { + if (minimumBuilder_ == null) { + if (!(transformTypeCase_ == 5)) { + transformType_ = com.google.firestore.v1.Value.getDefaultInstance(); + } + minimumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + (com.google.firestore.v1.Value) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 5; + onChanged(); + ; + return minimumBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + appendMissingElementsBuilder_; + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public boolean hasAppendMissingElements() { + return transformTypeCase_ == 6; + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public com.google.firestore.v1.ArrayValue getAppendMissingElements() { + if (appendMissingElementsBuilder_ == null) { + if (transformTypeCase_ == 6) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } else { + if (transformTypeCase_ == 6) { + return appendMissingElementsBuilder_.getMessage(); + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public Builder setAppendMissingElements(com.google.firestore.v1.ArrayValue value) { + if (appendMissingElementsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + appendMissingElementsBuilder_.setMessage(value); + } + transformTypeCase_ = 6; + return this; + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public Builder setAppendMissingElements( + com.google.firestore.v1.ArrayValue.Builder builderForValue) { + if (appendMissingElementsBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + appendMissingElementsBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 6; + return this; + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue value) { + if (appendMissingElementsBuilder_ == null) { + if (transformTypeCase_ == 6 + && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1.ArrayValue.newBuilder( + (com.google.firestore.v1.ArrayValue) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 6) { + appendMissingElementsBuilder_.mergeFrom(value); + } + appendMissingElementsBuilder_.setMessage(value); + } + transformTypeCase_ = 6; + return this; + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public Builder clearAppendMissingElements() { + if (appendMissingElementsBuilder_ == null) { + if (transformTypeCase_ == 6) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 6) { + transformTypeCase_ = 0; + transformType_ = null; + } + appendMissingElementsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public com.google.firestore.v1.ArrayValue.Builder getAppendMissingElementsBuilder() { + return getAppendMissingElementsFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder() { + if ((transformTypeCase_ == 6) && (appendMissingElementsBuilder_ != null)) { + return appendMissingElementsBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 6) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + } + /** + * + * + *
+       * Append the given elements in order if they are not already present in
+       * the current field value.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * first set to the empty array.
+       * Equivalent numbers of different types (e.g. 3L and 3.0) are
+       * considered equal when checking if a value is missing.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * If the input contains multiple equivalent values, only the first will
+       * be considered.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue append_missing_elements = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + getAppendMissingElementsFieldBuilder() { + if (appendMissingElementsBuilder_ == null) { + if (!(transformTypeCase_ == 6)) { + transformType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + appendMissingElementsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder>( + (com.google.firestore.v1.ArrayValue) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 6; + onChanged(); + ; + return appendMissingElementsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + removeAllFromArrayBuilder_; + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public boolean hasRemoveAllFromArray() { + return transformTypeCase_ == 7; + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { + if (removeAllFromArrayBuilder_ == null) { + if (transformTypeCase_ == 7) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } else { + if (transformTypeCase_ == 7) { + return removeAllFromArrayBuilder_.getMessage(); + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public Builder setRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) { + if (removeAllFromArrayBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + removeAllFromArrayBuilder_.setMessage(value); + } + transformTypeCase_ = 7; + return this; + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public Builder setRemoveAllFromArray( + com.google.firestore.v1.ArrayValue.Builder builderForValue) { + if (removeAllFromArrayBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + removeAllFromArrayBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 7; + return this; + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) { + if (removeAllFromArrayBuilder_ == null) { + if (transformTypeCase_ == 7 + && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1.ArrayValue.newBuilder( + (com.google.firestore.v1.ArrayValue) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 7) { + removeAllFromArrayBuilder_.mergeFrom(value); + } + removeAllFromArrayBuilder_.setMessage(value); + } + transformTypeCase_ = 7; + return this; + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public Builder clearRemoveAllFromArray() { + if (removeAllFromArrayBuilder_ == null) { + if (transformTypeCase_ == 7) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 7) { + transformTypeCase_ = 0; + transformType_ = null; + } + removeAllFromArrayBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public com.google.firestore.v1.ArrayValue.Builder getRemoveAllFromArrayBuilder() { + return getRemoveAllFromArrayFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder() { + if ((transformTypeCase_ == 7) && (removeAllFromArrayBuilder_ != null)) { + return removeAllFromArrayBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 7) { + return (com.google.firestore.v1.ArrayValue) transformType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + } + /** + * + * + *
+       * Remove all of the given elements from the array in the field.
+       * If the field is not an array, or if the field does not yet exist, it is
+       * set to the empty array.
+       * Equivalent numbers of the different types (e.g. 3L and 3.0) are
+       * considered equal when deciding whether an element should be removed.
+       * NaN is equal to NaN, and Null is equal to Null.
+       * This will remove all equivalent values if there are duplicates.
+       * The corresponding transform_result will be the null value.
+       * 
+ * + * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + getRemoveAllFromArrayFieldBuilder() { + if (removeAllFromArrayBuilder_ == null) { + if (!(transformTypeCase_ == 7)) { + transformType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + removeAllFromArrayBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder>( + (com.google.firestore.v1.ArrayValue) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 7; + onChanged(); + ; + return removeAllFromArrayBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform.FieldTransform) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform.FieldTransform) + private static final com.google.firestore.v1.DocumentTransform.FieldTransform DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform.FieldTransform(); + } + + public static com.google.firestore.v1.DocumentTransform.FieldTransform getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldTransform parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FieldTransform(input, extensionRegistry); + } + }; + + 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.firestore.v1.DocumentTransform.FieldTransform getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int DOCUMENT_FIELD_NUMBER = 1; + private volatile java.lang.Object document_; + /** + * + * + *
+   * The name of the document to transform.
+   * 
+ * + * string document = 1; + */ + public java.lang.String getDocument() { + java.lang.Object ref = document_; + 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(); + document_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the document to transform.
+   * 
+ * + * string document = 1; + */ + public com.google.protobuf.ByteString getDocumentBytes() { + java.lang.Object ref = document_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + document_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIELD_TRANSFORMS_FIELD_NUMBER = 2; + private java.util.List fieldTransforms_; + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public java.util.List + getFieldTransformsList() { + return fieldTransforms_; + } + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public java.util.List + getFieldTransformsOrBuilderList() { + return fieldTransforms_; + } + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public int getFieldTransformsCount() { + return fieldTransforms_.size(); + } + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index) { + return fieldTransforms_.get(index); + } + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getFieldTransformsOrBuilder(int index) { + return fieldTransforms_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getDocumentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_); + } + for (int i = 0; i < fieldTransforms_.size(); i++) { + output.writeMessage(2, fieldTransforms_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDocumentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, document_); + } + for (int i = 0; i < fieldTransforms_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fieldTransforms_.get(i)); + } + size += unknownFields.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.firestore.v1.DocumentTransform)) { + return super.equals(obj); + } + com.google.firestore.v1.DocumentTransform other = + (com.google.firestore.v1.DocumentTransform) obj; + + boolean result = true; + result = result && getDocument().equals(other.getDocument()); + result = result && getFieldTransformsList().equals(other.getFieldTransformsList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getDocument().hashCode(); + if (getFieldTransformsCount() > 0) { + hash = (37 * hash) + FIELD_TRANSFORMS_FIELD_NUMBER; + hash = (53 * hash) + getFieldTransformsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.DocumentTransform parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentTransform parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentTransform parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentTransform 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.firestore.v1.DocumentTransform parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.DocumentTransform parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.DocumentTransform parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentTransform 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.firestore.v1.DocumentTransform parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentTransform 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.firestore.v1.DocumentTransform parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.DocumentTransform 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.firestore.v1.DocumentTransform prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A transformation of a document.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.DocumentTransform} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentTransform) + com.google.firestore.v1.DocumentTransformOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.DocumentTransform.class, + com.google.firestore.v1.DocumentTransform.Builder.class); + } + + // Construct using com.google.firestore.v1.DocumentTransform.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFieldTransformsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + document_ = ""; + + if (fieldTransformsBuilder_ == null) { + fieldTransforms_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + fieldTransformsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentTransform getDefaultInstanceForType() { + return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.DocumentTransform build() { + com.google.firestore.v1.DocumentTransform result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.DocumentTransform buildPartial() { + com.google.firestore.v1.DocumentTransform result = + new com.google.firestore.v1.DocumentTransform(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.document_ = document_; + if (fieldTransformsBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + fieldTransforms_ = java.util.Collections.unmodifiableList(fieldTransforms_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.fieldTransforms_ = fieldTransforms_; + } else { + result.fieldTransforms_ = fieldTransformsBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.DocumentTransform) { + return mergeFrom((com.google.firestore.v1.DocumentTransform) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.DocumentTransform other) { + if (other == com.google.firestore.v1.DocumentTransform.getDefaultInstance()) return this; + if (!other.getDocument().isEmpty()) { + document_ = other.document_; + onChanged(); + } + if (fieldTransformsBuilder_ == null) { + if (!other.fieldTransforms_.isEmpty()) { + if (fieldTransforms_.isEmpty()) { + fieldTransforms_ = other.fieldTransforms_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureFieldTransformsIsMutable(); + fieldTransforms_.addAll(other.fieldTransforms_); + } + onChanged(); + } + } else { + if (!other.fieldTransforms_.isEmpty()) { + if (fieldTransformsBuilder_.isEmpty()) { + fieldTransformsBuilder_.dispose(); + fieldTransformsBuilder_ = null; + fieldTransforms_ = other.fieldTransforms_; + bitField0_ = (bitField0_ & ~0x00000002); + fieldTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldTransformsFieldBuilder() + : null; + } else { + fieldTransformsBuilder_.addAllMessages(other.fieldTransforms_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.DocumentTransform parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.DocumentTransform) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object document_ = ""; + /** + * + * + *
+     * The name of the document to transform.
+     * 
+ * + * string document = 1; + */ + public java.lang.String getDocument() { + java.lang.Object ref = document_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + document_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the document to transform.
+     * 
+ * + * string document = 1; + */ + public com.google.protobuf.ByteString getDocumentBytes() { + java.lang.Object ref = document_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + document_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the document to transform.
+     * 
+ * + * string document = 1; + */ + public Builder setDocument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + document_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the document to transform.
+     * 
+ * + * string document = 1; + */ + public Builder clearDocument() { + + document_ = getDefaultInstance().getDocument(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the document to transform.
+     * 
+ * + * string document = 1; + */ + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + document_ = value; + onChanged(); + return this; + } + + private java.util.List + fieldTransforms_ = java.util.Collections.emptyList(); + + private void ensureFieldTransformsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + fieldTransforms_ = + new java.util.ArrayList( + fieldTransforms_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + fieldTransformsBuilder_; + + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public java.util.List + getFieldTransformsList() { + if (fieldTransformsBuilder_ == null) { + return java.util.Collections.unmodifiableList(fieldTransforms_); + } else { + return fieldTransformsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public int getFieldTransformsCount() { + if (fieldTransformsBuilder_ == null) { + return fieldTransforms_.size(); + } else { + return fieldTransformsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index) { + if (fieldTransformsBuilder_ == null) { + return fieldTransforms_.get(index); + } else { + return fieldTransformsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder setFieldTransforms( + int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { + if (fieldTransformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldTransformsIsMutable(); + fieldTransforms_.set(index, value); + onChanged(); + } else { + fieldTransformsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder setFieldTransforms( + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + if (fieldTransformsBuilder_ == null) { + ensureFieldTransformsIsMutable(); + fieldTransforms_.set(index, builderForValue.build()); + onChanged(); + } else { + fieldTransformsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder addFieldTransforms( + com.google.firestore.v1.DocumentTransform.FieldTransform value) { + if (fieldTransformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldTransformsIsMutable(); + fieldTransforms_.add(value); + onChanged(); + } else { + fieldTransformsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder addFieldTransforms( + int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { + if (fieldTransformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldTransformsIsMutable(); + fieldTransforms_.add(index, value); + onChanged(); + } else { + fieldTransformsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder addFieldTransforms( + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + if (fieldTransformsBuilder_ == null) { + ensureFieldTransformsIsMutable(); + fieldTransforms_.add(builderForValue.build()); + onChanged(); + } else { + fieldTransformsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder addFieldTransforms( + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + if (fieldTransformsBuilder_ == null) { + ensureFieldTransformsIsMutable(); + fieldTransforms_.add(index, builderForValue.build()); + onChanged(); + } else { + fieldTransformsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder addAllFieldTransforms( + java.lang.Iterable + values) { + if (fieldTransformsBuilder_ == null) { + ensureFieldTransformsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransforms_); + onChanged(); + } else { + fieldTransformsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder clearFieldTransforms() { + if (fieldTransformsBuilder_ == null) { + fieldTransforms_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + fieldTransformsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public Builder removeFieldTransforms(int index) { + if (fieldTransformsBuilder_ == null) { + ensureFieldTransformsIsMutable(); + fieldTransforms_.remove(index); + onChanged(); + } else { + fieldTransformsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + getFieldTransformsBuilder(int index) { + return getFieldTransformsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getFieldTransformsOrBuilder(int index) { + if (fieldTransformsBuilder_ == null) { + return fieldTransforms_.get(index); + } else { + return fieldTransformsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public java.util.List< + ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + getFieldTransformsOrBuilderList() { + if (fieldTransformsBuilder_ != null) { + return fieldTransformsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(fieldTransforms_); + } + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addFieldTransformsBuilder() { + return getFieldTransformsFieldBuilder() + .addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addFieldTransformsBuilder(int index) { + return getFieldTransformsFieldBuilder() + .addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + } + /** + * + * + *
+     * The list of transformations to apply to the fields of the document, in
+     * order.
+     * This must not be empty.
+     * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + public java.util.List + getFieldTransformsBuilderList() { + return getFieldTransformsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + getFieldTransformsFieldBuilder() { + if (fieldTransformsBuilder_ == null) { + fieldTransformsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( + fieldTransforms_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + fieldTransforms_ = null; + } + return fieldTransformsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform) + private static final com.google.firestore.v1.DocumentTransform DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform(); + } + + public static com.google.firestore.v1.DocumentTransform getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentTransform parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentTransform(input, extensionRegistry); + } + }; + + 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.firestore.v1.DocumentTransform getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java new file mode 100644 index 000000000000..6562d9e7621b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java @@ -0,0 +1,99 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public interface DocumentTransformOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the document to transform.
+   * 
+ * + * string document = 1; + */ + java.lang.String getDocument(); + /** + * + * + *
+   * The name of the document to transform.
+   * 
+ * + * string document = 1; + */ + com.google.protobuf.ByteString getDocumentBytes(); + + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + java.util.List getFieldTransformsList(); + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index); + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + int getFieldTransformsCount(); + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + java.util.List + getFieldTransformsOrBuilderList(); + /** + * + * + *
+   * The list of transformations to apply to the fields of the document, in
+   * order.
+   * This must not be empty.
+   * 
+ * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * + */ + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( + int index); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java new file mode 100644 index 000000000000..b0e253af275d --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java @@ -0,0 +1,603 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A digest of all the documents that match a given target.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ExistenceFilter} + */ +public final class ExistenceFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ExistenceFilter) + ExistenceFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExistenceFilter.newBuilder() to construct. + private ExistenceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExistenceFilter() { + targetId_ = 0; + count_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ExistenceFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + targetId_ = input.readInt32(); + break; + } + case 16: + { + count_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ExistenceFilter.class, + com.google.firestore.v1.ExistenceFilter.Builder.class); + } + + public static final int TARGET_ID_FIELD_NUMBER = 1; + private int targetId_; + /** + * + * + *
+   * The target ID to which this filter applies.
+   * 
+ * + * int32 target_id = 1; + */ + public int getTargetId() { + return targetId_; + } + + public static final int COUNT_FIELD_NUMBER = 2; + private int count_; + /** + * + * + *
+   * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
+   * If different from the count of documents in the client that match, the
+   * client must manually determine which documents no longer match the target.
+   * 
+ * + * int32 count = 2; + */ + public int getCount() { + return count_; + } + + 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 (targetId_ != 0) { + output.writeInt32(1, targetId_); + } + if (count_ != 0) { + output.writeInt32(2, count_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (targetId_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, targetId_); + } + if (count_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, count_); + } + size += unknownFields.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.firestore.v1.ExistenceFilter)) { + return super.equals(obj); + } + com.google.firestore.v1.ExistenceFilter other = (com.google.firestore.v1.ExistenceFilter) obj; + + boolean result = true; + result = result && (getTargetId() == other.getTargetId()); + result = result && (getCount() == other.getCount()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; + hash = (53 * hash) + getTargetId(); + hash = (37 * hash) + COUNT_FIELD_NUMBER; + hash = (53 * hash) + getCount(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ExistenceFilter parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ExistenceFilter parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ExistenceFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ExistenceFilter 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.firestore.v1.ExistenceFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ExistenceFilter parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ExistenceFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ExistenceFilter 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.firestore.v1.ExistenceFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ExistenceFilter 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.firestore.v1.ExistenceFilter parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ExistenceFilter 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.firestore.v1.ExistenceFilter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A digest of all the documents that match a given target.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ExistenceFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ExistenceFilter) + com.google.firestore.v1.ExistenceFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ExistenceFilter.class, + com.google.firestore.v1.ExistenceFilter.Builder.class); + } + + // Construct using com.google.firestore.v1.ExistenceFilter.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + targetId_ = 0; + + count_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ExistenceFilter getDefaultInstanceForType() { + return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ExistenceFilter build() { + com.google.firestore.v1.ExistenceFilter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ExistenceFilter buildPartial() { + com.google.firestore.v1.ExistenceFilter result = + new com.google.firestore.v1.ExistenceFilter(this); + result.targetId_ = targetId_; + result.count_ = count_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ExistenceFilter) { + return mergeFrom((com.google.firestore.v1.ExistenceFilter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ExistenceFilter other) { + if (other == com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) return this; + if (other.getTargetId() != 0) { + setTargetId(other.getTargetId()); + } + if (other.getCount() != 0) { + setCount(other.getCount()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ExistenceFilter parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.ExistenceFilter) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int targetId_; + /** + * + * + *
+     * The target ID to which this filter applies.
+     * 
+ * + * int32 target_id = 1; + */ + public int getTargetId() { + return targetId_; + } + /** + * + * + *
+     * The target ID to which this filter applies.
+     * 
+ * + * int32 target_id = 1; + */ + public Builder setTargetId(int value) { + + targetId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The target ID to which this filter applies.
+     * 
+ * + * int32 target_id = 1; + */ + public Builder clearTargetId() { + + targetId_ = 0; + onChanged(); + return this; + } + + private int count_; + /** + * + * + *
+     * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
+     * If different from the count of documents in the client that match, the
+     * client must manually determine which documents no longer match the target.
+     * 
+ * + * int32 count = 2; + */ + public int getCount() { + return count_; + } + /** + * + * + *
+     * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
+     * If different from the count of documents in the client that match, the
+     * client must manually determine which documents no longer match the target.
+     * 
+ * + * int32 count = 2; + */ + public Builder setCount(int value) { + + count_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
+     * If different from the count of documents in the client that match, the
+     * client must manually determine which documents no longer match the target.
+     * 
+ * + * int32 count = 2; + */ + public Builder clearCount() { + + count_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ExistenceFilter) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ExistenceFilter) + private static final com.google.firestore.v1.ExistenceFilter DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ExistenceFilter(); + } + + public static com.google.firestore.v1.ExistenceFilter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExistenceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExistenceFilter(input, extensionRegistry); + } + }; + + 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.firestore.v1.ExistenceFilter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java new file mode 100644 index 000000000000..044aec9816a7 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public interface ExistenceFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ExistenceFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The target ID to which this filter applies.
+   * 
+ * + * int32 target_id = 1; + */ + int getTargetId(); + + /** + * + * + *
+   * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
+   * If different from the count of documents in the client that match, the
+   * client must manually determine which documents no longer match the target.
+   * 
+ * + * int32 count = 2; + */ + int getCount(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java new file mode 100644 index 000000000000..5d3bede23a76 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java @@ -0,0 +1,597 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public final class FirestoreProto { + private FirestoreProto() {} + + 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_firestore_v1_GetDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RollbackRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TargetChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TargetChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsResponse_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/firestore/v1/firestore.proto\022\023g" + + "oogle.firestore.v1\032\034google/api/annotatio" + + "ns.proto\032 google/firestore/v1/common.pro" + + "to\032\"google/firestore/v1/document.proto\032\037" + + "google/firestore/v1/query.proto\032\037google/" + + "firestore/v1/write.proto\032\033google/protobu" + + "f/empty.proto\032\037google/protobuf/timestamp" + + ".proto\032\027google/rpc/status.proto\"\263\001\n\022GetD" + + "ocumentRequest\022\014\n\004name\030\001 \001(\t\022/\n\004mask\030\002 \001" + + "(\0132!.google.firestore.v1.DocumentMask\022\025\n" + + "\013transaction\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132" + + "\032.google.protobuf.TimestampH\000B\026\n\024consist" + + "ency_selector\"\235\002\n\024ListDocumentsRequest\022\016" + + "\n\006parent\030\001 \001(\t\022\025\n\rcollection_id\030\002 \001(\t\022\021\n" + + "\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010" + + "order_by\030\006 \001(\t\022/\n\004mask\030\007 \001(\0132!.google.fi" + + "restore.v1.DocumentMask\022\025\n\013transaction\030\010" + + " \001(\014H\000\022/\n\tread_time\030\n \001(\0132\032.google.proto" + + "buf.TimestampH\000\022\024\n\014show_missing\030\014 \001(\010B\026\n" + + "\024consistency_selector\"b\n\025ListDocumentsRe" + + "sponse\0220\n\tdocuments\030\001 \003(\0132\035.google.fires" + + "tore.v1.Document\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\265\001\n\025CreateDocumentRequest\022\016\n\006parent\030\001 " + + "\001(\t\022\025\n\rcollection_id\030\002 \001(\t\022\023\n\013document_i" + + "d\030\003 \001(\t\022/\n\010document\030\004 \001(\0132\035.google.fires" + + "tore.v1.Document\022/\n\004mask\030\005 \001(\0132!.google." + + "firestore.v1.DocumentMask\"\356\001\n\025UpdateDocu" + + "mentRequest\022/\n\010document\030\001 \001(\0132\035.google.f" + + "irestore.v1.Document\0226\n\013update_mask\030\002 \001(" + + "\0132!.google.firestore.v1.DocumentMask\022/\n\004" + + "mask\030\003 \001(\0132!.google.firestore.v1.Documen" + + "tMask\022;\n\020current_document\030\004 \001(\0132!.google" + + ".firestore.v1.Precondition\"b\n\025DeleteDocu" + + "mentRequest\022\014\n\004name\030\001 \001(\t\022;\n\020current_doc" + + "ument\030\002 \001(\0132!.google.firestore.v1.Precon" + + "dition\"\224\002\n\030BatchGetDocumentsRequest\022\020\n\010d" + + "atabase\030\001 \001(\t\022\021\n\tdocuments\030\002 \003(\t\022/\n\004mask" + + "\030\003 \001(\0132!.google.firestore.v1.DocumentMas" + + "k\022\025\n\013transaction\030\004 \001(\014H\000\022B\n\017new_transact" + + "ion\030\005 \001(\0132\'.google.firestore.v1.Transact" + + "ionOptionsH\000\022/\n\tread_time\030\007 \001(\0132\032.google" + + ".protobuf.TimestampH\000B\026\n\024consistency_sel" + + "ector\"\254\001\n\031BatchGetDocumentsResponse\022.\n\005f" + + "ound\030\001 \001(\0132\035.google.firestore.v1.Documen" + + "tH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013transaction\030\003 " + + "\001(\014\022-\n\tread_time\030\004 \001(\0132\032.google.protobuf" + + ".TimestampB\010\n\006result\"e\n\027BeginTransaction" + + "Request\022\020\n\010database\030\001 \001(\t\0228\n\007options\030\002 \001" + + "(\0132\'.google.firestore.v1.TransactionOpti" + + "ons\"/\n\030BeginTransactionResponse\022\023\n\013trans" + + "action\030\001 \001(\014\"b\n\rCommitRequest\022\020\n\010databas" + + "e\030\001 \001(\t\022*\n\006writes\030\002 \003(\0132\032.google.firesto" + + "re.v1.Write\022\023\n\013transaction\030\003 \001(\014\"z\n\016Comm" + + "itResponse\0227\n\rwrite_results\030\001 \003(\0132 .goog" + + "le.firestore.v1.WriteResult\022/\n\013commit_ti" + + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"8\n\017" + + "RollbackRequest\022\020\n\010database\030\001 \001(\t\022\023\n\013tra" + + "nsaction\030\002 \001(\014\"\225\002\n\017RunQueryRequest\022\016\n\006pa" + + "rent\030\001 \001(\t\022@\n\020structured_query\030\002 \001(\0132$.g" + + "oogle.firestore.v1.StructuredQueryH\000\022\025\n\013" + + "transaction\030\005 \001(\014H\001\022B\n\017new_transaction\030\006" + + " \001(\0132\'.google.firestore.v1.TransactionOp" + + "tionsH\001\022/\n\tread_time\030\007 \001(\0132\032.google.prot" + + "obuf.TimestampH\001B\014\n\nquery_typeB\026\n\024consis" + + "tency_selector\"\240\001\n\020RunQueryResponse\022\023\n\013t" + + "ransaction\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035.goo" + + "gle.firestore.v1.Document\022-\n\tread_time\030\003" + + " \001(\0132\032.google.protobuf.Timestamp\022\027\n\017skip" + + "ped_results\030\004 \001(\005\"\343\001\n\014WriteRequest\022\020\n\010da" + + "tabase\030\001 \001(\t\022\021\n\tstream_id\030\002 \001(\t\022*\n\006write" + + "s\030\003 \003(\0132\032.google.firestore.v1.Write\022\024\n\014s" + + "tream_token\030\004 \001(\014\022=\n\006labels\030\005 \003(\0132-.goog" + + "le.firestore.v1.WriteRequest.LabelsEntry" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"\242\001\n\rWriteResponse\022\021\n\tstream_id\030\001" + + " \001(\t\022\024\n\014stream_token\030\002 \001(\014\0227\n\rwrite_resu" + + "lts\030\003 \003(\0132 .google.firestore.v1.WriteRes" + + "ult\022/\n\013commit_time\030\004 \001(\0132\032.google.protob" + + "uf.Timestamp\"\355\001\n\rListenRequest\022\020\n\010databa" + + "se\030\001 \001(\t\0221\n\nadd_target\030\002 \001(\0132\033.google.fi" + + "restore.v1.TargetH\000\022\027\n\rremove_target\030\003 \001" + + "(\005H\000\022>\n\006labels\030\004 \003(\0132..google.firestore." + + "v1.ListenRequest.LabelsEntry\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\rt" + + "arget_change\"\325\002\n\016ListenResponse\022:\n\rtarge" + + "t_change\030\002 \001(\0132!.google.firestore.v1.Tar" + + "getChangeH\000\022>\n\017document_change\030\003 \001(\0132#.g" + + "oogle.firestore.v1.DocumentChangeH\000\022>\n\017d" + + "ocument_delete\030\004 \001(\0132#.google.firestore." + + "v1.DocumentDeleteH\000\022>\n\017document_remove\030\006" + + " \001(\0132#.google.firestore.v1.DocumentRemov" + + "eH\000\0226\n\006filter\030\005 \001(\0132$.google.firestore.v" + + "1.ExistenceFilterH\000B\017\n\rresponse_type\"\241\003\n" + + "\006Target\0228\n\005query\030\002 \001(\0132\'.google.firestor" + + "e.v1.Target.QueryTargetH\000\022@\n\tdocuments\030\003" + + " \001(\0132+.google.firestore.v1.Target.Docume" + + "ntsTargetH\000\022\026\n\014resume_token\030\004 \001(\014H\001\022/\n\tr" + + "ead_time\030\013 \001(\0132\032.google.protobuf.Timesta" + + "mpH\001\022\021\n\ttarget_id\030\005 \001(\005\022\014\n\004once\030\006 \001(\010\032$\n" + + "\017DocumentsTarget\022\021\n\tdocuments\030\002 \003(\t\032m\n\013Q" + + "ueryTarget\022\016\n\006parent\030\001 \001(\t\022@\n\020structured" + + "_query\030\002 \001(\0132$.google.firestore.v1.Struc" + + "turedQueryH\000B\014\n\nquery_typeB\r\n\013target_typ" + + "eB\r\n\013resume_type\"\252\002\n\014TargetChange\022N\n\022tar" + + "get_change_type\030\001 \001(\01622.google.firestore" + + ".v1.TargetChange.TargetChangeType\022\022\n\ntar" + + "get_ids\030\002 \003(\005\022!\n\005cause\030\003 \001(\0132\022.google.rp" + + "c.Status\022\024\n\014resume_token\030\004 \001(\014\022-\n\tread_t" + + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\"N\n" + + "\020TargetChangeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020" + + "\001\022\n\n\006REMOVE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020\004\"Q\n" + + "\030ListCollectionIdsRequest\022\016\n\006parent\030\001 \001(" + + "\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" + + "\"L\n\031ListCollectionIdsResponse\022\026\n\016collect" + + "ion_ids\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(\t2\204" + + "\022\n\tFirestore\022\217\001\n\013GetDocument\022\'.google.fi" + + "restore.v1.GetDocumentRequest\032\035.google.f" + + "irestore.v1.Document\"8\202\323\344\223\0022\0220/v1/{name=" + + "projects/*/databases/*/documents/*/**}\022\262" + + "\001\n\rListDocuments\022).google.firestore.v1.L" + + "istDocumentsRequest\032*.google.firestore.v" + + "1.ListDocumentsResponse\"J\202\323\344\223\002D\022B/v1/{pa" + + "rent=projects/*/databases/*/documents/*/" + + "**}/{collection_id}\022\257\001\n\016CreateDocument\022*" + + ".google.firestore.v1.CreateDocumentReque" + + "st\032\035.google.firestore.v1.Document\"R\202\323\344\223\002" + + "L\"@/v1/{parent=projects/*/databases/*/do" + + "cuments/**}/{collection_id}:\010document\022\250\001" + + "\n\016UpdateDocument\022*.google.firestore.v1.U" + + "pdateDocumentRequest\032\035.google.firestore." + + "v1.Document\"K\202\323\344\223\002E29/v1/{document.name=" + + "projects/*/databases/*/documents/*/**}:\010" + + "document\022\216\001\n\016DeleteDocument\022*.google.fir" + + "estore.v1.DeleteDocumentRequest\032\026.google" + + ".protobuf.Empty\"8\202\323\344\223\0022*0/v1/{name=proje" + + "cts/*/databases/*/documents/*/**}\022\271\001\n\021Ba" + + "tchGetDocuments\022-.google.firestore.v1.Ba" + + "tchGetDocumentsRequest\032..google.firestor" + + "e.v1.BatchGetDocumentsResponse\"C\202\323\344\223\002=\"8" + + "/v1/{database=projects/*/databases/*}/do" + + "cuments:batchGet:\001*0\001\022\274\001\n\020BeginTransacti" + + "on\022,.google.firestore.v1.BeginTransactio" + + "nRequest\032-.google.firestore.v1.BeginTran" + + "sactionResponse\"K\202\323\344\223\002E\"@/v1/{database=p" + + "rojects/*/databases/*}/documents:beginTr" + + "ansaction:\001*\022\224\001\n\006Commit\022\".google.firesto" + + "re.v1.CommitRequest\032#.google.firestore.v" + + "1.CommitResponse\"A\202\323\344\223\002;\"6/v1/{database=" + + "projects/*/databases/*}/documents:commit" + + ":\001*\022\215\001\n\010Rollback\022$.google.firestore.v1.R" + + "ollbackRequest\032\026.google.protobuf.Empty\"C" + + "\202\323\344\223\002=\"8/v1/{database=projects/*/databas" + + "es/*}/documents:rollback:\001*\022\337\001\n\010RunQuery" + + "\022$.google.firestore.v1.RunQueryRequest\032%" + + ".google.firestore.v1.RunQueryResponse\"\203\001" + + "\202\323\344\223\002}\"6/v1/{parent=projects/*/databases" + + "/*/documents}:runQuery:\001*Z@\";/v1/{parent" + + "=projects/*/databases/*/documents/*/**}:" + + "runQuery:\001*0\001\022\224\001\n\005Write\022!.google.firesto" + + "re.v1.WriteRequest\032\".google.firestore.v1" + + ".WriteResponse\"@\202\323\344\223\002:\"5/v1/{database=pr" + + "ojects/*/databases/*}/documents:write:\001*" + + "(\0010\001\022\230\001\n\006Listen\022\".google.firestore.v1.Li" + + "stenRequest\032#.google.firestore.v1.Listen" + + "Response\"A\202\323\344\223\002;\"6/v1/{database=projects" + + "/*/databases/*}/documents:listen:\001*(\0010\001\022" + + "\213\002\n\021ListCollectionIds\022-.google.firestore" + + ".v1.ListCollectionIdsRequest\032..google.fi" + + "restore.v1.ListCollectionIdsResponse\"\226\001\202" + + "\323\344\223\002\217\001\"?/v1/{parent=projects/*/databases" + + "/*/documents}:listCollectionIds:\001*ZI\"D/v" + + "1/{parent=projects/*/databases/*/documen" + + "ts/*/**}:listCollectionIds:\001*B\250\001\n\027com.go" + + "ogle.firestore.v1B\016FirestoreProtoP\001Z + * The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. + *
+ * + * Protobuf type {@code google.firestore.v1.GetDocumentRequest} + */ +public final class GetDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.GetDocumentRequest) + GetDocumentRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetDocumentRequest.newBuilder() to construct. + private GetDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetDocumentRequest() { + name_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetDocumentRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + name_ = s; + break; + } + case 18: + { + com.google.firestore.v1.DocumentMask.Builder subBuilder = null; + if (mask_ != null) { + subBuilder = mask_.toBuilder(); + } + mask_ = + input.readMessage( + com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mask_); + mask_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + consistencySelectorCase_ = 3; + consistencySelector_ = input.readBytes(); + break; + } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (consistencySelectorCase_ == 5) { + subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); + } + consistencySelector_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); + consistencySelector_ = subBuilder.buildPartial(); + } + consistencySelectorCase_ = 5; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.GetDocumentRequest.class, + com.google.firestore.v1.GetDocumentRequest.Builder.class); + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public enum ConsistencySelectorCase implements com.google.protobuf.Internal.EnumLite { + TRANSACTION(3), + READ_TIME(5), + CONSISTENCYSELECTOR_NOT_SET(0); + private final int value; + + private ConsistencySelectorCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ConsistencySelectorCase valueOf(int value) { + return forNumber(value); + } + + public static ConsistencySelectorCase forNumber(int value) { + switch (value) { + case 3: + return TRANSACTION; + case 5: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The resource name of the Document to get. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+   * The resource name of the Document to get. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + 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 MASK_FIELD_NUMBER = 2; + private com.google.firestore.v1.DocumentMask mask_; + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public boolean hasMask() { + return mask_ != null; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public com.google.firestore.v1.DocumentMask getMask() { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + return getMask(); + } + + public static final int TRANSACTION_FIELD_NUMBER = 3; + /** + * + * + *
+   * Reads the document in a transaction.
+   * 
+ * + * bytes transaction = 3; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 3) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int READ_TIME_FIELD_NUMBER = 5; + /** + * + * + *
+   * Reads the version of the document at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 5; + } + /** + * + * + *
+   * Reads the version of the document at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (consistencySelectorCase_ == 5) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+   * Reads the version of the document at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (consistencySelectorCase_ == 5) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.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 (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (mask_ != null) { + output.writeMessage(2, getMask()); + } + if (consistencySelectorCase_ == 3) { + output.writeBytes(3, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 5) { + output.writeMessage(5, (com.google.protobuf.Timestamp) consistencySelector_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (mask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMask()); + } + if (consistencySelectorCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 3, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.protobuf.Timestamp) consistencySelector_); + } + size += unknownFields.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.firestore.v1.GetDocumentRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.GetDocumentRequest other = + (com.google.firestore.v1.GetDocumentRequest) obj; + + boolean result = true; + result = result && getName().equals(other.getName()); + result = result && (hasMask() == other.hasMask()); + if (hasMask()) { + result = result && getMask().equals(other.getMask()); + } + result = result && getConsistencySelectorCase().equals(other.getConsistencySelectorCase()); + if (!result) return false; + switch (consistencySelectorCase_) { + case 3: + result = result && getTransaction().equals(other.getTransaction()); + break; + case 5: + result = result && getReadTime().equals(other.getReadTime()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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 (hasMask()) { + hash = (37 * hash) + MASK_FIELD_NUMBER; + hash = (53 * hash) + getMask().hashCode(); + } + switch (consistencySelectorCase_) { + case 3: + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + break; + case 5: + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.GetDocumentRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.GetDocumentRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.GetDocumentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.GetDocumentRequest 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.firestore.v1.GetDocumentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.GetDocumentRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.GetDocumentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.GetDocumentRequest 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.firestore.v1.GetDocumentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.GetDocumentRequest 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.firestore.v1.GetDocumentRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.GetDocumentRequest 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.firestore.v1.GetDocumentRequest 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 request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.GetDocumentRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.GetDocumentRequest) + com.google.firestore.v1.GetDocumentRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.GetDocumentRequest.class, + com.google.firestore.v1.GetDocumentRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.GetDocumentRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + if (maskBuilder_ == null) { + mask_ = null; + } else { + mask_ = null; + maskBuilder_ = null; + } + consistencySelectorCase_ = 0; + consistencySelector_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.GetDocumentRequest getDefaultInstanceForType() { + return com.google.firestore.v1.GetDocumentRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.GetDocumentRequest build() { + com.google.firestore.v1.GetDocumentRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.GetDocumentRequest buildPartial() { + com.google.firestore.v1.GetDocumentRequest result = + new com.google.firestore.v1.GetDocumentRequest(this); + result.name_ = name_; + if (maskBuilder_ == null) { + result.mask_ = mask_; + } else { + result.mask_ = maskBuilder_.build(); + } + if (consistencySelectorCase_ == 3) { + result.consistencySelector_ = consistencySelector_; + } + if (consistencySelectorCase_ == 5) { + if (readTimeBuilder_ == null) { + result.consistencySelector_ = consistencySelector_; + } else { + result.consistencySelector_ = readTimeBuilder_.build(); + } + } + result.consistencySelectorCase_ = consistencySelectorCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.GetDocumentRequest) { + return mergeFrom((com.google.firestore.v1.GetDocumentRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.GetDocumentRequest other) { + if (other == com.google.firestore.v1.GetDocumentRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.hasMask()) { + mergeMask(other.getMask()); + } + switch (other.getConsistencySelectorCase()) { + case TRANSACTION: + { + setTransaction(other.getTransaction()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.GetDocumentRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.GetDocumentRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public Builder clearConsistencySelector() { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The resource name of the Document to get. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+     * The resource name of the Document to get. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + 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; + } + } + /** + * + * + *
+     * The resource name of the Document to get. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the Document to get. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource name of the Document to get. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string name = 1; + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private com.google.firestore.v1.DocumentMask mask_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public boolean hasMask() { + return maskBuilder_ != null || mask_ != null; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public com.google.firestore.v1.DocumentMask getMask() { + if (maskBuilder_ == null) { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } else { + return maskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mask_ = value; + onChanged(); + } else { + maskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + if (maskBuilder_ == null) { + mask_ = builderForValue.build(); + onChanged(); + } else { + maskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (mask_ != null) { + mask_ = + com.google.firestore.v1.DocumentMask.newBuilder(mask_) + .mergeFrom(value) + .buildPartial(); + } else { + mask_ = value; + } + onChanged(); + } else { + maskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public Builder clearMask() { + if (maskBuilder_ == null) { + mask_ = null; + onChanged(); + } else { + mask_ = null; + maskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { + + onChanged(); + return getMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + if (maskBuilder_ != null) { + return maskBuilder_.getMessageOrBuilder(); + } else { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + getMaskFieldBuilder() { + if (maskBuilder_ == null) { + maskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getMask(), getParentForChildren(), isClean()); + mask_ = null; + } + return maskBuilder_; + } + + /** + * + * + *
+     * Reads the document in a transaction.
+     * 
+ * + * bytes transaction = 3; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 3) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Reads the document in a transaction.
+     * 
+ * + * bytes transaction = 3; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelectorCase_ = 3; + consistencySelector_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Reads the document in a transaction.
+     * 
+ * + * bytes transaction = 3; + */ + public Builder clearTransaction() { + if (consistencySelectorCase_ == 3) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 5; + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 5) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (consistencySelectorCase_ == 5) { + return readTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelector_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 5; + return this; + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + consistencySelector_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + consistencySelectorCase_ = 5; + return this; + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 5 + && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + consistencySelector_ = + com.google.protobuf.Timestamp.newBuilder( + (com.google.protobuf.Timestamp) consistencySelector_) + .mergeFrom(value) + .buildPartial(); + } else { + consistencySelector_ = value; + } + onChanged(); + } else { + if (consistencySelectorCase_ == 5) { + readTimeBuilder_.mergeFrom(value); + } + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 5; + return this; + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 5) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + } else { + if (consistencySelectorCase_ == 5) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + } + readTimeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if ((consistencySelectorCase_ == 5) && (readTimeBuilder_ != null)) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + if (consistencySelectorCase_ == 5) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads the version of the document at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + if (!(consistencySelectorCase_ == 5)) { + consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) consistencySelector_, + getParentForChildren(), + isClean()); + consistencySelector_ = null; + } + consistencySelectorCase_ = 5; + onChanged(); + ; + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.GetDocumentRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.GetDocumentRequest) + private static final com.google.firestore.v1.GetDocumentRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.GetDocumentRequest(); + } + + public static com.google.firestore.v1.GetDocumentRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDocumentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDocumentRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.GetDocumentRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java new file mode 100644 index 000000000000..5aec4869cedf --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java @@ -0,0 +1,118 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface GetDocumentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.GetDocumentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name of the Document to get. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + java.lang.String getName(); + /** + * + * + *
+   * The resource name of the Document to get. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string name = 1; + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + boolean hasMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + com.google.firestore.v1.DocumentMask getMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 2; + */ + com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder(); + + /** + * + * + *
+   * Reads the document in a transaction.
+   * 
+ * + * bytes transaction = 3; + */ + com.google.protobuf.ByteString getTransaction(); + + /** + * + * + *
+   * Reads the version of the document at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + boolean hasReadTime(); + /** + * + * + *
+   * Reads the version of the document at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * Reads the version of the document at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 5; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase + getConsistencySelectorCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java new file mode 100644 index 000000000000..45304820307f --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java @@ -0,0 +1,867 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest} + */ +public final class ListCollectionIdsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsRequest) + ListCollectionIdsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListCollectionIdsRequest.newBuilder() to construct. + private ListCollectionIdsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListCollectionIdsRequest() { + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListCollectionIdsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListCollectionIdsRequest.class, + com.google.firestore.v1.ListCollectionIdsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * The parent document. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+   * The parent document. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + 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_; + /** + * + * + *
+   * The maximum number of results to return.
+   * 
+ * + * int32 page_size = 2; + */ + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + * + * + *
+   * A page token. Must be a value from
+   * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+   * 
+ * + * string page_token = 3; + */ + 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; + } + } + /** + * + * + *
+   * A page token. Must be a value from
+   * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+   * 
+ * + * string page_token = 3; + */ + 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 (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.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.firestore.v1.ListCollectionIdsRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.ListCollectionIdsRequest other = + (com.google.firestore.v1.ListCollectionIdsRequest) obj; + + boolean result = true; + result = result && getParent().equals(other.getParent()); + result = result && (getPageSize() == other.getPageSize()); + result = result && getPageToken().equals(other.getPageToken()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest 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.firestore.v1.ListCollectionIdsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest 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.firestore.v1.ListCollectionIdsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest 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.firestore.v1.ListCollectionIdsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest 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.firestore.v1.ListCollectionIdsRequest 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 request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListCollectionIdsRequest) + com.google.firestore.v1.ListCollectionIdsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListCollectionIdsRequest.class, + com.google.firestore.v1.ListCollectionIdsRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.ListCollectionIdsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ListCollectionIdsRequest getDefaultInstanceForType() { + return com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ListCollectionIdsRequest build() { + com.google.firestore.v1.ListCollectionIdsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ListCollectionIdsRequest buildPartial() { + com.google.firestore.v1.ListCollectionIdsRequest result = + new com.google.firestore.v1.ListCollectionIdsRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ListCollectionIdsRequest) { + return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsRequest other) { + if (other == com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ListCollectionIdsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.ListCollectionIdsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * The parent document. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent document. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent document. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The parent document. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * The parent document. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * The maximum number of results to return.
+     * 
+ * + * int32 page_size = 2; + */ + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * The maximum number of results to return.
+     * 
+ * + * int32 page_size = 2; + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of results to return.
+     * 
+ * + * int32 page_size = 2; + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * A page token. Must be a value from
+     * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+     * 
+ * + * string page_token = 3; + */ + 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; + } + } + /** + * + * + *
+     * A page token. Must be a value from
+     * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+     * 
+ * + * string page_token = 3; + */ + 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; + } + } + /** + * + * + *
+     * A page token. Must be a value from
+     * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+     * 
+ * + * string page_token = 3; + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A page token. Must be a value from
+     * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+     * 
+ * + * string page_token = 3; + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * A page token. Must be a value from
+     * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+     * 
+ * + * string page_token = 3; + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListCollectionIdsRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ListCollectionIdsRequest) + private static final com.google.firestore.v1.ListCollectionIdsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ListCollectionIdsRequest(); + } + + public static com.google.firestore.v1.ListCollectionIdsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCollectionIdsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCollectionIdsRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.ListCollectionIdsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java new file mode 100644 index 000000000000..4aabf3846c51 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java @@ -0,0 +1,71 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface ListCollectionIdsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The parent document. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + java.lang.String getParent(); + /** + * + * + *
+   * The parent document. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The maximum number of results to return.
+   * 
+ * + * int32 page_size = 2; + */ + int getPageSize(); + + /** + * + * + *
+   * A page token. Must be a value from
+   * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+   * 
+ * + * string page_token = 3; + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * A page token. Must be a value from
+   * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
+   * 
+ * + * string page_token = 3; + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java new file mode 100644 index 000000000000..4d1d95ed771b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java @@ -0,0 +1,846 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse} + */ +public final class ListCollectionIdsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsResponse) + ListCollectionIdsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListCollectionIdsResponse.newBuilder() to construct. + private ListCollectionIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListCollectionIdsResponse() { + collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + nextPageToken_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListCollectionIdsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + collectionIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + collectionIds_.add(s); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + collectionIds_ = collectionIds_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListCollectionIdsResponse.class, + com.google.firestore.v1.ListCollectionIdsResponse.Builder.class); + } + + private int bitField0_; + public static final int COLLECTION_IDS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList collectionIds_; + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + return collectionIds_; + } + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + public int getCollectionIdsCount() { + return collectionIds_.size(); + } + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + public java.lang.String getCollectionIds(int index) { + return collectionIds_.get(index); + } + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + return collectionIds_.getByteString(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
+   * A page token that may be used to continue the list.
+   * 
+ * + * string next_page_token = 2; + */ + 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 page token that may be used to continue the list.
+   * 
+ * + * string next_page_token = 2; + */ + 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 < collectionIds_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, collectionIds_.getRaw(i)); + } + if (!getNextPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.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 < collectionIds_.size(); i++) { + dataSize += computeStringSizeNoTag(collectionIds_.getRaw(i)); + } + size += dataSize; + size += 1 * getCollectionIdsList().size(); + } + if (!getNextPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.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.firestore.v1.ListCollectionIdsResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.ListCollectionIdsResponse other = + (com.google.firestore.v1.ListCollectionIdsResponse) obj; + + boolean result = true; + result = result && getCollectionIdsList().equals(other.getCollectionIdsList()); + result = result && getNextPageToken().equals(other.getNextPageToken()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getCollectionIdsCount() > 0) { + hash = (37 * hash) + COLLECTION_IDS_FIELD_NUMBER; + hash = (53 * hash) + getCollectionIdsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse 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.firestore.v1.ListCollectionIdsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse 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.firestore.v1.ListCollectionIdsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse 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.firestore.v1.ListCollectionIdsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse 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.firestore.v1.ListCollectionIdsResponse 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 response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListCollectionIdsResponse) + com.google.firestore.v1.ListCollectionIdsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListCollectionIdsResponse.class, + com.google.firestore.v1.ListCollectionIdsResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.ListCollectionIdsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ListCollectionIdsResponse getDefaultInstanceForType() { + return com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ListCollectionIdsResponse build() { + com.google.firestore.v1.ListCollectionIdsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ListCollectionIdsResponse buildPartial() { + com.google.firestore.v1.ListCollectionIdsResponse result = + new com.google.firestore.v1.ListCollectionIdsResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + collectionIds_ = collectionIds_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.collectionIds_ = collectionIds_; + result.nextPageToken_ = nextPageToken_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ListCollectionIdsResponse) { + return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsResponse other) { + if (other == com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance()) + return this; + if (!other.collectionIds_.isEmpty()) { + if (collectionIds_.isEmpty()) { + collectionIds_ = other.collectionIds_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureCollectionIdsIsMutable(); + collectionIds_.addAll(other.collectionIds_); + } + onChanged(); + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ListCollectionIdsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.ListCollectionIdsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureCollectionIdsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + return collectionIds_.getUnmodifiableView(); + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public int getCollectionIdsCount() { + return collectionIds_.size(); + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public java.lang.String getCollectionIds(int index) { + return collectionIds_.get(index); + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + return collectionIds_.getByteString(index); + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public Builder setCollectionIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); + collectionIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public Builder addCollectionIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); + collectionIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public Builder addAllCollectionIds(java.lang.Iterable values) { + ensureCollectionIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public Builder clearCollectionIds() { + collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ids.
+     * 
+ * + * repeated string collection_ids = 1; + */ + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureCollectionIdsIsMutable(); + collectionIds_.add(value); + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A page token that may be used to continue the list.
+     * 
+ * + * string next_page_token = 2; + */ + 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 page token that may be used to continue the list.
+     * 
+ * + * string next_page_token = 2; + */ + 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 page token that may be used to continue the list.
+     * 
+ * + * string next_page_token = 2; + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A page token that may be used to continue the list.
+     * 
+ * + * string next_page_token = 2; + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * A page token that may be used to continue the list.
+     * 
+ * + * string next_page_token = 2; + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListCollectionIdsResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ListCollectionIdsResponse) + private static final com.google.firestore.v1.ListCollectionIdsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ListCollectionIdsResponse(); + } + + public static com.google.firestore.v1.ListCollectionIdsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCollectionIdsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCollectionIdsResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.ListCollectionIdsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java new file mode 100644 index 000000000000..c250c4a917d0 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java @@ -0,0 +1,72 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface ListCollectionIdsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + java.util.List getCollectionIdsList(); + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + int getCollectionIdsCount(); + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + java.lang.String getCollectionIds(int index); + /** + * + * + *
+   * The collection ids.
+   * 
+ * + * repeated string collection_ids = 1; + */ + com.google.protobuf.ByteString getCollectionIdsBytes(int index); + + /** + * + * + *
+   * A page token that may be used to continue the list.
+   * 
+ * + * string next_page_token = 2; + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A page token that may be used to continue the list.
+   * 
+ * + * string next_page_token = 2; + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java new file mode 100644 index 000000000000..5df0e959d496 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java @@ -0,0 +1,2055 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ListDocumentsRequest} + */ +public final class ListDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ListDocumentsRequest) + ListDocumentsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListDocumentsRequest.newBuilder() to construct. + private ListDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListDocumentsRequest() { + parent_ = ""; + collectionId_ = ""; + pageSize_ = 0; + pageToken_ = ""; + orderBy_ = ""; + showMissing_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListDocumentsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + collectionId_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + case 58: + { + com.google.firestore.v1.DocumentMask.Builder subBuilder = null; + if (mask_ != null) { + subBuilder = mask_.toBuilder(); + } + mask_ = + input.readMessage( + com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mask_); + mask_ = subBuilder.buildPartial(); + } + + break; + } + case 66: + { + consistencySelectorCase_ = 8; + consistencySelector_ = input.readBytes(); + break; + } + case 82: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (consistencySelectorCase_ == 10) { + subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); + } + consistencySelector_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); + consistencySelector_ = subBuilder.buildPartial(); + } + consistencySelectorCase_ = 10; + break; + } + case 96: + { + showMissing_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListDocumentsRequest.class, + com.google.firestore.v1.ListDocumentsRequest.Builder.class); + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public enum ConsistencySelectorCase implements com.google.protobuf.Internal.EnumLite { + TRANSACTION(8), + READ_TIME(10), + CONSISTENCYSELECTOR_NOT_SET(0); + private final int value; + + private ConsistencySelectorCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ConsistencySelectorCase valueOf(int value) { + return forNumber(value); + } + + public static ConsistencySelectorCase forNumber(int value) { + switch (value) { + case 8: + return TRANSACTION; + case 10: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + 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 COLLECTION_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object collectionId_; + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+   * or `messages`.
+   * 
+ * + * string collection_id = 2; + */ + public java.lang.String getCollectionId() { + java.lang.Object ref = collectionId_; + 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(); + collectionId_ = s; + return s; + } + } + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+   * or `messages`.
+   * 
+ * + * string collection_id = 2; + */ + public com.google.protobuf.ByteString getCollectionIdBytes() { + java.lang.Object ref = collectionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 3; + private int pageSize_; + /** + * + * + *
+   * The maximum number of documents to return.
+   * 
+ * + * int32 page_size = 3; + */ + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + private volatile java.lang.Object pageToken_; + /** + * + * + *
+   * The `next_page_token` value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 4; + */ + 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 `next_page_token` value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 4; + */ + 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 ORDER_BY_FIELD_NUMBER = 6; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * The order to sort results by. For example: `priority desc, name`.
+   * 
+ * + * string order_by = 6; + */ + 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; + } + } + /** + * + * + *
+   * The order to sort results by. For example: `priority desc, name`.
+   * 
+ * + * string order_by = 6; + */ + 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; + } + } + + public static final int MASK_FIELD_NUMBER = 7; + private com.google.firestore.v1.DocumentMask mask_; + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public boolean hasMask() { + return mask_ != null; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public com.google.firestore.v1.DocumentMask getMask() { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + return getMask(); + } + + public static final int TRANSACTION_FIELD_NUMBER = 8; + /** + * + * + *
+   * Reads documents in a transaction.
+   * 
+ * + * bytes transaction = 8; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 8) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int READ_TIME_FIELD_NUMBER = 10; + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 10; + } + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (consistencySelectorCase_ == 10) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (consistencySelectorCase_ == 10) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + + public static final int SHOW_MISSING_FIELD_NUMBER = 12; + private boolean showMissing_; + /** + * + * + *
+   * If the list should show missing documents. A missing document is a
+   * document that does not exist but has sub-documents. These documents will
+   * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time],
+   * or [Document.update_time][google.firestore.v1.Document.update_time] set.
+   * Requests with `show_missing` may not specify `where` or
+   * `order_by`.
+   * 
+ * + * bool show_missing = 12; + */ + public boolean getShowMissing() { + return showMissing_; + } + + 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 (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!getCollectionIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionId_); + } + if (pageSize_ != 0) { + output.writeInt32(3, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + } + if (!getOrderByBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, orderBy_); + } + if (mask_ != null) { + output.writeMessage(7, getMask()); + } + if (consistencySelectorCase_ == 8) { + output.writeBytes(8, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 10) { + output.writeMessage(10, (com.google.protobuf.Timestamp) consistencySelector_); + } + if (showMissing_ != false) { + output.writeBool(12, showMissing_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!getCollectionIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + } + if (!getPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + } + if (!getOrderByBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); + } + if (mask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMask()); + } + if (consistencySelectorCase_ == 8) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 8, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 10) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.protobuf.Timestamp) consistencySelector_); + } + if (showMissing_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, showMissing_); + } + size += unknownFields.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.firestore.v1.ListDocumentsRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.ListDocumentsRequest other = + (com.google.firestore.v1.ListDocumentsRequest) obj; + + boolean result = true; + result = result && getParent().equals(other.getParent()); + result = result && getCollectionId().equals(other.getCollectionId()); + result = result && (getPageSize() == other.getPageSize()); + result = result && getPageToken().equals(other.getPageToken()); + result = result && getOrderBy().equals(other.getOrderBy()); + result = result && (hasMask() == other.hasMask()); + if (hasMask()) { + result = result && getMask().equals(other.getMask()); + } + result = result && (getShowMissing() == other.getShowMissing()); + result = result && getConsistencySelectorCase().equals(other.getConsistencySelectorCase()); + if (!result) return false; + switch (consistencySelectorCase_) { + case 8: + result = result && getTransaction().equals(other.getTransaction()); + break; + case 10: + result = result && getReadTime().equals(other.getReadTime()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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) + COLLECTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getCollectionId().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + if (hasMask()) { + hash = (37 * hash) + MASK_FIELD_NUMBER; + hash = (53 * hash) + getMask().hashCode(); + } + hash = (37 * hash) + SHOW_MISSING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowMissing()); + switch (consistencySelectorCase_) { + case 8: + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + break; + case 10: + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ListDocumentsRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListDocumentsRequest 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.firestore.v1.ListDocumentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListDocumentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListDocumentsRequest 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.firestore.v1.ListDocumentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListDocumentsRequest 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.firestore.v1.ListDocumentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListDocumentsRequest 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.firestore.v1.ListDocumentsRequest 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 request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ListDocumentsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListDocumentsRequest) + com.google.firestore.v1.ListDocumentsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListDocumentsRequest.class, + com.google.firestore.v1.ListDocumentsRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.ListDocumentsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + collectionId_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + orderBy_ = ""; + + if (maskBuilder_ == null) { + mask_ = null; + } else { + mask_ = null; + maskBuilder_ = null; + } + showMissing_ = false; + + consistencySelectorCase_ = 0; + consistencySelector_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ListDocumentsRequest getDefaultInstanceForType() { + return com.google.firestore.v1.ListDocumentsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ListDocumentsRequest build() { + com.google.firestore.v1.ListDocumentsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ListDocumentsRequest buildPartial() { + com.google.firestore.v1.ListDocumentsRequest result = + new com.google.firestore.v1.ListDocumentsRequest(this); + result.parent_ = parent_; + result.collectionId_ = collectionId_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + result.orderBy_ = orderBy_; + if (maskBuilder_ == null) { + result.mask_ = mask_; + } else { + result.mask_ = maskBuilder_.build(); + } + if (consistencySelectorCase_ == 8) { + result.consistencySelector_ = consistencySelector_; + } + if (consistencySelectorCase_ == 10) { + if (readTimeBuilder_ == null) { + result.consistencySelector_ = consistencySelector_; + } else { + result.consistencySelector_ = readTimeBuilder_.build(); + } + } + result.showMissing_ = showMissing_; + result.consistencySelectorCase_ = consistencySelectorCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ListDocumentsRequest) { + return mergeFrom((com.google.firestore.v1.ListDocumentsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ListDocumentsRequest other) { + if (other == com.google.firestore.v1.ListDocumentsRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (!other.getCollectionId().isEmpty()) { + collectionId_ = other.collectionId_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } + if (other.hasMask()) { + mergeMask(other.getMask()); + } + if (other.getShowMissing() != false) { + setShowMissing(other.getShowMissing()); + } + switch (other.getConsistencySelectorCase()) { + case TRANSACTION: + { + setTransaction(other.getTransaction()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ListDocumentsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.ListDocumentsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public Builder clearConsistencySelector() { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private java.lang.Object collectionId_ = ""; + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+     * or `messages`.
+     * 
+ * + * string collection_id = 2; + */ + public java.lang.String getCollectionId() { + java.lang.Object ref = collectionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + collectionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+     * or `messages`.
+     * 
+ * + * string collection_id = 2; + */ + public com.google.protobuf.ByteString getCollectionIdBytes() { + java.lang.Object ref = collectionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+     * or `messages`.
+     * 
+ * + * string collection_id = 2; + */ + public Builder setCollectionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + collectionId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+     * or `messages`.
+     * 
+ * + * string collection_id = 2; + */ + public Builder clearCollectionId() { + + collectionId_ = getDefaultInstance().getCollectionId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+     * or `messages`.
+     * 
+ * + * string collection_id = 2; + */ + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + collectionId_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * The maximum number of documents to return.
+     * 
+ * + * int32 page_size = 3; + */ + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * The maximum number of documents to return.
+     * 
+ * + * int32 page_size = 3; + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of documents to return.
+     * 
+ * + * int32 page_size = 3; + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * The `next_page_token` value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 4; + */ + 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 `next_page_token` value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 4; + */ + 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 `next_page_token` value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 4; + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The `next_page_token` value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 4; + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * The `next_page_token` value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 4; + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * The order to sort results by. For example: `priority desc, name`.
+     * 
+ * + * string order_by = 6; + */ + 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; + } + } + /** + * + * + *
+     * The order to sort results by. For example: `priority desc, name`.
+     * 
+ * + * string order_by = 6; + */ + 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; + } + } + /** + * + * + *
+     * The order to sort results by. For example: `priority desc, name`.
+     * 
+ * + * string order_by = 6; + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The order to sort results by. For example: `priority desc, name`.
+     * 
+ * + * string order_by = 6; + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * The order to sort results by. For example: `priority desc, name`.
+     * 
+ * + * string order_by = 6; + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + + private com.google.firestore.v1.DocumentMask mask_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public boolean hasMask() { + return maskBuilder_ != null || mask_ != null; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public com.google.firestore.v1.DocumentMask getMask() { + if (maskBuilder_ == null) { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } else { + return maskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mask_ = value; + onChanged(); + } else { + maskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + if (maskBuilder_ == null) { + mask_ = builderForValue.build(); + onChanged(); + } else { + maskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (mask_ != null) { + mask_ = + com.google.firestore.v1.DocumentMask.newBuilder(mask_) + .mergeFrom(value) + .buildPartial(); + } else { + mask_ = value; + } + onChanged(); + } else { + maskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public Builder clearMask() { + if (maskBuilder_ == null) { + mask_ = null; + onChanged(); + } else { + mask_ = null; + maskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { + + onChanged(); + return getMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + if (maskBuilder_ != null) { + return maskBuilder_.getMessageOrBuilder(); + } else { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If a document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + getMaskFieldBuilder() { + if (maskBuilder_ == null) { + maskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getMask(), getParentForChildren(), isClean()); + mask_ = null; + } + return maskBuilder_; + } + + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 8; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 8) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 8; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelectorCase_ = 8; + consistencySelector_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 8; + */ + public Builder clearTransaction() { + if (consistencySelectorCase_ == 8) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 10; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 10) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (consistencySelectorCase_ == 10) { + return readTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelector_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 10; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + consistencySelector_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + consistencySelectorCase_ = 10; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 10 + && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + consistencySelector_ = + com.google.protobuf.Timestamp.newBuilder( + (com.google.protobuf.Timestamp) consistencySelector_) + .mergeFrom(value) + .buildPartial(); + } else { + consistencySelector_ = value; + } + onChanged(); + } else { + if (consistencySelectorCase_ == 10) { + readTimeBuilder_.mergeFrom(value); + } + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 10; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 10) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + } else { + if (consistencySelectorCase_ == 10) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + } + readTimeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if ((consistencySelectorCase_ == 10) && (readTimeBuilder_ != null)) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + if (consistencySelectorCase_ == 10) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + if (!(consistencySelectorCase_ == 10)) { + consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) consistencySelector_, + getParentForChildren(), + isClean()); + consistencySelector_ = null; + } + consistencySelectorCase_ = 10; + onChanged(); + ; + return readTimeBuilder_; + } + + private boolean showMissing_; + /** + * + * + *
+     * If the list should show missing documents. A missing document is a
+     * document that does not exist but has sub-documents. These documents will
+     * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time],
+     * or [Document.update_time][google.firestore.v1.Document.update_time] set.
+     * Requests with `show_missing` may not specify `where` or
+     * `order_by`.
+     * 
+ * + * bool show_missing = 12; + */ + public boolean getShowMissing() { + return showMissing_; + } + /** + * + * + *
+     * If the list should show missing documents. A missing document is a
+     * document that does not exist but has sub-documents. These documents will
+     * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time],
+     * or [Document.update_time][google.firestore.v1.Document.update_time] set.
+     * Requests with `show_missing` may not specify `where` or
+     * `order_by`.
+     * 
+ * + * bool show_missing = 12; + */ + public Builder setShowMissing(boolean value) { + + showMissing_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If the list should show missing documents. A missing document is a
+     * document that does not exist but has sub-documents. These documents will
+     * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time],
+     * or [Document.update_time][google.firestore.v1.Document.update_time] set.
+     * Requests with `show_missing` may not specify `where` or
+     * `order_by`.
+     * 
+ * + * bool show_missing = 12; + */ + public Builder clearShowMissing() { + + showMissing_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListDocumentsRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ListDocumentsRequest) + private static final com.google.firestore.v1.ListDocumentsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ListDocumentsRequest(); + } + + public static com.google.firestore.v1.ListDocumentsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDocumentsRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.ListDocumentsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java new file mode 100644 index 000000000000..7b2561ae5eb4 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java @@ -0,0 +1,218 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface ListDocumentsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + java.lang.String getParent(); + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+   * or `messages`.
+   * 
+ * + * string collection_id = 2; + */ + java.lang.String getCollectionId(); + /** + * + * + *
+   * The collection ID, relative to `parent`, to list. For example: `chatrooms`
+   * or `messages`.
+   * 
+ * + * string collection_id = 2; + */ + com.google.protobuf.ByteString getCollectionIdBytes(); + + /** + * + * + *
+   * The maximum number of documents to return.
+   * 
+ * + * int32 page_size = 3; + */ + int getPageSize(); + + /** + * + * + *
+   * The `next_page_token` value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 4; + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * The `next_page_token` value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 4; + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * The order to sort results by. For example: `priority desc, name`.
+   * 
+ * + * string order_by = 6; + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * The order to sort results by. For example: `priority desc, name`.
+   * 
+ * + * string order_by = 6; + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + boolean hasMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + com.google.firestore.v1.DocumentMask getMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If a document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 7; + */ + com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder(); + + /** + * + * + *
+   * Reads documents in a transaction.
+   * 
+ * + * bytes transaction = 8; + */ + com.google.protobuf.ByteString getTransaction(); + + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + boolean hasReadTime(); + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 10; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + /** + * + * + *
+   * If the list should show missing documents. A missing document is a
+   * document that does not exist but has sub-documents. These documents will
+   * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time],
+   * or [Document.update_time][google.firestore.v1.Document.update_time] set.
+   * Requests with `show_missing` may not specify `where` or
+   * `order_by`.
+   * 
+ * + * bool show_missing = 12; + */ + boolean getShowMissing(); + + public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase + getConsistencySelectorCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java new file mode 100644 index 000000000000..e4383afceac1 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java @@ -0,0 +1,1087 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ListDocumentsResponse} + */ +public final class ListDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ListDocumentsResponse) + ListDocumentsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListDocumentsResponse.newBuilder() to construct. + private ListDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListDocumentsResponse() { + documents_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListDocumentsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + documents_.add( + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = java.util.Collections.unmodifiableList(documents_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListDocumentsResponse.class, + com.google.firestore.v1.ListDocumentsResponse.Builder.class); + } + + private int bitField0_; + public static final int DOCUMENTS_FIELD_NUMBER = 1; + private java.util.List documents_; + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public java.util.List getDocumentsList() { + return documents_; + } + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public java.util.List + getDocumentsOrBuilderList() { + return documents_; + } + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public int getDocumentsCount() { + return documents_.size(); + } + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public com.google.firestore.v1.Document getDocuments(int index) { + return documents_.get(index); + } + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { + return documents_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
+   * The next page token.
+   * 
+ * + * string next_page_token = 2; + */ + 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 page token.
+   * 
+ * + * string next_page_token = 2; + */ + 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 < documents_.size(); i++) { + output.writeMessage(1, documents_.get(i)); + } + if (!getNextPageTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < documents_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, documents_.get(i)); + } + if (!getNextPageTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.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.firestore.v1.ListDocumentsResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.ListDocumentsResponse other = + (com.google.firestore.v1.ListDocumentsResponse) obj; + + boolean result = true; + result = result && getDocumentsList().equals(other.getDocumentsList()); + result = result && getNextPageToken().equals(other.getNextPageToken()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDocumentsCount() > 0) { + hash = (37 * hash) + DOCUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getDocumentsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ListDocumentsResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListDocumentsResponse 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.firestore.v1.ListDocumentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListDocumentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListDocumentsResponse 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.firestore.v1.ListDocumentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListDocumentsResponse 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.firestore.v1.ListDocumentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListDocumentsResponse 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.firestore.v1.ListDocumentsResponse 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 response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ListDocumentsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListDocumentsResponse) + com.google.firestore.v1.ListDocumentsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListDocumentsResponse.class, + com.google.firestore.v1.ListDocumentsResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.ListDocumentsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDocumentsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (documentsBuilder_ == null) { + documents_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + documentsBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ListDocumentsResponse getDefaultInstanceForType() { + return com.google.firestore.v1.ListDocumentsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ListDocumentsResponse build() { + com.google.firestore.v1.ListDocumentsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ListDocumentsResponse buildPartial() { + com.google.firestore.v1.ListDocumentsResponse result = + new com.google.firestore.v1.ListDocumentsResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (documentsBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = java.util.Collections.unmodifiableList(documents_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.documents_ = documents_; + } else { + result.documents_ = documentsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ListDocumentsResponse) { + return mergeFrom((com.google.firestore.v1.ListDocumentsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ListDocumentsResponse other) { + if (other == com.google.firestore.v1.ListDocumentsResponse.getDefaultInstance()) return this; + if (documentsBuilder_ == null) { + if (!other.documents_.isEmpty()) { + if (documents_.isEmpty()) { + documents_ = other.documents_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDocumentsIsMutable(); + documents_.addAll(other.documents_); + } + onChanged(); + } + } else { + if (!other.documents_.isEmpty()) { + if (documentsBuilder_.isEmpty()) { + documentsBuilder_.dispose(); + documentsBuilder_ = null; + documents_ = other.documents_; + bitField0_ = (bitField0_ & ~0x00000001); + documentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDocumentsFieldBuilder() + : null; + } else { + documentsBuilder_.addAllMessages(other.documents_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ListDocumentsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.ListDocumentsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List documents_ = + java.util.Collections.emptyList(); + + private void ensureDocumentsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = new java.util.ArrayList(documents_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + documentsBuilder_; + + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public java.util.List getDocumentsList() { + if (documentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(documents_); + } else { + return documentsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public int getDocumentsCount() { + if (documentsBuilder_ == null) { + return documents_.size(); + } else { + return documentsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public com.google.firestore.v1.Document getDocuments(int index) { + if (documentsBuilder_ == null) { + return documents_.get(index); + } else { + return documentsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder setDocuments(int index, com.google.firestore.v1.Document value) { + if (documentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); + documents_.set(index, value); + onChanged(); + } else { + documentsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder setDocuments( + int index, com.google.firestore.v1.Document.Builder builderForValue) { + if (documentsBuilder_ == null) { + ensureDocumentsIsMutable(); + documents_.set(index, builderForValue.build()); + onChanged(); + } else { + documentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder addDocuments(com.google.firestore.v1.Document value) { + if (documentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); + documents_.add(value); + onChanged(); + } else { + documentsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder addDocuments(int index, com.google.firestore.v1.Document value) { + if (documentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); + documents_.add(index, value); + onChanged(); + } else { + documentsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder addDocuments(com.google.firestore.v1.Document.Builder builderForValue) { + if (documentsBuilder_ == null) { + ensureDocumentsIsMutable(); + documents_.add(builderForValue.build()); + onChanged(); + } else { + documentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder addDocuments( + int index, com.google.firestore.v1.Document.Builder builderForValue) { + if (documentsBuilder_ == null) { + ensureDocumentsIsMutable(); + documents_.add(index, builderForValue.build()); + onChanged(); + } else { + documentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder addAllDocuments( + java.lang.Iterable values) { + if (documentsBuilder_ == null) { + ensureDocumentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + onChanged(); + } else { + documentsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder clearDocuments() { + if (documentsBuilder_ == null) { + documents_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + documentsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public Builder removeDocuments(int index) { + if (documentsBuilder_ == null) { + ensureDocumentsIsMutable(); + documents_.remove(index); + onChanged(); + } else { + documentsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public com.google.firestore.v1.Document.Builder getDocumentsBuilder(int index) { + return getDocumentsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { + if (documentsBuilder_ == null) { + return documents_.get(index); + } else { + return documentsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public java.util.List + getDocumentsOrBuilderList() { + if (documentsBuilder_ != null) { + return documentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(documents_); + } + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public com.google.firestore.v1.Document.Builder addDocumentsBuilder() { + return getDocumentsFieldBuilder() + .addBuilder(com.google.firestore.v1.Document.getDefaultInstance()); + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public com.google.firestore.v1.Document.Builder addDocumentsBuilder(int index) { + return getDocumentsFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Document.getDefaultInstance()); + } + /** + * + * + *
+     * The Documents found.
+     * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + public java.util.List getDocumentsBuilderList() { + return getDocumentsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + getDocumentsFieldBuilder() { + if (documentsBuilder_ == null) { + documentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + documents_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + documents_ = null; + } + return documentsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * The next page token.
+     * 
+ * + * string next_page_token = 2; + */ + 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 page token.
+     * 
+ * + * string next_page_token = 2; + */ + 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 page token.
+     * 
+ * + * string next_page_token = 2; + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The next page token.
+     * 
+ * + * string next_page_token = 2; + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
+     * The next page token.
+     * 
+ * + * string next_page_token = 2; + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListDocumentsResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ListDocumentsResponse) + private static final com.google.firestore.v1.ListDocumentsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ListDocumentsResponse(); + } + + public static com.google.firestore.v1.ListDocumentsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDocumentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDocumentsResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.ListDocumentsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java new file mode 100644 index 000000000000..62e11f7cbab2 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java @@ -0,0 +1,82 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface ListDocumentsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + java.util.List getDocumentsList(); + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + com.google.firestore.v1.Document getDocuments(int index); + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + int getDocumentsCount(); + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + java.util.List getDocumentsOrBuilderList(); + /** + * + * + *
+   * The Documents found.
+   * 
+ * + * repeated .google.firestore.v1.Document documents = 1; + */ + com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index); + + /** + * + * + *
+   * The next page token.
+   * 
+ * + * string next_page_token = 2; + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * The next page token.
+   * 
+ * + * string next_page_token = 2; + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java new file mode 100644 index 000000000000..bfac1ff6546f --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java @@ -0,0 +1,1370 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ListenRequest} + */ +public final class ListenRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenRequest) + ListenRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListenRequest.newBuilder() to construct. + private ListenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListenRequest() { + database_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListenRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + database_ = s; + break; + } + case 18: + { + com.google.firestore.v1.Target.Builder subBuilder = null; + if (targetChangeCase_ == 2) { + subBuilder = ((com.google.firestore.v1.Target) targetChange_).toBuilder(); + } + targetChange_ = + input.readMessage(com.google.firestore.v1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Target) targetChange_); + targetChange_ = subBuilder.buildPartial(); + } + targetChangeCase_ = 2; + break; + } + case 24: + { + targetChangeCase_ = 3; + targetChange_ = input.readInt32(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_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.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListenRequest.class, + com.google.firestore.v1.ListenRequest.Builder.class); + } + + private int bitField0_; + private int targetChangeCase_ = 0; + private java.lang.Object targetChange_; + + public enum TargetChangeCase implements com.google.protobuf.Internal.EnumLite { + ADD_TARGET(2), + REMOVE_TARGET(3), + TARGETCHANGE_NOT_SET(0); + private final int value; + + private TargetChangeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static TargetChangeCase valueOf(int value) { + return forNumber(value); + } + + public static TargetChangeCase forNumber(int value) { + switch (value) { + case 2: + return ADD_TARGET; + case 3: + return REMOVE_TARGET; + case 0: + return TARGETCHANGE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public TargetChangeCase getTargetChangeCase() { + return TargetChangeCase.forNumber(targetChangeCase_); + } + + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + 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(); + database_ = s; + return s; + } + } + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ADD_TARGET_FIELD_NUMBER = 2; + /** + * + * + *
+   * A target to add to this stream.
+   * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public boolean hasAddTarget() { + return targetChangeCase_ == 2; + } + /** + * + * + *
+   * A target to add to this stream.
+   * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public com.google.firestore.v1.Target getAddTarget() { + if (targetChangeCase_ == 2) { + return (com.google.firestore.v1.Target) targetChange_; + } + return com.google.firestore.v1.Target.getDefaultInstance(); + } + /** + * + * + *
+   * A target to add to this stream.
+   * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { + if (targetChangeCase_ == 2) { + return (com.google.firestore.v1.Target) targetChange_; + } + return com.google.firestore.v1.Target.getDefaultInstance(); + } + + public static final int REMOVE_TARGET_FIELD_NUMBER = 3; + /** + * + * + *
+   * The ID of a target to remove from this stream.
+   * 
+ * + * int32 remove_target = 3; + */ + public int getRemoveTarget() { + if (targetChangeCase_ == 3) { + return (java.lang.Integer) targetChange_; + } + return 0; + } + + 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.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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(); + } + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getDatabaseBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + if (targetChangeCase_ == 2) { + output.writeMessage(2, (com.google.firestore.v1.Target) targetChange_); + } + if (targetChangeCase_ == 3) { + output.writeInt32(3, (int) ((java.lang.Integer) targetChange_)); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDatabaseBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + if (targetChangeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.Target) targetChange_); + } + if (targetChangeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 3, (int) ((java.lang.Integer) targetChange_)); + } + 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__); + } + size += unknownFields.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.firestore.v1.ListenRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.ListenRequest other = (com.google.firestore.v1.ListenRequest) obj; + + boolean result = true; + result = result && getDatabase().equals(other.getDatabase()); + result = result && internalGetLabels().equals(other.internalGetLabels()); + result = result && getTargetChangeCase().equals(other.getTargetChangeCase()); + if (!result) return false; + switch (targetChangeCase_) { + case 2: + result = result && getAddTarget().equals(other.getAddTarget()); + break; + case 3: + result = result && (getRemoveTarget() == other.getRemoveTarget()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + switch (targetChangeCase_) { + case 2: + hash = (37 * hash) + ADD_TARGET_FIELD_NUMBER; + hash = (53 * hash) + getAddTarget().hashCode(); + break; + case 3: + hash = (37 * hash) + REMOVE_TARGET_FIELD_NUMBER; + hash = (53 * hash) + getRemoveTarget(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ListenRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListenRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListenRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListenRequest 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.firestore.v1.ListenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListenRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListenRequest 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.firestore.v1.ListenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListenRequest 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.firestore.v1.ListenRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListenRequest 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.firestore.v1.ListenRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ListenRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListenRequest) + com.google.firestore.v1.ListenRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_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.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListenRequest.class, + com.google.firestore.v1.ListenRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.ListenRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + internalGetMutableLabels().clear(); + targetChangeCase_ = 0; + targetChange_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ListenRequest getDefaultInstanceForType() { + return com.google.firestore.v1.ListenRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ListenRequest build() { + com.google.firestore.v1.ListenRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ListenRequest buildPartial() { + com.google.firestore.v1.ListenRequest result = + new com.google.firestore.v1.ListenRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.database_ = database_; + if (targetChangeCase_ == 2) { + if (addTargetBuilder_ == null) { + result.targetChange_ = targetChange_; + } else { + result.targetChange_ = addTargetBuilder_.build(); + } + } + if (targetChangeCase_ == 3) { + result.targetChange_ = targetChange_; + } + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + result.bitField0_ = to_bitField0_; + result.targetChangeCase_ = targetChangeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ListenRequest) { + return mergeFrom((com.google.firestore.v1.ListenRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ListenRequest other) { + if (other == com.google.firestore.v1.ListenRequest.getDefaultInstance()) return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + switch (other.getTargetChangeCase()) { + case ADD_TARGET: + { + mergeAddTarget(other.getAddTarget()); + break; + } + case REMOVE_TARGET: + { + setRemoveTarget(other.getRemoveTarget()); + break; + } + case TARGETCHANGE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ListenRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.ListenRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int targetChangeCase_ = 0; + private java.lang.Object targetChange_; + + public TargetChangeCase getTargetChangeCase() { + return TargetChangeCase.forNumber(targetChangeCase_); + } + + public Builder clearTargetChange() { + targetChangeCase_ = 0; + targetChange_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private java.lang.Object database_ = ""; + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target, + com.google.firestore.v1.Target.Builder, + com.google.firestore.v1.TargetOrBuilder> + addTargetBuilder_; + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public boolean hasAddTarget() { + return targetChangeCase_ == 2; + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public com.google.firestore.v1.Target getAddTarget() { + if (addTargetBuilder_ == null) { + if (targetChangeCase_ == 2) { + return (com.google.firestore.v1.Target) targetChange_; + } + return com.google.firestore.v1.Target.getDefaultInstance(); + } else { + if (targetChangeCase_ == 2) { + return addTargetBuilder_.getMessage(); + } + return com.google.firestore.v1.Target.getDefaultInstance(); + } + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public Builder setAddTarget(com.google.firestore.v1.Target value) { + if (addTargetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + targetChange_ = value; + onChanged(); + } else { + addTargetBuilder_.setMessage(value); + } + targetChangeCase_ = 2; + return this; + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForValue) { + if (addTargetBuilder_ == null) { + targetChange_ = builderForValue.build(); + onChanged(); + } else { + addTargetBuilder_.setMessage(builderForValue.build()); + } + targetChangeCase_ = 2; + return this; + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public Builder mergeAddTarget(com.google.firestore.v1.Target value) { + if (addTargetBuilder_ == null) { + if (targetChangeCase_ == 2 + && targetChange_ != com.google.firestore.v1.Target.getDefaultInstance()) { + targetChange_ = + com.google.firestore.v1.Target.newBuilder( + (com.google.firestore.v1.Target) targetChange_) + .mergeFrom(value) + .buildPartial(); + } else { + targetChange_ = value; + } + onChanged(); + } else { + if (targetChangeCase_ == 2) { + addTargetBuilder_.mergeFrom(value); + } + addTargetBuilder_.setMessage(value); + } + targetChangeCase_ = 2; + return this; + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public Builder clearAddTarget() { + if (addTargetBuilder_ == null) { + if (targetChangeCase_ == 2) { + targetChangeCase_ = 0; + targetChange_ = null; + onChanged(); + } + } else { + if (targetChangeCase_ == 2) { + targetChangeCase_ = 0; + targetChange_ = null; + } + addTargetBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public com.google.firestore.v1.Target.Builder getAddTargetBuilder() { + return getAddTargetFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { + if ((targetChangeCase_ == 2) && (addTargetBuilder_ != null)) { + return addTargetBuilder_.getMessageOrBuilder(); + } else { + if (targetChangeCase_ == 2) { + return (com.google.firestore.v1.Target) targetChange_; + } + return com.google.firestore.v1.Target.getDefaultInstance(); + } + } + /** + * + * + *
+     * A target to add to this stream.
+     * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target, + com.google.firestore.v1.Target.Builder, + com.google.firestore.v1.TargetOrBuilder> + getAddTargetFieldBuilder() { + if (addTargetBuilder_ == null) { + if (!(targetChangeCase_ == 2)) { + targetChange_ = com.google.firestore.v1.Target.getDefaultInstance(); + } + addTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target, + com.google.firestore.v1.Target.Builder, + com.google.firestore.v1.TargetOrBuilder>( + (com.google.firestore.v1.Target) targetChange_, getParentForChildren(), isClean()); + targetChange_ = null; + } + targetChangeCase_ = 2; + onChanged(); + ; + return addTargetBuilder_; + } + + /** + * + * + *
+     * The ID of a target to remove from this stream.
+     * 
+ * + * int32 remove_target = 3; + */ + public int getRemoveTarget() { + if (targetChangeCase_ == 3) { + return (java.lang.Integer) targetChange_; + } + return 0; + } + /** + * + * + *
+     * The ID of a target to remove from this stream.
+     * 
+ * + * int32 remove_target = 3; + */ + public Builder setRemoveTarget(int value) { + targetChangeCase_ = 3; + targetChange_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of a target to remove from this stream.
+     * 
+ * + * int32 remove_target = 3; + */ + public Builder clearRemoveTarget() { + if (targetChangeCase_ == 3) { + targetChangeCase_ = 0; + targetChange_ = null; + onChanged(); + } + return this; + } + + 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() { + onChanged(); + ; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Labels associated with this target change.
+     * 
+ * + * map<string, string> labels = 4; + */ + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+     * Labels associated with this target change.
+     * 
+ * + * map<string, string> labels = 4; + */ + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Labels associated with this target change.
+     * 
+ * + * map<string, string> labels = 4; + */ + public java.lang.String getLabelsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Labels associated with this target change.
+     * 
+ * + * map<string, string> labels = 4; + */ + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Labels associated with this target change.
+     * 
+ * + * map<string, string> labels = 4; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * Labels associated with this target change.
+     * 
+ * + * map<string, string> labels = 4; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Labels associated with this target change.
+     * 
+ * + * map<string, string> labels = 4; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListenRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ListenRequest) + private static final com.google.firestore.v1.ListenRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ListenRequest(); + } + + public static com.google.firestore.v1.ListenRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListenRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.ListenRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java new file mode 100644 index 000000000000..041493e140eb --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface ListenRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + com.google.protobuf.ByteString getDatabaseBytes(); + + /** + * + * + *
+   * A target to add to this stream.
+   * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + boolean hasAddTarget(); + /** + * + * + *
+   * A target to add to this stream.
+   * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + com.google.firestore.v1.Target getAddTarget(); + /** + * + * + *
+   * A target to add to this stream.
+   * 
+ * + * .google.firestore.v1.Target add_target = 2; + */ + com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder(); + + /** + * + * + *
+   * The ID of a target to remove from this stream.
+   * 
+ * + * int32 remove_target = 3; + */ + int getRemoveTarget(); + + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + int getLabelsCount(); + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + /** + * + * + *
+   * Labels associated with this target change.
+   * 
+ * + * map<string, string> labels = 4; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + public com.google.firestore.v1.ListenRequest.TargetChangeCase getTargetChangeCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java new file mode 100644 index 000000000000..a5270da5b2aa --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java @@ -0,0 +1,2007 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.ListenResponse} + */ +public final class ListenResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenResponse) + ListenResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListenResponse.newBuilder() to construct. + private ListenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListenResponse() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListenResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + com.google.firestore.v1.TargetChange.Builder subBuilder = null; + if (responseTypeCase_ == 2) { + subBuilder = ((com.google.firestore.v1.TargetChange) responseType_).toBuilder(); + } + responseType_ = + input.readMessage( + com.google.firestore.v1.TargetChange.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.TargetChange) responseType_); + responseType_ = subBuilder.buildPartial(); + } + responseTypeCase_ = 2; + break; + } + case 26: + { + com.google.firestore.v1.DocumentChange.Builder subBuilder = null; + if (responseTypeCase_ == 3) { + subBuilder = ((com.google.firestore.v1.DocumentChange) responseType_).toBuilder(); + } + responseType_ = + input.readMessage( + com.google.firestore.v1.DocumentChange.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.DocumentChange) responseType_); + responseType_ = subBuilder.buildPartial(); + } + responseTypeCase_ = 3; + break; + } + case 34: + { + com.google.firestore.v1.DocumentDelete.Builder subBuilder = null; + if (responseTypeCase_ == 4) { + subBuilder = ((com.google.firestore.v1.DocumentDelete) responseType_).toBuilder(); + } + responseType_ = + input.readMessage( + com.google.firestore.v1.DocumentDelete.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.DocumentDelete) responseType_); + responseType_ = subBuilder.buildPartial(); + } + responseTypeCase_ = 4; + break; + } + case 42: + { + com.google.firestore.v1.ExistenceFilter.Builder subBuilder = null; + if (responseTypeCase_ == 5) { + subBuilder = ((com.google.firestore.v1.ExistenceFilter) responseType_).toBuilder(); + } + responseType_ = + input.readMessage( + com.google.firestore.v1.ExistenceFilter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.ExistenceFilter) responseType_); + responseType_ = subBuilder.buildPartial(); + } + responseTypeCase_ = 5; + break; + } + case 50: + { + com.google.firestore.v1.DocumentRemove.Builder subBuilder = null; + if (responseTypeCase_ == 6) { + subBuilder = ((com.google.firestore.v1.DocumentRemove) responseType_).toBuilder(); + } + responseType_ = + input.readMessage( + com.google.firestore.v1.DocumentRemove.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.DocumentRemove) responseType_); + responseType_ = subBuilder.buildPartial(); + } + responseTypeCase_ = 6; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListenResponse.class, + com.google.firestore.v1.ListenResponse.Builder.class); + } + + private int responseTypeCase_ = 0; + private java.lang.Object responseType_; + + public enum ResponseTypeCase implements com.google.protobuf.Internal.EnumLite { + TARGET_CHANGE(2), + DOCUMENT_CHANGE(3), + DOCUMENT_DELETE(4), + DOCUMENT_REMOVE(6), + FILTER(5), + RESPONSETYPE_NOT_SET(0); + private final int value; + + private ResponseTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ResponseTypeCase valueOf(int value) { + return forNumber(value); + } + + public static ResponseTypeCase forNumber(int value) { + switch (value) { + case 2: + return TARGET_CHANGE; + case 3: + return DOCUMENT_CHANGE; + case 4: + return DOCUMENT_DELETE; + case 6: + return DOCUMENT_REMOVE; + case 5: + return FILTER; + case 0: + return RESPONSETYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ResponseTypeCase getResponseTypeCase() { + return ResponseTypeCase.forNumber(responseTypeCase_); + } + + public static final int TARGET_CHANGE_FIELD_NUMBER = 2; + /** + * + * + *
+   * Targets have changed.
+   * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public boolean hasTargetChange() { + return responseTypeCase_ == 2; + } + /** + * + * + *
+   * Targets have changed.
+   * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public com.google.firestore.v1.TargetChange getTargetChange() { + if (responseTypeCase_ == 2) { + return (com.google.firestore.v1.TargetChange) responseType_; + } + return com.google.firestore.v1.TargetChange.getDefaultInstance(); + } + /** + * + * + *
+   * Targets have changed.
+   * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() { + if (responseTypeCase_ == 2) { + return (com.google.firestore.v1.TargetChange) responseType_; + } + return com.google.firestore.v1.TargetChange.getDefaultInstance(); + } + + public static final int DOCUMENT_CHANGE_FIELD_NUMBER = 3; + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has changed.
+   * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public boolean hasDocumentChange() { + return responseTypeCase_ == 3; + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has changed.
+   * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public com.google.firestore.v1.DocumentChange getDocumentChange() { + if (responseTypeCase_ == 3) { + return (com.google.firestore.v1.DocumentChange) responseType_; + } + return com.google.firestore.v1.DocumentChange.getDefaultInstance(); + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has changed.
+   * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder() { + if (responseTypeCase_ == 3) { + return (com.google.firestore.v1.DocumentChange) responseType_; + } + return com.google.firestore.v1.DocumentChange.getDefaultInstance(); + } + + public static final int DOCUMENT_DELETE_FIELD_NUMBER = 4; + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been deleted.
+   * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public boolean hasDocumentDelete() { + return responseTypeCase_ == 4; + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been deleted.
+   * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public com.google.firestore.v1.DocumentDelete getDocumentDelete() { + if (responseTypeCase_ == 4) { + return (com.google.firestore.v1.DocumentDelete) responseType_; + } + return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been deleted.
+   * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder() { + if (responseTypeCase_ == 4) { + return (com.google.firestore.v1.DocumentDelete) responseType_; + } + return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); + } + + public static final int DOCUMENT_REMOVE_FIELD_NUMBER = 6; + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+   * relevant to that target).
+   * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public boolean hasDocumentRemove() { + return responseTypeCase_ == 6; + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+   * relevant to that target).
+   * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public com.google.firestore.v1.DocumentRemove getDocumentRemove() { + if (responseTypeCase_ == 6) { + return (com.google.firestore.v1.DocumentRemove) responseType_; + } + return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); + } + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+   * relevant to that target).
+   * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder() { + if (responseTypeCase_ == 6) { + return (com.google.firestore.v1.DocumentRemove) responseType_; + } + return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); + } + + public static final int FILTER_FIELD_NUMBER = 5; + /** + * + * + *
+   * A filter to apply to the set of documents previously returned for the
+   * given target.
+   * Returned when documents may have been removed from the given target, but
+   * the exact documents are unknown.
+   * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public boolean hasFilter() { + return responseTypeCase_ == 5; + } + /** + * + * + *
+   * A filter to apply to the set of documents previously returned for the
+   * given target.
+   * Returned when documents may have been removed from the given target, but
+   * the exact documents are unknown.
+   * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public com.google.firestore.v1.ExistenceFilter getFilter() { + if (responseTypeCase_ == 5) { + return (com.google.firestore.v1.ExistenceFilter) responseType_; + } + return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); + } + /** + * + * + *
+   * A filter to apply to the set of documents previously returned for the
+   * given target.
+   * Returned when documents may have been removed from the given target, but
+   * the exact documents are unknown.
+   * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() { + if (responseTypeCase_ == 5) { + return (com.google.firestore.v1.ExistenceFilter) responseType_; + } + return com.google.firestore.v1.ExistenceFilter.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 (responseTypeCase_ == 2) { + output.writeMessage(2, (com.google.firestore.v1.TargetChange) responseType_); + } + if (responseTypeCase_ == 3) { + output.writeMessage(3, (com.google.firestore.v1.DocumentChange) responseType_); + } + if (responseTypeCase_ == 4) { + output.writeMessage(4, (com.google.firestore.v1.DocumentDelete) responseType_); + } + if (responseTypeCase_ == 5) { + output.writeMessage(5, (com.google.firestore.v1.ExistenceFilter) responseType_); + } + if (responseTypeCase_ == 6) { + output.writeMessage(6, (com.google.firestore.v1.DocumentRemove) responseType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (responseTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.TargetChange) responseType_); + } + if (responseTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.DocumentChange) responseType_); + } + if (responseTypeCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.firestore.v1.DocumentDelete) responseType_); + } + if (responseTypeCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.firestore.v1.ExistenceFilter) responseType_); + } + if (responseTypeCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.firestore.v1.DocumentRemove) responseType_); + } + size += unknownFields.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.firestore.v1.ListenResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.ListenResponse other = (com.google.firestore.v1.ListenResponse) obj; + + boolean result = true; + result = result && getResponseTypeCase().equals(other.getResponseTypeCase()); + if (!result) return false; + switch (responseTypeCase_) { + case 2: + result = result && getTargetChange().equals(other.getTargetChange()); + break; + case 3: + result = result && getDocumentChange().equals(other.getDocumentChange()); + break; + case 4: + result = result && getDocumentDelete().equals(other.getDocumentDelete()); + break; + case 6: + result = result && getDocumentRemove().equals(other.getDocumentRemove()); + break; + case 5: + result = result && getFilter().equals(other.getFilter()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (responseTypeCase_) { + case 2: + hash = (37 * hash) + TARGET_CHANGE_FIELD_NUMBER; + hash = (53 * hash) + getTargetChange().hashCode(); + break; + case 3: + hash = (37 * hash) + DOCUMENT_CHANGE_FIELD_NUMBER; + hash = (53 * hash) + getDocumentChange().hashCode(); + break; + case 4: + hash = (37 * hash) + DOCUMENT_DELETE_FIELD_NUMBER; + hash = (53 * hash) + getDocumentDelete().hashCode(); + break; + case 6: + hash = (37 * hash) + DOCUMENT_REMOVE_FIELD_NUMBER; + hash = (53 * hash) + getDocumentRemove().hashCode(); + break; + case 5: + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.ListenResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListenResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListenResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListenResponse 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.firestore.v1.ListenResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.ListenResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.ListenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListenResponse 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.firestore.v1.ListenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListenResponse 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.firestore.v1.ListenResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.ListenResponse 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.firestore.v1.ListenResponse 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 response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.ListenResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListenResponse) + com.google.firestore.v1.ListenResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.ListenResponse.class, + com.google.firestore.v1.ListenResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.ListenResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + responseTypeCase_ = 0; + responseType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.ListenResponse getDefaultInstanceForType() { + return com.google.firestore.v1.ListenResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.ListenResponse build() { + com.google.firestore.v1.ListenResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.ListenResponse buildPartial() { + com.google.firestore.v1.ListenResponse result = + new com.google.firestore.v1.ListenResponse(this); + if (responseTypeCase_ == 2) { + if (targetChangeBuilder_ == null) { + result.responseType_ = responseType_; + } else { + result.responseType_ = targetChangeBuilder_.build(); + } + } + if (responseTypeCase_ == 3) { + if (documentChangeBuilder_ == null) { + result.responseType_ = responseType_; + } else { + result.responseType_ = documentChangeBuilder_.build(); + } + } + if (responseTypeCase_ == 4) { + if (documentDeleteBuilder_ == null) { + result.responseType_ = responseType_; + } else { + result.responseType_ = documentDeleteBuilder_.build(); + } + } + if (responseTypeCase_ == 6) { + if (documentRemoveBuilder_ == null) { + result.responseType_ = responseType_; + } else { + result.responseType_ = documentRemoveBuilder_.build(); + } + } + if (responseTypeCase_ == 5) { + if (filterBuilder_ == null) { + result.responseType_ = responseType_; + } else { + result.responseType_ = filterBuilder_.build(); + } + } + result.responseTypeCase_ = responseTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.ListenResponse) { + return mergeFrom((com.google.firestore.v1.ListenResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.ListenResponse other) { + if (other == com.google.firestore.v1.ListenResponse.getDefaultInstance()) return this; + switch (other.getResponseTypeCase()) { + case TARGET_CHANGE: + { + mergeTargetChange(other.getTargetChange()); + break; + } + case DOCUMENT_CHANGE: + { + mergeDocumentChange(other.getDocumentChange()); + break; + } + case DOCUMENT_DELETE: + { + mergeDocumentDelete(other.getDocumentDelete()); + break; + } + case DOCUMENT_REMOVE: + { + mergeDocumentRemove(other.getDocumentRemove()); + break; + } + case FILTER: + { + mergeFilter(other.getFilter()); + break; + } + case RESPONSETYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.ListenResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.ListenResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int responseTypeCase_ = 0; + private java.lang.Object responseType_; + + public ResponseTypeCase getResponseTypeCase() { + return ResponseTypeCase.forNumber(responseTypeCase_); + } + + public Builder clearResponseType() { + responseTypeCase_ = 0; + responseType_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TargetChange, + com.google.firestore.v1.TargetChange.Builder, + com.google.firestore.v1.TargetChangeOrBuilder> + targetChangeBuilder_; + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public boolean hasTargetChange() { + return responseTypeCase_ == 2; + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public com.google.firestore.v1.TargetChange getTargetChange() { + if (targetChangeBuilder_ == null) { + if (responseTypeCase_ == 2) { + return (com.google.firestore.v1.TargetChange) responseType_; + } + return com.google.firestore.v1.TargetChange.getDefaultInstance(); + } else { + if (responseTypeCase_ == 2) { + return targetChangeBuilder_.getMessage(); + } + return com.google.firestore.v1.TargetChange.getDefaultInstance(); + } + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public Builder setTargetChange(com.google.firestore.v1.TargetChange value) { + if (targetChangeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + responseType_ = value; + onChanged(); + } else { + targetChangeBuilder_.setMessage(value); + } + responseTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder builderForValue) { + if (targetChangeBuilder_ == null) { + responseType_ = builderForValue.build(); + onChanged(); + } else { + targetChangeBuilder_.setMessage(builderForValue.build()); + } + responseTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { + if (targetChangeBuilder_ == null) { + if (responseTypeCase_ == 2 + && responseType_ != com.google.firestore.v1.TargetChange.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.TargetChange.newBuilder( + (com.google.firestore.v1.TargetChange) responseType_) + .mergeFrom(value) + .buildPartial(); + } else { + responseType_ = value; + } + onChanged(); + } else { + if (responseTypeCase_ == 2) { + targetChangeBuilder_.mergeFrom(value); + } + targetChangeBuilder_.setMessage(value); + } + responseTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public Builder clearTargetChange() { + if (targetChangeBuilder_ == null) { + if (responseTypeCase_ == 2) { + responseTypeCase_ = 0; + responseType_ = null; + onChanged(); + } + } else { + if (responseTypeCase_ == 2) { + responseTypeCase_ = 0; + responseType_ = null; + } + targetChangeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public com.google.firestore.v1.TargetChange.Builder getTargetChangeBuilder() { + return getTargetChangeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() { + if ((responseTypeCase_ == 2) && (targetChangeBuilder_ != null)) { + return targetChangeBuilder_.getMessageOrBuilder(); + } else { + if (responseTypeCase_ == 2) { + return (com.google.firestore.v1.TargetChange) responseType_; + } + return com.google.firestore.v1.TargetChange.getDefaultInstance(); + } + } + /** + * + * + *
+     * Targets have changed.
+     * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TargetChange, + com.google.firestore.v1.TargetChange.Builder, + com.google.firestore.v1.TargetChangeOrBuilder> + getTargetChangeFieldBuilder() { + if (targetChangeBuilder_ == null) { + if (!(responseTypeCase_ == 2)) { + responseType_ = com.google.firestore.v1.TargetChange.getDefaultInstance(); + } + targetChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TargetChange, + com.google.firestore.v1.TargetChange.Builder, + com.google.firestore.v1.TargetChangeOrBuilder>( + (com.google.firestore.v1.TargetChange) responseType_, + getParentForChildren(), + isClean()); + responseType_ = null; + } + responseTypeCase_ = 2; + onChanged(); + ; + return targetChangeBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentChange, + com.google.firestore.v1.DocumentChange.Builder, + com.google.firestore.v1.DocumentChangeOrBuilder> + documentChangeBuilder_; + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public boolean hasDocumentChange() { + return responseTypeCase_ == 3; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public com.google.firestore.v1.DocumentChange getDocumentChange() { + if (documentChangeBuilder_ == null) { + if (responseTypeCase_ == 3) { + return (com.google.firestore.v1.DocumentChange) responseType_; + } + return com.google.firestore.v1.DocumentChange.getDefaultInstance(); + } else { + if (responseTypeCase_ == 3) { + return documentChangeBuilder_.getMessage(); + } + return com.google.firestore.v1.DocumentChange.getDefaultInstance(); + } + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public Builder setDocumentChange(com.google.firestore.v1.DocumentChange value) { + if (documentChangeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + responseType_ = value; + onChanged(); + } else { + documentChangeBuilder_.setMessage(value); + } + responseTypeCase_ = 3; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public Builder setDocumentChange( + com.google.firestore.v1.DocumentChange.Builder builderForValue) { + if (documentChangeBuilder_ == null) { + responseType_ = builderForValue.build(); + onChanged(); + } else { + documentChangeBuilder_.setMessage(builderForValue.build()); + } + responseTypeCase_ = 3; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) { + if (documentChangeBuilder_ == null) { + if (responseTypeCase_ == 3 + && responseType_ != com.google.firestore.v1.DocumentChange.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.DocumentChange.newBuilder( + (com.google.firestore.v1.DocumentChange) responseType_) + .mergeFrom(value) + .buildPartial(); + } else { + responseType_ = value; + } + onChanged(); + } else { + if (responseTypeCase_ == 3) { + documentChangeBuilder_.mergeFrom(value); + } + documentChangeBuilder_.setMessage(value); + } + responseTypeCase_ = 3; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public Builder clearDocumentChange() { + if (documentChangeBuilder_ == null) { + if (responseTypeCase_ == 3) { + responseTypeCase_ = 0; + responseType_ = null; + onChanged(); + } + } else { + if (responseTypeCase_ == 3) { + responseTypeCase_ = 0; + responseType_ = null; + } + documentChangeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public com.google.firestore.v1.DocumentChange.Builder getDocumentChangeBuilder() { + return getDocumentChangeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder() { + if ((responseTypeCase_ == 3) && (documentChangeBuilder_ != null)) { + return documentChangeBuilder_.getMessageOrBuilder(); + } else { + if (responseTypeCase_ == 3) { + return (com.google.firestore.v1.DocumentChange) responseType_; + } + return com.google.firestore.v1.DocumentChange.getDefaultInstance(); + } + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has changed.
+     * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentChange, + com.google.firestore.v1.DocumentChange.Builder, + com.google.firestore.v1.DocumentChangeOrBuilder> + getDocumentChangeFieldBuilder() { + if (documentChangeBuilder_ == null) { + if (!(responseTypeCase_ == 3)) { + responseType_ = com.google.firestore.v1.DocumentChange.getDefaultInstance(); + } + documentChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentChange, + com.google.firestore.v1.DocumentChange.Builder, + com.google.firestore.v1.DocumentChangeOrBuilder>( + (com.google.firestore.v1.DocumentChange) responseType_, + getParentForChildren(), + isClean()); + responseType_ = null; + } + responseTypeCase_ = 3; + onChanged(); + ; + return documentChangeBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentDelete, + com.google.firestore.v1.DocumentDelete.Builder, + com.google.firestore.v1.DocumentDeleteOrBuilder> + documentDeleteBuilder_; + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public boolean hasDocumentDelete() { + return responseTypeCase_ == 4; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public com.google.firestore.v1.DocumentDelete getDocumentDelete() { + if (documentDeleteBuilder_ == null) { + if (responseTypeCase_ == 4) { + return (com.google.firestore.v1.DocumentDelete) responseType_; + } + return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); + } else { + if (responseTypeCase_ == 4) { + return documentDeleteBuilder_.getMessage(); + } + return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); + } + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public Builder setDocumentDelete(com.google.firestore.v1.DocumentDelete value) { + if (documentDeleteBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + responseType_ = value; + onChanged(); + } else { + documentDeleteBuilder_.setMessage(value); + } + responseTypeCase_ = 4; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public Builder setDocumentDelete( + com.google.firestore.v1.DocumentDelete.Builder builderForValue) { + if (documentDeleteBuilder_ == null) { + responseType_ = builderForValue.build(); + onChanged(); + } else { + documentDeleteBuilder_.setMessage(builderForValue.build()); + } + responseTypeCase_ = 4; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) { + if (documentDeleteBuilder_ == null) { + if (responseTypeCase_ == 4 + && responseType_ != com.google.firestore.v1.DocumentDelete.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.DocumentDelete.newBuilder( + (com.google.firestore.v1.DocumentDelete) responseType_) + .mergeFrom(value) + .buildPartial(); + } else { + responseType_ = value; + } + onChanged(); + } else { + if (responseTypeCase_ == 4) { + documentDeleteBuilder_.mergeFrom(value); + } + documentDeleteBuilder_.setMessage(value); + } + responseTypeCase_ = 4; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public Builder clearDocumentDelete() { + if (documentDeleteBuilder_ == null) { + if (responseTypeCase_ == 4) { + responseTypeCase_ = 0; + responseType_ = null; + onChanged(); + } + } else { + if (responseTypeCase_ == 4) { + responseTypeCase_ = 0; + responseType_ = null; + } + documentDeleteBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public com.google.firestore.v1.DocumentDelete.Builder getDocumentDeleteBuilder() { + return getDocumentDeleteFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder() { + if ((responseTypeCase_ == 4) && (documentDeleteBuilder_ != null)) { + return documentDeleteBuilder_.getMessageOrBuilder(); + } else { + if (responseTypeCase_ == 4) { + return (com.google.firestore.v1.DocumentDelete) responseType_; + } + return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); + } + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been deleted.
+     * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentDelete, + com.google.firestore.v1.DocumentDelete.Builder, + com.google.firestore.v1.DocumentDeleteOrBuilder> + getDocumentDeleteFieldBuilder() { + if (documentDeleteBuilder_ == null) { + if (!(responseTypeCase_ == 4)) { + responseType_ = com.google.firestore.v1.DocumentDelete.getDefaultInstance(); + } + documentDeleteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentDelete, + com.google.firestore.v1.DocumentDelete.Builder, + com.google.firestore.v1.DocumentDeleteOrBuilder>( + (com.google.firestore.v1.DocumentDelete) responseType_, + getParentForChildren(), + isClean()); + responseType_ = null; + } + responseTypeCase_ = 4; + onChanged(); + ; + return documentDeleteBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentRemove, + com.google.firestore.v1.DocumentRemove.Builder, + com.google.firestore.v1.DocumentRemoveOrBuilder> + documentRemoveBuilder_; + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public boolean hasDocumentRemove() { + return responseTypeCase_ == 6; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public com.google.firestore.v1.DocumentRemove getDocumentRemove() { + if (documentRemoveBuilder_ == null) { + if (responseTypeCase_ == 6) { + return (com.google.firestore.v1.DocumentRemove) responseType_; + } + return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); + } else { + if (responseTypeCase_ == 6) { + return documentRemoveBuilder_.getMessage(); + } + return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); + } + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public Builder setDocumentRemove(com.google.firestore.v1.DocumentRemove value) { + if (documentRemoveBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + responseType_ = value; + onChanged(); + } else { + documentRemoveBuilder_.setMessage(value); + } + responseTypeCase_ = 6; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public Builder setDocumentRemove( + com.google.firestore.v1.DocumentRemove.Builder builderForValue) { + if (documentRemoveBuilder_ == null) { + responseType_ = builderForValue.build(); + onChanged(); + } else { + documentRemoveBuilder_.setMessage(builderForValue.build()); + } + responseTypeCase_ = 6; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value) { + if (documentRemoveBuilder_ == null) { + if (responseTypeCase_ == 6 + && responseType_ != com.google.firestore.v1.DocumentRemove.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.DocumentRemove.newBuilder( + (com.google.firestore.v1.DocumentRemove) responseType_) + .mergeFrom(value) + .buildPartial(); + } else { + responseType_ = value; + } + onChanged(); + } else { + if (responseTypeCase_ == 6) { + documentRemoveBuilder_.mergeFrom(value); + } + documentRemoveBuilder_.setMessage(value); + } + responseTypeCase_ = 6; + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public Builder clearDocumentRemove() { + if (documentRemoveBuilder_ == null) { + if (responseTypeCase_ == 6) { + responseTypeCase_ = 0; + responseType_ = null; + onChanged(); + } + } else { + if (responseTypeCase_ == 6) { + responseTypeCase_ = 0; + responseType_ = null; + } + documentRemoveBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public com.google.firestore.v1.DocumentRemove.Builder getDocumentRemoveBuilder() { + return getDocumentRemoveFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder() { + if ((responseTypeCase_ == 6) && (documentRemoveBuilder_ != null)) { + return documentRemoveBuilder_.getMessageOrBuilder(); + } else { + if (responseTypeCase_ == 6) { + return (com.google.firestore.v1.DocumentRemove) responseType_; + } + return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); + } + } + /** + * + * + *
+     * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+     * relevant to that target).
+     * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentRemove, + com.google.firestore.v1.DocumentRemove.Builder, + com.google.firestore.v1.DocumentRemoveOrBuilder> + getDocumentRemoveFieldBuilder() { + if (documentRemoveBuilder_ == null) { + if (!(responseTypeCase_ == 6)) { + responseType_ = com.google.firestore.v1.DocumentRemove.getDefaultInstance(); + } + documentRemoveBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentRemove, + com.google.firestore.v1.DocumentRemove.Builder, + com.google.firestore.v1.DocumentRemoveOrBuilder>( + (com.google.firestore.v1.DocumentRemove) responseType_, + getParentForChildren(), + isClean()); + responseType_ = null; + } + responseTypeCase_ = 6; + onChanged(); + ; + return documentRemoveBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ExistenceFilter, + com.google.firestore.v1.ExistenceFilter.Builder, + com.google.firestore.v1.ExistenceFilterOrBuilder> + filterBuilder_; + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public boolean hasFilter() { + return responseTypeCase_ == 5; + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public com.google.firestore.v1.ExistenceFilter getFilter() { + if (filterBuilder_ == null) { + if (responseTypeCase_ == 5) { + return (com.google.firestore.v1.ExistenceFilter) responseType_; + } + return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); + } else { + if (responseTypeCase_ == 5) { + return filterBuilder_.getMessage(); + } + return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) { + if (filterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + responseType_ = value; + onChanged(); + } else { + filterBuilder_.setMessage(value); + } + responseTypeCase_ = 5; + return this; + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builderForValue) { + if (filterBuilder_ == null) { + responseType_ = builderForValue.build(); + onChanged(); + } else { + filterBuilder_.setMessage(builderForValue.build()); + } + responseTypeCase_ = 5; + return this; + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) { + if (filterBuilder_ == null) { + if (responseTypeCase_ == 5 + && responseType_ != com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.ExistenceFilter.newBuilder( + (com.google.firestore.v1.ExistenceFilter) responseType_) + .mergeFrom(value) + .buildPartial(); + } else { + responseType_ = value; + } + onChanged(); + } else { + if (responseTypeCase_ == 5) { + filterBuilder_.mergeFrom(value); + } + filterBuilder_.setMessage(value); + } + responseTypeCase_ = 5; + return this; + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public Builder clearFilter() { + if (filterBuilder_ == null) { + if (responseTypeCase_ == 5) { + responseTypeCase_ = 0; + responseType_ = null; + onChanged(); + } + } else { + if (responseTypeCase_ == 5) { + responseTypeCase_ = 0; + responseType_ = null; + } + filterBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public com.google.firestore.v1.ExistenceFilter.Builder getFilterBuilder() { + return getFilterFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() { + if ((responseTypeCase_ == 5) && (filterBuilder_ != null)) { + return filterBuilder_.getMessageOrBuilder(); + } else { + if (responseTypeCase_ == 5) { + return (com.google.firestore.v1.ExistenceFilter) responseType_; + } + return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); + } + } + /** + * + * + *
+     * A filter to apply to the set of documents previously returned for the
+     * given target.
+     * Returned when documents may have been removed from the given target, but
+     * the exact documents are unknown.
+     * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ExistenceFilter, + com.google.firestore.v1.ExistenceFilter.Builder, + com.google.firestore.v1.ExistenceFilterOrBuilder> + getFilterFieldBuilder() { + if (filterBuilder_ == null) { + if (!(responseTypeCase_ == 5)) { + responseType_ = com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); + } + filterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ExistenceFilter, + com.google.firestore.v1.ExistenceFilter.Builder, + com.google.firestore.v1.ExistenceFilterOrBuilder>( + (com.google.firestore.v1.ExistenceFilter) responseType_, + getParentForChildren(), + isClean()); + responseType_ = null; + } + responseTypeCase_ = 5; + onChanged(); + ; + return filterBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListenResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.ListenResponse) + private static final com.google.firestore.v1.ListenResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.ListenResponse(); + } + + public static com.google.firestore.v1.ListenResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListenResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.ListenResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java new file mode 100644 index 000000000000..3394cb55ed53 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java @@ -0,0 +1,179 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface ListenResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Targets have changed.
+   * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + boolean hasTargetChange(); + /** + * + * + *
+   * Targets have changed.
+   * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + com.google.firestore.v1.TargetChange getTargetChange(); + /** + * + * + *
+   * Targets have changed.
+   * 
+ * + * .google.firestore.v1.TargetChange target_change = 2; + */ + com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder(); + + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has changed.
+   * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + boolean hasDocumentChange(); + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has changed.
+   * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + com.google.firestore.v1.DocumentChange getDocumentChange(); + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has changed.
+   * 
+ * + * .google.firestore.v1.DocumentChange document_change = 3; + */ + com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder(); + + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been deleted.
+   * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + boolean hasDocumentDelete(); + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been deleted.
+   * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + com.google.firestore.v1.DocumentDelete getDocumentDelete(); + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been deleted.
+   * 
+ * + * .google.firestore.v1.DocumentDelete document_delete = 4; + */ + com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder(); + + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+   * relevant to that target).
+   * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + boolean hasDocumentRemove(); + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+   * relevant to that target).
+   * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + com.google.firestore.v1.DocumentRemove getDocumentRemove(); + /** + * + * + *
+   * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
+   * relevant to that target).
+   * 
+ * + * .google.firestore.v1.DocumentRemove document_remove = 6; + */ + com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder(); + + /** + * + * + *
+   * A filter to apply to the set of documents previously returned for the
+   * given target.
+   * Returned when documents may have been removed from the given target, but
+   * the exact documents are unknown.
+   * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter to apply to the set of documents previously returned for the
+   * given target.
+   * Returned when documents may have been removed from the given target, but
+   * the exact documents are unknown.
+   * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + com.google.firestore.v1.ExistenceFilter getFilter(); + /** + * + * + *
+   * A filter to apply to the set of documents previously returned for the
+   * given target.
+   * Returned when documents may have been removed from the given target, but
+   * the exact documents are unknown.
+   * 
+ * + * .google.firestore.v1.ExistenceFilter filter = 5; + */ + com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder(); + + public com.google.firestore.v1.ListenResponse.ResponseTypeCase getResponseTypeCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java new file mode 100644 index 000000000000..b80d3d47e6f8 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java @@ -0,0 +1,800 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A map value.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.MapValue} + */ +public final class MapValue extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.MapValue) + MapValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use MapValue.newBuilder() to construct. + private MapValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MapValue() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private MapValue( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = + com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + fields__ = + input.readMessage( + FieldsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + fields_.getMutableMap().put(fields__.getKey(), fields__.getValue()); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 1: + return internalGetFields(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.MapValue.class, com.google.firestore.v1.MapValue.Builder.class); + } + + public static final int FIELDS_FIELD_NUMBER = 1; + + private static final class FieldsDefaultEntryHolder { + static final com.google.protobuf.MapEntry + defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.firestore.v1.Value.getDefaultInstance()); + } + + private com.google.protobuf.MapField fields_; + + private com.google.protobuf.MapField + internalGetFields() { + if (fields_ == null) { + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + } + return fields_; + } + + public int getFieldsCount() { + return internalGetFields().getMap().size(); + } + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetFields().getMap().containsKey(key); + } + /** Use {@link #getFieldsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getFields() { + return getFieldsMap(); + } + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public java.util.Map getFieldsMap() { + return internalGetFields().getMap(); + } + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public com.google.firestore.v1.Value getFieldsOrDefault( + java.lang.String key, com.google.firestore.v1.Value defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 1); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry : + internalGetFields().getMap().entrySet()) { + com.google.protobuf.MapEntry fields__ = + FieldsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields__); + } + size += unknownFields.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.firestore.v1.MapValue)) { + return super.equals(obj); + } + com.google.firestore.v1.MapValue other = (com.google.firestore.v1.MapValue) obj; + + boolean result = true; + result = result && internalGetFields().equals(other.internalGetFields()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetFields().getMap().isEmpty()) { + hash = (37 * hash) + FIELDS_FIELD_NUMBER; + hash = (53 * hash) + internalGetFields().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.MapValue parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.MapValue parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.MapValue parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.MapValue 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.firestore.v1.MapValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.MapValue parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.MapValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.MapValue 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.firestore.v1.MapValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.MapValue 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.firestore.v1.MapValue parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.MapValue 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.firestore.v1.MapValue prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A map value.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.MapValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.MapValue) + com.google.firestore.v1.MapValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 1: + return internalGetFields(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 1: + return internalGetMutableFields(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.MapValue.class, + com.google.firestore.v1.MapValue.Builder.class); + } + + // Construct using com.google.firestore.v1.MapValue.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + internalGetMutableFields().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.MapValue getDefaultInstanceForType() { + return com.google.firestore.v1.MapValue.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.MapValue build() { + com.google.firestore.v1.MapValue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.MapValue buildPartial() { + com.google.firestore.v1.MapValue result = new com.google.firestore.v1.MapValue(this); + int from_bitField0_ = bitField0_; + result.fields_ = internalGetFields(); + result.fields_.makeImmutable(); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.MapValue) { + return mergeFrom((com.google.firestore.v1.MapValue) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.MapValue other) { + if (other == com.google.firestore.v1.MapValue.getDefaultInstance()) return this; + internalGetMutableFields().mergeFrom(other.internalGetFields()); + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.MapValue parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.MapValue) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.MapField fields_; + + private com.google.protobuf.MapField + internalGetFields() { + if (fields_ == null) { + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + } + return fields_; + } + + private com.google.protobuf.MapField + internalGetMutableFields() { + onChanged(); + ; + if (fields_ == null) { + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + } + if (!fields_.isMutable()) { + fields_ = fields_.copy(); + } + return fields_; + } + + public int getFieldsCount() { + return internalGetFields().getMap().size(); + } + /** + * + * + *
+     * The map's fields.
+     * The map keys represent field names. Field names matching the regular
+     * expression `__.*__` are reserved. Reserved field names are forbidden except
+     * in certain documented contexts. The map keys, represented as UTF-8, must
+     * not exceed 1,500 bytes and cannot be empty.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public boolean containsFields(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetFields().getMap().containsKey(key); + } + /** Use {@link #getFieldsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getFields() { + return getFieldsMap(); + } + /** + * + * + *
+     * The map's fields.
+     * The map keys represent field names. Field names matching the regular
+     * expression `__.*__` are reserved. Reserved field names are forbidden except
+     * in certain documented contexts. The map keys, represented as UTF-8, must
+     * not exceed 1,500 bytes and cannot be empty.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public java.util.Map getFieldsMap() { + return internalGetFields().getMap(); + } + /** + * + * + *
+     * The map's fields.
+     * The map keys represent field names. Field names matching the regular
+     * expression `__.*__` are reserved. Reserved field names are forbidden except
+     * in certain documented contexts. The map keys, represented as UTF-8, must
+     * not exceed 1,500 bytes and cannot be empty.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public com.google.firestore.v1.Value getFieldsOrDefault( + java.lang.String key, com.google.firestore.v1.Value defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * The map's fields.
+     * The map keys represent field names. Field names matching the regular
+     * expression `__.*__` are reserved. Reserved field names are forbidden except
+     * in certain documented contexts. The map keys, represented as UTF-8, must
+     * not exceed 1,500 bytes and cannot be empty.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetFields().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearFields() { + internalGetMutableFields().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * The map's fields.
+     * The map keys represent field names. Field names matching the regular
+     * expression `__.*__` are reserved. Reserved field names are forbidden except
+     * in certain documented contexts. The map keys, represented as UTF-8, must
+     * not exceed 1,500 bytes and cannot be empty.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public Builder removeFields(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableFields().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableFields() { + return internalGetMutableFields().getMutableMap(); + } + /** + * + * + *
+     * The map's fields.
+     * The map keys represent field names. Field names matching the regular
+     * expression `__.*__` are reserved. Reserved field names are forbidden except
+     * in certain documented contexts. The map keys, represented as UTF-8, must
+     * not exceed 1,500 bytes and cannot be empty.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableFields().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * The map's fields.
+     * The map keys represent field names. Field names matching the regular
+     * expression `__.*__` are reserved. Reserved field names are forbidden except
+     * in certain documented contexts. The map keys, represented as UTF-8, must
+     * not exceed 1,500 bytes and cannot be empty.
+     * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + public Builder putAllFields( + java.util.Map values) { + internalGetMutableFields().getMutableMap().putAll(values); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.MapValue) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.MapValue) + private static final com.google.firestore.v1.MapValue DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.MapValue(); + } + + public static com.google.firestore.v1.MapValue getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MapValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MapValue(input, extensionRegistry); + } + }; + + 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.firestore.v1.MapValue getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java new file mode 100644 index 000000000000..755000e2d83b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java @@ -0,0 +1,85 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +public interface MapValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.MapValue) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + int getFieldsCount(); + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + boolean containsFields(java.lang.String key); + /** Use {@link #getFieldsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getFields(); + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + java.util.Map getFieldsMap(); + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + com.google.firestore.v1.Value getFieldsOrDefault( + java.lang.String key, com.google.firestore.v1.Value defaultValue); + /** + * + * + *
+   * The map's fields.
+   * The map keys represent field names. Field names matching the regular
+   * expression `__.*__` are reserved. Reserved field names are forbidden except
+   * in certain documented contexts. The map keys, represented as UTF-8, must
+   * not exceed 1,500 bytes and cannot be empty.
+   * 
+ * + * map<string, .google.firestore.v1.Value> fields = 1; + */ + com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java new file mode 100644 index 000000000000..488b6dabba89 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java @@ -0,0 +1,900 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/common.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A precondition on a document, used for conditional operations.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.Precondition} + */ +public final class Precondition extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Precondition) + PreconditionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Precondition.newBuilder() to construct. + private Precondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Precondition() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Precondition( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + conditionTypeCase_ = 1; + conditionType_ = input.readBool(); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (conditionTypeCase_ == 2) { + subBuilder = ((com.google.protobuf.Timestamp) conditionType_).toBuilder(); + } + conditionType_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) conditionType_); + conditionType_ = subBuilder.buildPartial(); + } + conditionTypeCase_ = 2; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Precondition.class, + com.google.firestore.v1.Precondition.Builder.class); + } + + private int conditionTypeCase_ = 0; + private java.lang.Object conditionType_; + + public enum ConditionTypeCase implements com.google.protobuf.Internal.EnumLite { + EXISTS(1), + UPDATE_TIME(2), + CONDITIONTYPE_NOT_SET(0); + private final int value; + + private ConditionTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ConditionTypeCase valueOf(int value) { + return forNumber(value); + } + + public static ConditionTypeCase forNumber(int value) { + switch (value) { + case 1: + return EXISTS; + case 2: + return UPDATE_TIME; + case 0: + return CONDITIONTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConditionTypeCase getConditionTypeCase() { + return ConditionTypeCase.forNumber(conditionTypeCase_); + } + + public static final int EXISTS_FIELD_NUMBER = 1; + /** + * + * + *
+   * When set to `true`, the target document must exist.
+   * When set to `false`, the target document must not exist.
+   * 
+ * + * bool exists = 1; + */ + public boolean getExists() { + if (conditionTypeCase_ == 1) { + return (java.lang.Boolean) conditionType_; + } + return false; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 2; + /** + * + * + *
+   * When set, the target document must exist and have been last updated at
+   * that time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public boolean hasUpdateTime() { + return conditionTypeCase_ == 2; + } + /** + * + * + *
+   * When set, the target document must exist and have been last updated at
+   * that time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (conditionTypeCase_ == 2) { + return (com.google.protobuf.Timestamp) conditionType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+   * When set, the target document must exist and have been last updated at
+   * that time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (conditionTypeCase_ == 2) { + return (com.google.protobuf.Timestamp) conditionType_; + } + return com.google.protobuf.Timestamp.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 (conditionTypeCase_ == 1) { + output.writeBool(1, (boolean) ((java.lang.Boolean) conditionType_)); + } + if (conditionTypeCase_ == 2) { + output.writeMessage(2, (com.google.protobuf.Timestamp) conditionType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (conditionTypeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) conditionType_)); + } + if (conditionTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.protobuf.Timestamp) conditionType_); + } + size += unknownFields.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.firestore.v1.Precondition)) { + return super.equals(obj); + } + com.google.firestore.v1.Precondition other = (com.google.firestore.v1.Precondition) obj; + + boolean result = true; + result = result && getConditionTypeCase().equals(other.getConditionTypeCase()); + if (!result) return false; + switch (conditionTypeCase_) { + case 1: + result = result && (getExists() == other.getExists()); + break; + case 2: + result = result && getUpdateTime().equals(other.getUpdateTime()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (conditionTypeCase_) { + case 1: + hash = (37 * hash) + EXISTS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExists()); + break; + case 2: + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Precondition parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Precondition parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Precondition parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Precondition 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.firestore.v1.Precondition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Precondition parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Precondition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Precondition 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.firestore.v1.Precondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Precondition 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.firestore.v1.Precondition parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Precondition 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.firestore.v1.Precondition prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A precondition on a document, used for conditional operations.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Precondition} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Precondition) + com.google.firestore.v1.PreconditionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Precondition.class, + com.google.firestore.v1.Precondition.Builder.class); + } + + // Construct using com.google.firestore.v1.Precondition.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + conditionTypeCase_ = 0; + conditionType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Precondition getDefaultInstanceForType() { + return com.google.firestore.v1.Precondition.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Precondition build() { + com.google.firestore.v1.Precondition result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Precondition buildPartial() { + com.google.firestore.v1.Precondition result = new com.google.firestore.v1.Precondition(this); + if (conditionTypeCase_ == 1) { + result.conditionType_ = conditionType_; + } + if (conditionTypeCase_ == 2) { + if (updateTimeBuilder_ == null) { + result.conditionType_ = conditionType_; + } else { + result.conditionType_ = updateTimeBuilder_.build(); + } + } + result.conditionTypeCase_ = conditionTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Precondition) { + return mergeFrom((com.google.firestore.v1.Precondition) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Precondition other) { + if (other == com.google.firestore.v1.Precondition.getDefaultInstance()) return this; + switch (other.getConditionTypeCase()) { + case EXISTS: + { + setExists(other.getExists()); + break; + } + case UPDATE_TIME: + { + mergeUpdateTime(other.getUpdateTime()); + break; + } + case CONDITIONTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Precondition parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Precondition) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int conditionTypeCase_ = 0; + private java.lang.Object conditionType_; + + public ConditionTypeCase getConditionTypeCase() { + return ConditionTypeCase.forNumber(conditionTypeCase_); + } + + public Builder clearConditionType() { + conditionTypeCase_ = 0; + conditionType_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+     * When set to `true`, the target document must exist.
+     * When set to `false`, the target document must not exist.
+     * 
+ * + * bool exists = 1; + */ + public boolean getExists() { + if (conditionTypeCase_ == 1) { + return (java.lang.Boolean) conditionType_; + } + return false; + } + /** + * + * + *
+     * When set to `true`, the target document must exist.
+     * When set to `false`, the target document must not exist.
+     * 
+ * + * bool exists = 1; + */ + public Builder setExists(boolean value) { + conditionTypeCase_ = 1; + conditionType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * When set to `true`, the target document must exist.
+     * When set to `false`, the target document must not exist.
+     * 
+ * + * bool exists = 1; + */ + public Builder clearExists() { + if (conditionTypeCase_ == 1) { + conditionTypeCase_ = 0; + conditionType_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public boolean hasUpdateTime() { + return conditionTypeCase_ == 2; + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + if (conditionTypeCase_ == 2) { + return (com.google.protobuf.Timestamp) conditionType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (conditionTypeCase_ == 2) { + return updateTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + conditionType_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + conditionTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + conditionType_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + conditionTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (conditionTypeCase_ == 2 + && conditionType_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + conditionType_ = + com.google.protobuf.Timestamp.newBuilder( + (com.google.protobuf.Timestamp) conditionType_) + .mergeFrom(value) + .buildPartial(); + } else { + conditionType_ = value; + } + onChanged(); + } else { + if (conditionTypeCase_ == 2) { + updateTimeBuilder_.mergeFrom(value); + } + updateTimeBuilder_.setMessage(value); + } + conditionTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + if (conditionTypeCase_ == 2) { + conditionTypeCase_ = 0; + conditionType_ = null; + onChanged(); + } + } else { + if (conditionTypeCase_ == 2) { + conditionTypeCase_ = 0; + conditionType_ = null; + } + updateTimeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if ((conditionTypeCase_ == 2) && (updateTimeBuilder_ != null)) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + if (conditionTypeCase_ == 2) { + return (com.google.protobuf.Timestamp) conditionType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * When set, the target document must exist and have been last updated at
+     * that time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + if (!(conditionTypeCase_ == 2)) { + conditionType_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) conditionType_, getParentForChildren(), isClean()); + conditionType_ = null; + } + conditionTypeCase_ = 2; + onChanged(); + ; + return updateTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Precondition) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Precondition) + private static final com.google.firestore.v1.Precondition DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Precondition(); + } + + public static com.google.firestore.v1.Precondition getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Precondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Precondition(input, extensionRegistry); + } + }; + + 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.firestore.v1.Precondition getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java new file mode 100644 index 000000000000..ffcfbc9f462e --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/common.proto + +package com.google.firestore.v1; + +public interface PreconditionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Precondition) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * When set to `true`, the target document must exist.
+   * When set to `false`, the target document must not exist.
+   * 
+ * + * bool exists = 1; + */ + boolean getExists(); + + /** + * + * + *
+   * When set, the target document must exist and have been last updated at
+   * that time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * When set, the target document must exist and have been last updated at
+   * that time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * When set, the target document must exist and have been last updated at
+   * that time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + public com.google.firestore.v1.Precondition.ConditionTypeCase getConditionTypeCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java new file mode 100644 index 000000000000..bc3c06b1ada8 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java @@ -0,0 +1,225 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/query.proto + +package com.google.firestore.v1; + +public final class QueryProto { + private QueryProto() {} + + 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_firestore_v1_StructuredQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Cursor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Cursor_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\037google/firestore/v1/query.proto\022\023googl" + + "e.firestore.v1\032\034google/api/annotations.p" + + "roto\032\"google/firestore/v1/document.proto" + + "\032\036google/protobuf/wrappers.proto\"\332\016\n\017Str" + + "ucturedQuery\022?\n\006select\030\001 \001(\0132/.google.fi" + + "restore.v1.StructuredQuery.Projection\022E\n" + + "\004from\030\002 \003(\01327.google.firestore.v1.Struct" + + "uredQuery.CollectionSelector\022:\n\005where\030\003 " + + "\001(\0132+.google.firestore.v1.StructuredQuer" + + "y.Filter\022<\n\010order_by\030\004 \003(\0132*.google.fire" + + "store.v1.StructuredQuery.Order\022-\n\010start_" + + "at\030\007 \001(\0132\033.google.firestore.v1.Cursor\022+\n" + + "\006end_at\030\010 \001(\0132\033.google.firestore.v1.Curs" + + "or\022\016\n\006offset\030\006 \001(\005\022*\n\005limit\030\005 \001(\0132\033.goog" + + "le.protobuf.Int32Value\032D\n\022CollectionSele" + + "ctor\022\025\n\rcollection_id\030\002 \001(\t\022\027\n\017all_desce" + + "ndants\030\003 \001(\010\032\375\001\n\006Filter\022P\n\020composite_fil" + + "ter\030\001 \001(\01324.google.firestore.v1.Structur" + + "edQuery.CompositeFilterH\000\022H\n\014field_filte" + + "r\030\002 \001(\01320.google.firestore.v1.Structured" + + "Query.FieldFilterH\000\022H\n\014unary_filter\030\003 \001(" + + "\01320.google.firestore.v1.StructuredQuery." + + "UnaryFilterH\000B\r\n\013filter_type\032\311\001\n\017Composi" + + "teFilter\022I\n\002op\030\001 \001(\0162=.google.firestore." + + "v1.StructuredQuery.CompositeFilter.Opera" + + "tor\022<\n\007filters\030\002 \003(\0132+.google.firestore." + + "v1.StructuredQuery.Filter\"-\n\010Operator\022\030\n" + + "\024OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001\032\335\002\n\013Fie" + + "ldFilter\022B\n\005field\030\001 \001(\01323.google.firesto" + + "re.v1.StructuredQuery.FieldReference\022E\n\002" + + "op\030\002 \001(\01629.google.firestore.v1.Structure" + + "dQuery.FieldFilter.Operator\022)\n\005value\030\003 \001" + + "(\0132\032.google.firestore.v1.Value\"\227\001\n\010Opera" + + "tor\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLESS_TH" + + "AN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GREATER_" + + "THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t\n\005EQU" + + "AL\020\005\022\022\n\016ARRAY_CONTAINS\020\007\032\351\001\n\013UnaryFilter" + + "\022E\n\002op\030\001 \001(\01629.google.firestore.v1.Struc" + + "turedQuery.UnaryFilter.Operator\022D\n\005field" + + "\030\002 \001(\01323.google.firestore.v1.StructuredQ" + + "uery.FieldReferenceH\000\"=\n\010Operator\022\030\n\024OPE" + + "RATOR_UNSPECIFIED\020\000\022\n\n\006IS_NAN\020\002\022\013\n\007IS_NU" + + "LL\020\003B\016\n\014operand_type\032\216\001\n\005Order\022B\n\005field\030" + + "\001 \001(\01323.google.firestore.v1.StructuredQu" + + "ery.FieldReference\022A\n\tdirection\030\002 \001(\0162.." + + "google.firestore.v1.StructuredQuery.Dire" + + "ction\032$\n\016FieldReference\022\022\n\nfield_path\030\002 " + + "\001(\t\032Q\n\nProjection\022C\n\006fields\030\002 \003(\01323.goog" + + "le.firestore.v1.StructuredQuery.FieldRef" + + "erence\"E\n\tDirection\022\031\n\025DIRECTION_UNSPECI" + + "FIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDING\020\002\"D\n" + + "\006Cursor\022*\n\006values\030\001 \003(\0132\032.google.firesto" + + "re.v1.Value\022\016\n\006before\030\002 \001(\010B\244\001\n\027com.goog" + + "le.firestore.v1B\nQueryProtoP\001Z + * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback]. + *
+ * + * Protobuf type {@code google.firestore.v1.RollbackRequest} + */ +public final class RollbackRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.RollbackRequest) + RollbackRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RollbackRequest.newBuilder() to construct. + private RollbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RollbackRequest() { + database_ = ""; + transaction_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RollbackRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + database_ = s; + break; + } + case 18: + { + transaction_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.RollbackRequest.class, + com.google.firestore.v1.RollbackRequest.Builder.class); + } + + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + 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(); + database_ = s; + return s; + } + } + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSACTION_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString transaction_; + /** + * + * + *
+   * The transaction to roll back.
+   * 
+ * + * bytes transaction = 2; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + + 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 (!getDatabaseBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + if (!transaction_.isEmpty()) { + output.writeBytes(2, transaction_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDatabaseBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + if (!transaction_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_); + } + size += unknownFields.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.firestore.v1.RollbackRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.RollbackRequest other = (com.google.firestore.v1.RollbackRequest) obj; + + boolean result = true; + result = result && getDatabase().equals(other.getDatabase()); + result = result && getTransaction().equals(other.getTransaction()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RollbackRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.RollbackRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RollbackRequest 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.firestore.v1.RollbackRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RollbackRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.RollbackRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RollbackRequest 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.firestore.v1.RollbackRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RollbackRequest 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.firestore.v1.RollbackRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RollbackRequest 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.firestore.v1.RollbackRequest 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 request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.RollbackRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.RollbackRequest) + com.google.firestore.v1.RollbackRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.RollbackRequest.class, + com.google.firestore.v1.RollbackRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.RollbackRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + transaction_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.RollbackRequest getDefaultInstanceForType() { + return com.google.firestore.v1.RollbackRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.RollbackRequest build() { + com.google.firestore.v1.RollbackRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.RollbackRequest buildPartial() { + com.google.firestore.v1.RollbackRequest result = + new com.google.firestore.v1.RollbackRequest(this); + result.database_ = database_; + result.transaction_ = transaction_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.RollbackRequest) { + return mergeFrom((com.google.firestore.v1.RollbackRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.RollbackRequest other) { + if (other == com.google.firestore.v1.RollbackRequest.getDefaultInstance()) return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { + setTransaction(other.getTransaction()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.RollbackRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.RollbackRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object database_ = ""; + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * The transaction to roll back.
+     * 
+ * + * bytes transaction = 2; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + /** + * + * + *
+     * The transaction to roll back.
+     * 
+ * + * bytes transaction = 2; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + transaction_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The transaction to roll back.
+     * 
+ * + * bytes transaction = 2; + */ + public Builder clearTransaction() { + + transaction_ = getDefaultInstance().getTransaction(); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.RollbackRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.RollbackRequest) + private static final com.google.firestore.v1.RollbackRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.RollbackRequest(); + } + + public static com.google.firestore.v1.RollbackRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RollbackRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.RollbackRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java new file mode 100644 index 000000000000..82bf4f741f20 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java @@ -0,0 +1,44 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface RollbackRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.RollbackRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * 
+ * + * string database = 1; + */ + com.google.protobuf.ByteString getDatabaseBytes(); + + /** + * + * + *
+   * The transaction to roll back.
+   * 
+ * + * bytes transaction = 2; + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java new file mode 100644 index 000000000000..3fecded42c0c --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java @@ -0,0 +1,1790 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.RunQueryRequest} + */ +public final class RunQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryRequest) + RunQueryRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RunQueryRequest.newBuilder() to construct. + private RunQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RunQueryRequest() { + parent_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RunQueryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + parent_ = s; + break; + } + case 18: + { + com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; + if (queryTypeCase_ == 2) { + subBuilder = ((com.google.firestore.v1.StructuredQuery) queryType_).toBuilder(); + } + queryType_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.StructuredQuery) queryType_); + queryType_ = subBuilder.buildPartial(); + } + queryTypeCase_ = 2; + break; + } + case 42: + { + consistencySelectorCase_ = 5; + consistencySelector_ = input.readBytes(); + break; + } + case 50: + { + com.google.firestore.v1.TransactionOptions.Builder subBuilder = null; + if (consistencySelectorCase_ == 6) { + subBuilder = + ((com.google.firestore.v1.TransactionOptions) consistencySelector_).toBuilder(); + } + consistencySelector_ = + input.readMessage( + com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.firestore.v1.TransactionOptions) consistencySelector_); + consistencySelector_ = subBuilder.buildPartial(); + } + consistencySelectorCase_ = 6; + break; + } + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (consistencySelectorCase_ == 7) { + subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); + } + consistencySelector_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); + consistencySelector_ = subBuilder.buildPartial(); + } + consistencySelectorCase_ = 7; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.RunQueryRequest.class, + com.google.firestore.v1.RunQueryRequest.Builder.class); + } + + private int queryTypeCase_ = 0; + private java.lang.Object queryType_; + + public enum QueryTypeCase implements com.google.protobuf.Internal.EnumLite { + STRUCTURED_QUERY(2), + QUERYTYPE_NOT_SET(0); + private final int value; + + private QueryTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static QueryTypeCase valueOf(int value) { + return forNumber(value); + } + + public static QueryTypeCase forNumber(int value) { + switch (value) { + case 2: + return STRUCTURED_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public enum ConsistencySelectorCase implements com.google.protobuf.Internal.EnumLite { + TRANSACTION(5), + NEW_TRANSACTION(6), + READ_TIME(7), + CONSISTENCYSELECTOR_NOT_SET(0); + private final int value; + + private ConsistencySelectorCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ConsistencySelectorCase valueOf(int value) { + return forNumber(value); + } + + public static ConsistencySelectorCase forNumber(int value) { + switch (value) { + case 5: + return TRANSACTION; + case 6: + return NEW_TRANSACTION; + case 7: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + 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 STRUCTURED_QUERY_FIELD_NUMBER = 2; + /** + * + * + *
+   * A structured query.
+   * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public boolean hasStructuredQuery() { + return queryTypeCase_ == 2; + } + /** + * + * + *
+   * A structured query.
+   * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQuery getStructuredQuery() { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + /** + * + * + *
+   * A structured query.
+   * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + + public static final int TRANSACTION_FIELD_NUMBER = 5; + /** + * + * + *
+   * Reads documents in a transaction.
+   * 
+ * + * bytes transaction = 5; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 5) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int NEW_TRANSACTION_FIELD_NUMBER = 6; + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public boolean hasNewTransaction() { + return consistencySelectorCase_ == 6; + } + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public com.google.firestore.v1.TransactionOptions getNewTransaction() { + if (consistencySelectorCase_ == 6) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() { + if (consistencySelectorCase_ == 6) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + + public static final int READ_TIME_FIELD_NUMBER = 7; + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 7; + } + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.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 (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (queryTypeCase_ == 2) { + output.writeMessage(2, (com.google.firestore.v1.StructuredQuery) queryType_); + } + if (consistencySelectorCase_ == 5) { + output.writeBytes(5, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 6) { + output.writeMessage(6, (com.google.firestore.v1.TransactionOptions) consistencySelector_); + } + if (consistencySelectorCase_ == 7) { + output.writeMessage(7, (com.google.protobuf.Timestamp) consistencySelector_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (queryTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery) queryType_); + } + if (consistencySelectorCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 5, (com.google.protobuf.ByteString) consistencySelector_); + } + if (consistencySelectorCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.firestore.v1.TransactionOptions) consistencySelector_); + } + if (consistencySelectorCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.protobuf.Timestamp) consistencySelector_); + } + size += unknownFields.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.firestore.v1.RunQueryRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.RunQueryRequest other = (com.google.firestore.v1.RunQueryRequest) obj; + + boolean result = true; + result = result && getParent().equals(other.getParent()); + result = result && getQueryTypeCase().equals(other.getQueryTypeCase()); + if (!result) return false; + switch (queryTypeCase_) { + case 2: + result = result && getStructuredQuery().equals(other.getStructuredQuery()); + break; + case 0: + default: + } + result = result && getConsistencySelectorCase().equals(other.getConsistencySelectorCase()); + if (!result) return false; + switch (consistencySelectorCase_) { + case 5: + result = result && getTransaction().equals(other.getTransaction()); + break; + case 6: + result = result && getNewTransaction().equals(other.getNewTransaction()); + break; + case 7: + result = result && getReadTime().equals(other.getReadTime()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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(); + switch (queryTypeCase_) { + case 2: + hash = (37 * hash) + STRUCTURED_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getStructuredQuery().hashCode(); + break; + case 0: + default: + } + switch (consistencySelectorCase_) { + case 5: + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + break; + case 6: + hash = (37 * hash) + NEW_TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getNewTransaction().hashCode(); + break; + case 7: + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.RunQueryRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RunQueryRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.RunQueryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RunQueryRequest 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.firestore.v1.RunQueryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RunQueryRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.RunQueryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RunQueryRequest 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.firestore.v1.RunQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RunQueryRequest 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.firestore.v1.RunQueryRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RunQueryRequest 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.firestore.v1.RunQueryRequest 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 request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.RunQueryRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunQueryRequest) + com.google.firestore.v1.RunQueryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.RunQueryRequest.class, + com.google.firestore.v1.RunQueryRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.RunQueryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + queryTypeCase_ = 0; + queryType_ = null; + consistencySelectorCase_ = 0; + consistencySelector_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.RunQueryRequest getDefaultInstanceForType() { + return com.google.firestore.v1.RunQueryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.RunQueryRequest build() { + com.google.firestore.v1.RunQueryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.RunQueryRequest buildPartial() { + com.google.firestore.v1.RunQueryRequest result = + new com.google.firestore.v1.RunQueryRequest(this); + result.parent_ = parent_; + if (queryTypeCase_ == 2) { + if (structuredQueryBuilder_ == null) { + result.queryType_ = queryType_; + } else { + result.queryType_ = structuredQueryBuilder_.build(); + } + } + if (consistencySelectorCase_ == 5) { + result.consistencySelector_ = consistencySelector_; + } + if (consistencySelectorCase_ == 6) { + if (newTransactionBuilder_ == null) { + result.consistencySelector_ = consistencySelector_; + } else { + result.consistencySelector_ = newTransactionBuilder_.build(); + } + } + if (consistencySelectorCase_ == 7) { + if (readTimeBuilder_ == null) { + result.consistencySelector_ = consistencySelector_; + } else { + result.consistencySelector_ = readTimeBuilder_.build(); + } + } + result.queryTypeCase_ = queryTypeCase_; + result.consistencySelectorCase_ = consistencySelectorCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.RunQueryRequest) { + return mergeFrom((com.google.firestore.v1.RunQueryRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.RunQueryRequest other) { + if (other == com.google.firestore.v1.RunQueryRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + switch (other.getQueryTypeCase()) { + case STRUCTURED_QUERY: + { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: + { + break; + } + } + switch (other.getConsistencySelectorCase()) { + case TRANSACTION: + { + setTransaction(other.getTransaction()); + break; + } + case NEW_TRANSACTION: + { + mergeNewTransaction(other.getNewTransaction()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.RunQueryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.RunQueryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int queryTypeCase_ = 0; + private java.lang.Object queryType_; + + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); + } + + public Builder clearQueryType() { + queryTypeCase_ = 0; + queryType_ = null; + onChanged(); + return this; + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public Builder clearConsistencySelector() { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + structuredQueryBuilder_; + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public boolean hasStructuredQuery() { + return queryTypeCase_ == 2; + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQuery getStructuredQuery() { + if (structuredQueryBuilder_ == null) { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } else { + if (queryTypeCase_ == 2) { + return structuredQueryBuilder_.getMessage(); + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) { + if (structuredQueryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + queryType_ = value; + onChanged(); + } else { + structuredQueryBuilder_.setMessage(value); + } + queryTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder setStructuredQuery( + com.google.firestore.v1.StructuredQuery.Builder builderForValue) { + if (structuredQueryBuilder_ == null) { + queryType_ = builderForValue.build(); + onChanged(); + } else { + structuredQueryBuilder_.setMessage(builderForValue.build()); + } + queryTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { + if (structuredQueryBuilder_ == null) { + if (queryTypeCase_ == 2 + && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredQuery.newBuilder( + (com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value) + .buildPartial(); + } else { + queryType_ = value; + } + onChanged(); + } else { + if (queryTypeCase_ == 2) { + structuredQueryBuilder_.mergeFrom(value); + } + structuredQueryBuilder_.setMessage(value); + } + queryTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder clearStructuredQuery() { + if (structuredQueryBuilder_ == null) { + if (queryTypeCase_ == 2) { + queryTypeCase_ = 0; + queryType_ = null; + onChanged(); + } + } else { + if (queryTypeCase_ == 2) { + queryTypeCase_ = 0; + queryType_ = null; + } + structuredQueryBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder() { + return getStructuredQueryFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { + if ((queryTypeCase_ == 2) && (structuredQueryBuilder_ != null)) { + return structuredQueryBuilder_.getMessageOrBuilder(); + } else { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + getStructuredQueryFieldBuilder() { + if (structuredQueryBuilder_ == null) { + if (!(queryTypeCase_ == 2)) { + queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + structuredQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder>( + (com.google.firestore.v1.StructuredQuery) queryType_, + getParentForChildren(), + isClean()); + queryType_ = null; + } + queryTypeCase_ = 2; + onChanged(); + ; + return structuredQueryBuilder_; + } + + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 5; + */ + public com.google.protobuf.ByteString getTransaction() { + if (consistencySelectorCase_ == 5) { + return (com.google.protobuf.ByteString) consistencySelector_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 5; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelectorCase_ = 5; + consistencySelector_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Reads documents in a transaction.
+     * 
+ * + * bytes transaction = 5; + */ + public Builder clearTransaction() { + if (consistencySelectorCase_ == 5) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + newTransactionBuilder_; + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public boolean hasNewTransaction() { + return consistencySelectorCase_ == 6; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public com.google.firestore.v1.TransactionOptions getNewTransaction() { + if (newTransactionBuilder_ == null) { + if (consistencySelectorCase_ == 6) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } else { + if (consistencySelectorCase_ == 6) { + return newTransactionBuilder_.getMessage(); + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions value) { + if (newTransactionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelector_ = value; + onChanged(); + } else { + newTransactionBuilder_.setMessage(value); + } + consistencySelectorCase_ = 6; + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public Builder setNewTransaction( + com.google.firestore.v1.TransactionOptions.Builder builderForValue) { + if (newTransactionBuilder_ == null) { + consistencySelector_ = builderForValue.build(); + onChanged(); + } else { + newTransactionBuilder_.setMessage(builderForValue.build()); + } + consistencySelectorCase_ = 6; + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) { + if (newTransactionBuilder_ == null) { + if (consistencySelectorCase_ == 6 + && consistencySelector_ + != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) { + consistencySelector_ = + com.google.firestore.v1.TransactionOptions.newBuilder( + (com.google.firestore.v1.TransactionOptions) consistencySelector_) + .mergeFrom(value) + .buildPartial(); + } else { + consistencySelector_ = value; + } + onChanged(); + } else { + if (consistencySelectorCase_ == 6) { + newTransactionBuilder_.mergeFrom(value); + } + newTransactionBuilder_.setMessage(value); + } + consistencySelectorCase_ = 6; + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public Builder clearNewTransaction() { + if (newTransactionBuilder_ == null) { + if (consistencySelectorCase_ == 6) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + } else { + if (consistencySelectorCase_ == 6) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + } + newTransactionBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuilder() { + return getNewTransactionFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() { + if ((consistencySelectorCase_ == 6) && (newTransactionBuilder_ != null)) { + return newTransactionBuilder_.getMessageOrBuilder(); + } else { + if (consistencySelectorCase_ == 6) { + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + } + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + } + /** + * + * + *
+     * Starts a new transaction and reads the documents.
+     * Defaults to a read-only transaction.
+     * The new transaction ID will be returned as the first response in the
+     * stream.
+     * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + getNewTransactionFieldBuilder() { + if (newTransactionBuilder_ == null) { + if (!(consistencySelectorCase_ == 6)) { + consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + newTransactionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder>( + (com.google.firestore.v1.TransactionOptions) consistencySelector_, + getParentForChildren(), + isClean()); + consistencySelector_ = null; + } + consistencySelectorCase_ = 6; + onChanged(); + ; + return newTransactionBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 7; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (consistencySelectorCase_ == 7) { + return readTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelector_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 7; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + consistencySelector_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + consistencySelectorCase_ = 7; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 7 + && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + consistencySelector_ = + com.google.protobuf.Timestamp.newBuilder( + (com.google.protobuf.Timestamp) consistencySelector_) + .mergeFrom(value) + .buildPartial(); + } else { + consistencySelector_ = value; + } + onChanged(); + } else { + if (consistencySelectorCase_ == 7) { + readTimeBuilder_.mergeFrom(value); + } + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 7; + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 7) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + } else { + if (consistencySelectorCase_ == 7) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + } + readTimeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if ((consistencySelectorCase_ == 7) && (readTimeBuilder_ != null)) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + if (consistencySelectorCase_ == 7) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Reads documents as they were at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + if (!(consistencySelectorCase_ == 7)) { + consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) consistencySelector_, + getParentForChildren(), + isClean()); + consistencySelector_ = null; + } + consistencySelectorCase_ = 7; + onChanged(); + ; + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunQueryRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.RunQueryRequest) + private static final com.google.firestore.v1.RunQueryRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.RunQueryRequest(); + } + + public static com.google.firestore.v1.RunQueryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunQueryRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.RunQueryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java new file mode 100644 index 000000000000..41562774f335 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java @@ -0,0 +1,162 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface RunQueryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + java.lang.String getParent(); + /** + * + * + *
+   * The parent resource name. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents` or
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * For example:
+   * `projects/my-project/databases/my-database/documents` or
+   * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+   * 
+ * + * string parent = 1; + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * A structured query.
+   * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + boolean hasStructuredQuery(); + /** + * + * + *
+   * A structured query.
+   * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + com.google.firestore.v1.StructuredQuery getStructuredQuery(); + /** + * + * + *
+   * A structured query.
+   * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); + + /** + * + * + *
+   * Reads documents in a transaction.
+   * 
+ * + * bytes transaction = 5; + */ + com.google.protobuf.ByteString getTransaction(); + + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + boolean hasNewTransaction(); + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + com.google.firestore.v1.TransactionOptions getNewTransaction(); + /** + * + * + *
+   * Starts a new transaction and reads the documents.
+   * Defaults to a read-only transaction.
+   * The new transaction ID will be returned as the first response in the
+   * stream.
+   * 
+ * + * .google.firestore.v1.TransactionOptions new_transaction = 6; + */ + com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder(); + + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + boolean hasReadTime(); + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * Reads documents as they were at the given time.
+   * This may not be older than 60 seconds.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 7; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + public com.google.firestore.v1.RunQueryRequest.QueryTypeCase getQueryTypeCase(); + + public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase + getConsistencySelectorCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java new file mode 100644 index 000000000000..bb1df98c4d6a --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java @@ -0,0 +1,1206 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.RunQueryResponse} + */ +public final class RunQueryResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryResponse) + RunQueryResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RunQueryResponse.newBuilder() to construct. + private RunQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RunQueryResponse() { + transaction_ = com.google.protobuf.ByteString.EMPTY; + skippedResults_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RunQueryResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.Document.Builder subBuilder = null; + if (document_ != null) { + subBuilder = document_.toBuilder(); + } + document_ = + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(document_); + document_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + transaction_ = input.readBytes(); + break; + } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); + } + readTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); + } + + break; + } + case 32: + { + skippedResults_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.RunQueryResponse.class, + com.google.firestore.v1.RunQueryResponse.Builder.class); + } + + public static final int TRANSACTION_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString transaction_; + /** + * + * + *
+   * The transaction that was started as part of this request.
+   * Can only be set in the first response, and only if
+   * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request.
+   * If set, no other fields will be set in this response.
+   * 
+ * + * bytes transaction = 2; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + + public static final int DOCUMENT_FIELD_NUMBER = 1; + private com.google.firestore.v1.Document document_; + /** + * + * + *
+   * A query result.
+   * Not set when reporting partial progress.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public boolean hasDocument() { + return document_ != null; + } + /** + * + * + *
+   * A query result.
+   * Not set when reporting partial progress.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document getDocument() { + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + } + /** + * + * + *
+   * A query result.
+   * Not set when reporting partial progress.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + return getDocument(); + } + + public static final int READ_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp readTime_; + /** + * + * + *
+   * The time at which the document was read. This may be monotonically
+   * increasing; in this case, the previous documents in the result stream are
+   * guaranteed not to have changed between their `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `document` will be sent, and this represents the time at which the query
+   * was run.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public boolean hasReadTime() { + return readTime_ != null; + } + /** + * + * + *
+   * The time at which the document was read. This may be monotonically
+   * increasing; in this case, the previous documents in the result stream are
+   * guaranteed not to have changed between their `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `document` will be sent, and this represents the time at which the query
+   * was run.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public com.google.protobuf.Timestamp getReadTime() { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + /** + * + * + *
+   * The time at which the document was read. This may be monotonically
+   * increasing; in this case, the previous documents in the result stream are
+   * guaranteed not to have changed between their `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `document` will be sent, and this represents the time at which the query
+   * was run.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + return getReadTime(); + } + + public static final int SKIPPED_RESULTS_FIELD_NUMBER = 4; + private int skippedResults_; + /** + * + * + *
+   * The number of results that have been skipped due to an offset between
+   * the last response and the current response.
+   * 
+ * + * int32 skipped_results = 4; + */ + public int getSkippedResults() { + return skippedResults_; + } + + 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 (document_ != null) { + output.writeMessage(1, getDocument()); + } + if (!transaction_.isEmpty()) { + output.writeBytes(2, transaction_); + } + if (readTime_ != null) { + output.writeMessage(3, getReadTime()); + } + if (skippedResults_ != 0) { + output.writeInt32(4, skippedResults_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (document_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument()); + } + if (!transaction_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_); + } + if (readTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime()); + } + if (skippedResults_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, skippedResults_); + } + size += unknownFields.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.firestore.v1.RunQueryResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.RunQueryResponse other = (com.google.firestore.v1.RunQueryResponse) obj; + + boolean result = true; + result = result && getTransaction().equals(other.getTransaction()); + result = result && (hasDocument() == other.hasDocument()); + if (hasDocument()) { + result = result && getDocument().equals(other.getDocument()); + } + result = result && (hasReadTime() == other.hasReadTime()); + if (hasReadTime()) { + result = result && getReadTime().equals(other.getReadTime()); + } + result = result && (getSkippedResults() == other.getSkippedResults()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + if (hasDocument()) { + hash = (37 * hash) + DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getDocument().hashCode(); + } + if (hasReadTime()) { + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + } + hash = (37 * hash) + SKIPPED_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getSkippedResults(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.RunQueryResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RunQueryResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.RunQueryResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RunQueryResponse 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.firestore.v1.RunQueryResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.RunQueryResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.RunQueryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RunQueryResponse 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.firestore.v1.RunQueryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RunQueryResponse 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.firestore.v1.RunQueryResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.RunQueryResponse 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.firestore.v1.RunQueryResponse 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 response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.RunQueryResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunQueryResponse) + com.google.firestore.v1.RunQueryResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.RunQueryResponse.class, + com.google.firestore.v1.RunQueryResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.RunQueryResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + transaction_ = com.google.protobuf.ByteString.EMPTY; + + if (documentBuilder_ == null) { + document_ = null; + } else { + document_ = null; + documentBuilder_ = null; + } + if (readTimeBuilder_ == null) { + readTime_ = null; + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + skippedResults_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.RunQueryResponse getDefaultInstanceForType() { + return com.google.firestore.v1.RunQueryResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.RunQueryResponse build() { + com.google.firestore.v1.RunQueryResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.RunQueryResponse buildPartial() { + com.google.firestore.v1.RunQueryResponse result = + new com.google.firestore.v1.RunQueryResponse(this); + result.transaction_ = transaction_; + if (documentBuilder_ == null) { + result.document_ = document_; + } else { + result.document_ = documentBuilder_.build(); + } + if (readTimeBuilder_ == null) { + result.readTime_ = readTime_; + } else { + result.readTime_ = readTimeBuilder_.build(); + } + result.skippedResults_ = skippedResults_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.RunQueryResponse) { + return mergeFrom((com.google.firestore.v1.RunQueryResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.RunQueryResponse other) { + if (other == com.google.firestore.v1.RunQueryResponse.getDefaultInstance()) return this; + if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { + setTransaction(other.getTransaction()); + } + if (other.hasDocument()) { + mergeDocument(other.getDocument()); + } + if (other.hasReadTime()) { + mergeReadTime(other.getReadTime()); + } + if (other.getSkippedResults() != 0) { + setSkippedResults(other.getSkippedResults()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.RunQueryResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.RunQueryResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * The transaction that was started as part of this request.
+     * Can only be set in the first response, and only if
+     * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request.
+     * If set, no other fields will be set in this response.
+     * 
+ * + * bytes transaction = 2; + */ + public com.google.protobuf.ByteString getTransaction() { + return transaction_; + } + /** + * + * + *
+     * The transaction that was started as part of this request.
+     * Can only be set in the first response, and only if
+     * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request.
+     * If set, no other fields will be set in this response.
+     * 
+ * + * bytes transaction = 2; + */ + public Builder setTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + transaction_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The transaction that was started as part of this request.
+     * Can only be set in the first response, and only if
+     * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request.
+     * If set, no other fields will be set in this response.
+     * 
+ * + * bytes transaction = 2; + */ + public Builder clearTransaction() { + + transaction_ = getDefaultInstance().getTransaction(); + onChanged(); + return this; + } + + private com.google.firestore.v1.Document document_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + documentBuilder_; + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public boolean hasDocument() { + return documentBuilder_ != null || document_ != null; + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document getDocument() { + if (documentBuilder_ == null) { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } else { + return documentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder setDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + document_ = value; + onChanged(); + } else { + documentBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + if (documentBuilder_ == null) { + document_ = builderForValue.build(); + onChanged(); + } else { + documentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder mergeDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (document_ != null) { + document_ = + com.google.firestore.v1.Document.newBuilder(document_) + .mergeFrom(value) + .buildPartial(); + } else { + document_ = value; + } + onChanged(); + } else { + documentBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder clearDocument() { + if (documentBuilder_ == null) { + document_ = null; + onChanged(); + } else { + document_ = null; + documentBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document.Builder getDocumentBuilder() { + + onChanged(); + return getDocumentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + if (documentBuilder_ != null) { + return documentBuilder_.getMessageOrBuilder(); + } else { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } + } + /** + * + * + *
+     * A query result.
+     * Not set when reporting partial progress.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + getDocumentFieldBuilder() { + if (documentBuilder_ == null) { + documentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), getParentForChildren(), isClean()); + document_ = null; + } + return documentBuilder_; + } + + private com.google.protobuf.Timestamp readTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public boolean hasReadTime() { + return readTimeBuilder_ != null || readTime_ != null; + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } else { + return readTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readTime_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + readTime_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (readTime_ != null) { + readTime_ = + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + } else { + readTime_ = value; + } + onChanged(); + } else { + readTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + readTime_ = null; + onChanged(); + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + + onChanged(); + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (readTimeBuilder_ != null) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + } + /** + * + * + *
+     * The time at which the document was read. This may be monotonically
+     * increasing; in this case, the previous documents in the result stream are
+     * guaranteed not to have changed between their `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `document` will be sent, and this represents the time at which the query
+     * was run.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getReadTime(), getParentForChildren(), isClean()); + readTime_ = null; + } + return readTimeBuilder_; + } + + private int skippedResults_; + /** + * + * + *
+     * The number of results that have been skipped due to an offset between
+     * the last response and the current response.
+     * 
+ * + * int32 skipped_results = 4; + */ + public int getSkippedResults() { + return skippedResults_; + } + /** + * + * + *
+     * The number of results that have been skipped due to an offset between
+     * the last response and the current response.
+     * 
+ * + * int32 skipped_results = 4; + */ + public Builder setSkippedResults(int value) { + + skippedResults_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of results that have been skipped due to an offset between
+     * the last response and the current response.
+     * 
+ * + * int32 skipped_results = 4; + */ + public Builder clearSkippedResults() { + + skippedResults_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunQueryResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.RunQueryResponse) + private static final com.google.firestore.v1.RunQueryResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.RunQueryResponse(); + } + + public static com.google.firestore.v1.RunQueryResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunQueryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunQueryResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.RunQueryResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java new file mode 100644 index 000000000000..2b18df04a319 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface RunQueryResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The transaction that was started as part of this request.
+   * Can only be set in the first response, and only if
+   * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request.
+   * If set, no other fields will be set in this response.
+   * 
+ * + * bytes transaction = 2; + */ + com.google.protobuf.ByteString getTransaction(); + + /** + * + * + *
+   * A query result.
+   * Not set when reporting partial progress.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + boolean hasDocument(); + /** + * + * + *
+   * A query result.
+   * Not set when reporting partial progress.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + com.google.firestore.v1.Document getDocument(); + /** + * + * + *
+   * A query result.
+   * Not set when reporting partial progress.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); + + /** + * + * + *
+   * The time at which the document was read. This may be monotonically
+   * increasing; in this case, the previous documents in the result stream are
+   * guaranteed not to have changed between their `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `document` will be sent, and this represents the time at which the query
+   * was run.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + boolean hasReadTime(); + /** + * + * + *
+   * The time at which the document was read. This may be monotonically
+   * increasing; in this case, the previous documents in the result stream are
+   * guaranteed not to have changed between their `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `document` will be sent, and this represents the time at which the query
+   * was run.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * The time at which the document was read. This may be monotonically
+   * increasing; in this case, the previous documents in the result stream are
+   * guaranteed not to have changed between their `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `document` will be sent, and this represents the time at which the query
+   * was run.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 3; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + /** + * + * + *
+   * The number of results that have been skipped due to an offset between
+   * the last response and the current response.
+   * 
+ * + * int32 skipped_results = 4; + */ + int getSkippedResults(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java new file mode 100644 index 000000000000..606e72ffb75b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java @@ -0,0 +1,11934 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/query.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A Firestore query.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery} + */ +public final class StructuredQuery extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery) + StructuredQueryOrBuilder { + private static final long serialVersionUID = 0L; + // Use StructuredQuery.newBuilder() to construct. + private StructuredQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StructuredQuery() { + from_ = java.util.Collections.emptyList(); + orderBy_ = java.util.Collections.emptyList(); + offset_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private StructuredQuery( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.StructuredQuery.Projection.Builder subBuilder = null; + if (select_ != null) { + subBuilder = select_.toBuilder(); + } + select_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.Projection.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(select_); + select_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + from_ = + new java.util.ArrayList< + com.google.firestore.v1.StructuredQuery.CollectionSelector>(); + mutable_bitField0_ |= 0x00000002; + } + from_.add( + input.readMessage( + com.google.firestore.v1.StructuredQuery.CollectionSelector.parser(), + extensionRegistry)); + break; + } + case 26: + { + com.google.firestore.v1.StructuredQuery.Filter.Builder subBuilder = null; + if (where_ != null) { + subBuilder = where_.toBuilder(); + } + where_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.Filter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(where_); + where_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + orderBy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + orderBy_.add( + input.readMessage( + com.google.firestore.v1.StructuredQuery.Order.parser(), extensionRegistry)); + break; + } + case 42: + { + com.google.protobuf.Int32Value.Builder subBuilder = null; + if (limit_ != null) { + subBuilder = limit_.toBuilder(); + } + limit_ = + input.readMessage(com.google.protobuf.Int32Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(limit_); + limit_ = subBuilder.buildPartial(); + } + + break; + } + case 48: + { + offset_ = input.readInt32(); + break; + } + case 58: + { + com.google.firestore.v1.Cursor.Builder subBuilder = null; + if (startAt_ != null) { + subBuilder = startAt_.toBuilder(); + } + startAt_ = + input.readMessage(com.google.firestore.v1.Cursor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startAt_); + startAt_ = subBuilder.buildPartial(); + } + + break; + } + case 66: + { + com.google.firestore.v1.Cursor.Builder subBuilder = null; + if (endAt_ != null) { + subBuilder = endAt_.toBuilder(); + } + endAt_ = + input.readMessage(com.google.firestore.v1.Cursor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endAt_); + endAt_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + from_ = java.util.Collections.unmodifiableList(from_); + } + if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + orderBy_ = java.util.Collections.unmodifiableList(orderBy_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.class, + com.google.firestore.v1.StructuredQuery.Builder.class); + } + + /** + * + * + *
+   * A sort direction.
+   * 
+ * + * Protobuf enum {@code google.firestore.v1.StructuredQuery.Direction} + */ + public enum Direction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified.
+     * 
+ * + * DIRECTION_UNSPECIFIED = 0; + */ + DIRECTION_UNSPECIFIED(0), + /** + * + * + *
+     * Ascending.
+     * 
+ * + * ASCENDING = 1; + */ + ASCENDING(1), + /** + * + * + *
+     * Descending.
+     * 
+ * + * DESCENDING = 2; + */ + DESCENDING(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified.
+     * 
+ * + * DIRECTION_UNSPECIFIED = 0; + */ + public static final int DIRECTION_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Ascending.
+     * 
+ * + * ASCENDING = 1; + */ + public static final int ASCENDING_VALUE = 1; + /** + * + * + *
+     * Descending.
+     * 
+ * + * DESCENDING = 2; + */ + public static final int DESCENDING_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; + } + + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static Direction valueOf(int value) { + return forNumber(value); + } + + public static Direction forNumber(int value) { + switch (value) { + case 0: + return DIRECTION_UNSPECIFIED; + case 1: + return ASCENDING; + case 2: + return DESCENDING; + 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 Direction findValueByNumber(int number) { + return Direction.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + 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.firestore.v1.StructuredQuery.getDescriptor().getEnumTypes().get(0); + } + + private static final Direction[] VALUES = values(); + + public static Direction 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 Direction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.Direction) + } + + public interface CollectionSelectorOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CollectionSelector) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The collection ID.
+     * When set, selects only collections with this ID.
+     * 
+ * + * string collection_id = 2; + */ + java.lang.String getCollectionId(); + /** + * + * + *
+     * The collection ID.
+     * When set, selects only collections with this ID.
+     * 
+ * + * string collection_id = 2; + */ + com.google.protobuf.ByteString getCollectionIdBytes(); + + /** + * + * + *
+     * When false, selects only collections that are immediate children of
+     * the `parent` specified in the containing `RunQueryRequest`.
+     * When true, selects all descendant collections.
+     * 
+ * + * bool all_descendants = 3; + */ + boolean getAllDescendants(); + } + /** + * + * + *
+   * A selection of a collection, such as `messages as m1`.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} + */ + public static final class CollectionSelector extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CollectionSelector) + CollectionSelectorOrBuilder { + private static final long serialVersionUID = 0L; + // Use CollectionSelector.newBuilder() to construct. + private CollectionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CollectionSelector() { + collectionId_ = ""; + allDescendants_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CollectionSelector( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + collectionId_ = s; + break; + } + case 24: + { + allDescendants_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + } + + public static final int COLLECTION_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object collectionId_; + /** + * + * + *
+     * The collection ID.
+     * When set, selects only collections with this ID.
+     * 
+ * + * string collection_id = 2; + */ + public java.lang.String getCollectionId() { + java.lang.Object ref = collectionId_; + 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(); + collectionId_ = s; + return s; + } + } + /** + * + * + *
+     * The collection ID.
+     * When set, selects only collections with this ID.
+     * 
+ * + * string collection_id = 2; + */ + public com.google.protobuf.ByteString getCollectionIdBytes() { + java.lang.Object ref = collectionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALL_DESCENDANTS_FIELD_NUMBER = 3; + private boolean allDescendants_; + /** + * + * + *
+     * When false, selects only collections that are immediate children of
+     * the `parent` specified in the containing `RunQueryRequest`.
+     * When true, selects all descendant collections.
+     * 
+ * + * bool all_descendants = 3; + */ + public boolean getAllDescendants() { + return allDescendants_; + } + + 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 (!getCollectionIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionId_); + } + if (allDescendants_ != false) { + output.writeBool(3, allDescendants_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getCollectionIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); + } + if (allDescendants_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allDescendants_); + } + size += unknownFields.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.firestore.v1.StructuredQuery.CollectionSelector)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.CollectionSelector other = + (com.google.firestore.v1.StructuredQuery.CollectionSelector) obj; + + boolean result = true; + result = result && getCollectionId().equals(other.getCollectionId()); + result = result && (getAllDescendants() == other.getAllDescendants()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COLLECTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getCollectionId().hashCode(); + hash = (37 * hash) + ALL_DESCENDANTS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllDescendants()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector 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.firestore.v1.StructuredQuery.CollectionSelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector 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.firestore.v1.StructuredQuery.CollectionSelector parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector 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.firestore.v1.StructuredQuery.CollectionSelector parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector 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.firestore.v1.StructuredQuery.CollectionSelector prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A selection of a collection, such as `messages as m1`.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CollectionSelector) + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.CollectionSelector.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + collectionId_ = ""; + + allDescendants_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CollectionSelector + getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CollectionSelector build() { + com.google.firestore.v1.StructuredQuery.CollectionSelector result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CollectionSelector buildPartial() { + com.google.firestore.v1.StructuredQuery.CollectionSelector result = + new com.google.firestore.v1.StructuredQuery.CollectionSelector(this); + result.collectionId_ = collectionId_; + result.allDescendants_ = allDescendants_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.CollectionSelector) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.CollectionSelector) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CollectionSelector other) { + if (other + == com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()) + return this; + if (!other.getCollectionId().isEmpty()) { + collectionId_ = other.collectionId_; + onChanged(); + } + if (other.getAllDescendants() != false) { + setAllDescendants(other.getAllDescendants()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.CollectionSelector parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.StructuredQuery.CollectionSelector) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object collectionId_ = ""; + /** + * + * + *
+       * The collection ID.
+       * When set, selects only collections with this ID.
+       * 
+ * + * string collection_id = 2; + */ + public java.lang.String getCollectionId() { + java.lang.Object ref = collectionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + collectionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The collection ID.
+       * When set, selects only collections with this ID.
+       * 
+ * + * string collection_id = 2; + */ + public com.google.protobuf.ByteString getCollectionIdBytes() { + java.lang.Object ref = collectionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collectionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The collection ID.
+       * When set, selects only collections with this ID.
+       * 
+ * + * string collection_id = 2; + */ + public Builder setCollectionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + collectionId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The collection ID.
+       * When set, selects only collections with this ID.
+       * 
+ * + * string collection_id = 2; + */ + public Builder clearCollectionId() { + + collectionId_ = getDefaultInstance().getCollectionId(); + onChanged(); + return this; + } + /** + * + * + *
+       * The collection ID.
+       * When set, selects only collections with this ID.
+       * 
+ * + * string collection_id = 2; + */ + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + collectionId_ = value; + onChanged(); + return this; + } + + private boolean allDescendants_; + /** + * + * + *
+       * When false, selects only collections that are immediate children of
+       * the `parent` specified in the containing `RunQueryRequest`.
+       * When true, selects all descendant collections.
+       * 
+ * + * bool all_descendants = 3; + */ + public boolean getAllDescendants() { + return allDescendants_; + } + /** + * + * + *
+       * When false, selects only collections that are immediate children of
+       * the `parent` specified in the containing `RunQueryRequest`.
+       * When true, selects all descendant collections.
+       * 
+ * + * bool all_descendants = 3; + */ + public Builder setAllDescendants(boolean value) { + + allDescendants_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * When false, selects only collections that are immediate children of
+       * the `parent` specified in the containing `RunQueryRequest`.
+       * When true, selects all descendant collections.
+       * 
+ * + * bool all_descendants = 3; + */ + public Builder clearAllDescendants() { + + allDescendants_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.CollectionSelector) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CollectionSelector) + private static final com.google.firestore.v1.StructuredQuery.CollectionSelector + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.CollectionSelector(); + } + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CollectionSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CollectionSelector(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface FilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Filter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * A composite filter.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + boolean hasCompositeFilter(); + /** + * + * + *
+     * A composite filter.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter(); + /** + * + * + *
+     * A composite filter.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder(); + + /** + * + * + *
+     * A filter on a document field.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + boolean hasFieldFilter(); + /** + * + * + *
+     * A filter on a document field.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter(); + /** + * + * + *
+     * A filter on a document field.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder(); + + /** + * + * + *
+     * A filter that takes exactly one argument.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + boolean hasUnaryFilter(); + /** + * + * + *
+     * A filter that takes exactly one argument.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter(); + /** + * + * + *
+     * A filter that takes exactly one argument.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder(); + + public com.google.firestore.v1.StructuredQuery.Filter.FilterTypeCase getFilterTypeCase(); + } + /** + * + * + *
+   * A filter.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} + */ + public static final class Filter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.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() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Filter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder subBuilder = null; + if (filterTypeCase_ == 1) { + subBuilder = + ((com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) + .toBuilder(); + } + filterType_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.CompositeFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); + filterType_ = subBuilder.buildPartial(); + } + filterTypeCase_ = 1; + break; + } + case 18: + { + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder subBuilder = null; + if (filterTypeCase_ == 2) { + subBuilder = + ((com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) + .toBuilder(); + } + filterType_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); + filterType_ = subBuilder.buildPartial(); + } + filterTypeCase_ = 2; + break; + } + case 26: + { + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder subBuilder = null; + if (filterTypeCase_ == 3) { + subBuilder = + ((com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) + .toBuilder(); + } + filterType_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.UnaryFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); + filterType_ = subBuilder.buildPartial(); + } + filterTypeCase_ = 3; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.Filter.class, + com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + } + + private int filterTypeCase_ = 0; + private java.lang.Object filterType_; + + public enum FilterTypeCase implements com.google.protobuf.Internal.EnumLite { + COMPOSITE_FILTER(1), + FIELD_FILTER(2), + UNARY_FILTER(3), + FILTERTYPE_NOT_SET(0); + private final int value; + + private FilterTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static FilterTypeCase valueOf(int value) { + return forNumber(value); + } + + public static FilterTypeCase forNumber(int value) { + switch (value) { + case 1: + return COMPOSITE_FILTER; + case 2: + return FIELD_FILTER; + case 3: + return UNARY_FILTER; + case 0: + return FILTERTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public FilterTypeCase getFilterTypeCase() { + return FilterTypeCase.forNumber(filterTypeCase_); + } + + public static final int COMPOSITE_FILTER_FIELD_NUMBER = 1; + /** + * + * + *
+     * A composite filter.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public boolean hasCompositeFilter() { + return filterTypeCase_ == 1; + } + /** + * + * + *
+     * A composite filter.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter() { + if (filterTypeCase_ == 1) { + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + } + /** + * + * + *
+     * A composite filter.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder + getCompositeFilterOrBuilder() { + if (filterTypeCase_ == 1) { + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + } + + public static final int FIELD_FILTER_FIELD_NUMBER = 2; + /** + * + * + *
+     * A filter on a document field.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public boolean hasFieldFilter() { + return filterTypeCase_ == 2; + } + /** + * + * + *
+     * A filter on a document field.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { + if (filterTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); + } + /** + * + * + *
+     * A filter on a document field.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder() { + if (filterTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); + } + + public static final int UNARY_FILTER_FIELD_NUMBER = 3; + /** + * + * + *
+     * A filter that takes exactly one argument.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public boolean hasUnaryFilter() { + return filterTypeCase_ == 3; + } + /** + * + * + *
+     * A filter that takes exactly one argument.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { + if (filterTypeCase_ == 3) { + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); + } + /** + * + * + *
+     * A filter that takes exactly one argument.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder() { + if (filterTypeCase_ == 3) { + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.UnaryFilter.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 (filterTypeCase_ == 1) { + output.writeMessage( + 1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); + } + if (filterTypeCase_ == 2) { + output.writeMessage(2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); + } + if (filterTypeCase_ == 3) { + output.writeMessage(3, (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (filterTypeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); + } + if (filterTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); + } + if (filterTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); + } + size += unknownFields.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.firestore.v1.StructuredQuery.Filter)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.Filter other = + (com.google.firestore.v1.StructuredQuery.Filter) obj; + + boolean result = true; + result = result && getFilterTypeCase().equals(other.getFilterTypeCase()); + if (!result) return false; + switch (filterTypeCase_) { + case 1: + result = result && getCompositeFilter().equals(other.getCompositeFilter()); + break; + case 2: + result = result && getFieldFilter().equals(other.getFieldFilter()); + break; + case 3: + result = result && getUnaryFilter().equals(other.getUnaryFilter()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (filterTypeCase_) { + case 1: + hash = (37 * hash) + COMPOSITE_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getCompositeFilter().hashCode(); + break; + case 2: + hash = (37 * hash) + FIELD_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFieldFilter().hashCode(); + break; + case 3: + hash = (37 * hash) + UNARY_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getUnaryFilter().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.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.firestore.v1.StructuredQuery.Filter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.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.firestore.v1.StructuredQuery.Filter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.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.firestore.v1.StructuredQuery.Filter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.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.firestore.v1.StructuredQuery.Filter parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.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.firestore.v1.StructuredQuery.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; + } + /** + * + * + *
+     * A filter.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Filter) + com.google.firestore.v1.StructuredQuery.FilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.Filter.class, + com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.Filter.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + filterTypeCase_ = 0; + filterType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Filter getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Filter build() { + com.google.firestore.v1.StructuredQuery.Filter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Filter buildPartial() { + com.google.firestore.v1.StructuredQuery.Filter result = + new com.google.firestore.v1.StructuredQuery.Filter(this); + if (filterTypeCase_ == 1) { + if (compositeFilterBuilder_ == null) { + result.filterType_ = filterType_; + } else { + result.filterType_ = compositeFilterBuilder_.build(); + } + } + if (filterTypeCase_ == 2) { + if (fieldFilterBuilder_ == null) { + result.filterType_ = filterType_; + } else { + result.filterType_ = fieldFilterBuilder_.build(); + } + } + if (filterTypeCase_ == 3) { + if (unaryFilterBuilder_ == null) { + result.filterType_ = filterType_; + } else { + result.filterType_ = unaryFilterBuilder_.build(); + } + } + result.filterTypeCase_ = filterTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.Filter) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.Filter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Filter other) { + if (other == com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) + return this; + switch (other.getFilterTypeCase()) { + case COMPOSITE_FILTER: + { + mergeCompositeFilter(other.getCompositeFilter()); + break; + } + case FIELD_FILTER: + { + mergeFieldFilter(other.getFieldFilter()); + break; + } + case UNARY_FILTER: + { + mergeUnaryFilter(other.getUnaryFilter()); + break; + } + case FILTERTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.Filter parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.StructuredQuery.Filter) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int filterTypeCase_ = 0; + private java.lang.Object filterType_; + + public FilterTypeCase getFilterTypeCase() { + return FilterTypeCase.forNumber(filterTypeCase_); + } + + public Builder clearFilterType() { + filterTypeCase_ = 0; + filterType_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CompositeFilter, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> + compositeFilterBuilder_; + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public boolean hasCompositeFilter() { + return filterTypeCase_ == 1; + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter() { + if (compositeFilterBuilder_ == null) { + if (filterTypeCase_ == 1) { + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + } else { + if (filterTypeCase_ == 1) { + return compositeFilterBuilder_.getMessage(); + } + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + } + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public Builder setCompositeFilter( + com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + if (compositeFilterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + filterType_ = value; + onChanged(); + } else { + compositeFilterBuilder_.setMessage(value); + } + filterTypeCase_ = 1; + return this; + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public Builder setCompositeFilter( + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder builderForValue) { + if (compositeFilterBuilder_ == null) { + filterType_ = builderForValue.build(); + onChanged(); + } else { + compositeFilterBuilder_.setMessage(builderForValue.build()); + } + filterTypeCase_ = 1; + return this; + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public Builder mergeCompositeFilter( + com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + if (compositeFilterBuilder_ == null) { + if (filterTypeCase_ == 1 + && filterType_ + != com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) { + filterType_ = + com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder( + (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) + .mergeFrom(value) + .buildPartial(); + } else { + filterType_ = value; + } + onChanged(); + } else { + if (filterTypeCase_ == 1) { + compositeFilterBuilder_.mergeFrom(value); + } + compositeFilterBuilder_.setMessage(value); + } + filterTypeCase_ = 1; + return this; + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public Builder clearCompositeFilter() { + if (compositeFilterBuilder_ == null) { + if (filterTypeCase_ == 1) { + filterTypeCase_ = 0; + filterType_ = null; + onChanged(); + } + } else { + if (filterTypeCase_ == 1) { + filterTypeCase_ = 0; + filterType_ = null; + } + compositeFilterBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder + getCompositeFilterBuilder() { + return getCompositeFilterFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder + getCompositeFilterOrBuilder() { + if ((filterTypeCase_ == 1) && (compositeFilterBuilder_ != null)) { + return compositeFilterBuilder_.getMessageOrBuilder(); + } else { + if (filterTypeCase_ == 1) { + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + } + } + /** + * + * + *
+       * A composite filter.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CompositeFilter, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> + getCompositeFilterFieldBuilder() { + if (compositeFilterBuilder_ == null) { + if (!(filterTypeCase_ == 1)) { + filterType_ = + com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + } + compositeFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CompositeFilter, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder>( + (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_, + getParentForChildren(), + isClean()); + filterType_ = null; + } + filterTypeCase_ = 1; + onChanged(); + ; + return compositeFilterBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldFilter, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> + fieldFilterBuilder_; + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public boolean hasFieldFilter() { + return filterTypeCase_ == 2; + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { + if (fieldFilterBuilder_ == null) { + if (filterTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); + } else { + if (filterTypeCase_ == 2) { + return fieldFilterBuilder_.getMessage(); + } + return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); + } + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public Builder setFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilter value) { + if (fieldFilterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + filterType_ = value; + onChanged(); + } else { + fieldFilterBuilder_.setMessage(value); + } + filterTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public Builder setFieldFilter( + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder builderForValue) { + if (fieldFilterBuilder_ == null) { + filterType_ = builderForValue.build(); + onChanged(); + } else { + fieldFilterBuilder_.setMessage(builderForValue.build()); + } + filterTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilter value) { + if (fieldFilterBuilder_ == null) { + if (filterTypeCase_ == 2 + && filterType_ + != com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) { + filterType_ = + com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder( + (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) + .mergeFrom(value) + .buildPartial(); + } else { + filterType_ = value; + } + onChanged(); + } else { + if (filterTypeCase_ == 2) { + fieldFilterBuilder_.mergeFrom(value); + } + fieldFilterBuilder_.setMessage(value); + } + filterTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public Builder clearFieldFilter() { + if (fieldFilterBuilder_ == null) { + if (filterTypeCase_ == 2) { + filterTypeCase_ = 0; + filterType_ = null; + onChanged(); + } + } else { + if (filterTypeCase_ == 2) { + filterTypeCase_ = 0; + filterType_ = null; + } + fieldFilterBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilterBuilder() { + return getFieldFilterFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder + getFieldFilterOrBuilder() { + if ((filterTypeCase_ == 2) && (fieldFilterBuilder_ != null)) { + return fieldFilterBuilder_.getMessageOrBuilder(); + } else { + if (filterTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); + } + } + /** + * + * + *
+       * A filter on a document field.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldFilter, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> + getFieldFilterFieldBuilder() { + if (fieldFilterBuilder_ == null) { + if (!(filterTypeCase_ == 2)) { + filterType_ = com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); + } + fieldFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldFilter, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder>( + (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_, + getParentForChildren(), + isClean()); + filterType_ = null; + } + filterTypeCase_ = 2; + onChanged(); + ; + return fieldFilterBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.UnaryFilter, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> + unaryFilterBuilder_; + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public boolean hasUnaryFilter() { + return filterTypeCase_ == 3; + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { + if (unaryFilterBuilder_ == null) { + if (filterTypeCase_ == 3) { + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); + } else { + if (filterTypeCase_ == 3) { + return unaryFilterBuilder_.getMessage(); + } + return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); + } + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public Builder setUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilter value) { + if (unaryFilterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + filterType_ = value; + onChanged(); + } else { + unaryFilterBuilder_.setMessage(value); + } + filterTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public Builder setUnaryFilter( + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder builderForValue) { + if (unaryFilterBuilder_ == null) { + filterType_ = builderForValue.build(); + onChanged(); + } else { + unaryFilterBuilder_.setMessage(builderForValue.build()); + } + filterTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilter value) { + if (unaryFilterBuilder_ == null) { + if (filterTypeCase_ == 3 + && filterType_ + != com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) { + filterType_ = + com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder( + (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) + .mergeFrom(value) + .buildPartial(); + } else { + filterType_ = value; + } + onChanged(); + } else { + if (filterTypeCase_ == 3) { + unaryFilterBuilder_.mergeFrom(value); + } + unaryFilterBuilder_.setMessage(value); + } + filterTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public Builder clearUnaryFilter() { + if (unaryFilterBuilder_ == null) { + if (filterTypeCase_ == 3) { + filterTypeCase_ = 0; + filterType_ = null; + onChanged(); + } + } else { + if (filterTypeCase_ == 3) { + filterTypeCase_ = 0; + filterType_ = null; + } + unaryFilterBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilterBuilder() { + return getUnaryFilterFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder + getUnaryFilterOrBuilder() { + if ((filterTypeCase_ == 3) && (unaryFilterBuilder_ != null)) { + return unaryFilterBuilder_.getMessageOrBuilder(); + } else { + if (filterTypeCase_ == 3) { + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + } + return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); + } + } + /** + * + * + *
+       * A filter that takes exactly one argument.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.UnaryFilter, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> + getUnaryFilterFieldBuilder() { + if (unaryFilterBuilder_ == null) { + if (!(filterTypeCase_ == 3)) { + filterType_ = com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); + } + unaryFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.UnaryFilter, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder>( + (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_, + getParentForChildren(), + isClean()); + filterType_ = null; + } + filterTypeCase_ = 3; + onChanged(); + ; + return unaryFilterBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Filter) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Filter) + private static final com.google.firestore.v1.StructuredQuery.Filter DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Filter(); + } + + public static com.google.firestore.v1.StructuredQuery.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 { + return new Filter(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.Filter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface CompositeFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CompositeFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The operator for combining multiple filters.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + int getOpValue(); + /** + * + * + *
+     * The operator for combining multiple filters.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp(); + + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + java.util.List getFiltersList(); + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + com.google.firestore.v1.StructuredQuery.Filter getFilters(int index); + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + int getFiltersCount(); + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + java.util.List + getFiltersOrBuilderList(); + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index); + } + /** + * + * + *
+   * A filter that merges multiple other filters using the given operator.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} + */ + public static final class CompositeFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CompositeFilter) + CompositeFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use CompositeFilter.newBuilder() to construct. + private CompositeFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CompositeFilter() { + op_ = 0; + filters_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CompositeFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + op_ = rawValue; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + filters_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + filters_.add( + input.readMessage( + com.google.firestore.v1.StructuredQuery.Filter.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + filters_ = java.util.Collections.unmodifiableList(filters_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + } + + /** + * + * + *
+     * A composite filter operator.
+     * 
+ * + * Protobuf enum {@code google.firestore.v1.StructuredQuery.CompositeFilter.Operator} + */ + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * OPERATOR_UNSPECIFIED = 0; + */ + OPERATOR_UNSPECIFIED(0), + /** + * + * + *
+       * The results are required to satisfy each of the combined filters.
+       * 
+ * + * AND = 1; + */ + AND(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * OPERATOR_UNSPECIFIED = 0; + */ + public static final int OPERATOR_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The results are required to satisfy each of the combined filters.
+       * 
+ * + * AND = 1; + */ + public static final int AND_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; + } + + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static Operator valueOf(int value) { + return forNumber(value); + } + + public static Operator forNumber(int value) { + switch (value) { + case 0: + return OPERATOR_UNSPECIFIED; + case 1: + return AND; + 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 Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + 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.firestore.v1.StructuredQuery.CompositeFilter.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Operator[] VALUES = values(); + + public static Operator 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 Operator(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.CompositeFilter.Operator) + } + + private int bitField0_; + public static final int OP_FIELD_NUMBER = 1; + private int op_; + /** + * + * + *
+     * The operator for combining multiple filters.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + public int getOpValue() { + return op_; + } + /** + * + * + *
+     * The operator for combining multiple filters.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED + : result; + } + + public static final int FILTERS_FIELD_NUMBER = 2; + private java.util.List filters_; + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public java.util.List getFiltersList() { + return filters_; + } + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public java.util.List + getFiltersOrBuilderList() { + return filters_; + } + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public int getFiltersCount() { + return filters_.size(); + } + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) { + return filters_.get(index); + } + /** + * + * + *
+     * The list of filters to combine.
+     * Must contain at least one filter.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index) { + return filters_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (op_ + != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, op_); + } + for (int i = 0; i < filters_.size(); i++) { + output.writeMessage(2, filters_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (op_ + != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_); + } + for (int i = 0; i < filters_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, filters_.get(i)); + } + size += unknownFields.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.firestore.v1.StructuredQuery.CompositeFilter)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.CompositeFilter other = + (com.google.firestore.v1.StructuredQuery.CompositeFilter) obj; + + boolean result = true; + result = result && op_ == other.op_; + result = result && getFiltersList().equals(other.getFiltersList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OP_FIELD_NUMBER; + hash = (53 * hash) + op_; + if (getFiltersCount() > 0) { + hash = (37 * hash) + FILTERS_FIELD_NUMBER; + hash = (53 * hash) + getFiltersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter 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.firestore.v1.StructuredQuery.CompositeFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter 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.firestore.v1.StructuredQuery.CompositeFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter 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.firestore.v1.StructuredQuery.CompositeFilter parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter 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.firestore.v1.StructuredQuery.CompositeFilter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A filter that merges multiple other filters using the given operator.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CompositeFilter) + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFiltersFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + op_ = 0; + + if (filtersBuilder_ == null) { + filters_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + filtersBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CompositeFilter getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CompositeFilter build() { + com.google.firestore.v1.StructuredQuery.CompositeFilter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CompositeFilter buildPartial() { + com.google.firestore.v1.StructuredQuery.CompositeFilter result = + new com.google.firestore.v1.StructuredQuery.CompositeFilter(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.op_ = op_; + if (filtersBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + filters_ = java.util.Collections.unmodifiableList(filters_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.filters_ = filters_; + } else { + result.filters_ = filtersBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.CompositeFilter) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.CompositeFilter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter other) { + if (other == com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) + return this; + if (other.op_ != 0) { + setOpValue(other.getOpValue()); + } + if (filtersBuilder_ == null) { + if (!other.filters_.isEmpty()) { + if (filters_.isEmpty()) { + filters_ = other.filters_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureFiltersIsMutable(); + filters_.addAll(other.filters_); + } + onChanged(); + } + } else { + if (!other.filters_.isEmpty()) { + if (filtersBuilder_.isEmpty()) { + filtersBuilder_.dispose(); + filtersBuilder_ = null; + filters_ = other.filters_; + bitField0_ = (bitField0_ & ~0x00000002); + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFiltersFieldBuilder() + : null; + } else { + filtersBuilder_.addAllMessages(other.filters_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.CompositeFilter parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.StructuredQuery.CompositeFilter) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int op_ = 0; + /** + * + * + *
+       * The operator for combining multiple filters.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + public int getOpValue() { + return op_; + } + /** + * + * + *
+       * The operator for combining multiple filters.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + public Builder setOpValue(int value) { + op_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The operator for combining multiple filters.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The operator for combining multiple filters.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + public Builder setOp(com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator value) { + if (value == null) { + throw new NullPointerException(); + } + + op_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The operator for combining multiple filters.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + */ + public Builder clearOp() { + + op_ = 0; + onChanged(); + return this; + } + + private java.util.List filters_ = + java.util.Collections.emptyList(); + + private void ensureFiltersIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + filters_ = + new java.util.ArrayList(filters_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + filtersBuilder_; + + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public java.util.List getFiltersList() { + if (filtersBuilder_ == null) { + return java.util.Collections.unmodifiableList(filters_); + } else { + return filtersBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public int getFiltersCount() { + if (filtersBuilder_ == null) { + return filters_.size(); + } else { + return filtersBuilder_.getCount(); + } + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) { + if (filtersBuilder_ == null) { + return filters_.get(index); + } else { + return filtersBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder setFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) { + if (filtersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFiltersIsMutable(); + filters_.set(index, value); + onChanged(); + } else { + filtersBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder setFilters( + int index, com.google.firestore.v1.StructuredQuery.Filter.Builder builderForValue) { + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.set(index, builderForValue.build()); + onChanged(); + } else { + filtersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value) { + if (filtersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFiltersIsMutable(); + filters_.add(value); + onChanged(); + } else { + filtersBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder addFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) { + if (filtersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFiltersIsMutable(); + filters_.add(index, value); + onChanged(); + } else { + filtersBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder addFilters( + com.google.firestore.v1.StructuredQuery.Filter.Builder builderForValue) { + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.add(builderForValue.build()); + onChanged(); + } else { + filtersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder addFilters( + int index, com.google.firestore.v1.StructuredQuery.Filter.Builder builderForValue) { + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.add(index, builderForValue.build()); + onChanged(); + } else { + filtersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder addAllFilters( + java.lang.Iterable values) { + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_); + onChanged(); + } else { + filtersBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder clearFilters() { + if (filtersBuilder_ == null) { + filters_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + filtersBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public Builder removeFilters(int index) { + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.remove(index); + onChanged(); + } else { + filtersBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(int index) { + return getFiltersFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder( + int index) { + if (filtersBuilder_ == null) { + return filters_.get(index); + } else { + return filtersBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public java.util.List + getFiltersOrBuilderList() { + if (filtersBuilder_ != null) { + return filtersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(filters_); + } + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder() { + return getFiltersFieldBuilder() + .addBuilder(com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()); + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(int index) { + return getFiltersFieldBuilder() + .addBuilder(index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()); + } + /** + * + * + *
+       * The list of filters to combine.
+       * Must contain at least one filter.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; + */ + public java.util.List + getFiltersBuilderList() { + return getFiltersFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + getFiltersFieldBuilder() { + if (filtersBuilder_ == null) { + filtersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( + filters_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + filters_ = null; + } + return filtersBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.CompositeFilter) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CompositeFilter) + private static final com.google.firestore.v1.StructuredQuery.CompositeFilter DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.CompositeFilter(); + } + + public static com.google.firestore.v1.StructuredQuery.CompositeFilter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompositeFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompositeFilter(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.CompositeFilter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface FieldFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The field to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + boolean hasField(); + /** + * + * + *
+     * The field to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + com.google.firestore.v1.StructuredQuery.FieldReference getField(); + /** + * + * + *
+     * The field to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); + + /** + * + * + *
+     * The operator to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + int getOpValue(); + /** + * + * + *
+     * The operator to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp(); + + /** + * + * + *
+     * The value to compare to.
+     * 
+ * + * .google.firestore.v1.Value value = 3; + */ + boolean hasValue(); + /** + * + * + *
+     * The value to compare to.
+     * 
+ * + * .google.firestore.v1.Value value = 3; + */ + com.google.firestore.v1.Value getValue(); + /** + * + * + *
+     * The value to compare to.
+     * 
+ * + * .google.firestore.v1.Value value = 3; + */ + com.google.firestore.v1.ValueOrBuilder getValueOrBuilder(); + } + /** + * + * + *
+   * A filter on a specific field.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} + */ + public static final class FieldFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldFilter) + FieldFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use FieldFilter.newBuilder() to construct. + private FieldFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FieldFilter() { + op_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private FieldFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldReference.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } + + break; + } + case 16: + { + int rawValue = input.readEnum(); + + op_ = rawValue; + break; + } + case 26: + { + com.google.firestore.v1.Value.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.FieldFilter.class, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + } + + /** + * + * + *
+     * A field filter operator.
+     * 
+ * + * Protobuf enum {@code google.firestore.v1.StructuredQuery.FieldFilter.Operator} + */ + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * OPERATOR_UNSPECIFIED = 0; + */ + OPERATOR_UNSPECIFIED(0), + /** + * + * + *
+       * Less than. Requires that the field come first in `order_by`.
+       * 
+ * + * LESS_THAN = 1; + */ + LESS_THAN(1), + /** + * + * + *
+       * Less than or equal. Requires that the field come first in `order_by`.
+       * 
+ * + * LESS_THAN_OR_EQUAL = 2; + */ + LESS_THAN_OR_EQUAL(2), + /** + * + * + *
+       * Greater than. Requires that the field come first in `order_by`.
+       * 
+ * + * GREATER_THAN = 3; + */ + GREATER_THAN(3), + /** + * + * + *
+       * Greater than or equal. Requires that the field come first in
+       * `order_by`.
+       * 
+ * + * GREATER_THAN_OR_EQUAL = 4; + */ + GREATER_THAN_OR_EQUAL(4), + /** + * + * + *
+       * Equal.
+       * 
+ * + * EQUAL = 5; + */ + EQUAL(5), + /** + * + * + *
+       * Contains. Requires that the field is an array.
+       * 
+ * + * ARRAY_CONTAINS = 7; + */ + ARRAY_CONTAINS(7), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * OPERATOR_UNSPECIFIED = 0; + */ + public static final int OPERATOR_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Less than. Requires that the field come first in `order_by`.
+       * 
+ * + * LESS_THAN = 1; + */ + public static final int LESS_THAN_VALUE = 1; + /** + * + * + *
+       * Less than or equal. Requires that the field come first in `order_by`.
+       * 
+ * + * LESS_THAN_OR_EQUAL = 2; + */ + public static final int LESS_THAN_OR_EQUAL_VALUE = 2; + /** + * + * + *
+       * Greater than. Requires that the field come first in `order_by`.
+       * 
+ * + * GREATER_THAN = 3; + */ + public static final int GREATER_THAN_VALUE = 3; + /** + * + * + *
+       * Greater than or equal. Requires that the field come first in
+       * `order_by`.
+       * 
+ * + * GREATER_THAN_OR_EQUAL = 4; + */ + public static final int GREATER_THAN_OR_EQUAL_VALUE = 4; + /** + * + * + *
+       * Equal.
+       * 
+ * + * EQUAL = 5; + */ + public static final int EQUAL_VALUE = 5; + /** + * + * + *
+       * Contains. Requires that the field is an array.
+       * 
+ * + * ARRAY_CONTAINS = 7; + */ + public static final int ARRAY_CONTAINS_VALUE = 7; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static Operator valueOf(int value) { + return forNumber(value); + } + + public static Operator forNumber(int value) { + switch (value) { + case 0: + return OPERATOR_UNSPECIFIED; + case 1: + return LESS_THAN; + case 2: + return LESS_THAN_OR_EQUAL; + case 3: + return GREATER_THAN; + case 4: + return GREATER_THAN_OR_EQUAL; + case 5: + return EQUAL; + case 7: + return ARRAY_CONTAINS; + 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 Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + 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.firestore.v1.StructuredQuery.FieldFilter.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Operator[] VALUES = values(); + + public static Operator 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 Operator(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.FieldFilter.Operator) + } + + public static final int FIELD_FIELD_NUMBER = 1; + private com.google.firestore.v1.StructuredQuery.FieldReference field_; + /** + * + * + *
+     * The field to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public boolean hasField() { + return field_ != null; + } + /** + * + * + *
+     * The field to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getField() { + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } + /** + * + * + *
+     * The field to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { + return getField(); + } + + public static final int OP_FIELD_NUMBER = 2; + private int op_; + /** + * + * + *
+     * The operator to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + public int getOpValue() { + return op_; + } + /** + * + * + *
+     * The operator to filter by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED + : result; + } + + public static final int VALUE_FIELD_NUMBER = 3; + private com.google.firestore.v1.Value value_; + /** + * + * + *
+     * The value to compare to.
+     * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public boolean hasValue() { + return value_ != null; + } + /** + * + * + *
+     * The value to compare to.
+     * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public com.google.firestore.v1.Value getValue() { + return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; + } + /** + * + * + *
+     * The value to compare to.
+     * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { + return getValue(); + } + + 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 (field_ != null) { + output.writeMessage(1, getField()); + } + if (op_ + != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, op_); + } + if (value_ != null) { + output.writeMessage(3, getValue()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (field_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + } + if (op_ + != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, op_); + } + if (value_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getValue()); + } + size += unknownFields.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.firestore.v1.StructuredQuery.FieldFilter)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.FieldFilter other = + (com.google.firestore.v1.StructuredQuery.FieldFilter) obj; + + boolean result = true; + result = result && (hasField() == other.hasField()); + if (hasField()) { + result = result && getField().equals(other.getField()); + } + result = result && op_ == other.op_; + result = result && (hasValue() == other.hasValue()); + if (hasValue()) { + result = result && getValue().equals(other.getValue()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasField()) { + hash = (37 * hash) + FIELD_FIELD_NUMBER; + hash = (53 * hash) + getField().hashCode(); + } + hash = (37 * hash) + OP_FIELD_NUMBER; + hash = (53 * hash) + op_; + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter 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.firestore.v1.StructuredQuery.FieldFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter 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.firestore.v1.StructuredQuery.FieldFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter 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.firestore.v1.StructuredQuery.FieldFilter parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter 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.firestore.v1.StructuredQuery.FieldFilter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A filter on a specific field.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldFilter) + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.FieldFilter.class, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (fieldBuilder_ == null) { + field_ = null; + } else { + field_ = null; + fieldBuilder_ = null; + } + op_ = 0; + + if (valueBuilder_ == null) { + value_ = null; + } else { + value_ = null; + valueBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldFilter build() { + com.google.firestore.v1.StructuredQuery.FieldFilter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldFilter buildPartial() { + com.google.firestore.v1.StructuredQuery.FieldFilter result = + new com.google.firestore.v1.StructuredQuery.FieldFilter(this); + if (fieldBuilder_ == null) { + result.field_ = field_; + } else { + result.field_ = fieldBuilder_.build(); + } + result.op_ = op_; + if (valueBuilder_ == null) { + result.value_ = value_; + } else { + result.value_ = valueBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.FieldFilter) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldFilter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldFilter other) { + if (other == com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) + return this; + if (other.hasField()) { + mergeField(other.getField()); + } + if (other.op_ != 0) { + setOpValue(other.getOpValue()); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.FieldFilter parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.StructuredQuery.FieldFilter) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.firestore.v1.StructuredQuery.FieldReference field_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldBuilder_; + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public boolean hasField() { + return fieldBuilder_ != null || field_ != null; + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getField() { + if (fieldBuilder_ == null) { + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } else { + return fieldBuilder_.getMessage(); + } + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + field_ = value; + onChanged(); + } else { + fieldBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder setField( + com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldBuilder_ == null) { + field_ = builderForValue.build(); + onChanged(); + } else { + fieldBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (field_ != null) { + field_ = + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); + } else { + field_ = value; + } + onChanged(); + } else { + fieldBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder clearField() { + if (fieldBuilder_ == null) { + field_ = null; + onChanged(); + } else { + field_ = null; + fieldBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() { + + onChanged(); + return getFieldFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { + if (fieldBuilder_ != null) { + return fieldBuilder_.getMessageOrBuilder(); + } else { + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } + } + /** + * + * + *
+       * The field to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + getFieldFieldBuilder() { + if (fieldBuilder_ == null) { + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), getParentForChildren(), isClean()); + field_ = null; + } + return fieldBuilder_; + } + + private int op_ = 0; + /** + * + * + *
+       * The operator to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + public int getOpValue() { + return op_; + } + /** + * + * + *
+       * The operator to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + public Builder setOpValue(int value) { + op_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The operator to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The operator to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + public Builder setOp(com.google.firestore.v1.StructuredQuery.FieldFilter.Operator value) { + if (value == null) { + throw new NullPointerException(); + } + + op_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The operator to filter by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + */ + public Builder clearOp() { + + op_ = 0; + onChanged(); + return this; + } + + private com.google.firestore.v1.Value value_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + valueBuilder_; + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public boolean hasValue() { + return valueBuilder_ != null || value_ != null; + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public com.google.firestore.v1.Value getValue() { + if (valueBuilder_ == null) { + return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public Builder setValue(com.google.firestore.v1.Value value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + valueBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public Builder setValue(com.google.firestore.v1.Value.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public Builder mergeValue(com.google.firestore.v1.Value value) { + if (valueBuilder_ == null) { + if (value_ != null) { + value_ = + com.google.firestore.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + valueBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public Builder clearValue() { + if (valueBuilder_ == null) { + value_ = null; + onChanged(); + } else { + value_ = null; + valueBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public com.google.firestore.v1.Value.Builder getValueBuilder() { + + onChanged(); + return getValueFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; + } + } + /** + * + * + *
+       * The value to compare to.
+       * 
+ * + * .google.firestore.v1.Value value = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + getValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); + value_ = null; + } + return valueBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldFilter) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldFilter) + private static final com.google.firestore.v1.StructuredQuery.FieldFilter DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldFilter(); + } + + public static com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FieldFilter(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.FieldFilter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface UnaryFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.UnaryFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The unary operator to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + int getOpValue(); + /** + * + * + *
+     * The unary operator to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp(); + + /** + * + * + *
+     * The field to which to apply the operator.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + boolean hasField(); + /** + * + * + *
+     * The field to which to apply the operator.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + com.google.firestore.v1.StructuredQuery.FieldReference getField(); + /** + * + * + *
+     * The field to which to apply the operator.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); + + public com.google.firestore.v1.StructuredQuery.UnaryFilter.OperandTypeCase getOperandTypeCase(); + } + /** + * + * + *
+   * A filter with a single operand.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} + */ + public static final class UnaryFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.UnaryFilter) + UnaryFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use UnaryFilter.newBuilder() to construct. + private UnaryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UnaryFilter() { + op_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UnaryFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + op_ = rawValue; + break; + } + case 18: + { + com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; + if (operandTypeCase_ == 2) { + subBuilder = + ((com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) + .toBuilder(); + } + operandType_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldReference.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); + operandType_ = subBuilder.buildPartial(); + } + operandTypeCase_ = 2; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.UnaryFilter.class, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); + } + + /** + * + * + *
+     * A unary operator.
+     * 
+ * + * Protobuf enum {@code google.firestore.v1.StructuredQuery.UnaryFilter.Operator} + */ + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * OPERATOR_UNSPECIFIED = 0; + */ + OPERATOR_UNSPECIFIED(0), + /** + * + * + *
+       * Test if a field is equal to NaN.
+       * 
+ * + * IS_NAN = 2; + */ + IS_NAN(2), + /** + * + * + *
+       * Test if an exprestion evaluates to Null.
+       * 
+ * + * IS_NULL = 3; + */ + IS_NULL(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified. This value must not be used.
+       * 
+ * + * OPERATOR_UNSPECIFIED = 0; + */ + public static final int OPERATOR_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Test if a field is equal to NaN.
+       * 
+ * + * IS_NAN = 2; + */ + public static final int IS_NAN_VALUE = 2; + /** + * + * + *
+       * Test if an exprestion evaluates to Null.
+       * 
+ * + * IS_NULL = 3; + */ + public static final int IS_NULL_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static Operator valueOf(int value) { + return forNumber(value); + } + + public static Operator forNumber(int value) { + switch (value) { + case 0: + return OPERATOR_UNSPECIFIED; + case 2: + return IS_NAN; + case 3: + return IS_NULL; + 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 Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + 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.firestore.v1.StructuredQuery.UnaryFilter.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Operator[] VALUES = values(); + + public static Operator 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 Operator(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.UnaryFilter.Operator) + } + + private int operandTypeCase_ = 0; + private java.lang.Object operandType_; + + public enum OperandTypeCase implements com.google.protobuf.Internal.EnumLite { + FIELD(2), + OPERANDTYPE_NOT_SET(0); + private final int value; + + private OperandTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static OperandTypeCase valueOf(int value) { + return forNumber(value); + } + + public static OperandTypeCase forNumber(int value) { + switch (value) { + case 2: + return FIELD; + case 0: + return OPERANDTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public OperandTypeCase getOperandTypeCase() { + return OperandTypeCase.forNumber(operandTypeCase_); + } + + public static final int OP_FIELD_NUMBER = 1; + private int op_; + /** + * + * + *
+     * The unary operator to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + public int getOpValue() { + return op_; + } + /** + * + * + *
+     * The unary operator to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED + : result; + } + + public static final int FIELD_FIELD_NUMBER = 2; + /** + * + * + *
+     * The field to which to apply the operator.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public boolean hasField() { + return operandTypeCase_ == 2; + } + /** + * + * + *
+     * The field to which to apply the operator.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getField() { + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + } + /** + * + * + *
+     * The field to which to apply the operator.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1.StructuredQuery.FieldReference.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 (op_ + != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, op_); + } + if (operandTypeCase_ == 2) { + output.writeMessage( + 2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (op_ + != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_); + } + if (operandTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); + } + size += unknownFields.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.firestore.v1.StructuredQuery.UnaryFilter)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.UnaryFilter other = + (com.google.firestore.v1.StructuredQuery.UnaryFilter) obj; + + boolean result = true; + result = result && op_ == other.op_; + result = result && getOperandTypeCase().equals(other.getOperandTypeCase()); + if (!result) return false; + switch (operandTypeCase_) { + case 2: + result = result && getField().equals(other.getField()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OP_FIELD_NUMBER; + hash = (53 * hash) + op_; + switch (operandTypeCase_) { + case 2: + hash = (37 * hash) + FIELD_FIELD_NUMBER; + hash = (53 * hash) + getField().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter 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.firestore.v1.StructuredQuery.UnaryFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter 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.firestore.v1.StructuredQuery.UnaryFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter 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.firestore.v1.StructuredQuery.UnaryFilter parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter 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.firestore.v1.StructuredQuery.UnaryFilter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A filter with a single operand.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.UnaryFilter) + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.UnaryFilter.class, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + op_ = 0; + + operandTypeCase_ = 0; + operandType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.UnaryFilter build() { + com.google.firestore.v1.StructuredQuery.UnaryFilter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.UnaryFilter buildPartial() { + com.google.firestore.v1.StructuredQuery.UnaryFilter result = + new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); + result.op_ = op_; + if (operandTypeCase_ == 2) { + if (fieldBuilder_ == null) { + result.operandType_ = operandType_; + } else { + result.operandType_ = fieldBuilder_.build(); + } + } + result.operandTypeCase_ = operandTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.UnaryFilter) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.UnaryFilter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.UnaryFilter other) { + if (other == com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) + return this; + if (other.op_ != 0) { + setOpValue(other.getOpValue()); + } + switch (other.getOperandTypeCase()) { + case FIELD: + { + mergeField(other.getField()); + break; + } + case OPERANDTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.UnaryFilter parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.StructuredQuery.UnaryFilter) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int operandTypeCase_ = 0; + private java.lang.Object operandType_; + + public OperandTypeCase getOperandTypeCase() { + return OperandTypeCase.forNumber(operandTypeCase_); + } + + public Builder clearOperandType() { + operandTypeCase_ = 0; + operandType_ = null; + onChanged(); + return this; + } + + private int op_ = 0; + /** + * + * + *
+       * The unary operator to apply.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + public int getOpValue() { + return op_; + } + /** + * + * + *
+       * The unary operator to apply.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + public Builder setOpValue(int value) { + op_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The unary operator to apply.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The unary operator to apply.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + public Builder setOp(com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator value) { + if (value == null) { + throw new NullPointerException(); + } + + op_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The unary operator to apply.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + */ + public Builder clearOp() { + + op_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldBuilder_; + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public boolean hasField() { + return operandTypeCase_ == 2; + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getField() { + if (fieldBuilder_ == null) { + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + } else { + if (operandTypeCase_ == 2) { + return fieldBuilder_.getMessage(); + } + return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + } + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + operandType_ = value; + onChanged(); + } else { + fieldBuilder_.setMessage(value); + } + operandTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public Builder setField( + com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldBuilder_ == null) { + operandType_ = builderForValue.build(); + onChanged(); + } else { + fieldBuilder_.setMessage(builderForValue.build()); + } + operandTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (operandTypeCase_ == 2 + && operandType_ + != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + operandType_ = + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder( + (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) + .mergeFrom(value) + .buildPartial(); + } else { + operandType_ = value; + } + onChanged(); + } else { + if (operandTypeCase_ == 2) { + fieldBuilder_.mergeFrom(value); + } + fieldBuilder_.setMessage(value); + } + operandTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public Builder clearField() { + if (fieldBuilder_ == null) { + if (operandTypeCase_ == 2) { + operandTypeCase_ = 0; + operandType_ = null; + onChanged(); + } + } else { + if (operandTypeCase_ == 2) { + operandTypeCase_ = 0; + operandType_ = null; + } + fieldBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() { + return getFieldFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { + if ((operandTypeCase_ == 2) && (fieldBuilder_ != null)) { + return fieldBuilder_.getMessageOrBuilder(); + } else { + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + } + } + /** + * + * + *
+       * The field to which to apply the operator.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + getFieldFieldBuilder() { + if (fieldBuilder_ == null) { + if (!(operandTypeCase_ == 2)) { + operandType_ = + com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + } + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_, + getParentForChildren(), + isClean()); + operandType_ = null; + } + operandTypeCase_ = 2; + onChanged(); + ; + return fieldBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.UnaryFilter) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.UnaryFilter) + private static final com.google.firestore.v1.StructuredQuery.UnaryFilter DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.UnaryFilter(); + } + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnaryFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnaryFilter(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface OrderOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Order) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The field to order by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + boolean hasField(); + /** + * + * + *
+     * The field to order by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + com.google.firestore.v1.StructuredQuery.FieldReference getField(); + /** + * + * + *
+     * The field to order by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); + + /** + * + * + *
+     * The direction to order by. Defaults to `ASCENDING`.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + int getDirectionValue(); + /** + * + * + *
+     * The direction to order by. Defaults to `ASCENDING`.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + com.google.firestore.v1.StructuredQuery.Direction getDirection(); + } + /** + * + * + *
+   * An order on a field.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} + */ + public static final class Order extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Order) + OrderOrBuilder { + private static final long serialVersionUID = 0L; + // Use Order.newBuilder() to construct. + private Order(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Order() { + direction_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Order( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldReference.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } + + break; + } + case 16: + { + int rawValue = input.readEnum(); + + direction_ = rawValue; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.Order.class, + com.google.firestore.v1.StructuredQuery.Order.Builder.class); + } + + public static final int FIELD_FIELD_NUMBER = 1; + private com.google.firestore.v1.StructuredQuery.FieldReference field_; + /** + * + * + *
+     * The field to order by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public boolean hasField() { + return field_ != null; + } + /** + * + * + *
+     * The field to order by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getField() { + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } + /** + * + * + *
+     * The field to order by.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { + return getField(); + } + + public static final int DIRECTION_FIELD_NUMBER = 2; + private int direction_; + /** + * + * + *
+     * The direction to order by. Defaults to `ASCENDING`.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + public int getDirectionValue() { + return direction_; + } + /** + * + * + *
+     * The direction to order by. Defaults to `ASCENDING`.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + public com.google.firestore.v1.StructuredQuery.Direction getDirection() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.Direction result = + com.google.firestore.v1.StructuredQuery.Direction.valueOf(direction_); + return result == null + ? com.google.firestore.v1.StructuredQuery.Direction.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 (field_ != null) { + output.writeMessage(1, getField()); + } + if (direction_ + != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + output.writeEnum(2, direction_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (field_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + } + if (direction_ + != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); + } + size += unknownFields.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.firestore.v1.StructuredQuery.Order)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.Order other = + (com.google.firestore.v1.StructuredQuery.Order) obj; + + boolean result = true; + result = result && (hasField() == other.hasField()); + if (hasField()) { + result = result && getField().equals(other.getField()); + } + result = result && direction_ == other.direction_; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasField()) { + hash = (37 * hash) + FIELD_FIELD_NUMBER; + hash = (53 * hash) + getField().hashCode(); + } + hash = (37 * hash) + DIRECTION_FIELD_NUMBER; + hash = (53 * hash) + direction_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.Order 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.firestore.v1.StructuredQuery.Order parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.Order 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.firestore.v1.StructuredQuery.Order parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.Order 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.firestore.v1.StructuredQuery.Order parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.Order 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.firestore.v1.StructuredQuery.Order 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; + } + /** + * + * + *
+     * An order on a field.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Order) + com.google.firestore.v1.StructuredQuery.OrderOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.Order.class, + com.google.firestore.v1.StructuredQuery.Order.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.Order.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (fieldBuilder_ == null) { + field_ = null; + } else { + field_ = null; + fieldBuilder_ = null; + } + direction_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Order getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Order build() { + com.google.firestore.v1.StructuredQuery.Order result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Order buildPartial() { + com.google.firestore.v1.StructuredQuery.Order result = + new com.google.firestore.v1.StructuredQuery.Order(this); + if (fieldBuilder_ == null) { + result.field_ = field_; + } else { + result.field_ = fieldBuilder_.build(); + } + result.direction_ = direction_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.Order) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.Order) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Order other) { + if (other == com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance()) + return this; + if (other.hasField()) { + mergeField(other.getField()); + } + if (other.direction_ != 0) { + setDirectionValue(other.getDirectionValue()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.Order parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.StructuredQuery.Order) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.firestore.v1.StructuredQuery.FieldReference field_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldBuilder_; + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public boolean hasField() { + return fieldBuilder_ != null || field_ != null; + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getField() { + if (fieldBuilder_ == null) { + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } else { + return fieldBuilder_.getMessage(); + } + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + field_ = value; + onChanged(); + } else { + fieldBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder setField( + com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldBuilder_ == null) { + field_ = builderForValue.build(); + onChanged(); + } else { + fieldBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (field_ != null) { + field_ = + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); + } else { + field_ = value; + } + onChanged(); + } else { + fieldBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public Builder clearField() { + if (fieldBuilder_ == null) { + field_ = null; + onChanged(); + } else { + field_ = null; + fieldBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() { + + onChanged(); + return getFieldFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { + if (fieldBuilder_ != null) { + return fieldBuilder_.getMessageOrBuilder(); + } else { + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } + } + /** + * + * + *
+       * The field to order by.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + getFieldFieldBuilder() { + if (fieldBuilder_ == null) { + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), getParentForChildren(), isClean()); + field_ = null; + } + return fieldBuilder_; + } + + private int direction_ = 0; + /** + * + * + *
+       * The direction to order by. Defaults to `ASCENDING`.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + public int getDirectionValue() { + return direction_; + } + /** + * + * + *
+       * The direction to order by. Defaults to `ASCENDING`.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + public Builder setDirectionValue(int value) { + direction_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The direction to order by. Defaults to `ASCENDING`.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + public com.google.firestore.v1.StructuredQuery.Direction getDirection() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.StructuredQuery.Direction result = + com.google.firestore.v1.StructuredQuery.Direction.valueOf(direction_); + return result == null + ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The direction to order by. Defaults to `ASCENDING`.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + public Builder setDirection(com.google.firestore.v1.StructuredQuery.Direction value) { + if (value == null) { + throw new NullPointerException(); + } + + direction_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The direction to order by. Defaults to `ASCENDING`.
+       * 
+ * + * .google.firestore.v1.StructuredQuery.Direction direction = 2; + */ + public Builder clearDirection() { + + direction_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Order) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Order) + private static final com.google.firestore.v1.StructuredQuery.Order DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Order(); + } + + public static com.google.firestore.v1.StructuredQuery.Order getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Order parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Order(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.Order getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface FieldReferenceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldReference) + com.google.protobuf.MessageOrBuilder { + + /** string field_path = 2; */ + java.lang.String getFieldPath(); + /** string field_path = 2; */ + com.google.protobuf.ByteString getFieldPathBytes(); + } + /** + * + * + *
+   * A reference to a field, such as `max(messages.time) as max_time`.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} + */ + public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldReference) + FieldReferenceOrBuilder { + private static final long serialVersionUID = 0L; + // Use FieldReference.newBuilder() to construct. + private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FieldReference() { + fieldPath_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private FieldReference( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + fieldPath_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.FieldReference.class, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + } + + public static final int FIELD_PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object fieldPath_; + /** string field_path = 2; */ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + 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(); + fieldPath_ = s; + return s; + } + } + /** string field_path = 2; */ + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = 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 (!getFieldPathBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getFieldPathBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_); + } + size += unknownFields.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.firestore.v1.StructuredQuery.FieldReference)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.FieldReference other = + (com.google.firestore.v1.StructuredQuery.FieldReference) obj; + + boolean result = true; + result = result && getFieldPath().equals(other.getFieldPath()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER; + hash = (53 * hash) + getFieldPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference 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.firestore.v1.StructuredQuery.FieldReference parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference 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.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference 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.firestore.v1.StructuredQuery.FieldReference parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference 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.firestore.v1.StructuredQuery.FieldReference prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A reference to a field, such as `max(messages.time) as max_time`.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldReference) + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.FieldReference.class, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + fieldPath_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldReference build() { + com.google.firestore.v1.StructuredQuery.FieldReference result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldReference buildPartial() { + com.google.firestore.v1.StructuredQuery.FieldReference result = + new com.google.firestore.v1.StructuredQuery.FieldReference(this); + result.fieldPath_ = fieldPath_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.FieldReference) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldReference) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldReference other) { + if (other == com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) + return this; + if (!other.getFieldPath().isEmpty()) { + fieldPath_ = other.fieldPath_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.FieldReference parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.StructuredQuery.FieldReference) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object fieldPath_ = ""; + /** string field_path = 2; */ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** string field_path = 2; */ + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** string field_path = 2; */ + public Builder setFieldPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + fieldPath_ = value; + onChanged(); + return this; + } + /** string field_path = 2; */ + public Builder clearFieldPath() { + + fieldPath_ = getDefaultInstance().getFieldPath(); + onChanged(); + return this; + } + /** string field_path = 2; */ + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + fieldPath_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldReference) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldReference) + private static final com.google.firestore.v1.StructuredQuery.FieldReference DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldReference(); + } + + public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FieldReference(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.FieldReference getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface ProjectionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Projection) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + java.util.List getFieldsList(); + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index); + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + int getFieldsCount(); + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + java.util.List + getFieldsOrBuilderList(); + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(int index); + } + /** + * + * + *
+   * The projection of document's fields to return.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} + */ + public static final class Projection extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Projection) + ProjectionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Projection.newBuilder() to construct. + private Projection(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Projection() { + fields_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Projection( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = + new java.util.ArrayList< + com.google.firestore.v1.StructuredQuery.FieldReference>(); + mutable_bitField0_ |= 0x00000001; + } + fields_.add( + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldReference.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = java.util.Collections.unmodifiableList(fields_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.Projection.class, + com.google.firestore.v1.StructuredQuery.Projection.Builder.class); + } + + public static final int FIELDS_FIELD_NUMBER = 2; + private java.util.List fields_; + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public java.util.List getFieldsList() { + return fields_; + } + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public java.util.List + getFieldsOrBuilderList() { + return fields_; + } + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public int getFieldsCount() { + return fields_.size(); + } + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index) { + return fields_.get(index); + } + /** + * + * + *
+     * The fields to return.
+     * If empty, all fields are returned. To only return the name
+     * of the document, use `['__name__']`.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder( + int index) { + return fields_.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 < fields_.size(); i++) { + output.writeMessage(2, fields_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < fields_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i)); + } + size += unknownFields.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.firestore.v1.StructuredQuery.Projection)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery.Projection other = + (com.google.firestore.v1.StructuredQuery.Projection) obj; + + boolean result = true; + result = result && getFieldsList().equals(other.getFieldsList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getFieldsCount() > 0) { + hash = (37 * hash) + FIELDS_FIELD_NUMBER; + hash = (53 * hash) + getFieldsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery.Projection parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.Projection parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.Projection parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.Projection 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.firestore.v1.StructuredQuery.Projection parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery.Projection parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery.Projection parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.Projection 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.firestore.v1.StructuredQuery.Projection parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.Projection 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.firestore.v1.StructuredQuery.Projection parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery.Projection 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.firestore.v1.StructuredQuery.Projection 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 projection of document's fields to return.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Projection) + com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.Projection.class, + com.google.firestore.v1.StructuredQuery.Projection.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.Projection.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFieldsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (fieldsBuilder_ == null) { + fields_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + fieldsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Projection getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Projection build() { + com.google.firestore.v1.StructuredQuery.Projection result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Projection buildPartial() { + com.google.firestore.v1.StructuredQuery.Projection result = + new com.google.firestore.v1.StructuredQuery.Projection(this); + int from_bitField0_ = bitField0_; + if (fieldsBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = java.util.Collections.unmodifiableList(fields_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.fields_ = fields_; + } else { + result.fields_ = fieldsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery.Projection) { + return mergeFrom((com.google.firestore.v1.StructuredQuery.Projection) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Projection other) { + if (other == com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) + return this; + if (fieldsBuilder_ == null) { + if (!other.fields_.isEmpty()) { + if (fields_.isEmpty()) { + fields_ = other.fields_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFieldsIsMutable(); + fields_.addAll(other.fields_); + } + onChanged(); + } + } else { + if (!other.fields_.isEmpty()) { + if (fieldsBuilder_.isEmpty()) { + fieldsBuilder_.dispose(); + fieldsBuilder_ = null; + fields_ = other.fields_; + bitField0_ = (bitField0_ & ~0x00000001); + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; + } else { + fieldsBuilder_.addAllMessages(other.fields_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery.Projection parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.StructuredQuery.Projection) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List fields_ = + java.util.Collections.emptyList(); + + private void ensureFieldsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = + new java.util.ArrayList( + fields_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldsBuilder_; + + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public java.util.List + getFieldsList() { + if (fieldsBuilder_ == null) { + return java.util.Collections.unmodifiableList(fields_); + } else { + return fieldsBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public int getFieldsCount() { + if (fieldsBuilder_ == null) { + return fields_.size(); + } else { + return fieldsBuilder_.getCount(); + } + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index) { + if (fieldsBuilder_ == null) { + return fields_.get(index); + } else { + return fieldsBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder setFields( + int index, com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldsIsMutable(); + fields_.set(index, value); + onChanged(); + } else { + fieldsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder setFields( + int index, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.set(index, builderForValue.build()); + onChanged(); + } else { + fieldsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder addFields(com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldsIsMutable(); + fields_.add(value); + onChanged(); + } else { + fieldsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder addFields( + int index, com.google.firestore.v1.StructuredQuery.FieldReference value) { + if (fieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldsIsMutable(); + fields_.add(index, value); + onChanged(); + } else { + fieldsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder addFields( + com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(builderForValue.build()); + onChanged(); + } else { + fieldsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder addFields( + int index, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(index, builderForValue.build()); + onChanged(); + } else { + fieldsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder addAllFields( + java.lang.Iterable + values) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + onChanged(); + } else { + fieldsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder clearFields() { + if (fieldsBuilder_ == null) { + fields_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + fieldsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public Builder removeFields(int index) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.remove(index); + onChanged(); + } else { + fieldsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsBuilder( + int index) { + return getFieldsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder( + int index) { + if (fieldsBuilder_ == null) { + return fields_.get(index); + } else { + return fieldsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public java.util.List< + ? extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + getFieldsOrBuilderList() { + if (fieldsBuilder_ != null) { + return fieldsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(fields_); + } + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder() { + return getFieldsFieldBuilder() + .addBuilder( + com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()); + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder() + .addBuilder( + index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()); + } + /** + * + * + *
+       * The fields to return.
+       * If empty, all fields are returned. To only return the name
+       * of the document, use `['__name__']`.
+       * 
+ * + * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; + */ + public java.util.List + getFieldsBuilderList() { + return getFieldsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + getFieldsFieldBuilder() { + if (fieldsBuilder_ == null) { + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + fields_ = null; + } + return fieldsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Projection) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Projection) + private static final com.google.firestore.v1.StructuredQuery.Projection DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Projection(); + } + + public static com.google.firestore.v1.StructuredQuery.Projection getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Projection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Projection(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery.Projection getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int SELECT_FIELD_NUMBER = 1; + private com.google.firestore.v1.StructuredQuery.Projection select_; + /** + * + * + *
+   * The projection to return.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public boolean hasSelect() { + return select_ != null; + } + /** + * + * + *
+   * The projection to return.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public com.google.firestore.v1.StructuredQuery.Projection getSelect() { + return select_ == null + ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() + : select_; + } + /** + * + * + *
+   * The projection to return.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder() { + return getSelect(); + } + + public static final int FROM_FIELD_NUMBER = 2; + private java.util.List from_; + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public java.util.List getFromList() { + return from_; + } + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public java.util.List< + ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + getFromOrBuilderList() { + return from_; + } + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public int getFromCount() { + return from_.size(); + } + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index) { + return from_.get(index); + } + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( + int index) { + return from_.get(index); + } + + public static final int WHERE_FIELD_NUMBER = 3; + private com.google.firestore.v1.StructuredQuery.Filter where_; + /** + * + * + *
+   * The filter to apply.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public boolean hasWhere() { + return where_ != null; + } + /** + * + * + *
+   * The filter to apply.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public com.google.firestore.v1.StructuredQuery.Filter getWhere() { + return where_ == null + ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() + : where_; + } + /** + * + * + *
+   * The filter to apply.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder() { + return getWhere(); + } + + public static final int ORDER_BY_FIELD_NUMBER = 4; + private java.util.List orderBy_; + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public java.util.List getOrderByList() { + return orderBy_; + } + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public java.util.List + getOrderByOrBuilderList() { + return orderBy_; + } + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public int getOrderByCount() { + return orderBy_.size(); + } + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) { + return orderBy_.get(index); + } + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) { + return orderBy_.get(index); + } + + public static final int START_AT_FIELD_NUMBER = 7; + private com.google.firestore.v1.Cursor startAt_; + /** + * + * + *
+   * A starting point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public boolean hasStartAt() { + return startAt_ != null; + } + /** + * + * + *
+   * A starting point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public com.google.firestore.v1.Cursor getStartAt() { + return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_; + } + /** + * + * + *
+   * A starting point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() { + return getStartAt(); + } + + public static final int END_AT_FIELD_NUMBER = 8; + private com.google.firestore.v1.Cursor endAt_; + /** + * + * + *
+   * A end point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public boolean hasEndAt() { + return endAt_ != null; + } + /** + * + * + *
+   * A end point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public com.google.firestore.v1.Cursor getEndAt() { + return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_; + } + /** + * + * + *
+   * A end point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() { + return getEndAt(); + } + + public static final int OFFSET_FIELD_NUMBER = 6; + private int offset_; + /** + * + * + *
+   * The number of results to skip.
+   * Applies before limit, but after all other constraints. Must be >= 0 if
+   * specified.
+   * 
+ * + * int32 offset = 6; + */ + public int getOffset() { + return offset_; + } + + public static final int LIMIT_FIELD_NUMBER = 5; + private com.google.protobuf.Int32Value limit_; + /** + * + * + *
+   * The maximum number of results to return.
+   * Applies after all other constraints.
+   * Must be >= 0 if specified.
+   * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public boolean hasLimit() { + return limit_ != null; + } + /** + * + * + *
+   * The maximum number of results to return.
+   * Applies after all other constraints.
+   * Must be >= 0 if specified.
+   * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public com.google.protobuf.Int32Value getLimit() { + return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; + } + /** + * + * + *
+   * The maximum number of results to return.
+   * Applies after all other constraints.
+   * Must be >= 0 if specified.
+   * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() { + return getLimit(); + } + + 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 (select_ != null) { + output.writeMessage(1, getSelect()); + } + for (int i = 0; i < from_.size(); i++) { + output.writeMessage(2, from_.get(i)); + } + if (where_ != null) { + output.writeMessage(3, getWhere()); + } + for (int i = 0; i < orderBy_.size(); i++) { + output.writeMessage(4, orderBy_.get(i)); + } + if (limit_ != null) { + output.writeMessage(5, getLimit()); + } + if (offset_ != 0) { + output.writeInt32(6, offset_); + } + if (startAt_ != null) { + output.writeMessage(7, getStartAt()); + } + if (endAt_ != null) { + output.writeMessage(8, getEndAt()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (select_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSelect()); + } + for (int i = 0; i < from_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, from_.get(i)); + } + if (where_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWhere()); + } + for (int i = 0; i < orderBy_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, orderBy_.get(i)); + } + if (limit_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLimit()); + } + if (offset_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, offset_); + } + if (startAt_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStartAt()); + } + if (endAt_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndAt()); + } + size += unknownFields.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.firestore.v1.StructuredQuery)) { + return super.equals(obj); + } + com.google.firestore.v1.StructuredQuery other = (com.google.firestore.v1.StructuredQuery) obj; + + boolean result = true; + result = result && (hasSelect() == other.hasSelect()); + if (hasSelect()) { + result = result && getSelect().equals(other.getSelect()); + } + result = result && getFromList().equals(other.getFromList()); + result = result && (hasWhere() == other.hasWhere()); + if (hasWhere()) { + result = result && getWhere().equals(other.getWhere()); + } + result = result && getOrderByList().equals(other.getOrderByList()); + result = result && (hasStartAt() == other.hasStartAt()); + if (hasStartAt()) { + result = result && getStartAt().equals(other.getStartAt()); + } + result = result && (hasEndAt() == other.hasEndAt()); + if (hasEndAt()) { + result = result && getEndAt().equals(other.getEndAt()); + } + result = result && (getOffset() == other.getOffset()); + result = result && (hasLimit() == other.hasLimit()); + if (hasLimit()) { + result = result && getLimit().equals(other.getLimit()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSelect()) { + hash = (37 * hash) + SELECT_FIELD_NUMBER; + hash = (53 * hash) + getSelect().hashCode(); + } + if (getFromCount() > 0) { + hash = (37 * hash) + FROM_FIELD_NUMBER; + hash = (53 * hash) + getFromList().hashCode(); + } + if (hasWhere()) { + hash = (37 * hash) + WHERE_FIELD_NUMBER; + hash = (53 * hash) + getWhere().hashCode(); + } + if (getOrderByCount() > 0) { + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderByList().hashCode(); + } + if (hasStartAt()) { + hash = (37 * hash) + START_AT_FIELD_NUMBER; + hash = (53 * hash) + getStartAt().hashCode(); + } + if (hasEndAt()) { + hash = (37 * hash) + END_AT_FIELD_NUMBER; + hash = (53 * hash) + getEndAt().hashCode(); + } + hash = (37 * hash) + OFFSET_FIELD_NUMBER; + hash = (53 * hash) + getOffset(); + if (hasLimit()) { + hash = (37 * hash) + LIMIT_FIELD_NUMBER; + hash = (53 * hash) + getLimit().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.StructuredQuery parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery 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.firestore.v1.StructuredQuery parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.StructuredQuery parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.StructuredQuery parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery 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.firestore.v1.StructuredQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery 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.firestore.v1.StructuredQuery parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.StructuredQuery 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.firestore.v1.StructuredQuery prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A Firestore query.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.StructuredQuery} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery) + com.google.firestore.v1.StructuredQueryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.StructuredQuery.class, + com.google.firestore.v1.StructuredQuery.Builder.class); + } + + // Construct using com.google.firestore.v1.StructuredQuery.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFromFieldBuilder(); + getOrderByFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (selectBuilder_ == null) { + select_ = null; + } else { + select_ = null; + selectBuilder_ = null; + } + if (fromBuilder_ == null) { + from_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + fromBuilder_.clear(); + } + if (whereBuilder_ == null) { + where_ = null; + } else { + where_ = null; + whereBuilder_ = null; + } + if (orderByBuilder_ == null) { + orderBy_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + orderByBuilder_.clear(); + } + if (startAtBuilder_ == null) { + startAt_ = null; + } else { + startAt_ = null; + startAtBuilder_ = null; + } + if (endAtBuilder_ == null) { + endAt_ = null; + } else { + endAt_ = null; + endAtBuilder_ = null; + } + offset_ = 0; + + if (limitBuilder_ == null) { + limit_ = null; + } else { + limit_ = null; + limitBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery getDefaultInstanceForType() { + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery build() { + com.google.firestore.v1.StructuredQuery result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.StructuredQuery buildPartial() { + com.google.firestore.v1.StructuredQuery result = + new com.google.firestore.v1.StructuredQuery(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (selectBuilder_ == null) { + result.select_ = select_; + } else { + result.select_ = selectBuilder_.build(); + } + if (fromBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + from_ = java.util.Collections.unmodifiableList(from_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.from_ = from_; + } else { + result.from_ = fromBuilder_.build(); + } + if (whereBuilder_ == null) { + result.where_ = where_; + } else { + result.where_ = whereBuilder_.build(); + } + if (orderByBuilder_ == null) { + if (((bitField0_ & 0x00000008) == 0x00000008)) { + orderBy_ = java.util.Collections.unmodifiableList(orderBy_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.orderBy_ = orderBy_; + } else { + result.orderBy_ = orderByBuilder_.build(); + } + if (startAtBuilder_ == null) { + result.startAt_ = startAt_; + } else { + result.startAt_ = startAtBuilder_.build(); + } + if (endAtBuilder_ == null) { + result.endAt_ = endAt_; + } else { + result.endAt_ = endAtBuilder_.build(); + } + result.offset_ = offset_; + if (limitBuilder_ == null) { + result.limit_ = limit_; + } else { + result.limit_ = limitBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.StructuredQuery) { + return mergeFrom((com.google.firestore.v1.StructuredQuery) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { + if (other == com.google.firestore.v1.StructuredQuery.getDefaultInstance()) return this; + if (other.hasSelect()) { + mergeSelect(other.getSelect()); + } + if (fromBuilder_ == null) { + if (!other.from_.isEmpty()) { + if (from_.isEmpty()) { + from_ = other.from_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureFromIsMutable(); + from_.addAll(other.from_); + } + onChanged(); + } + } else { + if (!other.from_.isEmpty()) { + if (fromBuilder_.isEmpty()) { + fromBuilder_.dispose(); + fromBuilder_ = null; + from_ = other.from_; + bitField0_ = (bitField0_ & ~0x00000002); + fromBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFromFieldBuilder() + : null; + } else { + fromBuilder_.addAllMessages(other.from_); + } + } + } + if (other.hasWhere()) { + mergeWhere(other.getWhere()); + } + if (orderByBuilder_ == null) { + if (!other.orderBy_.isEmpty()) { + if (orderBy_.isEmpty()) { + orderBy_ = other.orderBy_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureOrderByIsMutable(); + orderBy_.addAll(other.orderBy_); + } + onChanged(); + } + } else { + if (!other.orderBy_.isEmpty()) { + if (orderByBuilder_.isEmpty()) { + orderByBuilder_.dispose(); + orderByBuilder_ = null; + orderBy_ = other.orderBy_; + bitField0_ = (bitField0_ & ~0x00000008); + orderByBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderByFieldBuilder() + : null; + } else { + orderByBuilder_.addAllMessages(other.orderBy_); + } + } + } + if (other.hasStartAt()) { + mergeStartAt(other.getStartAt()); + } + if (other.hasEndAt()) { + mergeEndAt(other.getEndAt()); + } + if (other.getOffset() != 0) { + setOffset(other.getOffset()); + } + if (other.hasLimit()) { + mergeLimit(other.getLimit()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.StructuredQuery parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.StructuredQuery) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.firestore.v1.StructuredQuery.Projection select_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Projection, + com.google.firestore.v1.StructuredQuery.Projection.Builder, + com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> + selectBuilder_; + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public boolean hasSelect() { + return selectBuilder_ != null || select_ != null; + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public com.google.firestore.v1.StructuredQuery.Projection getSelect() { + if (selectBuilder_ == null) { + return select_ == null + ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() + : select_; + } else { + return selectBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public Builder setSelect(com.google.firestore.v1.StructuredQuery.Projection value) { + if (selectBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + select_ = value; + onChanged(); + } else { + selectBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public Builder setSelect( + com.google.firestore.v1.StructuredQuery.Projection.Builder builderForValue) { + if (selectBuilder_ == null) { + select_ = builderForValue.build(); + onChanged(); + } else { + selectBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection value) { + if (selectBuilder_ == null) { + if (select_ != null) { + select_ = + com.google.firestore.v1.StructuredQuery.Projection.newBuilder(select_) + .mergeFrom(value) + .buildPartial(); + } else { + select_ = value; + } + onChanged(); + } else { + selectBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public Builder clearSelect() { + if (selectBuilder_ == null) { + select_ = null; + onChanged(); + } else { + select_ = null; + selectBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public com.google.firestore.v1.StructuredQuery.Projection.Builder getSelectBuilder() { + + onChanged(); + return getSelectFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder() { + if (selectBuilder_ != null) { + return selectBuilder_.getMessageOrBuilder(); + } else { + return select_ == null + ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() + : select_; + } + } + /** + * + * + *
+     * The projection to return.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Projection, + com.google.firestore.v1.StructuredQuery.Projection.Builder, + com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> + getSelectFieldBuilder() { + if (selectBuilder_ == null) { + selectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Projection, + com.google.firestore.v1.StructuredQuery.Projection.Builder, + com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder>( + getSelect(), getParentForChildren(), isClean()); + select_ = null; + } + return selectBuilder_; + } + + private java.util.List from_ = + java.util.Collections.emptyList(); + + private void ensureFromIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + from_ = + new java.util.ArrayList( + from_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CollectionSelector, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + fromBuilder_; + + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public java.util.List + getFromList() { + if (fromBuilder_ == null) { + return java.util.Collections.unmodifiableList(from_); + } else { + return fromBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public int getFromCount() { + if (fromBuilder_ == null) { + return from_.size(); + } else { + return fromBuilder_.getCount(); + } + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index) { + if (fromBuilder_ == null) { + return from_.get(index); + } else { + return fromBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder setFrom( + int index, com.google.firestore.v1.StructuredQuery.CollectionSelector value) { + if (fromBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFromIsMutable(); + from_.set(index, value); + onChanged(); + } else { + fromBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder setFrom( + int index, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + if (fromBuilder_ == null) { + ensureFromIsMutable(); + from_.set(index, builderForValue.build()); + onChanged(); + } else { + fromBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder addFrom(com.google.firestore.v1.StructuredQuery.CollectionSelector value) { + if (fromBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFromIsMutable(); + from_.add(value); + onChanged(); + } else { + fromBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder addFrom( + int index, com.google.firestore.v1.StructuredQuery.CollectionSelector value) { + if (fromBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFromIsMutable(); + from_.add(index, value); + onChanged(); + } else { + fromBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder addFrom( + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + if (fromBuilder_ == null) { + ensureFromIsMutable(); + from_.add(builderForValue.build()); + onChanged(); + } else { + fromBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder addFrom( + int index, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + if (fromBuilder_ == null) { + ensureFromIsMutable(); + from_.add(index, builderForValue.build()); + onChanged(); + } else { + fromBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder addAllFrom( + java.lang.Iterable + values) { + if (fromBuilder_ == null) { + ensureFromIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, from_); + onChanged(); + } else { + fromBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder clearFrom() { + if (fromBuilder_ == null) { + from_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + fromBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public Builder removeFrom(int index) { + if (fromBuilder_ == null) { + ensureFromIsMutable(); + from_.remove(index); + onChanged(); + } else { + fromBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFromBuilder( + int index) { + return getFromFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( + int index) { + if (fromBuilder_ == null) { + return from_.get(index); + } else { + return fromBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public java.util.List< + ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + getFromOrBuilderList() { + if (fromBuilder_ != null) { + return fromBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(from_); + } + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder() { + return getFromFieldBuilder() + .addBuilder( + com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder( + int index) { + return getFromFieldBuilder() + .addBuilder( + index, + com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + } + /** + * + * + *
+     * The collections to query.
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + public java.util.List + getFromBuilderList() { + return getFromFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CollectionSelector, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + getFromFieldBuilder() { + if (fromBuilder_ == null) { + fromBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CollectionSelector, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder>( + from_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + from_ = null; + } + return fromBuilder_; + } + + private com.google.firestore.v1.StructuredQuery.Filter where_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + whereBuilder_; + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public boolean hasWhere() { + return whereBuilder_ != null || where_ != null; + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public com.google.firestore.v1.StructuredQuery.Filter getWhere() { + if (whereBuilder_ == null) { + return where_ == null + ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() + : where_; + } else { + return whereBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public Builder setWhere(com.google.firestore.v1.StructuredQuery.Filter value) { + if (whereBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + where_ = value; + onChanged(); + } else { + whereBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public Builder setWhere( + com.google.firestore.v1.StructuredQuery.Filter.Builder builderForValue) { + if (whereBuilder_ == null) { + where_ = builderForValue.build(); + onChanged(); + } else { + whereBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) { + if (whereBuilder_ == null) { + if (where_ != null) { + where_ = + com.google.firestore.v1.StructuredQuery.Filter.newBuilder(where_) + .mergeFrom(value) + .buildPartial(); + } else { + where_ = value; + } + onChanged(); + } else { + whereBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public Builder clearWhere() { + if (whereBuilder_ == null) { + where_ = null; + onChanged(); + } else { + where_ = null; + whereBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public com.google.firestore.v1.StructuredQuery.Filter.Builder getWhereBuilder() { + + onChanged(); + return getWhereFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder() { + if (whereBuilder_ != null) { + return whereBuilder_.getMessageOrBuilder(); + } else { + return where_ == null + ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() + : where_; + } + } + /** + * + * + *
+     * The filter to apply.
+     * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + getWhereFieldBuilder() { + if (whereBuilder_ == null) { + whereBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( + getWhere(), getParentForChildren(), isClean()); + where_ = null; + } + return whereBuilder_; + } + + private java.util.List orderBy_ = + java.util.Collections.emptyList(); + + private void ensureOrderByIsMutable() { + if (!((bitField0_ & 0x00000008) == 0x00000008)) { + orderBy_ = new java.util.ArrayList(orderBy_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Order, + com.google.firestore.v1.StructuredQuery.Order.Builder, + com.google.firestore.v1.StructuredQuery.OrderOrBuilder> + orderByBuilder_; + + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public java.util.List getOrderByList() { + if (orderByBuilder_ == null) { + return java.util.Collections.unmodifiableList(orderBy_); + } else { + return orderByBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public int getOrderByCount() { + if (orderByBuilder_ == null) { + return orderBy_.size(); + } else { + return orderByBuilder_.getCount(); + } + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) { + if (orderByBuilder_ == null) { + return orderBy_.get(index); + } else { + return orderByBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder setOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) { + if (orderByBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOrderByIsMutable(); + orderBy_.set(index, value); + onChanged(); + } else { + orderByBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder setOrderBy( + int index, com.google.firestore.v1.StructuredQuery.Order.Builder builderForValue) { + if (orderByBuilder_ == null) { + ensureOrderByIsMutable(); + orderBy_.set(index, builderForValue.build()); + onChanged(); + } else { + orderByBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) { + if (orderByBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOrderByIsMutable(); + orderBy_.add(value); + onChanged(); + } else { + orderByBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder addOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) { + if (orderByBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOrderByIsMutable(); + orderBy_.add(index, value); + onChanged(); + } else { + orderByBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder addOrderBy( + com.google.firestore.v1.StructuredQuery.Order.Builder builderForValue) { + if (orderByBuilder_ == null) { + ensureOrderByIsMutable(); + orderBy_.add(builderForValue.build()); + onChanged(); + } else { + orderByBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder addOrderBy( + int index, com.google.firestore.v1.StructuredQuery.Order.Builder builderForValue) { + if (orderByBuilder_ == null) { + ensureOrderByIsMutable(); + orderBy_.add(index, builderForValue.build()); + onChanged(); + } else { + orderByBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder addAllOrderBy( + java.lang.Iterable values) { + if (orderByBuilder_ == null) { + ensureOrderByIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBy_); + onChanged(); + } else { + orderByBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder clearOrderBy() { + if (orderByBuilder_ == null) { + orderBy_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + orderByBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public Builder removeOrderBy(int index) { + if (orderByBuilder_ == null) { + ensureOrderByIsMutable(); + orderBy_.remove(index); + onChanged(); + } else { + orderByBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(int index) { + return getOrderByFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) { + if (orderByBuilder_ == null) { + return orderBy_.get(index); + } else { + return orderByBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public java.util.List + getOrderByOrBuilderList() { + if (orderByBuilder_ != null) { + return orderByBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(orderBy_); + } + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder() { + return getOrderByFieldBuilder() + .addBuilder(com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance()); + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(int index) { + return getOrderByFieldBuilder() + .addBuilder(index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance()); + } + /** + * + * + *
+     * The order to apply to the query results.
+     * Firestore guarantees a stable ordering through the following rules:
+     *  * Any field required to appear in `order_by`, that is not already
+     *    specified in `order_by`, is appended to the order in field name order
+     *    by default.
+     *  * If an order on `__name__` is not specified, it is appended by default.
+     * Fields are appended with the same sort direction as the last order
+     * specified, or 'ASCENDING' if no order was specified. For example:
+     *  * `SELECT * FROM Foo ORDER BY A` becomes
+     *    `SELECT * FROM Foo ORDER BY A, __name__`
+     *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+     *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+     *  * `SELECT * FROM Foo WHERE A > 1` becomes
+     *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+     * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + public java.util.List + getOrderByBuilderList() { + return getOrderByFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Order, + com.google.firestore.v1.StructuredQuery.Order.Builder, + com.google.firestore.v1.StructuredQuery.OrderOrBuilder> + getOrderByFieldBuilder() { + if (orderByBuilder_ == null) { + orderByBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Order, + com.google.firestore.v1.StructuredQuery.Order.Builder, + com.google.firestore.v1.StructuredQuery.OrderOrBuilder>( + orderBy_, + ((bitField0_ & 0x00000008) == 0x00000008), + getParentForChildren(), + isClean()); + orderBy_ = null; + } + return orderByBuilder_; + } + + private com.google.firestore.v1.Cursor startAt_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Cursor, + com.google.firestore.v1.Cursor.Builder, + com.google.firestore.v1.CursorOrBuilder> + startAtBuilder_; + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public boolean hasStartAt() { + return startAtBuilder_ != null || startAt_ != null; + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public com.google.firestore.v1.Cursor getStartAt() { + if (startAtBuilder_ == null) { + return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_; + } else { + return startAtBuilder_.getMessage(); + } + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public Builder setStartAt(com.google.firestore.v1.Cursor value) { + if (startAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startAt_ = value; + onChanged(); + } else { + startAtBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public Builder setStartAt(com.google.firestore.v1.Cursor.Builder builderForValue) { + if (startAtBuilder_ == null) { + startAt_ = builderForValue.build(); + onChanged(); + } else { + startAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public Builder mergeStartAt(com.google.firestore.v1.Cursor value) { + if (startAtBuilder_ == null) { + if (startAt_ != null) { + startAt_ = + com.google.firestore.v1.Cursor.newBuilder(startAt_).mergeFrom(value).buildPartial(); + } else { + startAt_ = value; + } + onChanged(); + } else { + startAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public Builder clearStartAt() { + if (startAtBuilder_ == null) { + startAt_ = null; + onChanged(); + } else { + startAt_ = null; + startAtBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public com.google.firestore.v1.Cursor.Builder getStartAtBuilder() { + + onChanged(); + return getStartAtFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() { + if (startAtBuilder_ != null) { + return startAtBuilder_.getMessageOrBuilder(); + } else { + return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_; + } + } + /** + * + * + *
+     * A starting point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Cursor, + com.google.firestore.v1.Cursor.Builder, + com.google.firestore.v1.CursorOrBuilder> + getStartAtFieldBuilder() { + if (startAtBuilder_ == null) { + startAtBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Cursor, + com.google.firestore.v1.Cursor.Builder, + com.google.firestore.v1.CursorOrBuilder>( + getStartAt(), getParentForChildren(), isClean()); + startAt_ = null; + } + return startAtBuilder_; + } + + private com.google.firestore.v1.Cursor endAt_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Cursor, + com.google.firestore.v1.Cursor.Builder, + com.google.firestore.v1.CursorOrBuilder> + endAtBuilder_; + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public boolean hasEndAt() { + return endAtBuilder_ != null || endAt_ != null; + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public com.google.firestore.v1.Cursor getEndAt() { + if (endAtBuilder_ == null) { + return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_; + } else { + return endAtBuilder_.getMessage(); + } + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public Builder setEndAt(com.google.firestore.v1.Cursor value) { + if (endAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endAt_ = value; + onChanged(); + } else { + endAtBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public Builder setEndAt(com.google.firestore.v1.Cursor.Builder builderForValue) { + if (endAtBuilder_ == null) { + endAt_ = builderForValue.build(); + onChanged(); + } else { + endAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public Builder mergeEndAt(com.google.firestore.v1.Cursor value) { + if (endAtBuilder_ == null) { + if (endAt_ != null) { + endAt_ = + com.google.firestore.v1.Cursor.newBuilder(endAt_).mergeFrom(value).buildPartial(); + } else { + endAt_ = value; + } + onChanged(); + } else { + endAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public Builder clearEndAt() { + if (endAtBuilder_ == null) { + endAt_ = null; + onChanged(); + } else { + endAt_ = null; + endAtBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public com.google.firestore.v1.Cursor.Builder getEndAtBuilder() { + + onChanged(); + return getEndAtFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() { + if (endAtBuilder_ != null) { + return endAtBuilder_.getMessageOrBuilder(); + } else { + return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_; + } + } + /** + * + * + *
+     * A end point for the query results.
+     * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Cursor, + com.google.firestore.v1.Cursor.Builder, + com.google.firestore.v1.CursorOrBuilder> + getEndAtFieldBuilder() { + if (endAtBuilder_ == null) { + endAtBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Cursor, + com.google.firestore.v1.Cursor.Builder, + com.google.firestore.v1.CursorOrBuilder>( + getEndAt(), getParentForChildren(), isClean()); + endAt_ = null; + } + return endAtBuilder_; + } + + private int offset_; + /** + * + * + *
+     * The number of results to skip.
+     * Applies before limit, but after all other constraints. Must be >= 0 if
+     * specified.
+     * 
+ * + * int32 offset = 6; + */ + public int getOffset() { + return offset_; + } + /** + * + * + *
+     * The number of results to skip.
+     * Applies before limit, but after all other constraints. Must be >= 0 if
+     * specified.
+     * 
+ * + * int32 offset = 6; + */ + public Builder setOffset(int value) { + + offset_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of results to skip.
+     * Applies before limit, but after all other constraints. Must be >= 0 if
+     * specified.
+     * 
+ * + * int32 offset = 6; + */ + public Builder clearOffset() { + + offset_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Int32Value limit_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder> + limitBuilder_; + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public boolean hasLimit() { + return limitBuilder_ != null || limit_ != null; + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public com.google.protobuf.Int32Value getLimit() { + if (limitBuilder_ == null) { + return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; + } else { + return limitBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public Builder setLimit(com.google.protobuf.Int32Value value) { + if (limitBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + limit_ = value; + onChanged(); + } else { + limitBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue) { + if (limitBuilder_ == null) { + limit_ = builderForValue.build(); + onChanged(); + } else { + limitBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public Builder mergeLimit(com.google.protobuf.Int32Value value) { + if (limitBuilder_ == null) { + if (limit_ != null) { + limit_ = + com.google.protobuf.Int32Value.newBuilder(limit_).mergeFrom(value).buildPartial(); + } else { + limit_ = value; + } + onChanged(); + } else { + limitBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public Builder clearLimit() { + if (limitBuilder_ == null) { + limit_ = null; + onChanged(); + } else { + limit_ = null; + limitBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public com.google.protobuf.Int32Value.Builder getLimitBuilder() { + + onChanged(); + return getLimitFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() { + if (limitBuilder_ != null) { + return limitBuilder_.getMessageOrBuilder(); + } else { + return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; + } + } + /** + * + * + *
+     * The maximum number of results to return.
+     * Applies after all other constraints.
+     * Must be >= 0 if specified.
+     * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder> + getLimitFieldBuilder() { + if (limitBuilder_ == null) { + limitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder>( + getLimit(), getParentForChildren(), isClean()); + limit_ = null; + } + return limitBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery) + private static final com.google.firestore.v1.StructuredQuery DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery(); + } + + public static com.google.firestore.v1.StructuredQuery getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StructuredQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StructuredQuery(input, extensionRegistry); + } + }; + + 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.firestore.v1.StructuredQuery getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java new file mode 100644 index 000000000000..c93d60f72d88 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java @@ -0,0 +1,353 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/query.proto + +package com.google.firestore.v1; + +public interface StructuredQueryOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The projection to return.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + boolean hasSelect(); + /** + * + * + *
+   * The projection to return.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + com.google.firestore.v1.StructuredQuery.Projection getSelect(); + /** + * + * + *
+   * The projection to return.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Projection select = 1; + */ + com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder(); + + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + java.util.List getFromList(); + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index); + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + int getFromCount(); + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + java.util.List + getFromOrBuilderList(); + /** + * + * + *
+   * The collections to query.
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; + */ + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder(int index); + + /** + * + * + *
+   * The filter to apply.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + boolean hasWhere(); + /** + * + * + *
+   * The filter to apply.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + com.google.firestore.v1.StructuredQuery.Filter getWhere(); + /** + * + * + *
+   * The filter to apply.
+   * 
+ * + * .google.firestore.v1.StructuredQuery.Filter where = 3; + */ + com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder(); + + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + java.util.List getOrderByList(); + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index); + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + int getOrderByCount(); + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + java.util.List + getOrderByOrBuilderList(); + /** + * + * + *
+   * The order to apply to the query results.
+   * Firestore guarantees a stable ordering through the following rules:
+   *  * Any field required to appear in `order_by`, that is not already
+   *    specified in `order_by`, is appended to the order in field name order
+   *    by default.
+   *  * If an order on `__name__` is not specified, it is appended by default.
+   * Fields are appended with the same sort direction as the last order
+   * specified, or 'ASCENDING' if no order was specified. For example:
+   *  * `SELECT * FROM Foo ORDER BY A` becomes
+   *    `SELECT * FROM Foo ORDER BY A, __name__`
+   *  * `SELECT * FROM Foo ORDER BY A DESC` becomes
+   *    `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC`
+   *  * `SELECT * FROM Foo WHERE A > 1` becomes
+   *    `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
+   * 
+ * + * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; + */ + com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index); + + /** + * + * + *
+   * A starting point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + boolean hasStartAt(); + /** + * + * + *
+   * A starting point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + com.google.firestore.v1.Cursor getStartAt(); + /** + * + * + *
+   * A starting point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor start_at = 7; + */ + com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder(); + + /** + * + * + *
+   * A end point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + boolean hasEndAt(); + /** + * + * + *
+   * A end point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + com.google.firestore.v1.Cursor getEndAt(); + /** + * + * + *
+   * A end point for the query results.
+   * 
+ * + * .google.firestore.v1.Cursor end_at = 8; + */ + com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder(); + + /** + * + * + *
+   * The number of results to skip.
+   * Applies before limit, but after all other constraints. Must be >= 0 if
+   * specified.
+   * 
+ * + * int32 offset = 6; + */ + int getOffset(); + + /** + * + * + *
+   * The maximum number of results to return.
+   * Applies after all other constraints.
+   * Must be >= 0 if specified.
+   * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + boolean hasLimit(); + /** + * + * + *
+   * The maximum number of results to return.
+   * Applies after all other constraints.
+   * Must be >= 0 if specified.
+   * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + com.google.protobuf.Int32Value getLimit(); + /** + * + * + *
+   * The maximum number of results to return.
+   * Applies after all other constraints.
+   * Must be >= 0 if specified.
+   * 
+ * + * .google.protobuf.Int32Value limit = 5; + */ + com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java new file mode 100644 index 000000000000..167eaaa2aa9c --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java @@ -0,0 +1,3572 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A specification of a set of documents to listen to.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.Target} + */ +public final class Target extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Target) + TargetOrBuilder { + private static final long serialVersionUID = 0L; + // Use Target.newBuilder() to construct. + private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Target() { + targetId_ = 0; + once_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Target( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + com.google.firestore.v1.Target.QueryTarget.Builder subBuilder = null; + if (targetTypeCase_ == 2) { + subBuilder = ((com.google.firestore.v1.Target.QueryTarget) targetType_).toBuilder(); + } + targetType_ = + input.readMessage( + com.google.firestore.v1.Target.QueryTarget.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Target.QueryTarget) targetType_); + targetType_ = subBuilder.buildPartial(); + } + targetTypeCase_ = 2; + break; + } + case 26: + { + com.google.firestore.v1.Target.DocumentsTarget.Builder subBuilder = null; + if (targetTypeCase_ == 3) { + subBuilder = + ((com.google.firestore.v1.Target.DocumentsTarget) targetType_).toBuilder(); + } + targetType_ = + input.readMessage( + com.google.firestore.v1.Target.DocumentsTarget.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Target.DocumentsTarget) targetType_); + targetType_ = subBuilder.buildPartial(); + } + targetTypeCase_ = 3; + break; + } + case 34: + { + resumeTypeCase_ = 4; + resumeType_ = input.readBytes(); + break; + } + case 40: + { + targetId_ = input.readInt32(); + break; + } + case 48: + { + once_ = input.readBool(); + break; + } + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (resumeTypeCase_ == 11) { + subBuilder = ((com.google.protobuf.Timestamp) resumeType_).toBuilder(); + } + resumeType_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) resumeType_); + resumeType_ = subBuilder.buildPartial(); + } + resumeTypeCase_ = 11; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Target.class, com.google.firestore.v1.Target.Builder.class); + } + + public interface DocumentsTargetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.DocumentsTarget) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + java.util.List getDocumentsList(); + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + int getDocumentsCount(); + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + java.lang.String getDocuments(int index); + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + com.google.protobuf.ByteString getDocumentsBytes(int index); + } + /** + * + * + *
+   * A target specified by a set of documents names.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} + */ + public static final class DocumentsTarget extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.DocumentsTarget) + DocumentsTargetOrBuilder { + private static final long serialVersionUID = 0L; + // Use DocumentsTarget.newBuilder() to construct. + private DocumentsTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DocumentsTarget() { + documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DocumentsTarget( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + documents_.add(s); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = documents_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Target.DocumentsTarget.class, + com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + } + + public static final int DOCUMENTS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList documents_; + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ProtocolStringList getDocumentsList() { + return documents_; + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public int getDocumentsCount() { + return documents_.size(); + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public java.lang.String getDocuments(int index) { + return documents_.get(index); + } + /** + * + * + *
+     * The names of the documents to retrieve. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * The request will fail if any of the document is not a child resource of
+     * the given `database`. Duplicate names will be elided.
+     * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ByteString getDocumentsBytes(int index) { + return documents_.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 < documents_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i)); + } + unknownFields.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 < documents_.size(); i++) { + dataSize += computeStringSizeNoTag(documents_.getRaw(i)); + } + size += dataSize; + size += 1 * getDocumentsList().size(); + } + size += unknownFields.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.firestore.v1.Target.DocumentsTarget)) { + return super.equals(obj); + } + com.google.firestore.v1.Target.DocumentsTarget other = + (com.google.firestore.v1.Target.DocumentsTarget) obj; + + boolean result = true; + result = result && getDocumentsList().equals(other.getDocumentsList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDocumentsCount() > 0) { + hash = (37 * hash) + DOCUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getDocumentsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target.DocumentsTarget 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.firestore.v1.Target.DocumentsTarget parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target.DocumentsTarget 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.firestore.v1.Target.DocumentsTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target.DocumentsTarget 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.firestore.v1.Target.DocumentsTarget parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target.DocumentsTarget 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.firestore.v1.Target.DocumentsTarget prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A target specified by a set of documents names.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.DocumentsTarget) + com.google.firestore.v1.Target.DocumentsTargetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Target.DocumentsTarget.class, + com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + } + + // Construct using com.google.firestore.v1.Target.DocumentsTarget.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Target.DocumentsTarget getDefaultInstanceForType() { + return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Target.DocumentsTarget build() { + com.google.firestore.v1.Target.DocumentsTarget result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Target.DocumentsTarget buildPartial() { + com.google.firestore.v1.Target.DocumentsTarget result = + new com.google.firestore.v1.Target.DocumentsTarget(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = documents_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.documents_ = documents_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Target.DocumentsTarget) { + return mergeFrom((com.google.firestore.v1.Target.DocumentsTarget) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Target.DocumentsTarget other) { + if (other == com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) + return this; + if (!other.documents_.isEmpty()) { + if (documents_.isEmpty()) { + documents_ = other.documents_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDocumentsIsMutable(); + documents_.addAll(other.documents_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Target.DocumentsTarget parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Target.DocumentsTarget) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList documents_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDocumentsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + documents_ = new com.google.protobuf.LazyStringArrayList(documents_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ProtocolStringList getDocumentsList() { + return documents_.getUnmodifiableView(); + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public int getDocumentsCount() { + return documents_.size(); + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public java.lang.String getDocuments(int index) { + return documents_.get(index); + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public com.google.protobuf.ByteString getDocumentsBytes(int index) { + return documents_.getByteString(index); + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public Builder setDocuments(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); + documents_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public Builder addDocuments(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); + documents_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public Builder addAllDocuments(java.lang.Iterable values) { + ensureDocumentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + onChanged(); + return this; + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public Builder clearDocuments() { + documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * The names of the documents to retrieve. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * The request will fail if any of the document is not a child resource of
+       * the given `database`. Duplicate names will be elided.
+       * 
+ * + * repeated string documents = 2; + */ + public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDocumentsIsMutable(); + documents_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target.DocumentsTarget) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Target.DocumentsTarget) + private static final com.google.firestore.v1.Target.DocumentsTarget DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Target.DocumentsTarget(); + } + + public static com.google.firestore.v1.Target.DocumentsTarget getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentsTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentsTarget(input, extensionRegistry); + } + }; + + 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.firestore.v1.Target.DocumentsTarget getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface QueryTargetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.QueryTarget) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + java.lang.String getParent(); + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + boolean hasStructuredQuery(); + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + com.google.firestore.v1.StructuredQuery getStructuredQuery(); + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); + + public com.google.firestore.v1.Target.QueryTarget.QueryTypeCase getQueryTypeCase(); + } + /** + * + * + *
+   * A target specified by a query.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Target.QueryTarget} + */ + public static final class QueryTarget extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.QueryTarget) + QueryTargetOrBuilder { + private static final long serialVersionUID = 0L; + // Use QueryTarget.newBuilder() to construct. + private QueryTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private QueryTarget() { + parent_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private QueryTarget( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + parent_ = s; + break; + } + case 18: + { + com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; + if (queryTypeCase_ == 2) { + subBuilder = ((com.google.firestore.v1.StructuredQuery) queryType_).toBuilder(); + } + queryType_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.StructuredQuery) queryType_); + queryType_ = subBuilder.buildPartial(); + } + queryTypeCase_ = 2; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Target.QueryTarget.class, + com.google.firestore.v1.Target.QueryTarget.Builder.class); + } + + private int queryTypeCase_ = 0; + private java.lang.Object queryType_; + + public enum QueryTypeCase implements com.google.protobuf.Internal.EnumLite { + STRUCTURED_QUERY(2), + QUERYTYPE_NOT_SET(0); + private final int value; + + private QueryTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static QueryTypeCase valueOf(int value) { + return forNumber(value); + } + + public static QueryTypeCase forNumber(int value) { + switch (value) { + case 2: + return STRUCTURED_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+     * The parent resource name. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents` or
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * For example:
+     * `projects/my-project/databases/my-database/documents` or
+     * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+     * 
+ * + * string parent = 1; + */ + 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 STRUCTURED_QUERY_FIELD_NUMBER = 2; + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public boolean hasStructuredQuery() { + return queryTypeCase_ == 2; + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQuery getStructuredQuery() { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + /** + * + * + *
+     * A structured query.
+     * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.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 (!getParentBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (queryTypeCase_ == 2) { + output.writeMessage(2, (com.google.firestore.v1.StructuredQuery) queryType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getParentBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (queryTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery) queryType_); + } + size += unknownFields.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.firestore.v1.Target.QueryTarget)) { + return super.equals(obj); + } + com.google.firestore.v1.Target.QueryTarget other = + (com.google.firestore.v1.Target.QueryTarget) obj; + + boolean result = true; + result = result && getParent().equals(other.getParent()); + result = result && getQueryTypeCase().equals(other.getQueryTypeCase()); + if (!result) return false; + switch (queryTypeCase_) { + case 2: + result = result && getStructuredQuery().equals(other.getStructuredQuery()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @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(); + switch (queryTypeCase_) { + case 2: + hash = (37 * hash) + STRUCTURED_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getStructuredQuery().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Target.QueryTarget parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target.QueryTarget parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Target.QueryTarget parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target.QueryTarget 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.firestore.v1.Target.QueryTarget parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target.QueryTarget parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Target.QueryTarget parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target.QueryTarget 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.firestore.v1.Target.QueryTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target.QueryTarget 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.firestore.v1.Target.QueryTarget parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target.QueryTarget 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.firestore.v1.Target.QueryTarget prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.Target.QueryTarget} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.QueryTarget) + com.google.firestore.v1.Target.QueryTargetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Target.QueryTarget.class, + com.google.firestore.v1.Target.QueryTarget.Builder.class); + } + + // Construct using com.google.firestore.v1.Target.QueryTarget.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + queryTypeCase_ = 0; + queryType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Target.QueryTarget getDefaultInstanceForType() { + return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Target.QueryTarget build() { + com.google.firestore.v1.Target.QueryTarget result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Target.QueryTarget buildPartial() { + com.google.firestore.v1.Target.QueryTarget result = + new com.google.firestore.v1.Target.QueryTarget(this); + result.parent_ = parent_; + if (queryTypeCase_ == 2) { + if (structuredQueryBuilder_ == null) { + result.queryType_ = queryType_; + } else { + result.queryType_ = structuredQueryBuilder_.build(); + } + } + result.queryTypeCase_ = queryTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Target.QueryTarget) { + return mergeFrom((com.google.firestore.v1.Target.QueryTarget) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Target.QueryTarget other) { + if (other == com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + switch (other.getQueryTypeCase()) { + case STRUCTURED_QUERY: + { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Target.QueryTarget parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Target.QueryTarget) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int queryTypeCase_ = 0; + private java.lang.Object queryType_; + + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); + } + + public Builder clearQueryType() { + queryTypeCase_ = 0; + queryType_ = null; + onChanged(); + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+       * The parent resource name. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents` or
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * For example:
+       * `projects/my-project/databases/my-database/documents` or
+       * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+       * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+       * The parent resource name. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents` or
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * For example:
+       * `projects/my-project/databases/my-database/documents` or
+       * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+       * 
+ * + * string parent = 1; + */ + 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; + } + } + /** + * + * + *
+       * The parent resource name. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents` or
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * For example:
+       * `projects/my-project/databases/my-database/documents` or
+       * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+       * 
+ * + * string parent = 1; + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The parent resource name. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents` or
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * For example:
+       * `projects/my-project/databases/my-database/documents` or
+       * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+       * 
+ * + * string parent = 1; + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+       * The parent resource name. In the format:
+       * `projects/{project_id}/databases/{database_id}/documents` or
+       * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+       * For example:
+       * `projects/my-project/databases/my-database/documents` or
+       * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
+       * 
+ * + * string parent = 1; + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + structuredQueryBuilder_; + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public boolean hasStructuredQuery() { + return queryTypeCase_ == 2; + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQuery getStructuredQuery() { + if (structuredQueryBuilder_ == null) { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } else { + if (queryTypeCase_ == 2) { + return structuredQueryBuilder_.getMessage(); + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) { + if (structuredQueryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + queryType_ = value; + onChanged(); + } else { + structuredQueryBuilder_.setMessage(value); + } + queryTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder setStructuredQuery( + com.google.firestore.v1.StructuredQuery.Builder builderForValue) { + if (structuredQueryBuilder_ == null) { + queryType_ = builderForValue.build(); + onChanged(); + } else { + structuredQueryBuilder_.setMessage(builderForValue.build()); + } + queryTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { + if (structuredQueryBuilder_ == null) { + if (queryTypeCase_ == 2 + && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredQuery.newBuilder( + (com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value) + .buildPartial(); + } else { + queryType_ = value; + } + onChanged(); + } else { + if (queryTypeCase_ == 2) { + structuredQueryBuilder_.mergeFrom(value); + } + structuredQueryBuilder_.setMessage(value); + } + queryTypeCase_ = 2; + return this; + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public Builder clearStructuredQuery() { + if (structuredQueryBuilder_ == null) { + if (queryTypeCase_ == 2) { + queryTypeCase_ = 0; + queryType_ = null; + onChanged(); + } + } else { + if (queryTypeCase_ == 2) { + queryTypeCase_ = 0; + queryType_ = null; + } + structuredQueryBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder() { + return getStructuredQueryFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { + if ((queryTypeCase_ == 2) && (structuredQueryBuilder_ != null)) { + return structuredQueryBuilder_.getMessageOrBuilder(); + } else { + if (queryTypeCase_ == 2) { + return (com.google.firestore.v1.StructuredQuery) queryType_; + } + return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + } + /** + * + * + *
+       * A structured query.
+       * 
+ * + * .google.firestore.v1.StructuredQuery structured_query = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + getStructuredQueryFieldBuilder() { + if (structuredQueryBuilder_ == null) { + if (!(queryTypeCase_ == 2)) { + queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); + } + structuredQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder>( + (com.google.firestore.v1.StructuredQuery) queryType_, + getParentForChildren(), + isClean()); + queryType_ = null; + } + queryTypeCase_ = 2; + onChanged(); + ; + return structuredQueryBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target.QueryTarget) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Target.QueryTarget) + private static final com.google.firestore.v1.Target.QueryTarget DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Target.QueryTarget(); + } + + public static com.google.firestore.v1.Target.QueryTarget getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryTarget(input, extensionRegistry); + } + }; + + 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.firestore.v1.Target.QueryTarget getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int targetTypeCase_ = 0; + private java.lang.Object targetType_; + + public enum TargetTypeCase implements com.google.protobuf.Internal.EnumLite { + QUERY(2), + DOCUMENTS(3), + TARGETTYPE_NOT_SET(0); + private final int value; + + private TargetTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static TargetTypeCase valueOf(int value) { + return forNumber(value); + } + + public static TargetTypeCase forNumber(int value) { + switch (value) { + case 2: + return QUERY; + case 3: + return DOCUMENTS; + case 0: + return TARGETTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public TargetTypeCase getTargetTypeCase() { + return TargetTypeCase.forNumber(targetTypeCase_); + } + + private int resumeTypeCase_ = 0; + private java.lang.Object resumeType_; + + public enum ResumeTypeCase implements com.google.protobuf.Internal.EnumLite { + RESUME_TOKEN(4), + READ_TIME(11), + RESUMETYPE_NOT_SET(0); + private final int value; + + private ResumeTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ResumeTypeCase valueOf(int value) { + return forNumber(value); + } + + public static ResumeTypeCase forNumber(int value) { + switch (value) { + case 4: + return RESUME_TOKEN; + case 11: + return READ_TIME; + case 0: + return RESUMETYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ResumeTypeCase getResumeTypeCase() { + return ResumeTypeCase.forNumber(resumeTypeCase_); + } + + public static final int QUERY_FIELD_NUMBER = 2; + /** + * + * + *
+   * A target specified by a query.
+   * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public boolean hasQuery() { + return targetTypeCase_ == 2; + } + /** + * + * + *
+   * A target specified by a query.
+   * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public com.google.firestore.v1.Target.QueryTarget getQuery() { + if (targetTypeCase_ == 2) { + return (com.google.firestore.v1.Target.QueryTarget) targetType_; + } + return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); + } + /** + * + * + *
+   * A target specified by a query.
+   * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { + if (targetTypeCase_ == 2) { + return (com.google.firestore.v1.Target.QueryTarget) targetType_; + } + return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); + } + + public static final int DOCUMENTS_FIELD_NUMBER = 3; + /** + * + * + *
+   * A target specified by a set of document names.
+   * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public boolean hasDocuments() { + return targetTypeCase_ == 3; + } + /** + * + * + *
+   * A target specified by a set of document names.
+   * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { + if (targetTypeCase_ == 3) { + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + } + return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); + } + /** + * + * + *
+   * A target specified by a set of document names.
+   * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder() { + if (targetTypeCase_ == 3) { + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + } + return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); + } + + public static final int RESUME_TOKEN_FIELD_NUMBER = 4; + /** + * + * + *
+   * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
+   * Using a resume token with a different target is unsupported and may fail.
+   * 
+ * + * bytes resume_token = 4; + */ + public com.google.protobuf.ByteString getResumeToken() { + if (resumeTypeCase_ == 4) { + return (com.google.protobuf.ByteString) resumeType_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int READ_TIME_FIELD_NUMBER = 11; + /** + * + * + *
+   * Start listening after a specific `read_time`.
+   * The client must know the state of matching documents at this time.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public boolean hasReadTime() { + return resumeTypeCase_ == 11; + } + /** + * + * + *
+   * Start listening after a specific `read_time`.
+   * The client must know the state of matching documents at this time.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (resumeTypeCase_ == 11) { + return (com.google.protobuf.Timestamp) resumeType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+   * Start listening after a specific `read_time`.
+   * The client must know the state of matching documents at this time.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (resumeTypeCase_ == 11) { + return (com.google.protobuf.Timestamp) resumeType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + + public static final int TARGET_ID_FIELD_NUMBER = 5; + private int targetId_; + /** + * + * + *
+   * A client provided target ID.
+   * If not set, the server will assign an ID for the target.
+   * Used for resuming a target without changing IDs. The IDs can either be
+   * client-assigned or be server-assigned in a previous stream. All targets
+   * with client provided IDs must be added before adding a target that needs
+   * a server-assigned id.
+   * 
+ * + * int32 target_id = 5; + */ + public int getTargetId() { + return targetId_; + } + + public static final int ONCE_FIELD_NUMBER = 6; + private boolean once_; + /** + * + * + *
+   * If the target should be removed once it is current and consistent.
+   * 
+ * + * bool once = 6; + */ + public boolean getOnce() { + return once_; + } + + 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 (targetTypeCase_ == 2) { + output.writeMessage(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); + } + if (targetTypeCase_ == 3) { + output.writeMessage(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); + } + if (resumeTypeCase_ == 4) { + output.writeBytes(4, (com.google.protobuf.ByteString) resumeType_); + } + if (targetId_ != 0) { + output.writeInt32(5, targetId_); + } + if (once_ != false) { + output.writeBool(6, once_); + } + if (resumeTypeCase_ == 11) { + output.writeMessage(11, (com.google.protobuf.Timestamp) resumeType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (targetTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.Target.QueryTarget) targetType_); + } + if (targetTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); + } + if (resumeTypeCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 4, (com.google.protobuf.ByteString) resumeType_); + } + if (targetId_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, targetId_); + } + if (once_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, once_); + } + if (resumeTypeCase_ == 11) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.protobuf.Timestamp) resumeType_); + } + size += unknownFields.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.firestore.v1.Target)) { + return super.equals(obj); + } + com.google.firestore.v1.Target other = (com.google.firestore.v1.Target) obj; + + boolean result = true; + result = result && (getTargetId() == other.getTargetId()); + result = result && (getOnce() == other.getOnce()); + result = result && getTargetTypeCase().equals(other.getTargetTypeCase()); + if (!result) return false; + switch (targetTypeCase_) { + case 2: + result = result && getQuery().equals(other.getQuery()); + break; + case 3: + result = result && getDocuments().equals(other.getDocuments()); + break; + case 0: + default: + } + result = result && getResumeTypeCase().equals(other.getResumeTypeCase()); + if (!result) return false; + switch (resumeTypeCase_) { + case 4: + result = result && getResumeToken().equals(other.getResumeToken()); + break; + case 11: + result = result && getReadTime().equals(other.getReadTime()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; + hash = (53 * hash) + getTargetId(); + hash = (37 * hash) + ONCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOnce()); + switch (targetTypeCase_) { + case 2: + hash = (37 * hash) + QUERY_FIELD_NUMBER; + hash = (53 * hash) + getQuery().hashCode(); + break; + case 3: + hash = (37 * hash) + DOCUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getDocuments().hashCode(); + break; + case 0: + default: + } + switch (resumeTypeCase_) { + case 4: + hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getResumeToken().hashCode(); + break; + case 11: + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Target parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Target parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target 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.firestore.v1.Target parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Target parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Target parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target 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.firestore.v1.Target parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target 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.firestore.v1.Target parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Target 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.firestore.v1.Target prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A specification of a set of documents to listen to.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Target} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target) + com.google.firestore.v1.TargetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Target.class, com.google.firestore.v1.Target.Builder.class); + } + + // Construct using com.google.firestore.v1.Target.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + targetId_ = 0; + + once_ = false; + + targetTypeCase_ = 0; + targetType_ = null; + resumeTypeCase_ = 0; + resumeType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Target getDefaultInstanceForType() { + return com.google.firestore.v1.Target.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Target build() { + com.google.firestore.v1.Target result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Target buildPartial() { + com.google.firestore.v1.Target result = new com.google.firestore.v1.Target(this); + if (targetTypeCase_ == 2) { + if (queryBuilder_ == null) { + result.targetType_ = targetType_; + } else { + result.targetType_ = queryBuilder_.build(); + } + } + if (targetTypeCase_ == 3) { + if (documentsBuilder_ == null) { + result.targetType_ = targetType_; + } else { + result.targetType_ = documentsBuilder_.build(); + } + } + if (resumeTypeCase_ == 4) { + result.resumeType_ = resumeType_; + } + if (resumeTypeCase_ == 11) { + if (readTimeBuilder_ == null) { + result.resumeType_ = resumeType_; + } else { + result.resumeType_ = readTimeBuilder_.build(); + } + } + result.targetId_ = targetId_; + result.once_ = once_; + result.targetTypeCase_ = targetTypeCase_; + result.resumeTypeCase_ = resumeTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Target) { + return mergeFrom((com.google.firestore.v1.Target) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Target other) { + if (other == com.google.firestore.v1.Target.getDefaultInstance()) return this; + if (other.getTargetId() != 0) { + setTargetId(other.getTargetId()); + } + if (other.getOnce() != false) { + setOnce(other.getOnce()); + } + switch (other.getTargetTypeCase()) { + case QUERY: + { + mergeQuery(other.getQuery()); + break; + } + case DOCUMENTS: + { + mergeDocuments(other.getDocuments()); + break; + } + case TARGETTYPE_NOT_SET: + { + break; + } + } + switch (other.getResumeTypeCase()) { + case RESUME_TOKEN: + { + setResumeToken(other.getResumeToken()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case RESUMETYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Target parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Target) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int targetTypeCase_ = 0; + private java.lang.Object targetType_; + + public TargetTypeCase getTargetTypeCase() { + return TargetTypeCase.forNumber(targetTypeCase_); + } + + public Builder clearTargetType() { + targetTypeCase_ = 0; + targetType_ = null; + onChanged(); + return this; + } + + private int resumeTypeCase_ = 0; + private java.lang.Object resumeType_; + + public ResumeTypeCase getResumeTypeCase() { + return ResumeTypeCase.forNumber(resumeTypeCase_); + } + + public Builder clearResumeType() { + resumeTypeCase_ = 0; + resumeType_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.QueryTarget, + com.google.firestore.v1.Target.QueryTarget.Builder, + com.google.firestore.v1.Target.QueryTargetOrBuilder> + queryBuilder_; + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public boolean hasQuery() { + return targetTypeCase_ == 2; + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public com.google.firestore.v1.Target.QueryTarget getQuery() { + if (queryBuilder_ == null) { + if (targetTypeCase_ == 2) { + return (com.google.firestore.v1.Target.QueryTarget) targetType_; + } + return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); + } else { + if (targetTypeCase_ == 2) { + return queryBuilder_.getMessage(); + } + return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); + } + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public Builder setQuery(com.google.firestore.v1.Target.QueryTarget value) { + if (queryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + targetType_ = value; + onChanged(); + } else { + queryBuilder_.setMessage(value); + } + targetTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder builderForValue) { + if (queryBuilder_ == null) { + targetType_ = builderForValue.build(); + onChanged(); + } else { + queryBuilder_.setMessage(builderForValue.build()); + } + targetTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { + if (queryBuilder_ == null) { + if (targetTypeCase_ == 2 + && targetType_ != com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) { + targetType_ = + com.google.firestore.v1.Target.QueryTarget.newBuilder( + (com.google.firestore.v1.Target.QueryTarget) targetType_) + .mergeFrom(value) + .buildPartial(); + } else { + targetType_ = value; + } + onChanged(); + } else { + if (targetTypeCase_ == 2) { + queryBuilder_.mergeFrom(value); + } + queryBuilder_.setMessage(value); + } + targetTypeCase_ = 2; + return this; + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public Builder clearQuery() { + if (queryBuilder_ == null) { + if (targetTypeCase_ == 2) { + targetTypeCase_ = 0; + targetType_ = null; + onChanged(); + } + } else { + if (targetTypeCase_ == 2) { + targetTypeCase_ = 0; + targetType_ = null; + } + queryBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public com.google.firestore.v1.Target.QueryTarget.Builder getQueryBuilder() { + return getQueryFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { + if ((targetTypeCase_ == 2) && (queryBuilder_ != null)) { + return queryBuilder_.getMessageOrBuilder(); + } else { + if (targetTypeCase_ == 2) { + return (com.google.firestore.v1.Target.QueryTarget) targetType_; + } + return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); + } + } + /** + * + * + *
+     * A target specified by a query.
+     * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.QueryTarget, + com.google.firestore.v1.Target.QueryTarget.Builder, + com.google.firestore.v1.Target.QueryTargetOrBuilder> + getQueryFieldBuilder() { + if (queryBuilder_ == null) { + if (!(targetTypeCase_ == 2)) { + targetType_ = com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); + } + queryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.QueryTarget, + com.google.firestore.v1.Target.QueryTarget.Builder, + com.google.firestore.v1.Target.QueryTargetOrBuilder>( + (com.google.firestore.v1.Target.QueryTarget) targetType_, + getParentForChildren(), + isClean()); + targetType_ = null; + } + targetTypeCase_ = 2; + onChanged(); + ; + return queryBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.DocumentsTarget, + com.google.firestore.v1.Target.DocumentsTarget.Builder, + com.google.firestore.v1.Target.DocumentsTargetOrBuilder> + documentsBuilder_; + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public boolean hasDocuments() { + return targetTypeCase_ == 3; + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { + if (documentsBuilder_ == null) { + if (targetTypeCase_ == 3) { + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + } + return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); + } else { + if (targetTypeCase_ == 3) { + return documentsBuilder_.getMessage(); + } + return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); + } + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public Builder setDocuments(com.google.firestore.v1.Target.DocumentsTarget value) { + if (documentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + targetType_ = value; + onChanged(); + } else { + documentsBuilder_.setMessage(value); + } + targetTypeCase_ = 3; + return this; + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public Builder setDocuments( + com.google.firestore.v1.Target.DocumentsTarget.Builder builderForValue) { + if (documentsBuilder_ == null) { + targetType_ = builderForValue.build(); + onChanged(); + } else { + documentsBuilder_.setMessage(builderForValue.build()); + } + targetTypeCase_ = 3; + return this; + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget value) { + if (documentsBuilder_ == null) { + if (targetTypeCase_ == 3 + && targetType_ != com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) { + targetType_ = + com.google.firestore.v1.Target.DocumentsTarget.newBuilder( + (com.google.firestore.v1.Target.DocumentsTarget) targetType_) + .mergeFrom(value) + .buildPartial(); + } else { + targetType_ = value; + } + onChanged(); + } else { + if (targetTypeCase_ == 3) { + documentsBuilder_.mergeFrom(value); + } + documentsBuilder_.setMessage(value); + } + targetTypeCase_ = 3; + return this; + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public Builder clearDocuments() { + if (documentsBuilder_ == null) { + if (targetTypeCase_ == 3) { + targetTypeCase_ = 0; + targetType_ = null; + onChanged(); + } + } else { + if (targetTypeCase_ == 3) { + targetTypeCase_ = 0; + targetType_ = null; + } + documentsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public com.google.firestore.v1.Target.DocumentsTarget.Builder getDocumentsBuilder() { + return getDocumentsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder() { + if ((targetTypeCase_ == 3) && (documentsBuilder_ != null)) { + return documentsBuilder_.getMessageOrBuilder(); + } else { + if (targetTypeCase_ == 3) { + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + } + return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); + } + } + /** + * + * + *
+     * A target specified by a set of document names.
+     * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.DocumentsTarget, + com.google.firestore.v1.Target.DocumentsTarget.Builder, + com.google.firestore.v1.Target.DocumentsTargetOrBuilder> + getDocumentsFieldBuilder() { + if (documentsBuilder_ == null) { + if (!(targetTypeCase_ == 3)) { + targetType_ = com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); + } + documentsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.DocumentsTarget, + com.google.firestore.v1.Target.DocumentsTarget.Builder, + com.google.firestore.v1.Target.DocumentsTargetOrBuilder>( + (com.google.firestore.v1.Target.DocumentsTarget) targetType_, + getParentForChildren(), + isClean()); + targetType_ = null; + } + targetTypeCase_ = 3; + onChanged(); + ; + return documentsBuilder_; + } + + /** + * + * + *
+     * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
+     * Using a resume token with a different target is unsupported and may fail.
+     * 
+ * + * bytes resume_token = 4; + */ + public com.google.protobuf.ByteString getResumeToken() { + if (resumeTypeCase_ == 4) { + return (com.google.protobuf.ByteString) resumeType_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
+     * Using a resume token with a different target is unsupported and may fail.
+     * 
+ * + * bytes resume_token = 4; + */ + public Builder setResumeToken(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + resumeTypeCase_ = 4; + resumeType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
+     * Using a resume token with a different target is unsupported and may fail.
+     * 
+ * + * bytes resume_token = 4; + */ + public Builder clearResumeToken() { + if (resumeTypeCase_ == 4) { + resumeTypeCase_ = 0; + resumeType_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public boolean hasReadTime() { + return resumeTypeCase_ == 11; + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + if (resumeTypeCase_ == 11) { + return (com.google.protobuf.Timestamp) resumeType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (resumeTypeCase_ == 11) { + return readTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resumeType_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + resumeTypeCase_ = 11; + return this; + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + resumeType_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + resumeTypeCase_ = 11; + return this; + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (resumeTypeCase_ == 11 + && resumeType_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + resumeType_ = + com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) resumeType_) + .mergeFrom(value) + .buildPartial(); + } else { + resumeType_ = value; + } + onChanged(); + } else { + if (resumeTypeCase_ == 11) { + readTimeBuilder_.mergeFrom(value); + } + readTimeBuilder_.setMessage(value); + } + resumeTypeCase_ = 11; + return this; + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + if (resumeTypeCase_ == 11) { + resumeTypeCase_ = 0; + resumeType_ = null; + onChanged(); + } + } else { + if (resumeTypeCase_ == 11) { + resumeTypeCase_ = 0; + resumeType_ = null; + } + readTimeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if ((resumeTypeCase_ == 11) && (readTimeBuilder_ != null)) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + if (resumeTypeCase_ == 11) { + return (com.google.protobuf.Timestamp) resumeType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * Start listening after a specific `read_time`.
+     * The client must know the state of matching documents at this time.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + if (!(resumeTypeCase_ == 11)) { + resumeType_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) resumeType_, getParentForChildren(), isClean()); + resumeType_ = null; + } + resumeTypeCase_ = 11; + onChanged(); + ; + return readTimeBuilder_; + } + + private int targetId_; + /** + * + * + *
+     * A client provided target ID.
+     * If not set, the server will assign an ID for the target.
+     * Used for resuming a target without changing IDs. The IDs can either be
+     * client-assigned or be server-assigned in a previous stream. All targets
+     * with client provided IDs must be added before adding a target that needs
+     * a server-assigned id.
+     * 
+ * + * int32 target_id = 5; + */ + public int getTargetId() { + return targetId_; + } + /** + * + * + *
+     * A client provided target ID.
+     * If not set, the server will assign an ID for the target.
+     * Used for resuming a target without changing IDs. The IDs can either be
+     * client-assigned or be server-assigned in a previous stream. All targets
+     * with client provided IDs must be added before adding a target that needs
+     * a server-assigned id.
+     * 
+ * + * int32 target_id = 5; + */ + public Builder setTargetId(int value) { + + targetId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A client provided target ID.
+     * If not set, the server will assign an ID for the target.
+     * Used for resuming a target without changing IDs. The IDs can either be
+     * client-assigned or be server-assigned in a previous stream. All targets
+     * with client provided IDs must be added before adding a target that needs
+     * a server-assigned id.
+     * 
+ * + * int32 target_id = 5; + */ + public Builder clearTargetId() { + + targetId_ = 0; + onChanged(); + return this; + } + + private boolean once_; + /** + * + * + *
+     * If the target should be removed once it is current and consistent.
+     * 
+ * + * bool once = 6; + */ + public boolean getOnce() { + return once_; + } + /** + * + * + *
+     * If the target should be removed once it is current and consistent.
+     * 
+ * + * bool once = 6; + */ + public Builder setOnce(boolean value) { + + once_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If the target should be removed once it is current and consistent.
+     * 
+ * + * bool once = 6; + */ + public Builder clearOnce() { + + once_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Target) + private static final com.google.firestore.v1.Target DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Target(); + } + + public static com.google.firestore.v1.Target getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Target(input, extensionRegistry); + } + }; + + 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.firestore.v1.Target getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java new file mode 100644 index 000000000000..cf1a1c657758 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java @@ -0,0 +1,1730 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * Targets being watched have changed.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.TargetChange} + */ +public final class TargetChange extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.TargetChange) + TargetChangeOrBuilder { + private static final long serialVersionUID = 0L; + // Use TargetChange.newBuilder() to construct. + private TargetChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TargetChange() { + targetChangeType_ = 0; + targetIds_ = java.util.Collections.emptyList(); + resumeToken_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private TargetChange( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + targetChangeType_ = rawValue; + break; + } + case 16: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + targetIds_.add(input.readInt32()); + break; + } + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) + && input.getBytesUntilLimit() > 0) { + targetIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + targetIds_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 26: + { + com.google.rpc.Status.Builder subBuilder = null; + if (cause_ != null) { + subBuilder = cause_.toBuilder(); + } + cause_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cause_); + cause_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + resumeToken_ = input.readBytes(); + break; + } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); + } + readTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = java.util.Collections.unmodifiableList(targetIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TargetChange.class, + com.google.firestore.v1.TargetChange.Builder.class); + } + + /** + * + * + *
+   * The type of change.
+   * 
+ * + * Protobuf enum {@code google.firestore.v1.TargetChange.TargetChangeType} + */ + public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * No change has occurred. Used only to send an updated `resume_token`.
+     * 
+ * + * NO_CHANGE = 0; + */ + NO_CHANGE(0), + /** + * + * + *
+     * The targets have been added.
+     * 
+ * + * ADD = 1; + */ + ADD(1), + /** + * + * + *
+     * The targets have been removed.
+     * 
+ * + * REMOVE = 2; + */ + REMOVE(2), + /** + * + * + *
+     * The targets reflect all changes committed before the targets were added
+     * to the stream.
+     * This will be sent after or with a `read_time` that is greater than or
+     * equal to the time at which the targets were added.
+     * Listeners can wait for this change if read-after-write semantics
+     * are desired.
+     * 
+ * + * CURRENT = 3; + */ + CURRENT(3), + /** + * + * + *
+     * The targets have been reset, and a new initial state for the targets
+     * will be returned in subsequent changes.
+     * After the initial state is complete, `CURRENT` will be returned even
+     * if the target was previously indicated to be `CURRENT`.
+     * 
+ * + * RESET = 4; + */ + RESET(4), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * No change has occurred. Used only to send an updated `resume_token`.
+     * 
+ * + * NO_CHANGE = 0; + */ + public static final int NO_CHANGE_VALUE = 0; + /** + * + * + *
+     * The targets have been added.
+     * 
+ * + * ADD = 1; + */ + public static final int ADD_VALUE = 1; + /** + * + * + *
+     * The targets have been removed.
+     * 
+ * + * REMOVE = 2; + */ + public static final int REMOVE_VALUE = 2; + /** + * + * + *
+     * The targets reflect all changes committed before the targets were added
+     * to the stream.
+     * This will be sent after or with a `read_time` that is greater than or
+     * equal to the time at which the targets were added.
+     * Listeners can wait for this change if read-after-write semantics
+     * are desired.
+     * 
+ * + * CURRENT = 3; + */ + public static final int CURRENT_VALUE = 3; + /** + * + * + *
+     * The targets have been reset, and a new initial state for the targets
+     * will be returned in subsequent changes.
+     * After the initial state is complete, `CURRENT` will be returned even
+     * if the target was previously indicated to be `CURRENT`.
+     * 
+ * + * RESET = 4; + */ + public static final int RESET_VALUE = 4; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static TargetChangeType valueOf(int value) { + return forNumber(value); + } + + public static TargetChangeType forNumber(int value) { + switch (value) { + case 0: + return NO_CHANGE; + case 1: + return ADD; + case 2: + return REMOVE; + case 3: + return CURRENT; + case 4: + return RESET; + 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 TargetChangeType findValueByNumber(int number) { + return TargetChangeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + 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.firestore.v1.TargetChange.getDescriptor().getEnumTypes().get(0); + } + + private static final TargetChangeType[] VALUES = values(); + + public static TargetChangeType 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 TargetChangeType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.firestore.v1.TargetChange.TargetChangeType) + } + + private int bitField0_; + public static final int TARGET_CHANGE_TYPE_FIELD_NUMBER = 1; + private int targetChangeType_; + /** + * + * + *
+   * The type of change that occurred.
+   * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + public int getTargetChangeTypeValue() { + return targetChangeType_; + } + /** + * + * + *
+   * The type of change that occurred.
+   * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.TargetChange.TargetChangeType result = + com.google.firestore.v1.TargetChange.TargetChangeType.valueOf(targetChangeType_); + return result == null + ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED + : result; + } + + public static final int TARGET_IDS_FIELD_NUMBER = 2; + private java.util.List targetIds_; + /** + * + * + *
+   * The target IDs of targets that have changed.
+   * If empty, the change applies to all targets.
+   * For `target_change_type=ADD`, the order of the target IDs matches the order
+   * of the requests to add the targets. This allows clients to unambiguously
+   * associate server-assigned target IDs with added targets.
+   * For other states, the order of the target IDs is not defined.
+   * 
+ * + * repeated int32 target_ids = 2; + */ + public java.util.List getTargetIdsList() { + return targetIds_; + } + /** + * + * + *
+   * The target IDs of targets that have changed.
+   * If empty, the change applies to all targets.
+   * For `target_change_type=ADD`, the order of the target IDs matches the order
+   * of the requests to add the targets. This allows clients to unambiguously
+   * associate server-assigned target IDs with added targets.
+   * For other states, the order of the target IDs is not defined.
+   * 
+ * + * repeated int32 target_ids = 2; + */ + public int getTargetIdsCount() { + return targetIds_.size(); + } + /** + * + * + *
+   * The target IDs of targets that have changed.
+   * If empty, the change applies to all targets.
+   * For `target_change_type=ADD`, the order of the target IDs matches the order
+   * of the requests to add the targets. This allows clients to unambiguously
+   * associate server-assigned target IDs with added targets.
+   * For other states, the order of the target IDs is not defined.
+   * 
+ * + * repeated int32 target_ids = 2; + */ + public int getTargetIds(int index) { + return targetIds_.get(index); + } + + private int targetIdsMemoizedSerializedSize = -1; + + public static final int CAUSE_FIELD_NUMBER = 3; + private com.google.rpc.Status cause_; + /** + * + * + *
+   * The error that resulted in this change, if applicable.
+   * 
+ * + * .google.rpc.Status cause = 3; + */ + public boolean hasCause() { + return cause_ != null; + } + /** + * + * + *
+   * The error that resulted in this change, if applicable.
+   * 
+ * + * .google.rpc.Status cause = 3; + */ + public com.google.rpc.Status getCause() { + return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; + } + /** + * + * + *
+   * The error that resulted in this change, if applicable.
+   * 
+ * + * .google.rpc.Status cause = 3; + */ + public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { + return getCause(); + } + + public static final int RESUME_TOKEN_FIELD_NUMBER = 4; + private com.google.protobuf.ByteString resumeToken_; + /** + * + * + *
+   * A token that can be used to resume the stream for the given `target_ids`,
+   * or all targets if `target_ids` is empty.
+   * Not set on every target change.
+   * 
+ * + * bytes resume_token = 4; + */ + public com.google.protobuf.ByteString getResumeToken() { + return resumeToken_; + } + + public static final int READ_TIME_FIELD_NUMBER = 6; + private com.google.protobuf.Timestamp readTime_; + /** + * + * + *
+   * The consistent `read_time` for the given `target_ids` (omitted when the
+   * target_ids are not at a consistent snapshot).
+   * The stream is guaranteed to send a `read_time` with `target_ids` empty
+   * whenever the entire stream reaches a new consistent snapshot. ADD,
+   * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+   * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+   * For a given stream, `read_time` is guaranteed to be monotonically
+   * increasing.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public boolean hasReadTime() { + return readTime_ != null; + } + /** + * + * + *
+   * The consistent `read_time` for the given `target_ids` (omitted when the
+   * target_ids are not at a consistent snapshot).
+   * The stream is guaranteed to send a `read_time` with `target_ids` empty
+   * whenever the entire stream reaches a new consistent snapshot. ADD,
+   * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+   * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+   * For a given stream, `read_time` is guaranteed to be monotonically
+   * increasing.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public com.google.protobuf.Timestamp getReadTime() { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + /** + * + * + *
+   * The consistent `read_time` for the given `target_ids` (omitted when the
+   * target_ids are not at a consistent snapshot).
+   * The stream is guaranteed to send a `read_time` with `target_ids` empty
+   * whenever the entire stream reaches a new consistent snapshot. ADD,
+   * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+   * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+   * For a given stream, `read_time` is guaranteed to be monotonically
+   * increasing.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + return getReadTime(); + } + + 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 { + getSerializedSize(); + if (targetChangeType_ + != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) { + output.writeEnum(1, targetChangeType_); + } + if (getTargetIdsList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(targetIdsMemoizedSerializedSize); + } + for (int i = 0; i < targetIds_.size(); i++) { + output.writeInt32NoTag(targetIds_.get(i)); + } + if (cause_ != null) { + output.writeMessage(3, getCause()); + } + if (!resumeToken_.isEmpty()) { + output.writeBytes(4, resumeToken_); + } + if (readTime_ != null) { + output.writeMessage(6, getReadTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (targetChangeType_ + != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, targetChangeType_); + } + { + int dataSize = 0; + for (int i = 0; i < targetIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(targetIds_.get(i)); + } + size += dataSize; + if (!getTargetIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + targetIdsMemoizedSerializedSize = dataSize; + } + if (cause_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCause()); + } + if (!resumeToken_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, resumeToken_); + } + if (readTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getReadTime()); + } + size += unknownFields.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.firestore.v1.TargetChange)) { + return super.equals(obj); + } + com.google.firestore.v1.TargetChange other = (com.google.firestore.v1.TargetChange) obj; + + boolean result = true; + result = result && targetChangeType_ == other.targetChangeType_; + result = result && getTargetIdsList().equals(other.getTargetIdsList()); + result = result && (hasCause() == other.hasCause()); + if (hasCause()) { + result = result && getCause().equals(other.getCause()); + } + result = result && getResumeToken().equals(other.getResumeToken()); + result = result && (hasReadTime() == other.hasReadTime()); + if (hasReadTime()) { + result = result && getReadTime().equals(other.getReadTime()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TARGET_CHANGE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + targetChangeType_; + if (getTargetIdsCount() > 0) { + hash = (37 * hash) + TARGET_IDS_FIELD_NUMBER; + hash = (53 * hash) + getTargetIdsList().hashCode(); + } + if (hasCause()) { + hash = (37 * hash) + CAUSE_FIELD_NUMBER; + hash = (53 * hash) + getCause().hashCode(); + } + hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getResumeToken().hashCode(); + if (hasReadTime()) { + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.TargetChange parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TargetChange parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TargetChange parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TargetChange 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.firestore.v1.TargetChange parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TargetChange parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TargetChange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TargetChange 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.firestore.v1.TargetChange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TargetChange 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.firestore.v1.TargetChange parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TargetChange 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.firestore.v1.TargetChange 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; + } + /** + * + * + *
+   * Targets being watched have changed.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.TargetChange} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.TargetChange) + com.google.firestore.v1.TargetChangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TargetChange.class, + com.google.firestore.v1.TargetChange.Builder.class); + } + + // Construct using com.google.firestore.v1.TargetChange.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + targetChangeType_ = 0; + + targetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + if (causeBuilder_ == null) { + cause_ = null; + } else { + cause_ = null; + causeBuilder_ = null; + } + resumeToken_ = com.google.protobuf.ByteString.EMPTY; + + if (readTimeBuilder_ == null) { + readTime_ = null; + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.TargetChange getDefaultInstanceForType() { + return com.google.firestore.v1.TargetChange.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.TargetChange build() { + com.google.firestore.v1.TargetChange result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.TargetChange buildPartial() { + com.google.firestore.v1.TargetChange result = new com.google.firestore.v1.TargetChange(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.targetChangeType_ = targetChangeType_; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = java.util.Collections.unmodifiableList(targetIds_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.targetIds_ = targetIds_; + if (causeBuilder_ == null) { + result.cause_ = cause_; + } else { + result.cause_ = causeBuilder_.build(); + } + result.resumeToken_ = resumeToken_; + if (readTimeBuilder_ == null) { + result.readTime_ = readTime_; + } else { + result.readTime_ = readTimeBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.TargetChange) { + return mergeFrom((com.google.firestore.v1.TargetChange) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.TargetChange other) { + if (other == com.google.firestore.v1.TargetChange.getDefaultInstance()) return this; + if (other.targetChangeType_ != 0) { + setTargetChangeTypeValue(other.getTargetChangeTypeValue()); + } + if (!other.targetIds_.isEmpty()) { + if (targetIds_.isEmpty()) { + targetIds_ = other.targetIds_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTargetIdsIsMutable(); + targetIds_.addAll(other.targetIds_); + } + onChanged(); + } + if (other.hasCause()) { + mergeCause(other.getCause()); + } + if (other.getResumeToken() != com.google.protobuf.ByteString.EMPTY) { + setResumeToken(other.getResumeToken()); + } + if (other.hasReadTime()) { + mergeReadTime(other.getReadTime()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.TargetChange parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.TargetChange) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int targetChangeType_ = 0; + /** + * + * + *
+     * The type of change that occurred.
+     * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + public int getTargetChangeTypeValue() { + return targetChangeType_; + } + /** + * + * + *
+     * The type of change that occurred.
+     * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + public Builder setTargetChangeTypeValue(int value) { + targetChangeType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of change that occurred.
+     * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { + @SuppressWarnings("deprecation") + com.google.firestore.v1.TargetChange.TargetChangeType result = + com.google.firestore.v1.TargetChange.TargetChangeType.valueOf(targetChangeType_); + return result == null + ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of change that occurred.
+     * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + public Builder setTargetChangeType( + com.google.firestore.v1.TargetChange.TargetChangeType value) { + if (value == null) { + throw new NullPointerException(); + } + + targetChangeType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of change that occurred.
+     * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + public Builder clearTargetChangeType() { + + targetChangeType_ = 0; + onChanged(); + return this; + } + + private java.util.List targetIds_ = java.util.Collections.emptyList(); + + private void ensureTargetIdsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + targetIds_ = new java.util.ArrayList(targetIds_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+     * The target IDs of targets that have changed.
+     * If empty, the change applies to all targets.
+     * For `target_change_type=ADD`, the order of the target IDs matches the order
+     * of the requests to add the targets. This allows clients to unambiguously
+     * associate server-assigned target IDs with added targets.
+     * For other states, the order of the target IDs is not defined.
+     * 
+ * + * repeated int32 target_ids = 2; + */ + public java.util.List getTargetIdsList() { + return java.util.Collections.unmodifiableList(targetIds_); + } + /** + * + * + *
+     * The target IDs of targets that have changed.
+     * If empty, the change applies to all targets.
+     * For `target_change_type=ADD`, the order of the target IDs matches the order
+     * of the requests to add the targets. This allows clients to unambiguously
+     * associate server-assigned target IDs with added targets.
+     * For other states, the order of the target IDs is not defined.
+     * 
+ * + * repeated int32 target_ids = 2; + */ + public int getTargetIdsCount() { + return targetIds_.size(); + } + /** + * + * + *
+     * The target IDs of targets that have changed.
+     * If empty, the change applies to all targets.
+     * For `target_change_type=ADD`, the order of the target IDs matches the order
+     * of the requests to add the targets. This allows clients to unambiguously
+     * associate server-assigned target IDs with added targets.
+     * For other states, the order of the target IDs is not defined.
+     * 
+ * + * repeated int32 target_ids = 2; + */ + public int getTargetIds(int index) { + return targetIds_.get(index); + } + /** + * + * + *
+     * The target IDs of targets that have changed.
+     * If empty, the change applies to all targets.
+     * For `target_change_type=ADD`, the order of the target IDs matches the order
+     * of the requests to add the targets. This allows clients to unambiguously
+     * associate server-assigned target IDs with added targets.
+     * For other states, the order of the target IDs is not defined.
+     * 
+ * + * repeated int32 target_ids = 2; + */ + public Builder setTargetIds(int index, int value) { + ensureTargetIdsIsMutable(); + targetIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The target IDs of targets that have changed.
+     * If empty, the change applies to all targets.
+     * For `target_change_type=ADD`, the order of the target IDs matches the order
+     * of the requests to add the targets. This allows clients to unambiguously
+     * associate server-assigned target IDs with added targets.
+     * For other states, the order of the target IDs is not defined.
+     * 
+ * + * repeated int32 target_ids = 2; + */ + public Builder addTargetIds(int value) { + ensureTargetIdsIsMutable(); + targetIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The target IDs of targets that have changed.
+     * If empty, the change applies to all targets.
+     * For `target_change_type=ADD`, the order of the target IDs matches the order
+     * of the requests to add the targets. This allows clients to unambiguously
+     * associate server-assigned target IDs with added targets.
+     * For other states, the order of the target IDs is not defined.
+     * 
+ * + * repeated int32 target_ids = 2; + */ + public Builder addAllTargetIds(java.lang.Iterable values) { + ensureTargetIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * The target IDs of targets that have changed.
+     * If empty, the change applies to all targets.
+     * For `target_change_type=ADD`, the order of the target IDs matches the order
+     * of the requests to add the targets. This allows clients to unambiguously
+     * associate server-assigned target IDs with added targets.
+     * For other states, the order of the target IDs is not defined.
+     * 
+ * + * repeated int32 target_ids = 2; + */ + public Builder clearTargetIds() { + targetIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + private com.google.rpc.Status cause_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + causeBuilder_; + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public boolean hasCause() { + return causeBuilder_ != null || cause_ != null; + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public com.google.rpc.Status getCause() { + if (causeBuilder_ == null) { + return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; + } else { + return causeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public Builder setCause(com.google.rpc.Status value) { + if (causeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + cause_ = value; + onChanged(); + } else { + causeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public Builder setCause(com.google.rpc.Status.Builder builderForValue) { + if (causeBuilder_ == null) { + cause_ = builderForValue.build(); + onChanged(); + } else { + causeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public Builder mergeCause(com.google.rpc.Status value) { + if (causeBuilder_ == null) { + if (cause_ != null) { + cause_ = com.google.rpc.Status.newBuilder(cause_).mergeFrom(value).buildPartial(); + } else { + cause_ = value; + } + onChanged(); + } else { + causeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public Builder clearCause() { + if (causeBuilder_ == null) { + cause_ = null; + onChanged(); + } else { + cause_ = null; + causeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public com.google.rpc.Status.Builder getCauseBuilder() { + + onChanged(); + return getCauseFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { + if (causeBuilder_ != null) { + return causeBuilder_.getMessageOrBuilder(); + } else { + return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; + } + } + /** + * + * + *
+     * The error that resulted in this change, if applicable.
+     * 
+ * + * .google.rpc.Status cause = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getCauseFieldBuilder() { + if (causeBuilder_ == null) { + causeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getCause(), getParentForChildren(), isClean()); + cause_ = null; + } + return causeBuilder_; + } + + private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * A token that can be used to resume the stream for the given `target_ids`,
+     * or all targets if `target_ids` is empty.
+     * Not set on every target change.
+     * 
+ * + * bytes resume_token = 4; + */ + public com.google.protobuf.ByteString getResumeToken() { + return resumeToken_; + } + /** + * + * + *
+     * A token that can be used to resume the stream for the given `target_ids`,
+     * or all targets if `target_ids` is empty.
+     * Not set on every target change.
+     * 
+ * + * bytes resume_token = 4; + */ + public Builder setResumeToken(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + resumeToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A token that can be used to resume the stream for the given `target_ids`,
+     * or all targets if `target_ids` is empty.
+     * Not set on every target change.
+     * 
+ * + * bytes resume_token = 4; + */ + public Builder clearResumeToken() { + + resumeToken_ = getDefaultInstance().getResumeToken(); + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp readTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public boolean hasReadTime() { + return readTimeBuilder_ != null || readTime_ != null; + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } else { + return readTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readTime_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + readTime_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (readTime_ != null) { + readTime_ = + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + } else { + readTime_ = value; + } + onChanged(); + } else { + readTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + readTime_ = null; + onChanged(); + } else { + readTime_ = null; + readTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + + onChanged(); + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (readTimeBuilder_ != null) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + } + } + /** + * + * + *
+     * The consistent `read_time` for the given `target_ids` (omitted when the
+     * target_ids are not at a consistent snapshot).
+     * The stream is guaranteed to send a `read_time` with `target_ids` empty
+     * whenever the entire stream reaches a new consistent snapshot. ADD,
+     * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+     * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+     * For a given stream, `read_time` is guaranteed to be monotonically
+     * increasing.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getReadTime(), getParentForChildren(), isClean()); + readTime_ = null; + } + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.TargetChange) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.TargetChange) + private static final com.google.firestore.v1.TargetChange DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.TargetChange(); + } + + public static com.google.firestore.v1.TargetChange getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TargetChange(input, extensionRegistry); + } + }; + + 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.firestore.v1.TargetChange getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java new file mode 100644 index 000000000000..6719a99062cb --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java @@ -0,0 +1,173 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface TargetChangeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.TargetChange) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The type of change that occurred.
+   * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + int getTargetChangeTypeValue(); + /** + * + * + *
+   * The type of change that occurred.
+   * 
+ * + * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + */ + com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType(); + + /** + * + * + *
+   * The target IDs of targets that have changed.
+   * If empty, the change applies to all targets.
+   * For `target_change_type=ADD`, the order of the target IDs matches the order
+   * of the requests to add the targets. This allows clients to unambiguously
+   * associate server-assigned target IDs with added targets.
+   * For other states, the order of the target IDs is not defined.
+   * 
+ * + * repeated int32 target_ids = 2; + */ + java.util.List getTargetIdsList(); + /** + * + * + *
+   * The target IDs of targets that have changed.
+   * If empty, the change applies to all targets.
+   * For `target_change_type=ADD`, the order of the target IDs matches the order
+   * of the requests to add the targets. This allows clients to unambiguously
+   * associate server-assigned target IDs with added targets.
+   * For other states, the order of the target IDs is not defined.
+   * 
+ * + * repeated int32 target_ids = 2; + */ + int getTargetIdsCount(); + /** + * + * + *
+   * The target IDs of targets that have changed.
+   * If empty, the change applies to all targets.
+   * For `target_change_type=ADD`, the order of the target IDs matches the order
+   * of the requests to add the targets. This allows clients to unambiguously
+   * associate server-assigned target IDs with added targets.
+   * For other states, the order of the target IDs is not defined.
+   * 
+ * + * repeated int32 target_ids = 2; + */ + int getTargetIds(int index); + + /** + * + * + *
+   * The error that resulted in this change, if applicable.
+   * 
+ * + * .google.rpc.Status cause = 3; + */ + boolean hasCause(); + /** + * + * + *
+   * The error that resulted in this change, if applicable.
+   * 
+ * + * .google.rpc.Status cause = 3; + */ + com.google.rpc.Status getCause(); + /** + * + * + *
+   * The error that resulted in this change, if applicable.
+   * 
+ * + * .google.rpc.Status cause = 3; + */ + com.google.rpc.StatusOrBuilder getCauseOrBuilder(); + + /** + * + * + *
+   * A token that can be used to resume the stream for the given `target_ids`,
+   * or all targets if `target_ids` is empty.
+   * Not set on every target change.
+   * 
+ * + * bytes resume_token = 4; + */ + com.google.protobuf.ByteString getResumeToken(); + + /** + * + * + *
+   * The consistent `read_time` for the given `target_ids` (omitted when the
+   * target_ids are not at a consistent snapshot).
+   * The stream is guaranteed to send a `read_time` with `target_ids` empty
+   * whenever the entire stream reaches a new consistent snapshot. ADD,
+   * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+   * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+   * For a given stream, `read_time` is guaranteed to be monotonically
+   * increasing.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + boolean hasReadTime(); + /** + * + * + *
+   * The consistent `read_time` for the given `target_ids` (omitted when the
+   * target_ids are not at a consistent snapshot).
+   * The stream is guaranteed to send a `read_time` with `target_ids` empty
+   * whenever the entire stream reaches a new consistent snapshot. ADD,
+   * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+   * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+   * For a given stream, `read_time` is guaranteed to be monotonically
+   * increasing.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * The consistent `read_time` for the given `target_ids` (omitted when the
+   * target_ids are not at a consistent snapshot).
+   * The stream is guaranteed to send a `read_time` with `target_ids` empty
+   * whenever the entire stream reaches a new consistent snapshot. ADD,
+   * CURRENT, and RESET messages are guaranteed to (eventually) result in a
+   * new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
+   * For a given stream, `read_time` is guaranteed to be monotonically
+   * increasing.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 6; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java new file mode 100644 index 000000000000..806e74d3b237 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java @@ -0,0 +1,149 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface TargetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A target specified by a query.
+   * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + boolean hasQuery(); + /** + * + * + *
+   * A target specified by a query.
+   * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + com.google.firestore.v1.Target.QueryTarget getQuery(); + /** + * + * + *
+   * A target specified by a query.
+   * 
+ * + * .google.firestore.v1.Target.QueryTarget query = 2; + */ + com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder(); + + /** + * + * + *
+   * A target specified by a set of document names.
+   * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + boolean hasDocuments(); + /** + * + * + *
+   * A target specified by a set of document names.
+   * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + com.google.firestore.v1.Target.DocumentsTarget getDocuments(); + /** + * + * + *
+   * A target specified by a set of document names.
+   * 
+ * + * .google.firestore.v1.Target.DocumentsTarget documents = 3; + */ + com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder(); + + /** + * + * + *
+   * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
+   * Using a resume token with a different target is unsupported and may fail.
+   * 
+ * + * bytes resume_token = 4; + */ + com.google.protobuf.ByteString getResumeToken(); + + /** + * + * + *
+   * Start listening after a specific `read_time`.
+   * The client must know the state of matching documents at this time.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + boolean hasReadTime(); + /** + * + * + *
+   * Start listening after a specific `read_time`.
+   * The client must know the state of matching documents at this time.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+   * Start listening after a specific `read_time`.
+   * The client must know the state of matching documents at this time.
+   * 
+ * + * .google.protobuf.Timestamp read_time = 11; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + /** + * + * + *
+   * A client provided target ID.
+   * If not set, the server will assign an ID for the target.
+   * Used for resuming a target without changing IDs. The IDs can either be
+   * client-assigned or be server-assigned in a previous stream. All targets
+   * with client provided IDs must be added before adding a target that needs
+   * a server-assigned id.
+   * 
+ * + * int32 target_id = 5; + */ + int getTargetId(); + + /** + * + * + *
+   * If the target should be removed once it is current and consistent.
+   * 
+ * + * bool once = 6; + */ + boolean getOnce(); + + public com.google.firestore.v1.Target.TargetTypeCase getTargetTypeCase(); + + public com.google.firestore.v1.Target.ResumeTypeCase getResumeTypeCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java new file mode 100644 index 000000000000..78f8d7fe34f5 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java @@ -0,0 +1,2480 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/common.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * Options for creating a new transaction.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.TransactionOptions} + */ +public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions) + TransactionOptionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransactionOptions.newBuilder() to construct. + private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TransactionOptions() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private TransactionOptions( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder subBuilder = null; + if (modeCase_ == 2) { + subBuilder = + ((com.google.firestore.v1.TransactionOptions.ReadOnly) mode_).toBuilder(); + } + mode_ = + input.readMessage( + com.google.firestore.v1.TransactionOptions.ReadOnly.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); + mode_ = subBuilder.buildPartial(); + } + modeCase_ = 2; + break; + } + case 26: + { + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder subBuilder = null; + if (modeCase_ == 3) { + subBuilder = + ((com.google.firestore.v1.TransactionOptions.ReadWrite) mode_).toBuilder(); + } + mode_ = + input.readMessage( + com.google.firestore.v1.TransactionOptions.ReadWrite.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); + mode_ = subBuilder.buildPartial(); + } + modeCase_ = 3; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TransactionOptions.class, + com.google.firestore.v1.TransactionOptions.Builder.class); + } + + public interface ReadWriteOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadWrite) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * An optional transaction to retry.
+     * 
+ * + * bytes retry_transaction = 1; + */ + com.google.protobuf.ByteString getRetryTransaction(); + } + /** + * + * + *
+   * Options for a transaction that can be used to read and write documents.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} + */ + public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadWrite) + ReadWriteOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReadWrite.newBuilder() to construct. + private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ReadWrite() { + retryTransaction_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ReadWrite( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + retryTransaction_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TransactionOptions.ReadWrite.class, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + } + + public static final int RETRY_TRANSACTION_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString retryTransaction_; + /** + * + * + *
+     * An optional transaction to retry.
+     * 
+ * + * bytes retry_transaction = 1; + */ + public com.google.protobuf.ByteString getRetryTransaction() { + return retryTransaction_; + } + + 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 (!retryTransaction_.isEmpty()) { + output.writeBytes(1, retryTransaction_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!retryTransaction_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, retryTransaction_); + } + size += unknownFields.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.firestore.v1.TransactionOptions.ReadWrite)) { + return super.equals(obj); + } + com.google.firestore.v1.TransactionOptions.ReadWrite other = + (com.google.firestore.v1.TransactionOptions.ReadWrite) obj; + + boolean result = true; + result = result && getRetryTransaction().equals(other.getRetryTransaction()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RETRY_TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getRetryTransaction().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite 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.firestore.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite 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.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite 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.firestore.v1.TransactionOptions.ReadWrite parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite 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.firestore.v1.TransactionOptions.ReadWrite 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; + } + /** + * + * + *
+     * Options for a transaction that can be used to read and write documents.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadWrite) + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TransactionOptions.ReadWrite.class, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + } + + // Construct using com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + retryTransaction_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { + return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions.ReadWrite build() { + com.google.firestore.v1.TransactionOptions.ReadWrite result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions.ReadWrite buildPartial() { + com.google.firestore.v1.TransactionOptions.ReadWrite result = + new com.google.firestore.v1.TransactionOptions.ReadWrite(this); + result.retryTransaction_ = retryTransaction_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.TransactionOptions.ReadWrite) { + return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadWrite) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.TransactionOptions.ReadWrite other) { + if (other == com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) + return this; + if (other.getRetryTransaction() != com.google.protobuf.ByteString.EMPTY) { + setRetryTransaction(other.getRetryTransaction()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.TransactionOptions.ReadWrite parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.TransactionOptions.ReadWrite) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString retryTransaction_ = + com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+       * An optional transaction to retry.
+       * 
+ * + * bytes retry_transaction = 1; + */ + public com.google.protobuf.ByteString getRetryTransaction() { + return retryTransaction_; + } + /** + * + * + *
+       * An optional transaction to retry.
+       * 
+ * + * bytes retry_transaction = 1; + */ + public Builder setRetryTransaction(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + retryTransaction_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * An optional transaction to retry.
+       * 
+ * + * bytes retry_transaction = 1; + */ + public Builder clearRetryTransaction() { + + retryTransaction_ = getDefaultInstance().getRetryTransaction(); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions.ReadWrite) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions.ReadWrite) + private static final com.google.firestore.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions.ReadWrite(); + } + + public static com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadWrite parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadWrite(input, extensionRegistry); + } + }; + + 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.firestore.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface ReadOnlyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadOnly) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Reads documents at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + boolean hasReadTime(); + /** + * + * + *
+     * Reads documents at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + com.google.protobuf.Timestamp getReadTime(); + /** + * + * + *
+     * Reads documents at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); + + public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase + getConsistencySelectorCase(); + } + /** + * + * + *
+   * Options for a transaction that can only be used to read documents.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} + */ + public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadOnly) + ReadOnlyOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReadOnly.newBuilder() to construct. + private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ReadOnly() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ReadOnly( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (consistencySelectorCase_ == 2) { + subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); + } + consistencySelector_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); + consistencySelector_ = subBuilder.buildPartial(); + } + consistencySelectorCase_ = 2; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TransactionOptions.ReadOnly.class, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public enum ConsistencySelectorCase implements com.google.protobuf.Internal.EnumLite { + READ_TIME(2), + CONSISTENCYSELECTOR_NOT_SET(0); + private final int value; + + private ConsistencySelectorCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ConsistencySelectorCase valueOf(int value) { + return forNumber(value); + } + + public static ConsistencySelectorCase forNumber(int value) { + switch (value) { + case 2: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public static final int READ_TIME_FIELD_NUMBER = 2; + /** + * + * + *
+     * Reads documents at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 2; + } + /** + * + * + *
+     * Reads documents at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (consistencySelectorCase_ == 2) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+     * Reads documents at the given time.
+     * This may not be older than 60 seconds.
+     * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if (consistencySelectorCase_ == 2) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.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 (consistencySelectorCase_ == 2) { + output.writeMessage(2, (com.google.protobuf.Timestamp) consistencySelector_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (consistencySelectorCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.protobuf.Timestamp) consistencySelector_); + } + size += unknownFields.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.firestore.v1.TransactionOptions.ReadOnly)) { + return super.equals(obj); + } + com.google.firestore.v1.TransactionOptions.ReadOnly other = + (com.google.firestore.v1.TransactionOptions.ReadOnly) obj; + + boolean result = true; + result = result && getConsistencySelectorCase().equals(other.getConsistencySelectorCase()); + if (!result) return false; + switch (consistencySelectorCase_) { + case 2: + result = result && getReadTime().equals(other.getReadTime()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (consistencySelectorCase_) { + case 2: + hash = (37 * hash) + READ_TIME_FIELD_NUMBER; + hash = (53 * hash) + getReadTime().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly 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.firestore.v1.TransactionOptions.ReadOnly parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly 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.firestore.v1.TransactionOptions.ReadOnly parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly 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.firestore.v1.TransactionOptions.ReadOnly parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly 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.firestore.v1.TransactionOptions.ReadOnly 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; + } + /** + * + * + *
+     * Options for a transaction that can only be used to read documents.
+     * 
+ * + * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadOnly) + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TransactionOptions.ReadOnly.class, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + } + + // Construct using com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + consistencySelectorCase_ = 0; + consistencySelector_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() { + return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions.ReadOnly build() { + com.google.firestore.v1.TransactionOptions.ReadOnly result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions.ReadOnly buildPartial() { + com.google.firestore.v1.TransactionOptions.ReadOnly result = + new com.google.firestore.v1.TransactionOptions.ReadOnly(this); + if (consistencySelectorCase_ == 2) { + if (readTimeBuilder_ == null) { + result.consistencySelector_ = consistencySelector_; + } else { + result.consistencySelector_ = readTimeBuilder_.build(); + } + } + result.consistencySelectorCase_ = consistencySelectorCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.TransactionOptions.ReadOnly) { + return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadOnly) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.TransactionOptions.ReadOnly other) { + if (other == com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) + return this; + switch (other.getConsistencySelectorCase()) { + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.TransactionOptions.ReadOnly parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1.TransactionOptions.ReadOnly) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int consistencySelectorCase_ = 0; + private java.lang.Object consistencySelector_; + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + } + + public Builder clearConsistencySelector() { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public boolean hasReadTime() { + return consistencySelectorCase_ == 2; + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public com.google.protobuf.Timestamp getReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 2) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (consistencySelectorCase_ == 2) { + return readTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public Builder setReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + consistencySelector_ = value; + onChanged(); + } else { + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 2; + return this; + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (readTimeBuilder_ == null) { + consistencySelector_ = builderForValue.build(); + onChanged(); + } else { + readTimeBuilder_.setMessage(builderForValue.build()); + } + consistencySelectorCase_ = 2; + return this; + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public Builder mergeReadTime(com.google.protobuf.Timestamp value) { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 2 + && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + consistencySelector_ = + com.google.protobuf.Timestamp.newBuilder( + (com.google.protobuf.Timestamp) consistencySelector_) + .mergeFrom(value) + .buildPartial(); + } else { + consistencySelector_ = value; + } + onChanged(); + } else { + if (consistencySelectorCase_ == 2) { + readTimeBuilder_.mergeFrom(value); + } + readTimeBuilder_.setMessage(value); + } + consistencySelectorCase_ = 2; + return this; + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public Builder clearReadTime() { + if (readTimeBuilder_ == null) { + if (consistencySelectorCase_ == 2) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + onChanged(); + } + } else { + if (consistencySelectorCase_ == 2) { + consistencySelectorCase_ = 0; + consistencySelector_ = null; + } + readTimeBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { + return getReadTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { + if ((consistencySelectorCase_ == 2) && (readTimeBuilder_ != null)) { + return readTimeBuilder_.getMessageOrBuilder(); + } else { + if (consistencySelectorCase_ == 2) { + return (com.google.protobuf.Timestamp) consistencySelector_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+       * Reads documents at the given time.
+       * This may not be older than 60 seconds.
+       * 
+ * + * .google.protobuf.Timestamp read_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getReadTimeFieldBuilder() { + if (readTimeBuilder_ == null) { + if (!(consistencySelectorCase_ == 2)) { + consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) consistencySelector_, + getParentForChildren(), + isClean()); + consistencySelector_ = null; + } + consistencySelectorCase_ = 2; + onChanged(); + ; + return readTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions.ReadOnly) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions.ReadOnly) + private static final com.google.firestore.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions.ReadOnly(); + } + + public static com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadOnly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadOnly(input, extensionRegistry); + } + }; + + 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.firestore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int modeCase_ = 0; + private java.lang.Object mode_; + + public enum ModeCase implements com.google.protobuf.Internal.EnumLite { + READ_ONLY(2), + READ_WRITE(3), + MODE_NOT_SET(0); + private final int value; + + private ModeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ModeCase valueOf(int value) { + return forNumber(value); + } + + public static ModeCase forNumber(int value) { + switch (value) { + case 2: + return READ_ONLY; + case 3: + return READ_WRITE; + case 0: + return MODE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); + } + + public static final int READ_ONLY_FIELD_NUMBER = 2; + /** + * + * + *
+   * The transaction can only be used for read operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public boolean hasReadOnly() { + return modeCase_ == 2; + } + /** + * + * + *
+   * The transaction can only be used for read operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { + if (modeCase_ == 2) { + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); + } + /** + * + * + *
+   * The transaction can only be used for read operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() { + if (modeCase_ == 2) { + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); + } + + public static final int READ_WRITE_FIELD_NUMBER = 3; + /** + * + * + *
+   * The transaction can be used for both read and write operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public boolean hasReadWrite() { + return modeCase_ == 3; + } + /** + * + * + *
+   * The transaction can be used for both read and write operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { + if (modeCase_ == 3) { + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); + } + /** + * + * + *
+   * The transaction can be used for both read and write operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() { + if (modeCase_ == 3) { + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadWrite.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 (modeCase_ == 2) { + output.writeMessage(2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); + } + if (modeCase_ == 3) { + output.writeMessage(3, (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (modeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); + } + if (modeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); + } + size += unknownFields.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.firestore.v1.TransactionOptions)) { + return super.equals(obj); + } + com.google.firestore.v1.TransactionOptions other = + (com.google.firestore.v1.TransactionOptions) obj; + + boolean result = true; + result = result && getModeCase().equals(other.getModeCase()); + if (!result) return false; + switch (modeCase_) { + case 2: + result = result && getReadOnly().equals(other.getReadOnly()); + break; + case 3: + result = result && getReadWrite().equals(other.getReadWrite()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (modeCase_) { + case 2: + hash = (37 * hash) + READ_ONLY_FIELD_NUMBER; + hash = (53 * hash) + getReadOnly().hashCode(); + break; + case 3: + hash = (37 * hash) + READ_WRITE_FIELD_NUMBER; + hash = (53 * hash) + getReadWrite().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TransactionOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions 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.firestore.v1.TransactionOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.TransactionOptions parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.TransactionOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions 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.firestore.v1.TransactionOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions 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.firestore.v1.TransactionOptions parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.TransactionOptions 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.firestore.v1.TransactionOptions 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; + } + /** + * + * + *
+   * Options for creating a new transaction.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.TransactionOptions} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions) + com.google.firestore.v1.TransactionOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.TransactionOptions.class, + com.google.firestore.v1.TransactionOptions.Builder.class); + } + + // Construct using com.google.firestore.v1.TransactionOptions.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + modeCase_ = 0; + mode_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions getDefaultInstanceForType() { + return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions build() { + com.google.firestore.v1.TransactionOptions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.TransactionOptions buildPartial() { + com.google.firestore.v1.TransactionOptions result = + new com.google.firestore.v1.TransactionOptions(this); + if (modeCase_ == 2) { + if (readOnlyBuilder_ == null) { + result.mode_ = mode_; + } else { + result.mode_ = readOnlyBuilder_.build(); + } + } + if (modeCase_ == 3) { + if (readWriteBuilder_ == null) { + result.mode_ = mode_; + } else { + result.mode_ = readWriteBuilder_.build(); + } + } + result.modeCase_ = modeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.TransactionOptions) { + return mergeFrom((com.google.firestore.v1.TransactionOptions) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.TransactionOptions other) { + if (other == com.google.firestore.v1.TransactionOptions.getDefaultInstance()) return this; + switch (other.getModeCase()) { + case READ_ONLY: + { + mergeReadOnly(other.getReadOnly()); + break; + } + case READ_WRITE: + { + mergeReadWrite(other.getReadWrite()); + break; + } + case MODE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.TransactionOptions parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.TransactionOptions) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int modeCase_ = 0; + private java.lang.Object mode_; + + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); + } + + public Builder clearMode() { + modeCase_ = 0; + mode_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadOnly, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> + readOnlyBuilder_; + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public boolean hasReadOnly() { + return modeCase_ == 2; + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { + if (readOnlyBuilder_ == null) { + if (modeCase_ == 2) { + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); + } else { + if (modeCase_ == 2) { + return readOnlyBuilder_.getMessage(); + } + return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); + } + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public Builder setReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly value) { + if (readOnlyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mode_ = value; + onChanged(); + } else { + readOnlyBuilder_.setMessage(value); + } + modeCase_ = 2; + return this; + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public Builder setReadOnly( + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder builderForValue) { + if (readOnlyBuilder_ == null) { + mode_ = builderForValue.build(); + onChanged(); + } else { + readOnlyBuilder_.setMessage(builderForValue.build()); + } + modeCase_ = 2; + return this; + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly value) { + if (readOnlyBuilder_ == null) { + if (modeCase_ == 2 + && mode_ != com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { + mode_ = + com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder( + (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_) + .mergeFrom(value) + .buildPartial(); + } else { + mode_ = value; + } + onChanged(); + } else { + if (modeCase_ == 2) { + readOnlyBuilder_.mergeFrom(value); + } + readOnlyBuilder_.setMessage(value); + } + modeCase_ = 2; + return this; + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public Builder clearReadOnly() { + if (readOnlyBuilder_ == null) { + if (modeCase_ == 2) { + modeCase_ = 0; + mode_ = null; + onChanged(); + } + } else { + if (modeCase_ == 2) { + modeCase_ = 0; + mode_ = null; + } + readOnlyBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public com.google.firestore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBuilder() { + return getReadOnlyFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() { + if ((modeCase_ == 2) && (readOnlyBuilder_ != null)) { + return readOnlyBuilder_.getMessageOrBuilder(); + } else { + if (modeCase_ == 2) { + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); + } + } + /** + * + * + *
+     * The transaction can only be used for read operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadOnly, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> + getReadOnlyFieldBuilder() { + if (readOnlyBuilder_ == null) { + if (!(modeCase_ == 2)) { + mode_ = com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); + } + readOnlyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadOnly, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder>( + (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_, + getParentForChildren(), + isClean()); + mode_ = null; + } + modeCase_ = 2; + onChanged(); + ; + return readOnlyBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadWrite, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> + readWriteBuilder_; + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public boolean hasReadWrite() { + return modeCase_ == 3; + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { + if (readWriteBuilder_ == null) { + if (modeCase_ == 3) { + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); + } else { + if (modeCase_ == 3) { + return readWriteBuilder_.getMessage(); + } + return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); + } + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public Builder setReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite value) { + if (readWriteBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mode_ = value; + onChanged(); + } else { + readWriteBuilder_.setMessage(value); + } + modeCase_ = 3; + return this; + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public Builder setReadWrite( + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder builderForValue) { + if (readWriteBuilder_ == null) { + mode_ = builderForValue.build(); + onChanged(); + } else { + readWriteBuilder_.setMessage(builderForValue.build()); + } + modeCase_ = 3; + return this; + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite value) { + if (readWriteBuilder_ == null) { + if (modeCase_ == 3 + && mode_ != com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { + mode_ = + com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder( + (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_) + .mergeFrom(value) + .buildPartial(); + } else { + mode_ = value; + } + onChanged(); + } else { + if (modeCase_ == 3) { + readWriteBuilder_.mergeFrom(value); + } + readWriteBuilder_.setMessage(value); + } + modeCase_ = 3; + return this; + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public Builder clearReadWrite() { + if (readWriteBuilder_ == null) { + if (modeCase_ == 3) { + modeCase_ = 0; + mode_ = null; + onChanged(); + } + } else { + if (modeCase_ == 3) { + modeCase_ = 0; + mode_ = null; + } + readWriteBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public com.google.firestore.v1.TransactionOptions.ReadWrite.Builder getReadWriteBuilder() { + return getReadWriteFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() { + if ((modeCase_ == 3) && (readWriteBuilder_ != null)) { + return readWriteBuilder_.getMessageOrBuilder(); + } else { + if (modeCase_ == 3) { + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + } + return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); + } + } + /** + * + * + *
+     * The transaction can be used for both read and write operations.
+     * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadWrite, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> + getReadWriteFieldBuilder() { + if (readWriteBuilder_ == null) { + if (!(modeCase_ == 3)) { + mode_ = com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); + } + readWriteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadWrite, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder>( + (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_, + getParentForChildren(), + isClean()); + mode_ = null; + } + modeCase_ = 3; + onChanged(); + ; + return readWriteBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions) + private static final com.google.firestore.v1.TransactionOptions DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions(); + } + + public static com.google.firestore.v1.TransactionOptions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransactionOptions(input, extensionRegistry); + } + }; + + 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.firestore.v1.TransactionOptions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java new file mode 100644 index 000000000000..bf167fbcb908 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java @@ -0,0 +1,74 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/common.proto + +package com.google.firestore.v1; + +public interface TransactionOptionsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The transaction can only be used for read operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + boolean hasReadOnly(); + /** + * + * + *
+   * The transaction can only be used for read operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly(); + /** + * + * + *
+   * The transaction can only be used for read operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + */ + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder(); + + /** + * + * + *
+   * The transaction can be used for both read and write operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + boolean hasReadWrite(); + /** + * + * + *
+   * The transaction can be used for both read and write operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite(); + /** + * + * + *
+   * The transaction can be used for both read and write operations.
+   * 
+ * + * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + */ + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder(); + + public com.google.firestore.v1.TransactionOptions.ModeCase getModeCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java new file mode 100644 index 000000000000..862f6be5cda2 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java @@ -0,0 +1,1599 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest} + */ +public final class UpdateDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.UpdateDocumentRequest) + UpdateDocumentRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateDocumentRequest.newBuilder() to construct. + private UpdateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdateDocumentRequest() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpdateDocumentRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.Document.Builder subBuilder = null; + if (document_ != null) { + subBuilder = document_.toBuilder(); + } + document_ = + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(document_); + document_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + com.google.firestore.v1.DocumentMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage( + com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + com.google.firestore.v1.DocumentMask.Builder subBuilder = null; + if (mask_ != null) { + subBuilder = mask_.toBuilder(); + } + mask_ = + input.readMessage( + com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mask_); + mask_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + com.google.firestore.v1.Precondition.Builder subBuilder = null; + if (currentDocument_ != null) { + subBuilder = currentDocument_.toBuilder(); + } + currentDocument_ = + input.readMessage( + com.google.firestore.v1.Precondition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentDocument_); + currentDocument_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.UpdateDocumentRequest.class, + com.google.firestore.v1.UpdateDocumentRequest.Builder.class); + } + + public static final int DOCUMENT_FIELD_NUMBER = 1; + private com.google.firestore.v1.Document document_; + /** + * + * + *
+   * The updated document.
+   * Creates the document if it does not already exist.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public boolean hasDocument() { + return document_ != null; + } + /** + * + * + *
+   * The updated document.
+   * Creates the document if it does not already exist.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document getDocument() { + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + } + /** + * + * + *
+   * The updated document.
+   * Creates the document if it does not already exist.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + return getDocument(); + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 2; + private com.google.firestore.v1.DocumentMask updateMask_; + /** + * + * + *
+   * The fields to update.
+   * None of the field paths in the mask may contain a reserved name.
+   * If the document exists on the server and has fields not referenced in the
+   * mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + * + * + *
+   * The fields to update.
+   * None of the field paths in the mask may contain a reserved name.
+   * If the document exists on the server and has fields not referenced in the
+   * mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public com.google.firestore.v1.DocumentMask getUpdateMask() { + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; + } + /** + * + * + *
+   * The fields to update.
+   * None of the field paths in the mask may contain a reserved name.
+   * If the document exists on the server and has fields not referenced in the
+   * mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() { + return getUpdateMask(); + } + + public static final int MASK_FIELD_NUMBER = 3; + private com.google.firestore.v1.DocumentMask mask_; + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public boolean hasMask() { + return mask_ != null; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMask getMask() { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + return getMask(); + } + + public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4; + private com.google.firestore.v1.Precondition currentDocument_; + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public boolean hasCurrentDocument() { + return currentDocument_ != null; + } + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.Precondition getCurrentDocument() { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() { + return getCurrentDocument(); + } + + 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 (document_ != null) { + output.writeMessage(1, getDocument()); + } + if (updateMask_ != null) { + output.writeMessage(2, getUpdateMask()); + } + if (mask_ != null) { + output.writeMessage(3, getMask()); + } + if (currentDocument_ != null) { + output.writeMessage(4, getCurrentDocument()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (document_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument()); + } + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + } + if (mask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMask()); + } + if (currentDocument_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentDocument()); + } + size += unknownFields.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.firestore.v1.UpdateDocumentRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.UpdateDocumentRequest other = + (com.google.firestore.v1.UpdateDocumentRequest) obj; + + boolean result = true; + result = result && (hasDocument() == other.hasDocument()); + if (hasDocument()) { + result = result && getDocument().equals(other.getDocument()); + } + result = result && (hasUpdateMask() == other.hasUpdateMask()); + if (hasUpdateMask()) { + result = result && getUpdateMask().equals(other.getUpdateMask()); + } + result = result && (hasMask() == other.hasMask()); + if (hasMask()) { + result = result && getMask().equals(other.getMask()); + } + result = result && (hasCurrentDocument() == other.hasCurrentDocument()); + if (hasCurrentDocument()) { + result = result && getCurrentDocument().equals(other.getCurrentDocument()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDocument()) { + hash = (37 * hash) + DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getDocument().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + if (hasMask()) { + hash = (37 * hash) + MASK_FIELD_NUMBER; + hash = (53 * hash) + getMask().hashCode(); + } + if (hasCurrentDocument()) { + hash = (37 * hash) + CURRENT_DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getCurrentDocument().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.UpdateDocumentRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.UpdateDocumentRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.UpdateDocumentRequest 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.firestore.v1.UpdateDocumentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.UpdateDocumentRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.UpdateDocumentRequest 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.firestore.v1.UpdateDocumentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.UpdateDocumentRequest 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.firestore.v1.UpdateDocumentRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.UpdateDocumentRequest 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.firestore.v1.UpdateDocumentRequest 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 request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.UpdateDocumentRequest) + com.google.firestore.v1.UpdateDocumentRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.UpdateDocumentRequest.class, + com.google.firestore.v1.UpdateDocumentRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.UpdateDocumentRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (documentBuilder_ == null) { + document_ = null; + } else { + document_ = null; + documentBuilder_ = null; + } + if (updateMaskBuilder_ == null) { + updateMask_ = null; + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + if (maskBuilder_ == null) { + mask_ = null; + } else { + mask_ = null; + maskBuilder_ = null; + } + if (currentDocumentBuilder_ == null) { + currentDocument_ = null; + } else { + currentDocument_ = null; + currentDocumentBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.UpdateDocumentRequest getDefaultInstanceForType() { + return com.google.firestore.v1.UpdateDocumentRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.UpdateDocumentRequest build() { + com.google.firestore.v1.UpdateDocumentRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.UpdateDocumentRequest buildPartial() { + com.google.firestore.v1.UpdateDocumentRequest result = + new com.google.firestore.v1.UpdateDocumentRequest(this); + if (documentBuilder_ == null) { + result.document_ = document_; + } else { + result.document_ = documentBuilder_.build(); + } + if (updateMaskBuilder_ == null) { + result.updateMask_ = updateMask_; + } else { + result.updateMask_ = updateMaskBuilder_.build(); + } + if (maskBuilder_ == null) { + result.mask_ = mask_; + } else { + result.mask_ = maskBuilder_.build(); + } + if (currentDocumentBuilder_ == null) { + result.currentDocument_ = currentDocument_; + } else { + result.currentDocument_ = currentDocumentBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.UpdateDocumentRequest) { + return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.UpdateDocumentRequest other) { + if (other == com.google.firestore.v1.UpdateDocumentRequest.getDefaultInstance()) return this; + if (other.hasDocument()) { + mergeDocument(other.getDocument()); + } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + if (other.hasMask()) { + mergeMask(other.getMask()); + } + if (other.hasCurrentDocument()) { + mergeCurrentDocument(other.getCurrentDocument()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.UpdateDocumentRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.UpdateDocumentRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.firestore.v1.Document document_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + documentBuilder_; + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public boolean hasDocument() { + return documentBuilder_ != null || document_ != null; + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document getDocument() { + if (documentBuilder_ == null) { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } else { + return documentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder setDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + document_ = value; + onChanged(); + } else { + documentBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + if (documentBuilder_ == null) { + document_ = builderForValue.build(); + onChanged(); + } else { + documentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder mergeDocument(com.google.firestore.v1.Document value) { + if (documentBuilder_ == null) { + if (document_ != null) { + document_ = + com.google.firestore.v1.Document.newBuilder(document_) + .mergeFrom(value) + .buildPartial(); + } else { + document_ = value; + } + onChanged(); + } else { + documentBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public Builder clearDocument() { + if (documentBuilder_ == null) { + document_ = null; + onChanged(); + } else { + document_ = null; + documentBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.Document.Builder getDocumentBuilder() { + + onChanged(); + return getDocumentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { + if (documentBuilder_ != null) { + return documentBuilder_.getMessageOrBuilder(); + } else { + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; + } + } + /** + * + * + *
+     * The updated document.
+     * Creates the document if it does not already exist.
+     * 
+ * + * .google.firestore.v1.Document document = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + getDocumentFieldBuilder() { + if (documentBuilder_ == null) { + documentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), getParentForChildren(), isClean()); + document_ = null; + } + return documentBuilder_; + } + + private com.google.firestore.v1.DocumentMask updateMask_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + updateMaskBuilder_; + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public boolean hasUpdateMask() { + return updateMaskBuilder_ != null || updateMask_ != null; + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public com.google.firestore.v1.DocumentMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + onChanged(); + } else { + updateMaskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + onChanged(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) { + if (updateMaskBuilder_ == null) { + if (updateMask_ != null) { + updateMask_ = + com.google.firestore.v1.DocumentMask.newBuilder(updateMask_) + .mergeFrom(value) + .buildPartial(); + } else { + updateMask_ = value; + } + onChanged(); + } else { + updateMaskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public Builder clearUpdateMask() { + if (updateMaskBuilder_ == null) { + updateMask_ = null; + onChanged(); + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() { + + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; + } + } + /** + * + * + *
+     * The fields to update.
+     * None of the field paths in the mask may contain a reserved name.
+     * If the document exists on the server and has fields not referenced in the
+     * mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + private com.google.firestore.v1.DocumentMask mask_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public boolean hasMask() { + return maskBuilder_ != null || mask_ != null; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMask getMask() { + if (maskBuilder_ == null) { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } else { + return maskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + mask_ = value; + onChanged(); + } else { + maskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + if (maskBuilder_ == null) { + mask_ = builderForValue.build(); + onChanged(); + } else { + maskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { + if (maskBuilder_ == null) { + if (mask_ != null) { + mask_ = + com.google.firestore.v1.DocumentMask.newBuilder(mask_) + .mergeFrom(value) + .buildPartial(); + } else { + mask_ = value; + } + onChanged(); + } else { + maskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public Builder clearMask() { + if (maskBuilder_ == null) { + mask_ = null; + onChanged(); + } else { + mask_ = null; + maskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { + + onChanged(); + return getMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { + if (maskBuilder_ != null) { + return maskBuilder_.getMessageOrBuilder(); + } else { + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + } + } + /** + * + * + *
+     * The fields to return. If not set, returns all fields.
+     * If the document has a field that is not present in this mask, that field
+     * will not be returned in the response.
+     * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + getMaskFieldBuilder() { + if (maskBuilder_ == null) { + maskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getMask(), getParentForChildren(), isClean()); + mask_ = null; + } + return maskBuilder_; + } + + private com.google.firestore.v1.Precondition currentDocument_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + currentDocumentBuilder_; + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public boolean hasCurrentDocument() { + return currentDocumentBuilder_ != null || currentDocument_ != null; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.Precondition getCurrentDocument() { + if (currentDocumentBuilder_ == null) { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } else { + return currentDocumentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) { + if (currentDocumentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + currentDocument_ = value; + onChanged(); + } else { + currentDocumentBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder setCurrentDocument( + com.google.firestore.v1.Precondition.Builder builderForValue) { + if (currentDocumentBuilder_ == null) { + currentDocument_ = builderForValue.build(); + onChanged(); + } else { + currentDocumentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) { + if (currentDocumentBuilder_ == null) { + if (currentDocument_ != null) { + currentDocument_ = + com.google.firestore.v1.Precondition.newBuilder(currentDocument_) + .mergeFrom(value) + .buildPartial(); + } else { + currentDocument_ = value; + } + onChanged(); + } else { + currentDocumentBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder clearCurrentDocument() { + if (currentDocumentBuilder_ == null) { + currentDocument_ = null; + onChanged(); + } else { + currentDocument_ = null; + currentDocumentBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() { + + onChanged(); + return getCurrentDocumentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() { + if (currentDocumentBuilder_ != null) { + return currentDocumentBuilder_.getMessageOrBuilder(); + } else { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The request will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + getCurrentDocumentFieldBuilder() { + if (currentDocumentBuilder_ == null) { + currentDocumentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder>( + getCurrentDocument(), getParentForChildren(), isClean()); + currentDocument_ = null; + } + return currentDocumentBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.UpdateDocumentRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.UpdateDocumentRequest) + private static final com.google.firestore.v1.UpdateDocumentRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.UpdateDocumentRequest(); + } + + public static com.google.firestore.v1.UpdateDocumentRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDocumentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateDocumentRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.UpdateDocumentRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java new file mode 100644 index 000000000000..dbfc8ffc8dd9 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java @@ -0,0 +1,161 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface UpdateDocumentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.UpdateDocumentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The updated document.
+   * Creates the document if it does not already exist.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + boolean hasDocument(); + /** + * + * + *
+   * The updated document.
+   * Creates the document if it does not already exist.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + com.google.firestore.v1.Document getDocument(); + /** + * + * + *
+   * The updated document.
+   * Creates the document if it does not already exist.
+   * 
+ * + * .google.firestore.v1.Document document = 1; + */ + com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); + + /** + * + * + *
+   * The fields to update.
+   * None of the field paths in the mask may contain a reserved name.
+   * If the document exists on the server and has fields not referenced in the
+   * mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * The fields to update.
+   * None of the field paths in the mask may contain a reserved name.
+   * If the document exists on the server and has fields not referenced in the
+   * mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + com.google.firestore.v1.DocumentMask getUpdateMask(); + /** + * + * + *
+   * The fields to update.
+   * None of the field paths in the mask may contain a reserved name.
+   * If the document exists on the server and has fields not referenced in the
+   * mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 2; + */ + com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder(); + + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + boolean hasMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + com.google.firestore.v1.DocumentMask getMask(); + /** + * + * + *
+   * The fields to return. If not set, returns all fields.
+   * If the document has a field that is not present in this mask, that field
+   * will not be returned in the response.
+   * 
+ * + * .google.firestore.v1.DocumentMask mask = 3; + */ + com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder(); + + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + boolean hasCurrentDocument(); + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + com.google.firestore.v1.Precondition getCurrentDocument(); + /** + * + * + *
+   * An optional precondition on the document.
+   * The request will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java new file mode 100644 index 000000000000..96e75c68dc90 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java @@ -0,0 +1,2654 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A message that can hold any of the supported value types.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.Value} + */ +public final class Value extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Value) + ValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use Value.newBuilder() to construct. + private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Value() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Value( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + valueTypeCase_ = 1; + valueType_ = input.readBool(); + break; + } + case 16: + { + valueTypeCase_ = 2; + valueType_ = input.readInt64(); + break; + } + case 25: + { + valueTypeCase_ = 3; + valueType_ = input.readDouble(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + valueTypeCase_ = 5; + valueType_ = s; + break; + } + case 50: + { + com.google.firestore.v1.MapValue.Builder subBuilder = null; + if (valueTypeCase_ == 6) { + subBuilder = ((com.google.firestore.v1.MapValue) valueType_).toBuilder(); + } + valueType_ = + input.readMessage(com.google.firestore.v1.MapValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.MapValue) valueType_); + valueType_ = subBuilder.buildPartial(); + } + valueTypeCase_ = 6; + break; + } + case 66: + { + com.google.type.LatLng.Builder subBuilder = null; + if (valueTypeCase_ == 8) { + subBuilder = ((com.google.type.LatLng) valueType_).toBuilder(); + } + valueType_ = input.readMessage(com.google.type.LatLng.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.type.LatLng) valueType_); + valueType_ = subBuilder.buildPartial(); + } + valueTypeCase_ = 8; + break; + } + case 74: + { + com.google.firestore.v1.ArrayValue.Builder subBuilder = null; + if (valueTypeCase_ == 9) { + subBuilder = ((com.google.firestore.v1.ArrayValue) valueType_).toBuilder(); + } + valueType_ = + input.readMessage(com.google.firestore.v1.ArrayValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.ArrayValue) valueType_); + valueType_ = subBuilder.buildPartial(); + } + valueTypeCase_ = 9; + break; + } + case 82: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (valueTypeCase_ == 10) { + subBuilder = ((com.google.protobuf.Timestamp) valueType_).toBuilder(); + } + valueType_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) valueType_); + valueType_ = subBuilder.buildPartial(); + } + valueTypeCase_ = 10; + break; + } + case 88: + { + int rawValue = input.readEnum(); + valueTypeCase_ = 11; + valueType_ = rawValue; + break; + } + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); + valueTypeCase_ = 17; + valueType_ = s; + break; + } + case 146: + { + valueTypeCase_ = 18; + valueType_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); + } + + private int valueTypeCase_ = 0; + private java.lang.Object valueType_; + + public enum ValueTypeCase implements com.google.protobuf.Internal.EnumLite { + NULL_VALUE(11), + BOOLEAN_VALUE(1), + INTEGER_VALUE(2), + DOUBLE_VALUE(3), + TIMESTAMP_VALUE(10), + STRING_VALUE(17), + BYTES_VALUE(18), + REFERENCE_VALUE(5), + GEO_POINT_VALUE(8), + ARRAY_VALUE(9), + MAP_VALUE(6), + VALUETYPE_NOT_SET(0); + private final int value; + + private ValueTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ValueTypeCase valueOf(int value) { + return forNumber(value); + } + + public static ValueTypeCase forNumber(int value) { + switch (value) { + case 11: + return NULL_VALUE; + case 1: + return BOOLEAN_VALUE; + case 2: + return INTEGER_VALUE; + case 3: + return DOUBLE_VALUE; + case 10: + return TIMESTAMP_VALUE; + case 17: + return STRING_VALUE; + case 18: + return BYTES_VALUE; + case 5: + return REFERENCE_VALUE; + case 8: + return GEO_POINT_VALUE; + case 9: + return ARRAY_VALUE; + case 6: + return MAP_VALUE; + case 0: + return VALUETYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ValueTypeCase getValueTypeCase() { + return ValueTypeCase.forNumber(valueTypeCase_); + } + + public static final int NULL_VALUE_FIELD_NUMBER = 11; + /** + * + * + *
+   * A null value.
+   * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + public int getNullValueValue() { + if (valueTypeCase_ == 11) { + return (java.lang.Integer) valueType_; + } + return 0; + } + /** + * + * + *
+   * A null value.
+   * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + public com.google.protobuf.NullValue getNullValue() { + if (valueTypeCase_ == 11) { + @SuppressWarnings("deprecation") + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.valueOf((java.lang.Integer) valueType_); + return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; + } + return com.google.protobuf.NullValue.NULL_VALUE; + } + + public static final int BOOLEAN_VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+   * A boolean value.
+   * 
+ * + * bool boolean_value = 1; + */ + public boolean getBooleanValue() { + if (valueTypeCase_ == 1) { + return (java.lang.Boolean) valueType_; + } + return false; + } + + public static final int INTEGER_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+   * An integer value.
+   * 
+ * + * int64 integer_value = 2; + */ + public long getIntegerValue() { + if (valueTypeCase_ == 2) { + return (java.lang.Long) valueType_; + } + return 0L; + } + + public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * A double value.
+   * 
+ * + * double double_value = 3; + */ + public double getDoubleValue() { + if (valueTypeCase_ == 3) { + return (java.lang.Double) valueType_; + } + return 0D; + } + + public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; + /** + * + * + *
+   * A timestamp value.
+   * Precise only to microseconds. When stored, any additional precision is
+   * rounded down.
+   * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public boolean hasTimestampValue() { + return valueTypeCase_ == 10; + } + /** + * + * + *
+   * A timestamp value.
+   * Precise only to microseconds. When stored, any additional precision is
+   * rounded down.
+   * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public com.google.protobuf.Timestamp getTimestampValue() { + if (valueTypeCase_ == 10) { + return (com.google.protobuf.Timestamp) valueType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + /** + * + * + *
+   * A timestamp value.
+   * Precise only to microseconds. When stored, any additional precision is
+   * rounded down.
+   * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { + if (valueTypeCase_ == 10) { + return (com.google.protobuf.Timestamp) valueType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + + public static final int STRING_VALUE_FIELD_NUMBER = 17; + /** + * + * + *
+   * A string value.
+   * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+   * Only the first 1,500 bytes of the UTF-8 representation are considered by
+   * queries.
+   * 
+ * + * string string_value = 17; + */ + public java.lang.String getStringValue() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 17) { + ref = valueType_; + } + 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 (valueTypeCase_ == 17) { + valueType_ = s; + } + return s; + } + } + /** + * + * + *
+   * A string value.
+   * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+   * Only the first 1,500 bytes of the UTF-8 representation are considered by
+   * queries.
+   * 
+ * + * string string_value = 17; + */ + public com.google.protobuf.ByteString getStringValueBytes() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 17) { + ref = valueType_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (valueTypeCase_ == 17) { + valueType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BYTES_VALUE_FIELD_NUMBER = 18; + /** + * + * + *
+   * A bytes value.
+   * Must not exceed 1 MiB - 89 bytes.
+   * Only the first 1,500 bytes are considered by queries.
+   * 
+ * + * bytes bytes_value = 18; + */ + public com.google.protobuf.ByteString getBytesValue() { + if (valueTypeCase_ == 18) { + return (com.google.protobuf.ByteString) valueType_; + } + return com.google.protobuf.ByteString.EMPTY; + } + + public static final int REFERENCE_VALUE_FIELD_NUMBER = 5; + /** + * + * + *
+   * A reference to a document. For example:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string reference_value = 5; + */ + public java.lang.String getReferenceValue() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 5) { + ref = valueType_; + } + 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 (valueTypeCase_ == 5) { + valueType_ = s; + } + return s; + } + } + /** + * + * + *
+   * A reference to a document. For example:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string reference_value = 5; + */ + public com.google.protobuf.ByteString getReferenceValueBytes() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 5) { + ref = valueType_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (valueTypeCase_ == 5) { + valueType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GEO_POINT_VALUE_FIELD_NUMBER = 8; + /** + * + * + *
+   * A geo point value representing a point on the surface of Earth.
+   * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public boolean hasGeoPointValue() { + return valueTypeCase_ == 8; + } + /** + * + * + *
+   * A geo point value representing a point on the surface of Earth.
+   * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public com.google.type.LatLng getGeoPointValue() { + if (valueTypeCase_ == 8) { + return (com.google.type.LatLng) valueType_; + } + return com.google.type.LatLng.getDefaultInstance(); + } + /** + * + * + *
+   * A geo point value representing a point on the surface of Earth.
+   * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { + if (valueTypeCase_ == 8) { + return (com.google.type.LatLng) valueType_; + } + return com.google.type.LatLng.getDefaultInstance(); + } + + public static final int ARRAY_VALUE_FIELD_NUMBER = 9; + /** + * + * + *
+   * An array value.
+   * Cannot directly contain another array value, though can contain an
+   * map which contains another array.
+   * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public boolean hasArrayValue() { + return valueTypeCase_ == 9; + } + /** + * + * + *
+   * An array value.
+   * Cannot directly contain another array value, though can contain an
+   * map which contains another array.
+   * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public com.google.firestore.v1.ArrayValue getArrayValue() { + if (valueTypeCase_ == 9) { + return (com.google.firestore.v1.ArrayValue) valueType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + /** + * + * + *
+   * An array value.
+   * Cannot directly contain another array value, though can contain an
+   * map which contains another array.
+   * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() { + if (valueTypeCase_ == 9) { + return (com.google.firestore.v1.ArrayValue) valueType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + + public static final int MAP_VALUE_FIELD_NUMBER = 6; + /** + * + * + *
+   * A map value.
+   * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public boolean hasMapValue() { + return valueTypeCase_ == 6; + } + /** + * + * + *
+   * A map value.
+   * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public com.google.firestore.v1.MapValue getMapValue() { + if (valueTypeCase_ == 6) { + return (com.google.firestore.v1.MapValue) valueType_; + } + return com.google.firestore.v1.MapValue.getDefaultInstance(); + } + /** + * + * + *
+   * A map value.
+   * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { + if (valueTypeCase_ == 6) { + return (com.google.firestore.v1.MapValue) valueType_; + } + return com.google.firestore.v1.MapValue.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 (valueTypeCase_ == 1) { + output.writeBool(1, (boolean) ((java.lang.Boolean) valueType_)); + } + if (valueTypeCase_ == 2) { + output.writeInt64(2, (long) ((java.lang.Long) valueType_)); + } + if (valueTypeCase_ == 3) { + output.writeDouble(3, (double) ((java.lang.Double) valueType_)); + } + if (valueTypeCase_ == 5) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, valueType_); + } + if (valueTypeCase_ == 6) { + output.writeMessage(6, (com.google.firestore.v1.MapValue) valueType_); + } + if (valueTypeCase_ == 8) { + output.writeMessage(8, (com.google.type.LatLng) valueType_); + } + if (valueTypeCase_ == 9) { + output.writeMessage(9, (com.google.firestore.v1.ArrayValue) valueType_); + } + if (valueTypeCase_ == 10) { + output.writeMessage(10, (com.google.protobuf.Timestamp) valueType_); + } + if (valueTypeCase_ == 11) { + output.writeEnum(11, ((java.lang.Integer) valueType_)); + } + if (valueTypeCase_ == 17) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, valueType_); + } + if (valueTypeCase_ == 18) { + output.writeBytes(18, (com.google.protobuf.ByteString) valueType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (valueTypeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) valueType_)); + } + if (valueTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) valueType_)); + } + if (valueTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) valueType_)); + } + if (valueTypeCase_ == 5) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, valueType_); + } + if (valueTypeCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.firestore.v1.MapValue) valueType_); + } + if (valueTypeCase_ == 8) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.type.LatLng) valueType_); + } + if (valueTypeCase_ == 9) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.firestore.v1.ArrayValue) valueType_); + } + if (valueTypeCase_ == 10) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.protobuf.Timestamp) valueType_); + } + if (valueTypeCase_ == 11) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 11, ((java.lang.Integer) valueType_)); + } + if (valueTypeCase_ == 17) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, valueType_); + } + if (valueTypeCase_ == 18) { + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 18, (com.google.protobuf.ByteString) valueType_); + } + size += unknownFields.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.firestore.v1.Value)) { + return super.equals(obj); + } + com.google.firestore.v1.Value other = (com.google.firestore.v1.Value) obj; + + boolean result = true; + result = result && getValueTypeCase().equals(other.getValueTypeCase()); + if (!result) return false; + switch (valueTypeCase_) { + case 11: + result = result && getNullValueValue() == other.getNullValueValue(); + break; + case 1: + result = result && (getBooleanValue() == other.getBooleanValue()); + break; + case 2: + result = result && (getIntegerValue() == other.getIntegerValue()); + break; + case 3: + result = + result + && (java.lang.Double.doubleToLongBits(getDoubleValue()) + == java.lang.Double.doubleToLongBits(other.getDoubleValue())); + break; + case 10: + result = result && getTimestampValue().equals(other.getTimestampValue()); + break; + case 17: + result = result && getStringValue().equals(other.getStringValue()); + break; + case 18: + result = result && getBytesValue().equals(other.getBytesValue()); + break; + case 5: + result = result && getReferenceValue().equals(other.getReferenceValue()); + break; + case 8: + result = result && getGeoPointValue().equals(other.getGeoPointValue()); + break; + case 9: + result = result && getArrayValue().equals(other.getArrayValue()); + break; + case 6: + result = result && getMapValue().equals(other.getMapValue()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (valueTypeCase_) { + case 11: + hash = (37 * hash) + NULL_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getNullValueValue(); + break; + case 1: + hash = (37 * hash) + BOOLEAN_VALUE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBooleanValue()); + break; + case 2: + hash = (37 * hash) + INTEGER_VALUE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntegerValue()); + break; + case 3: + hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); + break; + case 10: + hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getTimestampValue().hashCode(); + break; + case 17: + hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getStringValue().hashCode(); + break; + case 18: + hash = (37 * hash) + BYTES_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getBytesValue().hashCode(); + break; + case 5: + hash = (37 * hash) + REFERENCE_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getReferenceValue().hashCode(); + break; + case 8: + hash = (37 * hash) + GEO_POINT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getGeoPointValue().hashCode(); + break; + case 9: + hash = (37 * hash) + ARRAY_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getArrayValue().hashCode(); + break; + case 6: + hash = (37 * hash) + MAP_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getMapValue().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Value parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Value parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Value parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Value 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.firestore.v1.Value parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Value parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Value parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Value 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.firestore.v1.Value parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Value 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.firestore.v1.Value parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Value 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.firestore.v1.Value prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A message that can hold any of the supported value types.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Value} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Value) + com.google.firestore.v1.ValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); + } + + // Construct using com.google.firestore.v1.Value.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + valueTypeCase_ = 0; + valueType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Value getDefaultInstanceForType() { + return com.google.firestore.v1.Value.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Value build() { + com.google.firestore.v1.Value result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Value buildPartial() { + com.google.firestore.v1.Value result = new com.google.firestore.v1.Value(this); + if (valueTypeCase_ == 11) { + result.valueType_ = valueType_; + } + if (valueTypeCase_ == 1) { + result.valueType_ = valueType_; + } + if (valueTypeCase_ == 2) { + result.valueType_ = valueType_; + } + if (valueTypeCase_ == 3) { + result.valueType_ = valueType_; + } + if (valueTypeCase_ == 10) { + if (timestampValueBuilder_ == null) { + result.valueType_ = valueType_; + } else { + result.valueType_ = timestampValueBuilder_.build(); + } + } + if (valueTypeCase_ == 17) { + result.valueType_ = valueType_; + } + if (valueTypeCase_ == 18) { + result.valueType_ = valueType_; + } + if (valueTypeCase_ == 5) { + result.valueType_ = valueType_; + } + if (valueTypeCase_ == 8) { + if (geoPointValueBuilder_ == null) { + result.valueType_ = valueType_; + } else { + result.valueType_ = geoPointValueBuilder_.build(); + } + } + if (valueTypeCase_ == 9) { + if (arrayValueBuilder_ == null) { + result.valueType_ = valueType_; + } else { + result.valueType_ = arrayValueBuilder_.build(); + } + } + if (valueTypeCase_ == 6) { + if (mapValueBuilder_ == null) { + result.valueType_ = valueType_; + } else { + result.valueType_ = mapValueBuilder_.build(); + } + } + result.valueTypeCase_ = valueTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Value) { + return mergeFrom((com.google.firestore.v1.Value) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Value other) { + if (other == com.google.firestore.v1.Value.getDefaultInstance()) return this; + switch (other.getValueTypeCase()) { + case NULL_VALUE: + { + setNullValueValue(other.getNullValueValue()); + break; + } + case BOOLEAN_VALUE: + { + setBooleanValue(other.getBooleanValue()); + break; + } + case INTEGER_VALUE: + { + setIntegerValue(other.getIntegerValue()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case TIMESTAMP_VALUE: + { + mergeTimestampValue(other.getTimestampValue()); + break; + } + case STRING_VALUE: + { + valueTypeCase_ = 17; + valueType_ = other.valueType_; + onChanged(); + break; + } + case BYTES_VALUE: + { + setBytesValue(other.getBytesValue()); + break; + } + case REFERENCE_VALUE: + { + valueTypeCase_ = 5; + valueType_ = other.valueType_; + onChanged(); + break; + } + case GEO_POINT_VALUE: + { + mergeGeoPointValue(other.getGeoPointValue()); + break; + } + case ARRAY_VALUE: + { + mergeArrayValue(other.getArrayValue()); + break; + } + case MAP_VALUE: + { + mergeMapValue(other.getMapValue()); + break; + } + case VALUETYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Value parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Value) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int valueTypeCase_ = 0; + private java.lang.Object valueType_; + + public ValueTypeCase getValueTypeCase() { + return ValueTypeCase.forNumber(valueTypeCase_); + } + + public Builder clearValueType() { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+     * A null value.
+     * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + public int getNullValueValue() { + if (valueTypeCase_ == 11) { + return ((java.lang.Integer) valueType_).intValue(); + } + return 0; + } + /** + * + * + *
+     * A null value.
+     * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + public Builder setNullValueValue(int value) { + valueTypeCase_ = 11; + valueType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A null value.
+     * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + public com.google.protobuf.NullValue getNullValue() { + if (valueTypeCase_ == 11) { + @SuppressWarnings("deprecation") + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.valueOf((java.lang.Integer) valueType_); + return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; + } + return com.google.protobuf.NullValue.NULL_VALUE; + } + /** + * + * + *
+     * A null value.
+     * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + public Builder setNullValue(com.google.protobuf.NullValue value) { + if (value == null) { + throw new NullPointerException(); + } + valueTypeCase_ = 11; + valueType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * A null value.
+     * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + public Builder clearNullValue() { + if (valueTypeCase_ == 11) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * A boolean value.
+     * 
+ * + * bool boolean_value = 1; + */ + public boolean getBooleanValue() { + if (valueTypeCase_ == 1) { + return (java.lang.Boolean) valueType_; + } + return false; + } + /** + * + * + *
+     * A boolean value.
+     * 
+ * + * bool boolean_value = 1; + */ + public Builder setBooleanValue(boolean value) { + valueTypeCase_ = 1; + valueType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A boolean value.
+     * 
+ * + * bool boolean_value = 1; + */ + public Builder clearBooleanValue() { + if (valueTypeCase_ == 1) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * An integer value.
+     * 
+ * + * int64 integer_value = 2; + */ + public long getIntegerValue() { + if (valueTypeCase_ == 2) { + return (java.lang.Long) valueType_; + } + return 0L; + } + /** + * + * + *
+     * An integer value.
+     * 
+ * + * int64 integer_value = 2; + */ + public Builder setIntegerValue(long value) { + valueTypeCase_ = 2; + valueType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * An integer value.
+     * 
+ * + * int64 integer_value = 2; + */ + public Builder clearIntegerValue() { + if (valueTypeCase_ == 2) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * A double value.
+     * 
+ * + * double double_value = 3; + */ + public double getDoubleValue() { + if (valueTypeCase_ == 3) { + return (java.lang.Double) valueType_; + } + return 0D; + } + /** + * + * + *
+     * A double value.
+     * 
+ * + * double double_value = 3; + */ + public Builder setDoubleValue(double value) { + valueTypeCase_ = 3; + valueType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A double value.
+     * 
+ * + * double double_value = 3; + */ + public Builder clearDoubleValue() { + if (valueTypeCase_ == 3) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampValueBuilder_; + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public boolean hasTimestampValue() { + return valueTypeCase_ == 10; + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public com.google.protobuf.Timestamp getTimestampValue() { + if (timestampValueBuilder_ == null) { + if (valueTypeCase_ == 10) { + return (com.google.protobuf.Timestamp) valueType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (valueTypeCase_ == 10) { + return timestampValueBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public Builder setTimestampValue(com.google.protobuf.Timestamp value) { + if (timestampValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + valueType_ = value; + onChanged(); + } else { + timestampValueBuilder_.setMessage(value); + } + valueTypeCase_ = 10; + return this; + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { + if (timestampValueBuilder_ == null) { + valueType_ = builderForValue.build(); + onChanged(); + } else { + timestampValueBuilder_.setMessage(builderForValue.build()); + } + valueTypeCase_ = 10; + return this; + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { + if (timestampValueBuilder_ == null) { + if (valueTypeCase_ == 10 + && valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + valueType_ = + com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_) + .mergeFrom(value) + .buildPartial(); + } else { + valueType_ = value; + } + onChanged(); + } else { + if (valueTypeCase_ == 10) { + timestampValueBuilder_.mergeFrom(value); + } + timestampValueBuilder_.setMessage(value); + } + valueTypeCase_ = 10; + return this; + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public Builder clearTimestampValue() { + if (timestampValueBuilder_ == null) { + if (valueTypeCase_ == 10) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + } else { + if (valueTypeCase_ == 10) { + valueTypeCase_ = 0; + valueType_ = null; + } + timestampValueBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { + return getTimestampValueFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { + if ((valueTypeCase_ == 10) && (timestampValueBuilder_ != null)) { + return timestampValueBuilder_.getMessageOrBuilder(); + } else { + if (valueTypeCase_ == 10) { + return (com.google.protobuf.Timestamp) valueType_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + /** + * + * + *
+     * A timestamp value.
+     * Precise only to microseconds. When stored, any additional precision is
+     * rounded down.
+     * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getTimestampValueFieldBuilder() { + if (timestampValueBuilder_ == null) { + if (!(valueTypeCase_ == 10)) { + valueType_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + timestampValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) valueType_, getParentForChildren(), isClean()); + valueType_ = null; + } + valueTypeCase_ = 10; + onChanged(); + ; + return timestampValueBuilder_; + } + + /** + * + * + *
+     * A string value.
+     * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes of the UTF-8 representation are considered by
+     * queries.
+     * 
+ * + * string string_value = 17; + */ + public java.lang.String getStringValue() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 17) { + ref = valueType_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (valueTypeCase_ == 17) { + valueType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A string value.
+     * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes of the UTF-8 representation are considered by
+     * queries.
+     * 
+ * + * string string_value = 17; + */ + public com.google.protobuf.ByteString getStringValueBytes() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 17) { + ref = valueType_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (valueTypeCase_ == 17) { + valueType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A string value.
+     * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes of the UTF-8 representation are considered by
+     * queries.
+     * 
+ * + * string string_value = 17; + */ + public Builder setStringValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + valueTypeCase_ = 17; + valueType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A string value.
+     * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes of the UTF-8 representation are considered by
+     * queries.
+     * 
+ * + * string string_value = 17; + */ + public Builder clearStringValue() { + if (valueTypeCase_ == 17) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * A string value.
+     * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes of the UTF-8 representation are considered by
+     * queries.
+     * 
+ * + * string string_value = 17; + */ + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + valueTypeCase_ = 17; + valueType_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * A bytes value.
+     * Must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes are considered by queries.
+     * 
+ * + * bytes bytes_value = 18; + */ + public com.google.protobuf.ByteString getBytesValue() { + if (valueTypeCase_ == 18) { + return (com.google.protobuf.ByteString) valueType_; + } + return com.google.protobuf.ByteString.EMPTY; + } + /** + * + * + *
+     * A bytes value.
+     * Must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes are considered by queries.
+     * 
+ * + * bytes bytes_value = 18; + */ + public Builder setBytesValue(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + valueTypeCase_ = 18; + valueType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A bytes value.
+     * Must not exceed 1 MiB - 89 bytes.
+     * Only the first 1,500 bytes are considered by queries.
+     * 
+ * + * bytes bytes_value = 18; + */ + public Builder clearBytesValue() { + if (valueTypeCase_ == 18) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * A reference to a document. For example:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string reference_value = 5; + */ + public java.lang.String getReferenceValue() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 5) { + ref = valueType_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (valueTypeCase_ == 5) { + valueType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A reference to a document. For example:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string reference_value = 5; + */ + public com.google.protobuf.ByteString getReferenceValueBytes() { + java.lang.Object ref = ""; + if (valueTypeCase_ == 5) { + ref = valueType_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (valueTypeCase_ == 5) { + valueType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A reference to a document. For example:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string reference_value = 5; + */ + public Builder setReferenceValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + valueTypeCase_ = 5; + valueType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A reference to a document. For example:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string reference_value = 5; + */ + public Builder clearReferenceValue() { + if (valueTypeCase_ == 5) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * A reference to a document. For example:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string reference_value = 5; + */ + public Builder setReferenceValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + valueTypeCase_ = 5; + valueType_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + geoPointValueBuilder_; + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public boolean hasGeoPointValue() { + return valueTypeCase_ == 8; + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public com.google.type.LatLng getGeoPointValue() { + if (geoPointValueBuilder_ == null) { + if (valueTypeCase_ == 8) { + return (com.google.type.LatLng) valueType_; + } + return com.google.type.LatLng.getDefaultInstance(); + } else { + if (valueTypeCase_ == 8) { + return geoPointValueBuilder_.getMessage(); + } + return com.google.type.LatLng.getDefaultInstance(); + } + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public Builder setGeoPointValue(com.google.type.LatLng value) { + if (geoPointValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + valueType_ = value; + onChanged(); + } else { + geoPointValueBuilder_.setMessage(value); + } + valueTypeCase_ = 8; + return this; + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) { + if (geoPointValueBuilder_ == null) { + valueType_ = builderForValue.build(); + onChanged(); + } else { + geoPointValueBuilder_.setMessage(builderForValue.build()); + } + valueTypeCase_ = 8; + return this; + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public Builder mergeGeoPointValue(com.google.type.LatLng value) { + if (geoPointValueBuilder_ == null) { + if (valueTypeCase_ == 8 && valueType_ != com.google.type.LatLng.getDefaultInstance()) { + valueType_ = + com.google.type.LatLng.newBuilder((com.google.type.LatLng) valueType_) + .mergeFrom(value) + .buildPartial(); + } else { + valueType_ = value; + } + onChanged(); + } else { + if (valueTypeCase_ == 8) { + geoPointValueBuilder_.mergeFrom(value); + } + geoPointValueBuilder_.setMessage(value); + } + valueTypeCase_ = 8; + return this; + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public Builder clearGeoPointValue() { + if (geoPointValueBuilder_ == null) { + if (valueTypeCase_ == 8) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + } else { + if (valueTypeCase_ == 8) { + valueTypeCase_ = 0; + valueType_ = null; + } + geoPointValueBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public com.google.type.LatLng.Builder getGeoPointValueBuilder() { + return getGeoPointValueFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { + if ((valueTypeCase_ == 8) && (geoPointValueBuilder_ != null)) { + return geoPointValueBuilder_.getMessageOrBuilder(); + } else { + if (valueTypeCase_ == 8) { + return (com.google.type.LatLng) valueType_; + } + return com.google.type.LatLng.getDefaultInstance(); + } + } + /** + * + * + *
+     * A geo point value representing a point on the surface of Earth.
+     * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + getGeoPointValueFieldBuilder() { + if (geoPointValueBuilder_ == null) { + if (!(valueTypeCase_ == 8)) { + valueType_ = com.google.type.LatLng.getDefaultInstance(); + } + geoPointValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>( + (com.google.type.LatLng) valueType_, getParentForChildren(), isClean()); + valueType_ = null; + } + valueTypeCase_ = 8; + onChanged(); + ; + return geoPointValueBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + arrayValueBuilder_; + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public boolean hasArrayValue() { + return valueTypeCase_ == 9; + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public com.google.firestore.v1.ArrayValue getArrayValue() { + if (arrayValueBuilder_ == null) { + if (valueTypeCase_ == 9) { + return (com.google.firestore.v1.ArrayValue) valueType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } else { + if (valueTypeCase_ == 9) { + return arrayValueBuilder_.getMessage(); + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) { + if (arrayValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + valueType_ = value; + onChanged(); + } else { + arrayValueBuilder_.setMessage(value); + } + valueTypeCase_ = 9; + return this; + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderForValue) { + if (arrayValueBuilder_ == null) { + valueType_ = builderForValue.build(); + onChanged(); + } else { + arrayValueBuilder_.setMessage(builderForValue.build()); + } + valueTypeCase_ = 9; + return this; + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) { + if (arrayValueBuilder_ == null) { + if (valueTypeCase_ == 9 + && valueType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) { + valueType_ = + com.google.firestore.v1.ArrayValue.newBuilder( + (com.google.firestore.v1.ArrayValue) valueType_) + .mergeFrom(value) + .buildPartial(); + } else { + valueType_ = value; + } + onChanged(); + } else { + if (valueTypeCase_ == 9) { + arrayValueBuilder_.mergeFrom(value); + } + arrayValueBuilder_.setMessage(value); + } + valueTypeCase_ = 9; + return this; + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public Builder clearArrayValue() { + if (arrayValueBuilder_ == null) { + if (valueTypeCase_ == 9) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + } else { + if (valueTypeCase_ == 9) { + valueTypeCase_ = 0; + valueType_ = null; + } + arrayValueBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public com.google.firestore.v1.ArrayValue.Builder getArrayValueBuilder() { + return getArrayValueFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() { + if ((valueTypeCase_ == 9) && (arrayValueBuilder_ != null)) { + return arrayValueBuilder_.getMessageOrBuilder(); + } else { + if (valueTypeCase_ == 9) { + return (com.google.firestore.v1.ArrayValue) valueType_; + } + return com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + } + /** + * + * + *
+     * An array value.
+     * Cannot directly contain another array value, though can contain an
+     * map which contains another array.
+     * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + getArrayValueFieldBuilder() { + if (arrayValueBuilder_ == null) { + if (!(valueTypeCase_ == 9)) { + valueType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance(); + } + arrayValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder>( + (com.google.firestore.v1.ArrayValue) valueType_, getParentForChildren(), isClean()); + valueType_ = null; + } + valueTypeCase_ = 9; + onChanged(); + ; + return arrayValueBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.MapValue, + com.google.firestore.v1.MapValue.Builder, + com.google.firestore.v1.MapValueOrBuilder> + mapValueBuilder_; + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public boolean hasMapValue() { + return valueTypeCase_ == 6; + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public com.google.firestore.v1.MapValue getMapValue() { + if (mapValueBuilder_ == null) { + if (valueTypeCase_ == 6) { + return (com.google.firestore.v1.MapValue) valueType_; + } + return com.google.firestore.v1.MapValue.getDefaultInstance(); + } else { + if (valueTypeCase_ == 6) { + return mapValueBuilder_.getMessage(); + } + return com.google.firestore.v1.MapValue.getDefaultInstance(); + } + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public Builder setMapValue(com.google.firestore.v1.MapValue value) { + if (mapValueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + valueType_ = value; + onChanged(); + } else { + mapValueBuilder_.setMessage(value); + } + valueTypeCase_ = 6; + return this; + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForValue) { + if (mapValueBuilder_ == null) { + valueType_ = builderForValue.build(); + onChanged(); + } else { + mapValueBuilder_.setMessage(builderForValue.build()); + } + valueTypeCase_ = 6; + return this; + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { + if (mapValueBuilder_ == null) { + if (valueTypeCase_ == 6 + && valueType_ != com.google.firestore.v1.MapValue.getDefaultInstance()) { + valueType_ = + com.google.firestore.v1.MapValue.newBuilder( + (com.google.firestore.v1.MapValue) valueType_) + .mergeFrom(value) + .buildPartial(); + } else { + valueType_ = value; + } + onChanged(); + } else { + if (valueTypeCase_ == 6) { + mapValueBuilder_.mergeFrom(value); + } + mapValueBuilder_.setMessage(value); + } + valueTypeCase_ = 6; + return this; + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public Builder clearMapValue() { + if (mapValueBuilder_ == null) { + if (valueTypeCase_ == 6) { + valueTypeCase_ = 0; + valueType_ = null; + onChanged(); + } + } else { + if (valueTypeCase_ == 6) { + valueTypeCase_ = 0; + valueType_ = null; + } + mapValueBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public com.google.firestore.v1.MapValue.Builder getMapValueBuilder() { + return getMapValueFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { + if ((valueTypeCase_ == 6) && (mapValueBuilder_ != null)) { + return mapValueBuilder_.getMessageOrBuilder(); + } else { + if (valueTypeCase_ == 6) { + return (com.google.firestore.v1.MapValue) valueType_; + } + return com.google.firestore.v1.MapValue.getDefaultInstance(); + } + } + /** + * + * + *
+     * A map value.
+     * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.MapValue, + com.google.firestore.v1.MapValue.Builder, + com.google.firestore.v1.MapValueOrBuilder> + getMapValueFieldBuilder() { + if (mapValueBuilder_ == null) { + if (!(valueTypeCase_ == 6)) { + valueType_ = com.google.firestore.v1.MapValue.getDefaultInstance(); + } + mapValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.MapValue, + com.google.firestore.v1.MapValue.Builder, + com.google.firestore.v1.MapValueOrBuilder>( + (com.google.firestore.v1.MapValue) valueType_, getParentForChildren(), isClean()); + valueType_ = null; + } + valueTypeCase_ = 6; + onChanged(); + ; + return mapValueBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Value) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Value) + private static final com.google.firestore.v1.Value DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Value(); + } + + public static com.google.firestore.v1.Value getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Value(input, extensionRegistry); + } + }; + + 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.firestore.v1.Value getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java new file mode 100644 index 000000000000..73ec20e7557b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java @@ -0,0 +1,265 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/document.proto + +package com.google.firestore.v1; + +public interface ValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Value) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A null value.
+   * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + int getNullValueValue(); + /** + * + * + *
+   * A null value.
+   * 
+ * + * .google.protobuf.NullValue null_value = 11; + */ + com.google.protobuf.NullValue getNullValue(); + + /** + * + * + *
+   * A boolean value.
+   * 
+ * + * bool boolean_value = 1; + */ + boolean getBooleanValue(); + + /** + * + * + *
+   * An integer value.
+   * 
+ * + * int64 integer_value = 2; + */ + long getIntegerValue(); + + /** + * + * + *
+   * A double value.
+   * 
+ * + * double double_value = 3; + */ + double getDoubleValue(); + + /** + * + * + *
+   * A timestamp value.
+   * Precise only to microseconds. When stored, any additional precision is
+   * rounded down.
+   * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + boolean hasTimestampValue(); + /** + * + * + *
+   * A timestamp value.
+   * Precise only to microseconds. When stored, any additional precision is
+   * rounded down.
+   * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + com.google.protobuf.Timestamp getTimestampValue(); + /** + * + * + *
+   * A timestamp value.
+   * Precise only to microseconds. When stored, any additional precision is
+   * rounded down.
+   * 
+ * + * .google.protobuf.Timestamp timestamp_value = 10; + */ + com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); + + /** + * + * + *
+   * A string value.
+   * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+   * Only the first 1,500 bytes of the UTF-8 representation are considered by
+   * queries.
+   * 
+ * + * string string_value = 17; + */ + java.lang.String getStringValue(); + /** + * + * + *
+   * A string value.
+   * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
+   * Only the first 1,500 bytes of the UTF-8 representation are considered by
+   * queries.
+   * 
+ * + * string string_value = 17; + */ + com.google.protobuf.ByteString getStringValueBytes(); + + /** + * + * + *
+   * A bytes value.
+   * Must not exceed 1 MiB - 89 bytes.
+   * Only the first 1,500 bytes are considered by queries.
+   * 
+ * + * bytes bytes_value = 18; + */ + com.google.protobuf.ByteString getBytesValue(); + + /** + * + * + *
+   * A reference to a document. For example:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string reference_value = 5; + */ + java.lang.String getReferenceValue(); + /** + * + * + *
+   * A reference to a document. For example:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string reference_value = 5; + */ + com.google.protobuf.ByteString getReferenceValueBytes(); + + /** + * + * + *
+   * A geo point value representing a point on the surface of Earth.
+   * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + boolean hasGeoPointValue(); + /** + * + * + *
+   * A geo point value representing a point on the surface of Earth.
+   * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + com.google.type.LatLng getGeoPointValue(); + /** + * + * + *
+   * A geo point value representing a point on the surface of Earth.
+   * 
+ * + * .google.type.LatLng geo_point_value = 8; + */ + com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); + + /** + * + * + *
+   * An array value.
+   * Cannot directly contain another array value, though can contain an
+   * map which contains another array.
+   * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + boolean hasArrayValue(); + /** + * + * + *
+   * An array value.
+   * Cannot directly contain another array value, though can contain an
+   * map which contains another array.
+   * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + com.google.firestore.v1.ArrayValue getArrayValue(); + /** + * + * + *
+   * An array value.
+   * Cannot directly contain another array value, though can contain an
+   * map which contains another array.
+   * 
+ * + * .google.firestore.v1.ArrayValue array_value = 9; + */ + com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder(); + + /** + * + * + *
+   * A map value.
+   * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + boolean hasMapValue(); + /** + * + * + *
+   * A map value.
+   * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + com.google.firestore.v1.MapValue getMapValue(); + /** + * + * + *
+   * A map value.
+   * 
+ * + * .google.firestore.v1.MapValue map_value = 6; + */ + com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder(); + + public com.google.firestore.v1.Value.ValueTypeCase getValueTypeCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java new file mode 100644 index 000000000000..80ab262603b2 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java @@ -0,0 +1,1949 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * A write on a document.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.Write} + */ +public final class Write extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.Write) + WriteOrBuilder { + private static final long serialVersionUID = 0L; + // Use Write.newBuilder() to construct. + private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Write() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Write( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.firestore.v1.Document.Builder subBuilder = null; + if (operationCase_ == 1) { + subBuilder = ((com.google.firestore.v1.Document) operation_).toBuilder(); + } + operation_ = + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.Document) operation_); + operation_ = subBuilder.buildPartial(); + } + operationCase_ = 1; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + operationCase_ = 2; + operation_ = s; + break; + } + case 26: + { + com.google.firestore.v1.DocumentMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage( + com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + com.google.firestore.v1.Precondition.Builder subBuilder = null; + if (currentDocument_ != null) { + subBuilder = currentDocument_.toBuilder(); + } + currentDocument_ = + input.readMessage( + com.google.firestore.v1.Precondition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentDocument_); + currentDocument_ = subBuilder.buildPartial(); + } + + break; + } + case 50: + { + com.google.firestore.v1.DocumentTransform.Builder subBuilder = null; + if (operationCase_ == 6) { + subBuilder = ((com.google.firestore.v1.DocumentTransform) operation_).toBuilder(); + } + operation_ = + input.readMessage( + com.google.firestore.v1.DocumentTransform.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1.DocumentTransform) operation_); + operation_ = subBuilder.buildPartial(); + } + operationCase_ = 6; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); + } + + private int operationCase_ = 0; + private java.lang.Object operation_; + + public enum OperationCase implements com.google.protobuf.Internal.EnumLite { + UPDATE(1), + DELETE(2), + TRANSFORM(6), + OPERATION_NOT_SET(0); + private final int value; + + private OperationCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static OperationCase valueOf(int value) { + return forNumber(value); + } + + public static OperationCase forNumber(int value) { + switch (value) { + case 1: + return UPDATE; + case 2: + return DELETE; + case 6: + return TRANSFORM; + case 0: + return OPERATION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public OperationCase getOperationCase() { + return OperationCase.forNumber(operationCase_); + } + + public static final int UPDATE_FIELD_NUMBER = 1; + /** + * + * + *
+   * A document to write.
+   * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public boolean hasUpdate() { + return operationCase_ == 1; + } + /** + * + * + *
+   * A document to write.
+   * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public com.google.firestore.v1.Document getUpdate() { + if (operationCase_ == 1) { + return (com.google.firestore.v1.Document) operation_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + /** + * + * + *
+   * A document to write.
+   * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { + if (operationCase_ == 1) { + return (com.google.firestore.v1.Document) operation_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + + public static final int DELETE_FIELD_NUMBER = 2; + /** + * + * + *
+   * A document name to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string delete = 2; + */ + public java.lang.String getDelete() { + java.lang.Object ref = ""; + if (operationCase_ == 2) { + ref = operation_; + } + 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 (operationCase_ == 2) { + operation_ = s; + } + return s; + } + } + /** + * + * + *
+   * A document name to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string delete = 2; + */ + public com.google.protobuf.ByteString getDeleteBytes() { + java.lang.Object ref = ""; + if (operationCase_ == 2) { + ref = operation_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (operationCase_ == 2) { + operation_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSFORM_FIELD_NUMBER = 6; + /** + * + * + *
+   * Applies a tranformation to a document.
+   * At most one `transform` per document is allowed in a given request.
+   * An `update` cannot follow a `transform` on the same document in a given
+   * request.
+   * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public boolean hasTransform() { + return operationCase_ == 6; + } + /** + * + * + *
+   * Applies a tranformation to a document.
+   * At most one `transform` per document is allowed in a given request.
+   * An `update` cannot follow a `transform` on the same document in a given
+   * request.
+   * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public com.google.firestore.v1.DocumentTransform getTransform() { + if (operationCase_ == 6) { + return (com.google.firestore.v1.DocumentTransform) operation_; + } + return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); + } + /** + * + * + *
+   * Applies a tranformation to a document.
+   * At most one `transform` per document is allowed in a given request.
+   * An `update` cannot follow a `transform` on the same document in a given
+   * request.
+   * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder() { + if (operationCase_ == 6) { + return (com.google.firestore.v1.DocumentTransform) operation_; + } + return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 3; + private com.google.firestore.v1.DocumentMask updateMask_; + /** + * + * + *
+   * The fields to update in this write.
+   * This field can be set only when the operation is `update`.
+   * If the mask is not set for an `update` and the document exists, any
+   * existing data will be overwritten.
+   * If the mask is set and the document on the server has fields not covered by
+   * the mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * The field paths in this mask must not contain a reserved field name.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + * + * + *
+   * The fields to update in this write.
+   * This field can be set only when the operation is `update`.
+   * If the mask is not set for an `update` and the document exists, any
+   * existing data will be overwritten.
+   * If the mask is set and the document on the server has fields not covered by
+   * the mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * The field paths in this mask must not contain a reserved field name.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public com.google.firestore.v1.DocumentMask getUpdateMask() { + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; + } + /** + * + * + *
+   * The fields to update in this write.
+   * This field can be set only when the operation is `update`.
+   * If the mask is not set for an `update` and the document exists, any
+   * existing data will be overwritten.
+   * If the mask is set and the document on the server has fields not covered by
+   * the mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * The field paths in this mask must not contain a reserved field name.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() { + return getUpdateMask(); + } + + public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4; + private com.google.firestore.v1.Precondition currentDocument_; + /** + * + * + *
+   * An optional precondition on the document.
+   * The write will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public boolean hasCurrentDocument() { + return currentDocument_ != null; + } + /** + * + * + *
+   * An optional precondition on the document.
+   * The write will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.Precondition getCurrentDocument() { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } + /** + * + * + *
+   * An optional precondition on the document.
+   * The write will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() { + return getCurrentDocument(); + } + + 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 (operationCase_ == 1) { + output.writeMessage(1, (com.google.firestore.v1.Document) operation_); + } + if (operationCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operation_); + } + if (updateMask_ != null) { + output.writeMessage(3, getUpdateMask()); + } + if (currentDocument_ != null) { + output.writeMessage(4, getCurrentDocument()); + } + if (operationCase_ == 6) { + output.writeMessage(6, (com.google.firestore.v1.DocumentTransform) operation_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (operationCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.firestore.v1.Document) operation_); + } + if (operationCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); + } + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + } + if (currentDocument_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentDocument()); + } + if (operationCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.firestore.v1.DocumentTransform) operation_); + } + size += unknownFields.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.firestore.v1.Write)) { + return super.equals(obj); + } + com.google.firestore.v1.Write other = (com.google.firestore.v1.Write) obj; + + boolean result = true; + result = result && (hasUpdateMask() == other.hasUpdateMask()); + if (hasUpdateMask()) { + result = result && getUpdateMask().equals(other.getUpdateMask()); + } + result = result && (hasCurrentDocument() == other.hasCurrentDocument()); + if (hasCurrentDocument()) { + result = result && getCurrentDocument().equals(other.getCurrentDocument()); + } + result = result && getOperationCase().equals(other.getOperationCase()); + if (!result) return false; + switch (operationCase_) { + case 1: + result = result && getUpdate().equals(other.getUpdate()); + break; + case 2: + result = result && getDelete().equals(other.getDelete()); + break; + case 6: + result = result && getTransform().equals(other.getTransform()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + if (hasCurrentDocument()) { + hash = (37 * hash) + CURRENT_DOCUMENT_FIELD_NUMBER; + hash = (53 * hash) + getCurrentDocument().hashCode(); + } + switch (operationCase_) { + case 1: + hash = (37 * hash) + UPDATE_FIELD_NUMBER; + hash = (53 * hash) + getUpdate().hashCode(); + break; + case 2: + hash = (37 * hash) + DELETE_FIELD_NUMBER; + hash = (53 * hash) + getDelete().hashCode(); + break; + case 6: + hash = (37 * hash) + TRANSFORM_FIELD_NUMBER; + hash = (53 * hash) + getTransform().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.Write parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Write parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Write parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Write 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.firestore.v1.Write parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.Write parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.Write parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Write 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.firestore.v1.Write parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Write 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.firestore.v1.Write parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.Write 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.firestore.v1.Write prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A write on a document.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.Write} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.Write) + com.google.firestore.v1.WriteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); + } + + // Construct using com.google.firestore.v1.Write.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (updateMaskBuilder_ == null) { + updateMask_ = null; + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + if (currentDocumentBuilder_ == null) { + currentDocument_ = null; + } else { + currentDocument_ = null; + currentDocumentBuilder_ = null; + } + operationCase_ = 0; + operation_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.Write getDefaultInstanceForType() { + return com.google.firestore.v1.Write.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.Write build() { + com.google.firestore.v1.Write result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.Write buildPartial() { + com.google.firestore.v1.Write result = new com.google.firestore.v1.Write(this); + if (operationCase_ == 1) { + if (updateBuilder_ == null) { + result.operation_ = operation_; + } else { + result.operation_ = updateBuilder_.build(); + } + } + if (operationCase_ == 2) { + result.operation_ = operation_; + } + if (operationCase_ == 6) { + if (transformBuilder_ == null) { + result.operation_ = operation_; + } else { + result.operation_ = transformBuilder_.build(); + } + } + if (updateMaskBuilder_ == null) { + result.updateMask_ = updateMask_; + } else { + result.updateMask_ = updateMaskBuilder_.build(); + } + if (currentDocumentBuilder_ == null) { + result.currentDocument_ = currentDocument_; + } else { + result.currentDocument_ = currentDocumentBuilder_.build(); + } + result.operationCase_ = operationCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.Write) { + return mergeFrom((com.google.firestore.v1.Write) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.Write other) { + if (other == com.google.firestore.v1.Write.getDefaultInstance()) return this; + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + if (other.hasCurrentDocument()) { + mergeCurrentDocument(other.getCurrentDocument()); + } + switch (other.getOperationCase()) { + case UPDATE: + { + mergeUpdate(other.getUpdate()); + break; + } + case DELETE: + { + operationCase_ = 2; + operation_ = other.operation_; + onChanged(); + break; + } + case TRANSFORM: + { + mergeTransform(other.getTransform()); + break; + } + case OPERATION_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.Write parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.Write) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int operationCase_ = 0; + private java.lang.Object operation_; + + public OperationCase getOperationCase() { + return OperationCase.forNumber(operationCase_); + } + + public Builder clearOperation() { + operationCase_ = 0; + operation_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + updateBuilder_; + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public boolean hasUpdate() { + return operationCase_ == 1; + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public com.google.firestore.v1.Document getUpdate() { + if (updateBuilder_ == null) { + if (operationCase_ == 1) { + return (com.google.firestore.v1.Document) operation_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } else { + if (operationCase_ == 1) { + return updateBuilder_.getMessage(); + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public Builder setUpdate(com.google.firestore.v1.Document value) { + if (updateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + operation_ = value; + onChanged(); + } else { + updateBuilder_.setMessage(value); + } + operationCase_ = 1; + return this; + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValue) { + if (updateBuilder_ == null) { + operation_ = builderForValue.build(); + onChanged(); + } else { + updateBuilder_.setMessage(builderForValue.build()); + } + operationCase_ = 1; + return this; + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public Builder mergeUpdate(com.google.firestore.v1.Document value) { + if (updateBuilder_ == null) { + if (operationCase_ == 1 + && operation_ != com.google.firestore.v1.Document.getDefaultInstance()) { + operation_ = + com.google.firestore.v1.Document.newBuilder( + (com.google.firestore.v1.Document) operation_) + .mergeFrom(value) + .buildPartial(); + } else { + operation_ = value; + } + onChanged(); + } else { + if (operationCase_ == 1) { + updateBuilder_.mergeFrom(value); + } + updateBuilder_.setMessage(value); + } + operationCase_ = 1; + return this; + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public Builder clearUpdate() { + if (updateBuilder_ == null) { + if (operationCase_ == 1) { + operationCase_ = 0; + operation_ = null; + onChanged(); + } + } else { + if (operationCase_ == 1) { + operationCase_ = 0; + operation_ = null; + } + updateBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public com.google.firestore.v1.Document.Builder getUpdateBuilder() { + return getUpdateFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { + if ((operationCase_ == 1) && (updateBuilder_ != null)) { + return updateBuilder_.getMessageOrBuilder(); + } else { + if (operationCase_ == 1) { + return (com.google.firestore.v1.Document) operation_; + } + return com.google.firestore.v1.Document.getDefaultInstance(); + } + } + /** + * + * + *
+     * A document to write.
+     * 
+ * + * .google.firestore.v1.Document update = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + getUpdateFieldBuilder() { + if (updateBuilder_ == null) { + if (!(operationCase_ == 1)) { + operation_ = com.google.firestore.v1.Document.getDefaultInstance(); + } + updateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + (com.google.firestore.v1.Document) operation_, getParentForChildren(), isClean()); + operation_ = null; + } + operationCase_ = 1; + onChanged(); + ; + return updateBuilder_; + } + + /** + * + * + *
+     * A document name to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string delete = 2; + */ + public java.lang.String getDelete() { + java.lang.Object ref = ""; + if (operationCase_ == 2) { + ref = operation_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (operationCase_ == 2) { + operation_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A document name to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string delete = 2; + */ + public com.google.protobuf.ByteString getDeleteBytes() { + java.lang.Object ref = ""; + if (operationCase_ == 2) { + ref = operation_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (operationCase_ == 2) { + operation_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A document name to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string delete = 2; + */ + public Builder setDelete(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + operationCase_ = 2; + operation_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A document name to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string delete = 2; + */ + public Builder clearDelete() { + if (operationCase_ == 2) { + operationCase_ = 0; + operation_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * A document name to delete. In the format:
+     * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+     * 
+ * + * string delete = 2; + */ + public Builder setDeleteBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationCase_ = 2; + operation_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentTransform, + com.google.firestore.v1.DocumentTransform.Builder, + com.google.firestore.v1.DocumentTransformOrBuilder> + transformBuilder_; + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public boolean hasTransform() { + return operationCase_ == 6; + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public com.google.firestore.v1.DocumentTransform getTransform() { + if (transformBuilder_ == null) { + if (operationCase_ == 6) { + return (com.google.firestore.v1.DocumentTransform) operation_; + } + return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); + } else { + if (operationCase_ == 6) { + return transformBuilder_.getMessage(); + } + return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); + } + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public Builder setTransform(com.google.firestore.v1.DocumentTransform value) { + if (transformBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + operation_ = value; + onChanged(); + } else { + transformBuilder_.setMessage(value); + } + operationCase_ = 6; + return this; + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder builderForValue) { + if (transformBuilder_ == null) { + operation_ = builderForValue.build(); + onChanged(); + } else { + transformBuilder_.setMessage(builderForValue.build()); + } + operationCase_ = 6; + return this; + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { + if (transformBuilder_ == null) { + if (operationCase_ == 6 + && operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { + operation_ = + com.google.firestore.v1.DocumentTransform.newBuilder( + (com.google.firestore.v1.DocumentTransform) operation_) + .mergeFrom(value) + .buildPartial(); + } else { + operation_ = value; + } + onChanged(); + } else { + if (operationCase_ == 6) { + transformBuilder_.mergeFrom(value); + } + transformBuilder_.setMessage(value); + } + operationCase_ = 6; + return this; + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public Builder clearTransform() { + if (transformBuilder_ == null) { + if (operationCase_ == 6) { + operationCase_ = 0; + operation_ = null; + onChanged(); + } + } else { + if (operationCase_ == 6) { + operationCase_ = 0; + operation_ = null; + } + transformBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public com.google.firestore.v1.DocumentTransform.Builder getTransformBuilder() { + return getTransformFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder() { + if ((operationCase_ == 6) && (transformBuilder_ != null)) { + return transformBuilder_.getMessageOrBuilder(); + } else { + if (operationCase_ == 6) { + return (com.google.firestore.v1.DocumentTransform) operation_; + } + return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); + } + } + /** + * + * + *
+     * Applies a tranformation to a document.
+     * At most one `transform` per document is allowed in a given request.
+     * An `update` cannot follow a `transform` on the same document in a given
+     * request.
+     * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentTransform, + com.google.firestore.v1.DocumentTransform.Builder, + com.google.firestore.v1.DocumentTransformOrBuilder> + getTransformFieldBuilder() { + if (transformBuilder_ == null) { + if (!(operationCase_ == 6)) { + operation_ = com.google.firestore.v1.DocumentTransform.getDefaultInstance(); + } + transformBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentTransform, + com.google.firestore.v1.DocumentTransform.Builder, + com.google.firestore.v1.DocumentTransformOrBuilder>( + (com.google.firestore.v1.DocumentTransform) operation_, + getParentForChildren(), + isClean()); + operation_ = null; + } + operationCase_ = 6; + onChanged(); + ; + return transformBuilder_; + } + + private com.google.firestore.v1.DocumentMask updateMask_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + updateMaskBuilder_; + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public boolean hasUpdateMask() { + return updateMaskBuilder_ != null || updateMask_ != null; + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public com.google.firestore.v1.DocumentMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + onChanged(); + } else { + updateMaskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + onChanged(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) { + if (updateMaskBuilder_ == null) { + if (updateMask_ != null) { + updateMask_ = + com.google.firestore.v1.DocumentMask.newBuilder(updateMask_) + .mergeFrom(value) + .buildPartial(); + } else { + updateMask_ = value; + } + onChanged(); + } else { + updateMaskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public Builder clearUpdateMask() { + if (updateMaskBuilder_ == null) { + updateMask_ = null; + onChanged(); + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() { + + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; + } + } + /** + * + * + *
+     * The fields to update in this write.
+     * This field can be set only when the operation is `update`.
+     * If the mask is not set for an `update` and the document exists, any
+     * existing data will be overwritten.
+     * If the mask is set and the document on the server has fields not covered by
+     * the mask, they are left unchanged.
+     * Fields referenced in the mask, but not present in the input document, are
+     * deleted from the document on the server.
+     * The field paths in this mask must not contain a reserved field name.
+     * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + private com.google.firestore.v1.Precondition currentDocument_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + currentDocumentBuilder_; + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public boolean hasCurrentDocument() { + return currentDocumentBuilder_ != null || currentDocument_ != null; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.Precondition getCurrentDocument() { + if (currentDocumentBuilder_ == null) { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } else { + return currentDocumentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) { + if (currentDocumentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + currentDocument_ = value; + onChanged(); + } else { + currentDocumentBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder setCurrentDocument( + com.google.firestore.v1.Precondition.Builder builderForValue) { + if (currentDocumentBuilder_ == null) { + currentDocument_ = builderForValue.build(); + onChanged(); + } else { + currentDocumentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) { + if (currentDocumentBuilder_ == null) { + if (currentDocument_ != null) { + currentDocument_ = + com.google.firestore.v1.Precondition.newBuilder(currentDocument_) + .mergeFrom(value) + .buildPartial(); + } else { + currentDocument_ = value; + } + onChanged(); + } else { + currentDocumentBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public Builder clearCurrentDocument() { + if (currentDocumentBuilder_ == null) { + currentDocument_ = null; + onChanged(); + } else { + currentDocument_ = null; + currentDocumentBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() { + + onChanged(); + return getCurrentDocumentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() { + if (currentDocumentBuilder_ != null) { + return currentDocumentBuilder_.getMessageOrBuilder(); + } else { + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; + } + } + /** + * + * + *
+     * An optional precondition on the document.
+     * The write will fail if this is set and not met by the target document.
+     * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + getCurrentDocumentFieldBuilder() { + if (currentDocumentBuilder_ == null) { + currentDocumentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder>( + getCurrentDocument(), getParentForChildren(), isClean()); + currentDocument_ = null; + } + return currentDocumentBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Write) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.Write) + private static final com.google.firestore.v1.Write DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.Write(); + } + + public static com.google.firestore.v1.Write getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Write parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Write(input, extensionRegistry); + } + }; + + 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.firestore.v1.Write getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java new file mode 100644 index 000000000000..fc57ec54ce70 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java @@ -0,0 +1,195 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public interface WriteOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.Write) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A document to write.
+   * 
+ * + * .google.firestore.v1.Document update = 1; + */ + boolean hasUpdate(); + /** + * + * + *
+   * A document to write.
+   * 
+ * + * .google.firestore.v1.Document update = 1; + */ + com.google.firestore.v1.Document getUpdate(); + /** + * + * + *
+   * A document to write.
+   * 
+ * + * .google.firestore.v1.Document update = 1; + */ + com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder(); + + /** + * + * + *
+   * A document name to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string delete = 2; + */ + java.lang.String getDelete(); + /** + * + * + *
+   * A document name to delete. In the format:
+   * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+   * 
+ * + * string delete = 2; + */ + com.google.protobuf.ByteString getDeleteBytes(); + + /** + * + * + *
+   * Applies a tranformation to a document.
+   * At most one `transform` per document is allowed in a given request.
+   * An `update` cannot follow a `transform` on the same document in a given
+   * request.
+   * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + boolean hasTransform(); + /** + * + * + *
+   * Applies a tranformation to a document.
+   * At most one `transform` per document is allowed in a given request.
+   * An `update` cannot follow a `transform` on the same document in a given
+   * request.
+   * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + com.google.firestore.v1.DocumentTransform getTransform(); + /** + * + * + *
+   * Applies a tranformation to a document.
+   * At most one `transform` per document is allowed in a given request.
+   * An `update` cannot follow a `transform` on the same document in a given
+   * request.
+   * 
+ * + * .google.firestore.v1.DocumentTransform transform = 6; + */ + com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(); + + /** + * + * + *
+   * The fields to update in this write.
+   * This field can be set only when the operation is `update`.
+   * If the mask is not set for an `update` and the document exists, any
+   * existing data will be overwritten.
+   * If the mask is set and the document on the server has fields not covered by
+   * the mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * The field paths in this mask must not contain a reserved field name.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * The fields to update in this write.
+   * This field can be set only when the operation is `update`.
+   * If the mask is not set for an `update` and the document exists, any
+   * existing data will be overwritten.
+   * If the mask is set and the document on the server has fields not covered by
+   * the mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * The field paths in this mask must not contain a reserved field name.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + com.google.firestore.v1.DocumentMask getUpdateMask(); + /** + * + * + *
+   * The fields to update in this write.
+   * This field can be set only when the operation is `update`.
+   * If the mask is not set for an `update` and the document exists, any
+   * existing data will be overwritten.
+   * If the mask is set and the document on the server has fields not covered by
+   * the mask, they are left unchanged.
+   * Fields referenced in the mask, but not present in the input document, are
+   * deleted from the document on the server.
+   * The field paths in this mask must not contain a reserved field name.
+   * 
+ * + * .google.firestore.v1.DocumentMask update_mask = 3; + */ + com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder(); + + /** + * + * + *
+   * An optional precondition on the document.
+   * The write will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + boolean hasCurrentDocument(); + /** + * + * + *
+   * An optional precondition on the document.
+   * The write will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + com.google.firestore.v1.Precondition getCurrentDocument(); + /** + * + * + *
+   * An optional precondition on the document.
+   * The write will fail if this is set and not met by the target document.
+   * 
+ * + * .google.firestore.v1.Precondition current_document = 4; + */ + com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder(); + + public com.google.firestore.v1.Write.OperationCase getOperationCase(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java new file mode 100644 index 000000000000..c4a49ca91042 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java @@ -0,0 +1,195 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public final class WriteProto { + private WriteProto() {} + + 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_firestore_v1_Write_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Write_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DocumentTransform_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DocumentChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DocumentDelete_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DocumentRemove_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ExistenceFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ExistenceFilter_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\037google/firestore/v1/write.proto\022\023googl" + + "e.firestore.v1\032\034google/api/annotations.p" + + "roto\032 google/firestore/v1/common.proto\032\"" + + "google/firestore/v1/document.proto\032\037goog" + + "le/protobuf/timestamp.proto\"\211\002\n\005Write\022/\n" + + "\006update\030\001 \001(\0132\035.google.firestore.v1.Docu" + + "mentH\000\022\020\n\006delete\030\002 \001(\tH\000\022;\n\ttransform\030\006 " + + "\001(\0132&.google.firestore.v1.DocumentTransf" + + "ormH\000\0226\n\013update_mask\030\003 \001(\0132!.google.fire" + + "store.v1.DocumentMask\022;\n\020current_documen" + + "t\030\004 \001(\0132!.google.firestore.v1.Preconditi" + + "onB\013\n\toperation\"\345\004\n\021DocumentTransform\022\020\n" + + "\010document\030\001 \001(\t\022O\n\020field_transforms\030\002 \003(" + + "\01325.google.firestore.v1.DocumentTransfor" + + "m.FieldTransform\032\354\003\n\016FieldTransform\022\022\n\nf" + + "ield_path\030\001 \001(\t\022`\n\023set_to_server_value\030\002" + + " \001(\0162A.google.firestore.v1.DocumentTrans" + + "form.FieldTransform.ServerValueH\000\022/\n\tinc" + + "rement\030\003 \001(\0132\032.google.firestore.v1.Value" + + "H\000\022-\n\007maximum\030\004 \001(\0132\032.google.firestore.v" + + "1.ValueH\000\022-\n\007minimum\030\005 \001(\0132\032.google.fire" + + "store.v1.ValueH\000\022B\n\027append_missing_eleme" + + "nts\030\006 \001(\0132\037.google.firestore.v1.ArrayVal" + + "ueH\000\022@\n\025remove_all_from_array\030\007 \001(\0132\037.go" + + "ogle.firestore.v1.ArrayValueH\000\"=\n\013Server" + + "Value\022\034\n\030SERVER_VALUE_UNSPECIFIED\020\000\022\020\n\014R" + + "EQUEST_TIME\020\001B\020\n\016transform_type\"u\n\013Write" + + "Result\022/\n\013update_time\030\001 \001(\0132\032.google.pro" + + "tobuf.Timestamp\0225\n\021transform_results\030\002 \003" + + "(\0132\032.google.firestore.v1.Value\"q\n\016Docume" + + "ntChange\022/\n\010document\030\001 \001(\0132\035.google.fire" + + "store.v1.Document\022\022\n\ntarget_ids\030\005 \003(\005\022\032\n" + + "\022removed_target_ids\030\006 \003(\005\"m\n\016DocumentDel" + + "ete\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_target_" + + "ids\030\006 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.google.pr" + + "otobuf.Timestamp\"m\n\016DocumentRemove\022\020\n\010do" + + "cument\030\001 \001(\t\022\032\n\022removed_target_ids\030\002 \003(\005" + + "\022-\n\tread_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestamp\"3\n\017ExistenceFilter\022\021\n\ttarget_id\030" + + "\001 \001(\005\022\r\n\005count\030\002 \001(\005B\244\001\n\027com.google.fire" + + "store.v1B\nWriteProtoP\001Z + * The request for [Firestore.Write][google.firestore.v1.Firestore.Write]. + * The first request creates a stream, or resumes an existing one from a token. + * When creating a new stream, the server replies with a response containing + * only an ID and a token, to use in the next request. + * When resuming a stream, the server first streams any responses later than the + * given token, then a response containing only an up-to-date token, to use in + * the next request. + *
+ * + * Protobuf type {@code google.firestore.v1.WriteRequest} + */ +public final class WriteRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteRequest) + WriteRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteRequest.newBuilder() to construct. + private WriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WriteRequest() { + database_ = ""; + streamId_ = ""; + writes_ = java.util.Collections.emptyList(); + streamToken_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + database_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + streamId_ = s; + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + writes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + writes_.add( + input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry)); + break; + } + case 34: + { + streamToken_ = input.readBytes(); + break; + } + case 42: + { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000010; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + writes_ = java.util.Collections.unmodifiableList(writes_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 5: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.WriteRequest.class, + com.google.firestore.v1.WriteRequest.Builder.class); + } + + private int bitField0_; + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * This is only required in the first message.
+   * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + 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(); + database_ = s; + return s; + } + } + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * This is only required in the first message.
+   * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STREAM_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object streamId_; + /** + * + * + *
+   * The ID of the write stream to resume.
+   * This may only be set in the first message. When left empty, a new write
+   * stream will be created.
+   * 
+ * + * string stream_id = 2; + */ + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + 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(); + streamId_ = s; + return s; + } + } + /** + * + * + *
+   * The ID of the write stream to resume.
+   * This may only be set in the first message. When left empty, a new write
+   * stream will be created.
+   * 
+ * + * string stream_id = 2; + */ + public com.google.protobuf.ByteString getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WRITES_FIELD_NUMBER = 3; + private java.util.List writes_; + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public java.util.List getWritesList() { + return writes_; + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public java.util.List getWritesOrBuilderList() { + return writes_; + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public int getWritesCount() { + return writes_.size(); + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public com.google.firestore.v1.Write getWrites(int index) { + return writes_.get(index); + } + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) { + return writes_.get(index); + } + + public static final int STREAM_TOKEN_FIELD_NUMBER = 4; + private com.google.protobuf.ByteString streamToken_; + /** + * + * + *
+   * A stream token that was previously sent by the server.
+   * The client should set this field to the token from the most recent
+   * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has
+   * received responses up to this token. After sending this token, earlier
+   * tokens may not be used anymore.
+   * The server may close the stream if there are too many unacknowledged
+   * responses.
+   * Leave this field unset when creating a new stream. To resume a stream at
+   * a specific point, set this field and the `stream_id` field.
+   * Leave this field unset when creating a new stream.
+   * 
+ * + * bytes stream_token = 4; + */ + public com.google.protobuf.ByteString getStreamToken() { + return streamToken_; + } + + public static final int LABELS_FIELD_NUMBER = 5; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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(); + } + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getDatabaseBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + if (!getStreamIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, streamId_); + } + for (int i = 0; i < writes_.size(); i++) { + output.writeMessage(3, writes_.get(i)); + } + if (!streamToken_.isEmpty()) { + output.writeBytes(4, streamToken_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDatabaseBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + if (!getStreamIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamId_); + } + for (int i = 0; i < writes_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, writes_.get(i)); + } + if (!streamToken_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, streamToken_); + } + 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(5, labels__); + } + size += unknownFields.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.firestore.v1.WriteRequest)) { + return super.equals(obj); + } + com.google.firestore.v1.WriteRequest other = (com.google.firestore.v1.WriteRequest) obj; + + boolean result = true; + result = result && getDatabase().equals(other.getDatabase()); + result = result && getStreamId().equals(other.getStreamId()); + result = result && getWritesList().equals(other.getWritesList()); + result = result && getStreamToken().equals(other.getStreamToken()); + result = result && internalGetLabels().equals(other.internalGetLabels()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; + hash = (53 * hash) + getStreamId().hashCode(); + if (getWritesCount() > 0) { + hash = (37 * hash) + WRITES_FIELD_NUMBER; + hash = (53 * hash) + getWritesList().hashCode(); + } + hash = (37 * hash) + STREAM_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getStreamToken().hashCode(); + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.WriteRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.WriteRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteRequest 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.firestore.v1.WriteRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.WriteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteRequest 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.firestore.v1.WriteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteRequest 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.firestore.v1.WriteRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteRequest 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.firestore.v1.WriteRequest 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 request for [Firestore.Write][google.firestore.v1.Firestore.Write].
+   * The first request creates a stream, or resumes an existing one from a token.
+   * When creating a new stream, the server replies with a response containing
+   * only an ID and a token, to use in the next request.
+   * When resuming a stream, the server first streams any responses later than the
+   * given token, then a response containing only an up-to-date token, to use in
+   * the next request.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.WriteRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteRequest) + com.google.firestore.v1.WriteRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 5: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 5: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.WriteRequest.class, + com.google.firestore.v1.WriteRequest.Builder.class); + } + + // Construct using com.google.firestore.v1.WriteRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWritesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + streamId_ = ""; + + if (writesBuilder_ == null) { + writes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + writesBuilder_.clear(); + } + streamToken_ = com.google.protobuf.ByteString.EMPTY; + + internalGetMutableLabels().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteRequest_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.WriteRequest getDefaultInstanceForType() { + return com.google.firestore.v1.WriteRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.WriteRequest build() { + com.google.firestore.v1.WriteRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.WriteRequest buildPartial() { + com.google.firestore.v1.WriteRequest result = new com.google.firestore.v1.WriteRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.database_ = database_; + result.streamId_ = streamId_; + if (writesBuilder_ == null) { + if (((bitField0_ & 0x00000004) == 0x00000004)) { + writes_ = java.util.Collections.unmodifiableList(writes_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.writes_ = writes_; + } else { + result.writes_ = writesBuilder_.build(); + } + result.streamToken_ = streamToken_; + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.WriteRequest) { + return mergeFrom((com.google.firestore.v1.WriteRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) { + if (other == com.google.firestore.v1.WriteRequest.getDefaultInstance()) return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (!other.getStreamId().isEmpty()) { + streamId_ = other.streamId_; + onChanged(); + } + if (writesBuilder_ == null) { + if (!other.writes_.isEmpty()) { + if (writes_.isEmpty()) { + writes_ = other.writes_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureWritesIsMutable(); + writes_.addAll(other.writes_); + } + onChanged(); + } + } else { + if (!other.writes_.isEmpty()) { + if (writesBuilder_.isEmpty()) { + writesBuilder_.dispose(); + writesBuilder_ = null; + writes_ = other.writes_; + bitField0_ = (bitField0_ & ~0x00000004); + writesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWritesFieldBuilder() + : null; + } else { + writesBuilder_.addAllMessages(other.writes_); + } + } + } + if (other.getStreamToken() != com.google.protobuf.ByteString.EMPTY) { + setStreamToken(other.getStreamToken()); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.WriteRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.WriteRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object database_ = ""; + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * This is only required in the first message.
+     * 
+ * + * string database = 1; + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * This is only required in the first message.
+     * 
+ * + * string database = 1; + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * This is only required in the first message.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * This is only required in the first message.
+     * 
+ * + * string database = 1; + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + * + * + *
+     * The database name. In the format:
+     * `projects/{project_id}/databases/{database_id}`.
+     * This is only required in the first message.
+     * 
+ * + * string database = 1; + */ + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private java.lang.Object streamId_ = ""; + /** + * + * + *
+     * The ID of the write stream to resume.
+     * This may only be set in the first message. When left empty, a new write
+     * stream will be created.
+     * 
+ * + * string stream_id = 2; + */ + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + streamId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The ID of the write stream to resume.
+     * This may only be set in the first message. When left empty, a new write
+     * stream will be created.
+     * 
+ * + * string stream_id = 2; + */ + public com.google.protobuf.ByteString getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The ID of the write stream to resume.
+     * This may only be set in the first message. When left empty, a new write
+     * stream will be created.
+     * 
+ * + * string stream_id = 2; + */ + public Builder setStreamId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + streamId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the write stream to resume.
+     * This may only be set in the first message. When left empty, a new write
+     * stream will be created.
+     * 
+ * + * string stream_id = 2; + */ + public Builder clearStreamId() { + + streamId_ = getDefaultInstance().getStreamId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the write stream to resume.
+     * This may only be set in the first message. When left empty, a new write
+     * stream will be created.
+     * 
+ * + * string stream_id = 2; + */ + public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + streamId_ = value; + onChanged(); + return this; + } + + private java.util.List writes_ = + java.util.Collections.emptyList(); + + private void ensureWritesIsMutable() { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { + writes_ = new java.util.ArrayList(writes_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; + + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public java.util.List getWritesList() { + if (writesBuilder_ == null) { + return java.util.Collections.unmodifiableList(writes_); + } else { + return writesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public int getWritesCount() { + if (writesBuilder_ == null) { + return writes_.size(); + } else { + return writesBuilder_.getCount(); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public com.google.firestore.v1.Write getWrites(int index) { + if (writesBuilder_ == null) { + return writes_.get(index); + } else { + return writesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder setWrites(int index, com.google.firestore.v1.Write value) { + if (writesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWritesIsMutable(); + writes_.set(index, value); + onChanged(); + } else { + writesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.set(index, builderForValue.build()); + onChanged(); + } else { + writesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder addWrites(com.google.firestore.v1.Write value) { + if (writesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWritesIsMutable(); + writes_.add(value); + onChanged(); + } else { + writesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder addWrites(int index, com.google.firestore.v1.Write value) { + if (writesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWritesIsMutable(); + writes_.add(index, value); + onChanged(); + } else { + writesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.add(builderForValue.build()); + onChanged(); + } else { + writesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.add(index, builderForValue.build()); + onChanged(); + } else { + writesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder addAllWrites( + java.lang.Iterable values) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_); + onChanged(); + } else { + writesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder clearWrites() { + if (writesBuilder_ == null) { + writes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + writesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public Builder removeWrites(int index) { + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.remove(index); + onChanged(); + } else { + writesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) { + return getWritesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) { + if (writesBuilder_ == null) { + return writes_.get(index); + } else { + return writesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public java.util.List + getWritesOrBuilderList() { + if (writesBuilder_ != null) { + return writesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(writes_); + } + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public com.google.firestore.v1.Write.Builder addWritesBuilder() { + return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance()); + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) { + return getWritesFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance()); + } + /** + * + * + *
+     * The writes to apply.
+     * Always executed atomically and in order.
+     * This must be empty on the first request.
+     * This may be empty on the last request.
+     * This must not be empty on all other requests.
+     * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + public java.util.List getWritesBuilderList() { + return getWritesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + getWritesFieldBuilder() { + if (writesBuilder_ == null) { + writesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder>( + writes_, + ((bitField0_ & 0x00000004) == 0x00000004), + getParentForChildren(), + isClean()); + writes_ = null; + } + return writesBuilder_; + } + + private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * A stream token that was previously sent by the server.
+     * The client should set this field to the token from the most recent
+     * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has
+     * received responses up to this token. After sending this token, earlier
+     * tokens may not be used anymore.
+     * The server may close the stream if there are too many unacknowledged
+     * responses.
+     * Leave this field unset when creating a new stream. To resume a stream at
+     * a specific point, set this field and the `stream_id` field.
+     * Leave this field unset when creating a new stream.
+     * 
+ * + * bytes stream_token = 4; + */ + public com.google.protobuf.ByteString getStreamToken() { + return streamToken_; + } + /** + * + * + *
+     * A stream token that was previously sent by the server.
+     * The client should set this field to the token from the most recent
+     * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has
+     * received responses up to this token. After sending this token, earlier
+     * tokens may not be used anymore.
+     * The server may close the stream if there are too many unacknowledged
+     * responses.
+     * Leave this field unset when creating a new stream. To resume a stream at
+     * a specific point, set this field and the `stream_id` field.
+     * Leave this field unset when creating a new stream.
+     * 
+ * + * bytes stream_token = 4; + */ + public Builder setStreamToken(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + streamToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A stream token that was previously sent by the server.
+     * The client should set this field to the token from the most recent
+     * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has
+     * received responses up to this token. After sending this token, earlier
+     * tokens may not be used anymore.
+     * The server may close the stream if there are too many unacknowledged
+     * responses.
+     * Leave this field unset when creating a new stream. To resume a stream at
+     * a specific point, set this field and the `stream_id` field.
+     * Leave this field unset when creating a new stream.
+     * 
+ * + * bytes stream_token = 4; + */ + public Builder clearStreamToken() { + + streamToken_ = getDefaultInstance().getStreamToken(); + onChanged(); + return this; + } + + 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() { + onChanged(); + ; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Labels associated with this write request.
+     * 
+ * + * map<string, string> labels = 5; + */ + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+     * Labels associated with this write request.
+     * 
+ * + * map<string, string> labels = 5; + */ + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Labels associated with this write request.
+     * 
+ * + * map<string, string> labels = 5; + */ + public java.lang.String getLabelsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Labels associated with this write request.
+     * 
+ * + * map<string, string> labels = 5; + */ + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Labels associated with this write request.
+     * 
+ * + * map<string, string> labels = 5; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * Labels associated with this write request.
+     * 
+ * + * map<string, string> labels = 5; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Labels associated with this write request.
+     * 
+ * + * map<string, string> labels = 5; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteRequest) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteRequest) + private static final com.google.firestore.v1.WriteRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.WriteRequest(); + } + + public static com.google.firestore.v1.WriteRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteRequest(input, extensionRegistry); + } + }; + + 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.firestore.v1.WriteRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java new file mode 100644 index 000000000000..8532f2b02d94 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java @@ -0,0 +1,205 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface WriteRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * This is only required in the first message.
+   * 
+ * + * string database = 1; + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * The database name. In the format:
+   * `projects/{project_id}/databases/{database_id}`.
+   * This is only required in the first message.
+   * 
+ * + * string database = 1; + */ + com.google.protobuf.ByteString getDatabaseBytes(); + + /** + * + * + *
+   * The ID of the write stream to resume.
+   * This may only be set in the first message. When left empty, a new write
+   * stream will be created.
+   * 
+ * + * string stream_id = 2; + */ + java.lang.String getStreamId(); + /** + * + * + *
+   * The ID of the write stream to resume.
+   * This may only be set in the first message. When left empty, a new write
+   * stream will be created.
+   * 
+ * + * string stream_id = 2; + */ + com.google.protobuf.ByteString getStreamIdBytes(); + + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + java.util.List getWritesList(); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + com.google.firestore.v1.Write getWrites(int index); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + int getWritesCount(); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + java.util.List getWritesOrBuilderList(); + /** + * + * + *
+   * The writes to apply.
+   * Always executed atomically and in order.
+   * This must be empty on the first request.
+   * This may be empty on the last request.
+   * This must not be empty on all other requests.
+   * 
+ * + * repeated .google.firestore.v1.Write writes = 3; + */ + com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index); + + /** + * + * + *
+   * A stream token that was previously sent by the server.
+   * The client should set this field to the token from the most recent
+   * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has
+   * received responses up to this token. After sending this token, earlier
+   * tokens may not be used anymore.
+   * The server may close the stream if there are too many unacknowledged
+   * responses.
+   * Leave this field unset when creating a new stream. To resume a stream at
+   * a specific point, set this field and the `stream_id` field.
+   * Leave this field unset when creating a new stream.
+   * 
+ * + * bytes stream_token = 4; + */ + com.google.protobuf.ByteString getStreamToken(); + + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + int getLabelsCount(); + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + /** + * + * + *
+   * Labels associated with this write request.
+   * 
+ * + * map<string, string> labels = 5; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java new file mode 100644 index 000000000000..33bb13d0719e --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java @@ -0,0 +1,1492 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
+ * 
+ * + * Protobuf type {@code google.firestore.v1.WriteResponse} + */ +public final class WriteResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResponse) + WriteResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteResponse.newBuilder() to construct. + private WriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WriteResponse() { + streamId_ = ""; + streamToken_ = com.google.protobuf.ByteString.EMPTY; + writeResults_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + 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(); + + streamId_ = s; + break; + } + case 18: + { + streamToken_ = input.readBytes(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + writeResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + writeResults_.add( + input.readMessage( + com.google.firestore.v1.WriteResult.parser(), extensionRegistry)); + break; + } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (commitTime_ != null) { + subBuilder = commitTime_.toBuilder(); + } + commitTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitTime_); + commitTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + writeResults_ = java.util.Collections.unmodifiableList(writeResults_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.WriteResponse.class, + com.google.firestore.v1.WriteResponse.Builder.class); + } + + private int bitField0_; + public static final int STREAM_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object streamId_; + /** + * + * + *
+   * The ID of the stream.
+   * Only set on the first message, when a new stream was created.
+   * 
+ * + * string stream_id = 1; + */ + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + 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(); + streamId_ = s; + return s; + } + } + /** + * + * + *
+   * The ID of the stream.
+   * Only set on the first message, when a new stream was created.
+   * 
+ * + * string stream_id = 1; + */ + public com.google.protobuf.ByteString getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STREAM_TOKEN_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString streamToken_; + /** + * + * + *
+   * A token that represents the position of this response in the stream.
+   * This can be used by a client to resume the stream at this point.
+   * This field is always set.
+   * 
+ * + * bytes stream_token = 2; + */ + public com.google.protobuf.ByteString getStreamToken() { + return streamToken_; + } + + public static final int WRITE_RESULTS_FIELD_NUMBER = 3; + private java.util.List writeResults_; + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public java.util.List getWriteResultsList() { + return writeResults_; + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public java.util.List + getWriteResultsOrBuilderList() { + return writeResults_; + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public int getWriteResultsCount() { + return writeResults_.size(); + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public com.google.firestore.v1.WriteResult getWriteResults(int index) { + return writeResults_.get(index); + } + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) { + return writeResults_.get(index); + } + + public static final int COMMIT_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp commitTime_; + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public boolean hasCommitTime() { + return commitTime_ != null; + } + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public com.google.protobuf.Timestamp getCommitTime() { + return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + } + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { + return getCommitTime(); + } + + 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 (!getStreamIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamId_); + } + if (!streamToken_.isEmpty()) { + output.writeBytes(2, streamToken_); + } + for (int i = 0; i < writeResults_.size(); i++) { + output.writeMessage(3, writeResults_.get(i)); + } + if (commitTime_ != null) { + output.writeMessage(4, getCommitTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getStreamIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, streamId_); + } + if (!streamToken_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, streamToken_); + } + for (int i = 0; i < writeResults_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, writeResults_.get(i)); + } + if (commitTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTime()); + } + size += unknownFields.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.firestore.v1.WriteResponse)) { + return super.equals(obj); + } + com.google.firestore.v1.WriteResponse other = (com.google.firestore.v1.WriteResponse) obj; + + boolean result = true; + result = result && getStreamId().equals(other.getStreamId()); + result = result && getStreamToken().equals(other.getStreamToken()); + result = result && getWriteResultsList().equals(other.getWriteResultsList()); + result = result && (hasCommitTime() == other.hasCommitTime()); + if (hasCommitTime()) { + result = result && getCommitTime().equals(other.getCommitTime()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; + hash = (53 * hash) + getStreamId().hashCode(); + hash = (37 * hash) + STREAM_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getStreamToken().hashCode(); + if (getWriteResultsCount() > 0) { + hash = (37 * hash) + WRITE_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getWriteResultsList().hashCode(); + } + if (hasCommitTime()) { + hash = (37 * hash) + COMMIT_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCommitTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.WriteResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.WriteResponse parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteResponse 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.firestore.v1.WriteResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.WriteResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteResponse 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.firestore.v1.WriteResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteResponse 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.firestore.v1.WriteResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteResponse 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.firestore.v1.WriteResponse 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 response for [Firestore.Write][google.firestore.v1.Firestore.Write].
+   * 
+ * + * Protobuf type {@code google.firestore.v1.WriteResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteResponse) + com.google.firestore.v1.WriteResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.WriteResponse.class, + com.google.firestore.v1.WriteResponse.Builder.class); + } + + // Construct using com.google.firestore.v1.WriteResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWriteResultsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + streamId_ = ""; + + streamToken_ = com.google.protobuf.ByteString.EMPTY; + + if (writeResultsBuilder_ == null) { + writeResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + writeResultsBuilder_.clear(); + } + if (commitTimeBuilder_ == null) { + commitTime_ = null; + } else { + commitTime_ = null; + commitTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.WriteResponse getDefaultInstanceForType() { + return com.google.firestore.v1.WriteResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.WriteResponse build() { + com.google.firestore.v1.WriteResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.WriteResponse buildPartial() { + com.google.firestore.v1.WriteResponse result = + new com.google.firestore.v1.WriteResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.streamId_ = streamId_; + result.streamToken_ = streamToken_; + if (writeResultsBuilder_ == null) { + if (((bitField0_ & 0x00000004) == 0x00000004)) { + writeResults_ = java.util.Collections.unmodifiableList(writeResults_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.writeResults_ = writeResults_; + } else { + result.writeResults_ = writeResultsBuilder_.build(); + } + if (commitTimeBuilder_ == null) { + result.commitTime_ = commitTime_; + } else { + result.commitTime_ = commitTimeBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.WriteResponse) { + return mergeFrom((com.google.firestore.v1.WriteResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.WriteResponse other) { + if (other == com.google.firestore.v1.WriteResponse.getDefaultInstance()) return this; + if (!other.getStreamId().isEmpty()) { + streamId_ = other.streamId_; + onChanged(); + } + if (other.getStreamToken() != com.google.protobuf.ByteString.EMPTY) { + setStreamToken(other.getStreamToken()); + } + if (writeResultsBuilder_ == null) { + if (!other.writeResults_.isEmpty()) { + if (writeResults_.isEmpty()) { + writeResults_ = other.writeResults_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureWriteResultsIsMutable(); + writeResults_.addAll(other.writeResults_); + } + onChanged(); + } + } else { + if (!other.writeResults_.isEmpty()) { + if (writeResultsBuilder_.isEmpty()) { + writeResultsBuilder_.dispose(); + writeResultsBuilder_ = null; + writeResults_ = other.writeResults_; + bitField0_ = (bitField0_ & ~0x00000004); + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWriteResultsFieldBuilder() + : null; + } else { + writeResultsBuilder_.addAllMessages(other.writeResults_); + } + } + } + if (other.hasCommitTime()) { + mergeCommitTime(other.getCommitTime()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.WriteResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.WriteResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object streamId_ = ""; + /** + * + * + *
+     * The ID of the stream.
+     * Only set on the first message, when a new stream was created.
+     * 
+ * + * string stream_id = 1; + */ + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + streamId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The ID of the stream.
+     * Only set on the first message, when a new stream was created.
+     * 
+ * + * string stream_id = 1; + */ + public com.google.protobuf.ByteString getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The ID of the stream.
+     * Only set on the first message, when a new stream was created.
+     * 
+ * + * string stream_id = 1; + */ + public Builder setStreamId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + streamId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the stream.
+     * Only set on the first message, when a new stream was created.
+     * 
+ * + * string stream_id = 1; + */ + public Builder clearStreamId() { + + streamId_ = getDefaultInstance().getStreamId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the stream.
+     * Only set on the first message, when a new stream was created.
+     * 
+ * + * string stream_id = 1; + */ + public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + streamId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY; + /** + * + * + *
+     * A token that represents the position of this response in the stream.
+     * This can be used by a client to resume the stream at this point.
+     * This field is always set.
+     * 
+ * + * bytes stream_token = 2; + */ + public com.google.protobuf.ByteString getStreamToken() { + return streamToken_; + } + /** + * + * + *
+     * A token that represents the position of this response in the stream.
+     * This can be used by a client to resume the stream at this point.
+     * This field is always set.
+     * 
+ * + * bytes stream_token = 2; + */ + public Builder setStreamToken(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + streamToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A token that represents the position of this response in the stream.
+     * This can be used by a client to resume the stream at this point.
+     * This field is always set.
+     * 
+ * + * bytes stream_token = 2; + */ + public Builder clearStreamToken() { + + streamToken_ = getDefaultInstance().getStreamToken(); + onChanged(); + return this; + } + + private java.util.List writeResults_ = + java.util.Collections.emptyList(); + + private void ensureWriteResultsIsMutable() { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { + writeResults_ = new java.util.ArrayList(writeResults_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + writeResultsBuilder_; + + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public java.util.List getWriteResultsList() { + if (writeResultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(writeResults_); + } else { + return writeResultsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public int getWriteResultsCount() { + if (writeResultsBuilder_ == null) { + return writeResults_.size(); + } else { + return writeResultsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public com.google.firestore.v1.WriteResult getWriteResults(int index) { + if (writeResultsBuilder_ == null) { + return writeResults_.get(index); + } else { + return writeResultsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) { + if (writeResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWriteResultsIsMutable(); + writeResults_.set(index, value); + onChanged(); + } else { + writeResultsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder setWriteResults( + int index, com.google.firestore.v1.WriteResult.Builder builderForValue) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.set(index, builderForValue.build()); + onChanged(); + } else { + writeResultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder addWriteResults(com.google.firestore.v1.WriteResult value) { + if (writeResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWriteResultsIsMutable(); + writeResults_.add(value); + onChanged(); + } else { + writeResultsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) { + if (writeResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWriteResultsIsMutable(); + writeResults_.add(index, value); + onChanged(); + } else { + writeResultsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(builderForValue.build()); + onChanged(); + } else { + writeResultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder addWriteResults( + int index, com.google.firestore.v1.WriteResult.Builder builderForValue) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(index, builderForValue.build()); + onChanged(); + } else { + writeResultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder addAllWriteResults( + java.lang.Iterable values) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_); + onChanged(); + } else { + writeResultsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder clearWriteResults() { + if (writeResultsBuilder_ == null) { + writeResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + writeResultsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public Builder removeWriteResults(int index) { + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.remove(index); + onChanged(); + } else { + writeResultsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) { + return getWriteResultsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) { + if (writeResultsBuilder_ == null) { + return writeResults_.get(index); + } else { + return writeResultsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public java.util.List + getWriteResultsOrBuilderList() { + if (writeResultsBuilder_ != null) { + return writeResultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(writeResults_); + } + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() { + return getWriteResultsFieldBuilder() + .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance()); + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) { + return getWriteResultsFieldBuilder() + .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance()); + } + /** + * + * + *
+     * The result of applying the writes.
+     * This i-th write result corresponds to the i-th write in the
+     * request.
+     * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + public java.util.List + getWriteResultsBuilderList() { + return getWriteResultsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + getWriteResultsFieldBuilder() { + if (writeResultsBuilder_ == null) { + writeResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder>( + writeResults_, + ((bitField0_ & 0x00000004) == 0x00000004), + getParentForChildren(), + isClean()); + writeResults_ = null; + } + return writeResultsBuilder_; + } + + private com.google.protobuf.Timestamp commitTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimeBuilder_; + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public boolean hasCommitTime() { + return commitTimeBuilder_ != null || commitTime_ != null; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public com.google.protobuf.Timestamp getCommitTime() { + if (commitTimeBuilder_ == null) { + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; + } else { + return commitTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public Builder setCommitTime(com.google.protobuf.Timestamp value) { + if (commitTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + commitTime_ = value; + onChanged(); + } else { + commitTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (commitTimeBuilder_ == null) { + commitTime_ = builderForValue.build(); + onChanged(); + } else { + commitTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { + if (commitTimeBuilder_ == null) { + if (commitTime_ != null) { + commitTime_ = + com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial(); + } else { + commitTime_ = value; + } + onChanged(); + } else { + commitTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public Builder clearCommitTime() { + if (commitTimeBuilder_ == null) { + commitTime_ = null; + onChanged(); + } else { + commitTime_ = null; + commitTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { + + onChanged(); + return getCommitTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { + if (commitTimeBuilder_ != null) { + return commitTimeBuilder_.getMessageOrBuilder(); + } else { + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; + } + } + /** + * + * + *
+     * The time at which the commit occurred.
+     * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCommitTimeFieldBuilder() { + if (commitTimeBuilder_ == null) { + commitTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCommitTime(), getParentForChildren(), isClean()); + commitTime_ = null; + } + return commitTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteResponse) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteResponse) + private static final com.google.firestore.v1.WriteResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.WriteResponse(); + } + + public static com.google.firestore.v1.WriteResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteResponse(input, extensionRegistry); + } + }; + + 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.firestore.v1.WriteResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java new file mode 100644 index 000000000000..55fe97bb71d8 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java @@ -0,0 +1,139 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface WriteResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The ID of the stream.
+   * Only set on the first message, when a new stream was created.
+   * 
+ * + * string stream_id = 1; + */ + java.lang.String getStreamId(); + /** + * + * + *
+   * The ID of the stream.
+   * Only set on the first message, when a new stream was created.
+   * 
+ * + * string stream_id = 1; + */ + com.google.protobuf.ByteString getStreamIdBytes(); + + /** + * + * + *
+   * A token that represents the position of this response in the stream.
+   * This can be used by a client to resume the stream at this point.
+   * This field is always set.
+   * 
+ * + * bytes stream_token = 2; + */ + com.google.protobuf.ByteString getStreamToken(); + + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + java.util.List getWriteResultsList(); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + com.google.firestore.v1.WriteResult getWriteResults(int index); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + int getWriteResultsCount(); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + java.util.List + getWriteResultsOrBuilderList(); + /** + * + * + *
+   * The result of applying the writes.
+   * This i-th write result corresponds to the i-th write in the
+   * request.
+   * 
+ * + * repeated .google.firestore.v1.WriteResult write_results = 3; + */ + com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index); + + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + boolean hasCommitTime(); + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + com.google.protobuf.Timestamp getCommitTime(); + /** + * + * + *
+   * The time at which the commit occurred.
+   * 
+ * + * .google.protobuf.Timestamp commit_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder(); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java new file mode 100644 index 000000000000..3ce81de7ecdd --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java @@ -0,0 +1,1244 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +/** + * + * + *
+ * The result of applying a write.
+ * 
+ * + * Protobuf type {@code google.firestore.v1.WriteResult} + */ +public final class WriteResult extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResult) + WriteResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteResult.newBuilder() to construct. + private WriteResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WriteResult() { + transformResults_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteResult( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + transformResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + transformResults_.add( + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + transformResults_ = java.util.Collections.unmodifiableList(transformResults_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.WriteResult.class, + com.google.firestore.v1.WriteResult.Builder.class); + } + + private int bitField0_; + public static final int UPDATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * The last update time of the document after applying the write. Not set
+   * after a `delete`.
+   * If the write did not actually change the document, this will be the
+   * previous update_time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * The last update time of the document after applying the write. Not set
+   * after a `delete`.
+   * If the write did not actually change the document, this will be the
+   * previous update_time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+   * The last update time of the document after applying the write. Not set
+   * after a `delete`.
+   * If the write did not actually change the document, this will be the
+   * previous update_time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + public static final int TRANSFORM_RESULTS_FIELD_NUMBER = 2; + private java.util.List transformResults_; + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public java.util.List getTransformResultsList() { + return transformResults_; + } + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public java.util.List + getTransformResultsOrBuilderList() { + return transformResults_; + } + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public int getTransformResultsCount() { + return transformResults_.size(); + } + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public com.google.firestore.v1.Value getTransformResults(int index) { + return transformResults_.get(index); + } + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index) { + return transformResults_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (updateTime_ != null) { + output.writeMessage(1, getUpdateTime()); + } + for (int i = 0; i < transformResults_.size(); i++) { + output.writeMessage(2, transformResults_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); + } + for (int i = 0; i < transformResults_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, transformResults_.get(i)); + } + size += unknownFields.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.firestore.v1.WriteResult)) { + return super.equals(obj); + } + com.google.firestore.v1.WriteResult other = (com.google.firestore.v1.WriteResult) obj; + + boolean result = true; + result = result && (hasUpdateTime() == other.hasUpdateTime()); + if (hasUpdateTime()) { + result = result && getUpdateTime().equals(other.getUpdateTime()); + } + result = result && getTransformResultsList().equals(other.getTransformResultsList()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (getTransformResultsCount() > 0) { + hash = (37 * hash) + TRANSFORM_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getTransformResultsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1.WriteResult parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteResult parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.WriteResult parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteResult 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.firestore.v1.WriteResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1.WriteResult parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1.WriteResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteResult 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.firestore.v1.WriteResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteResult 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.firestore.v1.WriteResult parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1.WriteResult 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.firestore.v1.WriteResult 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 result of applying a write.
+   * 
+ * + * Protobuf type {@code google.firestore.v1.WriteResult} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteResult) + com.google.firestore.v1.WriteResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.firestore.v1.WriteResult.class, + com.google.firestore.v1.WriteResult.Builder.class); + } + + // Construct using com.google.firestore.v1.WriteResult.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTransformResultsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + if (transformResultsBuilder_ == null) { + transformResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + transformResultsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_descriptor; + } + + @java.lang.Override + public com.google.firestore.v1.WriteResult getDefaultInstanceForType() { + return com.google.firestore.v1.WriteResult.getDefaultInstance(); + } + + @java.lang.Override + public com.google.firestore.v1.WriteResult build() { + com.google.firestore.v1.WriteResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.firestore.v1.WriteResult buildPartial() { + com.google.firestore.v1.WriteResult result = new com.google.firestore.v1.WriteResult(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + if (transformResultsBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + transformResults_ = java.util.Collections.unmodifiableList(transformResults_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.transformResults_ = transformResults_; + } else { + result.transformResults_ = transformResultsBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.firestore.v1.WriteResult) { + return mergeFrom((com.google.firestore.v1.WriteResult) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.firestore.v1.WriteResult other) { + if (other == com.google.firestore.v1.WriteResult.getDefaultInstance()) return this; + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + if (transformResultsBuilder_ == null) { + if (!other.transformResults_.isEmpty()) { + if (transformResults_.isEmpty()) { + transformResults_ = other.transformResults_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTransformResultsIsMutable(); + transformResults_.addAll(other.transformResults_); + } + onChanged(); + } + } else { + if (!other.transformResults_.isEmpty()) { + if (transformResultsBuilder_.isEmpty()) { + transformResultsBuilder_.dispose(); + transformResultsBuilder_ = null; + transformResults_ = other.transformResults_; + bitField0_ = (bitField0_ & ~0x00000002); + transformResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransformResultsFieldBuilder() + : null; + } else { + transformResultsBuilder_.addAllMessages(other.transformResults_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.firestore.v1.WriteResult parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.firestore.v1.WriteResult) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.Timestamp updateTime_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
+     * The last update time of the document after applying the write. Not set
+     * after a `delete`.
+     * If the write did not actually change the document, this will be the
+     * previous update_time.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + 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 java.util.List transformResults_ = + java.util.Collections.emptyList(); + + private void ensureTransformResultsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + transformResults_ = + new java.util.ArrayList(transformResults_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + transformResultsBuilder_; + + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public java.util.List getTransformResultsList() { + if (transformResultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(transformResults_); + } else { + return transformResultsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public int getTransformResultsCount() { + if (transformResultsBuilder_ == null) { + return transformResults_.size(); + } else { + return transformResultsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public com.google.firestore.v1.Value getTransformResults(int index) { + if (transformResultsBuilder_ == null) { + return transformResults_.get(index); + } else { + return transformResultsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder setTransformResults(int index, com.google.firestore.v1.Value value) { + if (transformResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformResultsIsMutable(); + transformResults_.set(index, value); + onChanged(); + } else { + transformResultsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder setTransformResults( + int index, com.google.firestore.v1.Value.Builder builderForValue) { + if (transformResultsBuilder_ == null) { + ensureTransformResultsIsMutable(); + transformResults_.set(index, builderForValue.build()); + onChanged(); + } else { + transformResultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder addTransformResults(com.google.firestore.v1.Value value) { + if (transformResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformResultsIsMutable(); + transformResults_.add(value); + onChanged(); + } else { + transformResultsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder addTransformResults(int index, com.google.firestore.v1.Value value) { + if (transformResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformResultsIsMutable(); + transformResults_.add(index, value); + onChanged(); + } else { + transformResultsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder addTransformResults(com.google.firestore.v1.Value.Builder builderForValue) { + if (transformResultsBuilder_ == null) { + ensureTransformResultsIsMutable(); + transformResults_.add(builderForValue.build()); + onChanged(); + } else { + transformResultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder addTransformResults( + int index, com.google.firestore.v1.Value.Builder builderForValue) { + if (transformResultsBuilder_ == null) { + ensureTransformResultsIsMutable(); + transformResults_.add(index, builderForValue.build()); + onChanged(); + } else { + transformResultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder addAllTransformResults( + java.lang.Iterable values) { + if (transformResultsBuilder_ == null) { + ensureTransformResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformResults_); + onChanged(); + } else { + transformResultsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder clearTransformResults() { + if (transformResultsBuilder_ == null) { + transformResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + transformResultsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public Builder removeTransformResults(int index) { + if (transformResultsBuilder_ == null) { + ensureTransformResultsIsMutable(); + transformResults_.remove(index); + onChanged(); + } else { + transformResultsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(int index) { + return getTransformResultsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index) { + if (transformResultsBuilder_ == null) { + return transformResults_.get(index); + } else { + return transformResultsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public java.util.List + getTransformResultsOrBuilderList() { + if (transformResultsBuilder_ != null) { + return transformResultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(transformResults_); + } + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() { + return getTransformResultsFieldBuilder() + .addBuilder(com.google.firestore.v1.Value.getDefaultInstance()); + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(int index) { + return getTransformResultsFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance()); + } + /** + * + * + *
+     * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+     * same order.
+     * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + public java.util.List getTransformResultsBuilderList() { + return getTransformResultsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + getTransformResultsFieldBuilder() { + if (transformResultsBuilder_ == null) { + transformResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + transformResults_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + transformResults_ = null; + } + return transformResultsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteResult) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteResult) + private static final com.google.firestore.v1.WriteResult DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1.WriteResult(); + } + + public static com.google.firestore.v1.WriteResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteResult(input, extensionRegistry); + } + }; + + 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.firestore.v1.WriteResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java new file mode 100644 index 000000000000..c204f2527e71 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java @@ -0,0 +1,107 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/write.proto + +package com.google.firestore.v1; + +public interface WriteResultOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResult) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The last update time of the document after applying the write. Not set
+   * after a `delete`.
+   * If the write did not actually change the document, this will be the
+   * previous update_time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * The last update time of the document after applying the write. Not set
+   * after a `delete`.
+   * If the write did not actually change the document, this will be the
+   * previous update_time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * The last update time of the document after applying the write. Not set
+   * after a `delete`.
+   * If the write did not actually change the document, this will be the
+   * previous update_time.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + java.util.List getTransformResultsList(); + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + com.google.firestore.v1.Value getTransformResults(int index); + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + int getTransformResultsCount(); + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + java.util.List + getTransformResultsOrBuilderList(); + /** + * + * + *
+   * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
+   * same order.
+   * 
+ * + * repeated .google.firestore.v1.Value transform_results = 2; + */ + com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index); +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto new file mode 100644 index 000000000000..670cb41739b7 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto @@ -0,0 +1,84 @@ +// 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. +// + +syntax = "proto3"; + +package google.firestore.v1; + +import "google/api/annotations.proto"; +import "google/protobuf/timestamp.proto"; + +option csharp_namespace = "Google.Cloud.Firestore.V1"; +option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option java_multiple_files = true; +option java_outer_classname = "CommonProto"; +option java_package = "com.google.firestore.v1"; +option objc_class_prefix = "GCFS"; +option php_namespace = "Google\\Cloud\\Firestore\\V1"; + + +// A set of field paths on a document. +// Used to restrict a get or update operation on a document to a subset of its +// fields. +// This is different from standard field masks, as this is always scoped to a +// [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value]. +message DocumentMask { + // The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + // path syntax reference. + repeated string field_paths = 1; +} + +// A precondition on a document, used for conditional operations. +message Precondition { + // The type of precondition. + oneof condition_type { + // When set to `true`, the target document must exist. + // When set to `false`, the target document must not exist. + bool exists = 1; + + // When set, the target document must exist and have been last updated at + // that time. + google.protobuf.Timestamp update_time = 2; + } +} + +// Options for creating a new transaction. +message TransactionOptions { + // Options for a transaction that can be used to read and write documents. + message ReadWrite { + // An optional transaction to retry. + bytes retry_transaction = 1; + } + + // Options for a transaction that can only be used to read documents. + message ReadOnly { + // The consistency mode for this transaction. If not set, defaults to strong + // consistency. + oneof consistency_selector { + // Reads documents at the given time. + // This may not be older than 60 seconds. + google.protobuf.Timestamp read_time = 2; + } + } + + // The mode of the transaction. + oneof mode { + // The transaction can only be used for read operations. + ReadOnly read_only = 2; + + // The transaction can be used for both read and write operations. + ReadWrite read_write = 3; + } +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto new file mode 100644 index 000000000000..268947856a8b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto @@ -0,0 +1,151 @@ +// 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. +// + +syntax = "proto3"; + +package google.firestore.v1; + +import "google/api/annotations.proto"; +import "google/protobuf/struct.proto"; +import "google/protobuf/timestamp.proto"; +import "google/type/latlng.proto"; + +option csharp_namespace = "Google.Cloud.Firestore.V1"; +option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option java_multiple_files = true; +option java_outer_classname = "DocumentProto"; +option java_package = "com.google.firestore.v1"; +option objc_class_prefix = "GCFS"; +option php_namespace = "Google\\Cloud\\Firestore\\V1"; + + +// A Firestore document. +// +// Must not exceed 1 MiB - 4 bytes. +message Document { + // The resource name of the document, for example + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + string name = 1; + + // The document's fields. + // + // The map keys represent field names. + // + // A simple field name contains only characters `a` to `z`, `A` to `Z`, + // `0` to `9`, or `_`, and must not start with `0` to `9`. For example, + // `foo_bar_17`. + // + // Field names matching the regular expression `__.*__` are reserved. Reserved + // field names are forbidden except in certain documented contexts. The map + // keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be + // empty. + // + // Field paths may be used in other contexts to refer to structured fields + // defined here. For `map_value`, the field path is represented by the simple + // or quoted field names of the containing fields, delimited by `.`. For + // example, the structured field + // `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be + // represented by the field path `foo.x&y`. + // + // Within a field path, a quoted field name starts and ends with `` ` `` and + // may contain any character. Some characters, including `` ` ``, must be + // escaped using a `\`. For example, `` `x&y` `` represents `x&y` and + // `` `bak\`tik` `` represents `` bak`tik ``. + map fields = 2; + + // Output only. The time at which the document was created. + // + // This value increases monotonically when a document is deleted then + // recreated. It can also be compared to values from other documents and + // the `read_time` of a query. + google.protobuf.Timestamp create_time = 3; + + // Output only. The time at which the document was last changed. + // + // This value is initially set to the `create_time` then increases + // monotonically with each change to the document. It can also be + // compared to values from other documents and the `read_time` of a query. + google.protobuf.Timestamp update_time = 4; +} + +// A message that can hold any of the supported value types. +message Value { + // Must have a value set. + oneof value_type { + // A null value. + google.protobuf.NullValue null_value = 11; + + // A boolean value. + bool boolean_value = 1; + + // An integer value. + int64 integer_value = 2; + + // A double value. + double double_value = 3; + + // A timestamp value. + // + // Precise only to microseconds. When stored, any additional precision is + // rounded down. + google.protobuf.Timestamp timestamp_value = 10; + + // A string value. + // + // The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. + // Only the first 1,500 bytes of the UTF-8 representation are considered by + // queries. + string string_value = 17; + + // A bytes value. + // + // Must not exceed 1 MiB - 89 bytes. + // Only the first 1,500 bytes are considered by queries. + bytes bytes_value = 18; + + // A reference to a document. For example: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + string reference_value = 5; + + // A geo point value representing a point on the surface of Earth. + google.type.LatLng geo_point_value = 8; + + // An array value. + // + // Cannot directly contain another array value, though can contain an + // map which contains another array. + ArrayValue array_value = 9; + + // A map value. + MapValue map_value = 6; + } +} + +// An array value. +message ArrayValue { + // Values in the array. + repeated Value values = 1; +} + +// A map value. +message MapValue { + // The map's fields. + // + // The map keys represent field names. Field names matching the regular + // expression `__.*__` are reserved. Reserved field names are forbidden except + // in certain documented contexts. The map keys, represented as UTF-8, must + // not exceed 1,500 bytes and cannot be empty. + map fields = 1; +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto new file mode 100644 index 000000000000..d425edf9e0f9 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto @@ -0,0 +1,761 @@ +// 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. +// + +syntax = "proto3"; + +package google.firestore.v1; + +import "google/api/annotations.proto"; +import "google/firestore/v1/common.proto"; +import "google/firestore/v1/document.proto"; +import "google/firestore/v1/query.proto"; +import "google/firestore/v1/write.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +option csharp_namespace = "Google.Cloud.Firestore.V1"; +option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option java_multiple_files = true; +option java_outer_classname = "FirestoreProto"; +option java_package = "com.google.firestore.v1"; +option objc_class_prefix = "GCFS"; +option php_namespace = "Google\\Cloud\\Firestore\\V1"; +// Specification of the Firestore API. + +// The Cloud Firestore service. +// +// This service exposes several types of comparable timestamps: +// +// * `create_time` - The time at which a document was created. Changes only +// when a document is deleted, then re-created. Increases in a strict +// monotonic fashion. +// * `update_time` - The time at which a document was last updated. Changes +// every time a document is modified. Does not change when a write results +// in no modifications. Increases in a strict monotonic fashion. +// * `read_time` - The time at which a particular state was observed. Used +// to denote a consistent snapshot of the database or the time at which a +// Document was observed to not exist. +// * `commit_time` - The time at which the writes in a transaction were +// committed. Any read with an equal or greater `read_time` is guaranteed +// to see the effects of the transaction. +service Firestore { + // Gets a single document. + rpc GetDocument(GetDocumentRequest) returns (Document) { + option (google.api.http) = { + get: "/v1/{name=projects/*/databases/*/documents/*/**}" + }; + } + + // Lists documents. + rpc ListDocuments(ListDocumentsRequest) returns (ListDocumentsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/databases/*/documents/*/**}/{collection_id}" + }; + } + + // Creates a new document. + rpc CreateDocument(CreateDocumentRequest) returns (Document) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/databases/*/documents/**}/{collection_id}" + body: "document" + }; + } + + // Updates or inserts a document. + rpc UpdateDocument(UpdateDocumentRequest) returns (Document) { + option (google.api.http) = { + patch: "/v1/{document.name=projects/*/databases/*/documents/*/**}" + body: "document" + }; + } + + // Deletes a document. + rpc DeleteDocument(DeleteDocumentRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/databases/*/documents/*/**}" + }; + } + + // Gets multiple documents. + // + // Documents returned by this method are not guaranteed to be returned in the + // same order that they were requested. + rpc BatchGetDocuments(BatchGetDocumentsRequest) returns (stream BatchGetDocumentsResponse) { + option (google.api.http) = { + post: "/v1/{database=projects/*/databases/*}/documents:batchGet" + body: "*" + }; + } + + // Starts a new transaction. + rpc BeginTransaction(BeginTransactionRequest) returns (BeginTransactionResponse) { + option (google.api.http) = { + post: "/v1/{database=projects/*/databases/*}/documents:beginTransaction" + body: "*" + }; + } + + // Commits a transaction, while optionally updating documents. + rpc Commit(CommitRequest) returns (CommitResponse) { + option (google.api.http) = { + post: "/v1/{database=projects/*/databases/*}/documents:commit" + body: "*" + }; + } + + // Rolls back a transaction. + rpc Rollback(RollbackRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1/{database=projects/*/databases/*}/documents:rollback" + body: "*" + }; + } + + // Runs a query. + rpc RunQuery(RunQueryRequest) returns (stream RunQueryResponse) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/databases/*/documents}:runQuery" + body: "*" + additional_bindings { + post: "/v1/{parent=projects/*/databases/*/documents/*/**}:runQuery" + body: "*" + } + }; + } + + // Streams batches of document updates and deletes, in order. + rpc Write(stream WriteRequest) returns (stream WriteResponse) { + option (google.api.http) = { + post: "/v1/{database=projects/*/databases/*}/documents:write" + body: "*" + }; + } + + // Listens to changes. + rpc Listen(stream ListenRequest) returns (stream ListenResponse) { + option (google.api.http) = { + post: "/v1/{database=projects/*/databases/*}/documents:listen" + body: "*" + }; + } + + // Lists all the collection IDs underneath a document. + rpc ListCollectionIds(ListCollectionIdsRequest) returns (ListCollectionIdsResponse) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/databases/*/documents}:listCollectionIds" + body: "*" + additional_bindings { + post: "/v1/{parent=projects/*/databases/*/documents/*/**}:listCollectionIds" + body: "*" + } + }; + } +} + +// The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. +message GetDocumentRequest { + // The resource name of the Document to get. In the format: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + string name = 1; + + // The fields to return. If not set, returns all fields. + // + // If the document has a field that is not present in this mask, that field + // will not be returned in the response. + DocumentMask mask = 2; + + // The consistency mode for this transaction. + // If not set, defaults to strong consistency. + oneof consistency_selector { + // Reads the document in a transaction. + bytes transaction = 3; + + // Reads the version of the document at the given time. + // This may not be older than 60 seconds. + google.protobuf.Timestamp read_time = 5; + } +} + +// The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. +message ListDocumentsRequest { + // The parent resource name. In the format: + // `projects/{project_id}/databases/{database_id}/documents` or + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + // For example: + // `projects/my-project/databases/my-database/documents` or + // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + string parent = 1; + + // The collection ID, relative to `parent`, to list. For example: `chatrooms` + // or `messages`. + string collection_id = 2; + + // The maximum number of documents to return. + int32 page_size = 3; + + // The `next_page_token` value returned from a previous List request, if any. + string page_token = 4; + + // The order to sort results by. For example: `priority desc, name`. + string order_by = 6; + + // The fields to return. If not set, returns all fields. + // + // If a document has a field that is not present in this mask, that field + // will not be returned in the response. + DocumentMask mask = 7; + + // The consistency mode for this transaction. + // If not set, defaults to strong consistency. + oneof consistency_selector { + // Reads documents in a transaction. + bytes transaction = 8; + + // Reads documents as they were at the given time. + // This may not be older than 60 seconds. + google.protobuf.Timestamp read_time = 10; + } + + // If the list should show missing documents. A missing document is a + // document that does not exist but has sub-documents. These documents will + // be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], + // or [Document.update_time][google.firestore.v1.Document.update_time] set. + // + // Requests with `show_missing` may not specify `where` or + // `order_by`. + bool show_missing = 12; +} + +// The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. +message ListDocumentsResponse { + // The Documents found. + repeated Document documents = 1; + + // The next page token. + string next_page_token = 2; +} + +// The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. +message CreateDocumentRequest { + // The parent resource. For example: + // `projects/{project_id}/databases/{database_id}/documents` or + // `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}` + string parent = 1; + + // The collection ID, relative to `parent`, to list. For example: `chatrooms`. + string collection_id = 2; + + // The client-assigned document ID to use for this document. + // + // Optional. If not specified, an ID will be assigned by the service. + string document_id = 3; + + // The document to create. `name` must not be set. + Document document = 4; + + // The fields to return. If not set, returns all fields. + // + // If the document has a field that is not present in this mask, that field + // will not be returned in the response. + DocumentMask mask = 5; +} + +// The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. +message UpdateDocumentRequest { + // The updated document. + // Creates the document if it does not already exist. + Document document = 1; + + // The fields to update. + // None of the field paths in the mask may contain a reserved name. + // + // If the document exists on the server and has fields not referenced in the + // mask, they are left unchanged. + // Fields referenced in the mask, but not present in the input document, are + // deleted from the document on the server. + DocumentMask update_mask = 2; + + // The fields to return. If not set, returns all fields. + // + // If the document has a field that is not present in this mask, that field + // will not be returned in the response. + DocumentMask mask = 3; + + // An optional precondition on the document. + // The request will fail if this is set and not met by the target document. + Precondition current_document = 4; +} + +// The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. +message DeleteDocumentRequest { + // The resource name of the Document to delete. In the format: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + string name = 1; + + // An optional precondition on the document. + // The request will fail if this is set and not met by the target document. + Precondition current_document = 2; +} + +// The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. +message BatchGetDocumentsRequest { + // The database name. In the format: + // `projects/{project_id}/databases/{database_id}`. + string database = 1; + + // The names of the documents to retrieve. In the format: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + // The request will fail if any of the document is not a child resource of the + // given `database`. Duplicate names will be elided. + repeated string documents = 2; + + // The fields to return. If not set, returns all fields. + // + // If a document has a field that is not present in this mask, that field will + // not be returned in the response. + DocumentMask mask = 3; + + // The consistency mode for this transaction. + // If not set, defaults to strong consistency. + oneof consistency_selector { + // Reads documents in a transaction. + bytes transaction = 4; + + // Starts a new transaction and reads the documents. + // Defaults to a read-only transaction. + // The new transaction ID will be returned as the first response in the + // stream. + TransactionOptions new_transaction = 5; + + // Reads documents as they were at the given time. + // This may not be older than 60 seconds. + google.protobuf.Timestamp read_time = 7; + } +} + +// The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. +message BatchGetDocumentsResponse { + // A single result. + // This can be empty if the server is just returning a transaction. + oneof result { + // A document that was requested. + Document found = 1; + + // A document name that was requested but does not exist. In the format: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + string missing = 2; + } + + // The transaction that was started as part of this request. + // Will only be set in the first response, and only if + // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. + bytes transaction = 3; + + // The time at which the document was read. + // This may be monotically increasing, in this case the previous documents in + // the result stream are guaranteed not to have changed between their + // read_time and this one. + google.protobuf.Timestamp read_time = 4; +} + +// The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. +message BeginTransactionRequest { + // The database name. In the format: + // `projects/{project_id}/databases/{database_id}`. + string database = 1; + + // The options for the transaction. + // Defaults to a read-write transaction. + TransactionOptions options = 2; +} + +// The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. +message BeginTransactionResponse { + // The transaction that was started. + bytes transaction = 1; +} + +// The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit]. +message CommitRequest { + // The database name. In the format: + // `projects/{project_id}/databases/{database_id}`. + string database = 1; + + // The writes to apply. + // + // Always executed atomically and in order. + repeated Write writes = 2; + + // If set, applies all writes in this transaction, and commits it. + bytes transaction = 3; +} + +// The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit]. +message CommitResponse { + // The result of applying the writes. + // + // This i-th write result corresponds to the i-th write in the + // request. + repeated WriteResult write_results = 1; + + // The time at which the commit occurred. + google.protobuf.Timestamp commit_time = 2; +} + +// The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback]. +message RollbackRequest { + // The database name. In the format: + // `projects/{project_id}/databases/{database_id}`. + string database = 1; + + // The transaction to roll back. + bytes transaction = 2; +} + +// The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. +message RunQueryRequest { + // The parent resource name. In the format: + // `projects/{project_id}/databases/{database_id}/documents` or + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + // For example: + // `projects/my-project/databases/my-database/documents` or + // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + string parent = 1; + + // The query to run. + oneof query_type { + // A structured query. + StructuredQuery structured_query = 2; + } + + // The consistency mode for this transaction. + // If not set, defaults to strong consistency. + oneof consistency_selector { + // Reads documents in a transaction. + bytes transaction = 5; + + // Starts a new transaction and reads the documents. + // Defaults to a read-only transaction. + // The new transaction ID will be returned as the first response in the + // stream. + TransactionOptions new_transaction = 6; + + // Reads documents as they were at the given time. + // This may not be older than 60 seconds. + google.protobuf.Timestamp read_time = 7; + } +} + +// The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. +message RunQueryResponse { + // The transaction that was started as part of this request. + // Can only be set in the first response, and only if + // [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. + // If set, no other fields will be set in this response. + bytes transaction = 2; + + // A query result. + // Not set when reporting partial progress. + Document document = 1; + + // The time at which the document was read. This may be monotonically + // increasing; in this case, the previous documents in the result stream are + // guaranteed not to have changed between their `read_time` and this one. + // + // If the query returns no results, a response with `read_time` and no + // `document` will be sent, and this represents the time at which the query + // was run. + google.protobuf.Timestamp read_time = 3; + + // The number of results that have been skipped due to an offset between + // the last response and the current response. + int32 skipped_results = 4; +} + +// The request for [Firestore.Write][google.firestore.v1.Firestore.Write]. +// +// The first request creates a stream, or resumes an existing one from a token. +// +// When creating a new stream, the server replies with a response containing +// only an ID and a token, to use in the next request. +// +// When resuming a stream, the server first streams any responses later than the +// given token, then a response containing only an up-to-date token, to use in +// the next request. +message WriteRequest { + // The database name. In the format: + // `projects/{project_id}/databases/{database_id}`. + // This is only required in the first message. + string database = 1; + + // The ID of the write stream to resume. + // This may only be set in the first message. When left empty, a new write + // stream will be created. + string stream_id = 2; + + // The writes to apply. + // + // Always executed atomically and in order. + // This must be empty on the first request. + // This may be empty on the last request. + // This must not be empty on all other requests. + repeated Write writes = 3; + + // A stream token that was previously sent by the server. + // + // The client should set this field to the token from the most recent + // [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has + // received responses up to this token. After sending this token, earlier + // tokens may not be used anymore. + // + // The server may close the stream if there are too many unacknowledged + // responses. + // + // Leave this field unset when creating a new stream. To resume a stream at + // a specific point, set this field and the `stream_id` field. + // + // Leave this field unset when creating a new stream. + bytes stream_token = 4; + + // Labels associated with this write request. + map labels = 5; +} + +// The response for [Firestore.Write][google.firestore.v1.Firestore.Write]. +message WriteResponse { + // The ID of the stream. + // Only set on the first message, when a new stream was created. + string stream_id = 1; + + // A token that represents the position of this response in the stream. + // This can be used by a client to resume the stream at this point. + // + // This field is always set. + bytes stream_token = 2; + + // The result of applying the writes. + // + // This i-th write result corresponds to the i-th write in the + // request. + repeated WriteResult write_results = 3; + + // The time at which the commit occurred. + google.protobuf.Timestamp commit_time = 4; +} + +// A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen] +message ListenRequest { + // The database name. In the format: + // `projects/{project_id}/databases/{database_id}`. + string database = 1; + + // The supported target changes. + oneof target_change { + // A target to add to this stream. + Target add_target = 2; + + // The ID of a target to remove from this stream. + int32 remove_target = 3; + } + + // Labels associated with this target change. + map labels = 4; +} + +// The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen]. +message ListenResponse { + // The supported responses. + oneof response_type { + // Targets have changed. + TargetChange target_change = 2; + + // A [Document][google.firestore.v1.Document] has changed. + DocumentChange document_change = 3; + + // A [Document][google.firestore.v1.Document] has been deleted. + DocumentDelete document_delete = 4; + + // A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + // relevant to that target). + DocumentRemove document_remove = 6; + + // A filter to apply to the set of documents previously returned for the + // given target. + // + // Returned when documents may have been removed from the given target, but + // the exact documents are unknown. + ExistenceFilter filter = 5; + } +} + +// A specification of a set of documents to listen to. +message Target { + // A target specified by a set of documents names. + message DocumentsTarget { + // The names of the documents to retrieve. In the format: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + // The request will fail if any of the document is not a child resource of + // the given `database`. Duplicate names will be elided. + repeated string documents = 2; + } + + // A target specified by a query. + message QueryTarget { + // The parent resource name. In the format: + // `projects/{project_id}/databases/{database_id}/documents` or + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + // For example: + // `projects/my-project/databases/my-database/documents` or + // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + string parent = 1; + + // The query to run. + oneof query_type { + // A structured query. + StructuredQuery structured_query = 2; + } + } + + // The type of target to listen to. + oneof target_type { + // A target specified by a query. + QueryTarget query = 2; + + // A target specified by a set of document names. + DocumentsTarget documents = 3; + } + + // When to start listening. + // + // If not specified, all matching Documents are returned before any + // subsequent changes. + oneof resume_type { + // A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. + // + // Using a resume token with a different target is unsupported and may fail. + bytes resume_token = 4; + + // Start listening after a specific `read_time`. + // + // The client must know the state of matching documents at this time. + google.protobuf.Timestamp read_time = 11; + } + + // A client provided target ID. + // + // If not set, the server will assign an ID for the target. + // + // Used for resuming a target without changing IDs. The IDs can either be + // client-assigned or be server-assigned in a previous stream. All targets + // with client provided IDs must be added before adding a target that needs + // a server-assigned id. + int32 target_id = 5; + + // If the target should be removed once it is current and consistent. + bool once = 6; +} + +// Targets being watched have changed. +message TargetChange { + // The type of change. + enum TargetChangeType { + // No change has occurred. Used only to send an updated `resume_token`. + NO_CHANGE = 0; + + // The targets have been added. + ADD = 1; + + // The targets have been removed. + REMOVE = 2; + + // The targets reflect all changes committed before the targets were added + // to the stream. + // + // This will be sent after or with a `read_time` that is greater than or + // equal to the time at which the targets were added. + // + // Listeners can wait for this change if read-after-write semantics + // are desired. + CURRENT = 3; + + // The targets have been reset, and a new initial state for the targets + // will be returned in subsequent changes. + // + // After the initial state is complete, `CURRENT` will be returned even + // if the target was previously indicated to be `CURRENT`. + RESET = 4; + } + + // The type of change that occurred. + TargetChangeType target_change_type = 1; + + // The target IDs of targets that have changed. + // + // If empty, the change applies to all targets. + // + // For `target_change_type=ADD`, the order of the target IDs matches the order + // of the requests to add the targets. This allows clients to unambiguously + // associate server-assigned target IDs with added targets. + // + // For other states, the order of the target IDs is not defined. + repeated int32 target_ids = 2; + + // The error that resulted in this change, if applicable. + google.rpc.Status cause = 3; + + // A token that can be used to resume the stream for the given `target_ids`, + // or all targets if `target_ids` is empty. + // + // Not set on every target change. + bytes resume_token = 4; + + // The consistent `read_time` for the given `target_ids` (omitted when the + // target_ids are not at a consistent snapshot). + // + // The stream is guaranteed to send a `read_time` with `target_ids` empty + // whenever the entire stream reaches a new consistent snapshot. ADD, + // CURRENT, and RESET messages are guaranteed to (eventually) result in a + // new consistent snapshot (while NO_CHANGE and REMOVE messages are not). + // + // For a given stream, `read_time` is guaranteed to be monotonically + // increasing. + google.protobuf.Timestamp read_time = 6; +} + +// The request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. +message ListCollectionIdsRequest { + // The parent document. In the format: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + // For example: + // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + string parent = 1; + + // The maximum number of results to return. + int32 page_size = 2; + + // A page token. Must be a value from + // [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse]. + string page_token = 3; +} + +// The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. +message ListCollectionIdsResponse { + // The collection ids. + repeated string collection_ids = 1; + + // A page token that may be used to continue the list. + string next_page_token = 2; +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto new file mode 100644 index 000000000000..dd89ef5132c1 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto @@ -0,0 +1,236 @@ +// 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. +// + +syntax = "proto3"; + +package google.firestore.v1; + +import "google/api/annotations.proto"; +import "google/firestore/v1/document.proto"; +import "google/protobuf/wrappers.proto"; + +option csharp_namespace = "Google.Cloud.Firestore.V1"; +option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option java_multiple_files = true; +option java_outer_classname = "QueryProto"; +option java_package = "com.google.firestore.v1"; +option objc_class_prefix = "GCFS"; +option php_namespace = "Google\\Cloud\\Firestore\\V1"; + + +// A Firestore query. +message StructuredQuery { + // A selection of a collection, such as `messages as m1`. + message CollectionSelector { + // The collection ID. + // When set, selects only collections with this ID. + string collection_id = 2; + + // When false, selects only collections that are immediate children of + // the `parent` specified in the containing `RunQueryRequest`. + // When true, selects all descendant collections. + bool all_descendants = 3; + } + + // A filter. + message Filter { + // The type of filter. + oneof filter_type { + // A composite filter. + CompositeFilter composite_filter = 1; + + // A filter on a document field. + FieldFilter field_filter = 2; + + // A filter that takes exactly one argument. + UnaryFilter unary_filter = 3; + } + } + + // A filter that merges multiple other filters using the given operator. + message CompositeFilter { + // A composite filter operator. + enum Operator { + // Unspecified. This value must not be used. + OPERATOR_UNSPECIFIED = 0; + + // The results are required to satisfy each of the combined filters. + AND = 1; + } + + // The operator for combining multiple filters. + Operator op = 1; + + // The list of filters to combine. + // Must contain at least one filter. + repeated Filter filters = 2; + } + + // A filter on a specific field. + message FieldFilter { + // A field filter operator. + enum Operator { + // Unspecified. This value must not be used. + OPERATOR_UNSPECIFIED = 0; + + // Less than. Requires that the field come first in `order_by`. + LESS_THAN = 1; + + // Less than or equal. Requires that the field come first in `order_by`. + LESS_THAN_OR_EQUAL = 2; + + // Greater than. Requires that the field come first in `order_by`. + GREATER_THAN = 3; + + // Greater than or equal. Requires that the field come first in + // `order_by`. + GREATER_THAN_OR_EQUAL = 4; + + // Equal. + EQUAL = 5; + + // Contains. Requires that the field is an array. + ARRAY_CONTAINS = 7; + } + + // The field to filter by. + FieldReference field = 1; + + // The operator to filter by. + Operator op = 2; + + // The value to compare to. + Value value = 3; + } + + // A filter with a single operand. + message UnaryFilter { + // A unary operator. + enum Operator { + // Unspecified. This value must not be used. + OPERATOR_UNSPECIFIED = 0; + + // Test if a field is equal to NaN. + IS_NAN = 2; + + // Test if an exprestion evaluates to Null. + IS_NULL = 3; + } + + // The unary operator to apply. + Operator op = 1; + + // The argument to the filter. + oneof operand_type { + // The field to which to apply the operator. + FieldReference field = 2; + } + } + + // An order on a field. + message Order { + // The field to order by. + FieldReference field = 1; + + // The direction to order by. Defaults to `ASCENDING`. + Direction direction = 2; + } + + // A reference to a field, such as `max(messages.time) as max_time`. + message FieldReference { + string field_path = 2; + } + + // The projection of document's fields to return. + message Projection { + // The fields to return. + // + // If empty, all fields are returned. To only return the name + // of the document, use `['__name__']`. + repeated FieldReference fields = 2; + } + + // A sort direction. + enum Direction { + // Unspecified. + DIRECTION_UNSPECIFIED = 0; + + // Ascending. + ASCENDING = 1; + + // Descending. + DESCENDING = 2; + } + + // The projection to return. + Projection select = 1; + + // The collections to query. + repeated CollectionSelector from = 2; + + // The filter to apply. + Filter where = 3; + + // The order to apply to the query results. + // + // Firestore guarantees a stable ordering through the following rules: + // + // * Any field required to appear in `order_by`, that is not already + // specified in `order_by`, is appended to the order in field name order + // by default. + // * If an order on `__name__` is not specified, it is appended by default. + // + // Fields are appended with the same sort direction as the last order + // specified, or 'ASCENDING' if no order was specified. For example: + // + // * `SELECT * FROM Foo ORDER BY A` becomes + // `SELECT * FROM Foo ORDER BY A, __name__` + // * `SELECT * FROM Foo ORDER BY A DESC` becomes + // `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` + // * `SELECT * FROM Foo WHERE A > 1` becomes + // `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__` + repeated Order order_by = 4; + + // A starting point for the query results. + Cursor start_at = 7; + + // A end point for the query results. + Cursor end_at = 8; + + // The number of results to skip. + // + // Applies before limit, but after all other constraints. Must be >= 0 if + // specified. + int32 offset = 6; + + // The maximum number of results to return. + // + // Applies after all other constraints. + // Must be >= 0 if specified. + google.protobuf.Int32Value limit = 5; +} + +// A position in a query result set. +message Cursor { + // The values that represent a position, in the order they appear in + // the order by clause of a query. + // + // Can contain fewer values than specified in the order by clause. + repeated Value values = 1; + + // If the position is just before or just after the given values, relative + // to the sort order defined by the query. + bool before = 2; +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto new file mode 100644 index 000000000000..bffd0790997b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto @@ -0,0 +1,255 @@ +// 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. +// + +syntax = "proto3"; + +package google.firestore.v1; + +import "google/api/annotations.proto"; +import "google/firestore/v1/common.proto"; +import "google/firestore/v1/document.proto"; +import "google/protobuf/timestamp.proto"; + +option csharp_namespace = "Google.Cloud.Firestore.V1"; +option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option java_multiple_files = true; +option java_outer_classname = "WriteProto"; +option java_package = "com.google.firestore.v1"; +option objc_class_prefix = "GCFS"; +option php_namespace = "Google\\Cloud\\Firestore\\V1"; + + +// A write on a document. +message Write { + // The operation to execute. + oneof operation { + // A document to write. + Document update = 1; + + // A document name to delete. In the format: + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + string delete = 2; + + // Applies a tranformation to a document. + // At most one `transform` per document is allowed in a given request. + // An `update` cannot follow a `transform` on the same document in a given + // request. + DocumentTransform transform = 6; + } + + // The fields to update in this write. + // + // This field can be set only when the operation is `update`. + // If the mask is not set for an `update` and the document exists, any + // existing data will be overwritten. + // If the mask is set and the document on the server has fields not covered by + // the mask, they are left unchanged. + // Fields referenced in the mask, but not present in the input document, are + // deleted from the document on the server. + // The field paths in this mask must not contain a reserved field name. + DocumentMask update_mask = 3; + + // An optional precondition on the document. + // + // The write will fail if this is set and not met by the target document. + Precondition current_document = 4; +} + +// A transformation of a document. +message DocumentTransform { + // A transformation of a field of the document. + message FieldTransform { + // A value that is calculated by the server. + enum ServerValue { + // Unspecified. This value must not be used. + SERVER_VALUE_UNSPECIFIED = 0; + + // The time at which the server processed the request, with millisecond + // precision. + REQUEST_TIME = 1; + } + + // The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + // reference. + string field_path = 1; + + // The transformation to apply on the field. + oneof transform_type { + // Sets the field to the given server value. + ServerValue set_to_server_value = 2; + + // Adds the given value to the field's current value. + // + // This must be an integer or a double value. + // If the field is not an integer or double, or if the field does not yet + // exist, the transformation will set the field to the given value. + // If either of the given value or the current field value are doubles, + // both values will be interpreted as doubles. Double arithmetic and + // representation of double values follow IEEE 754 semantics. + // If there is positive/negative integer overflow, the field is resolved + // to the largest magnitude positive/negative integer. + Value increment = 3; + + // Sets the field to the maximum of its current value and the given value. + // + // This must be an integer or a double value. + // If the field is not an integer or double, or if the field does not yet + // exist, the transformation will set the field to the given value. + // If a maximum operation is applied where the field and the input value + // are of mixed types (that is - one is an integer and one is a double) + // the field takes on the type of the larger operand. If the operands are + // equivalent (e.g. 3 and 3.0), the field does not change. + // 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and + // zero input value is always the stored value. + // The maximum of any numeric value x and NaN is NaN. + Value maximum = 4; + + // Sets the field to the minimum of its current value and the given value. + // + // This must be an integer or a double value. + // If the field is not an integer or double, or if the field does not yet + // exist, the transformation will set the field to the input value. + // If a minimum operation is applied where the field and the input value + // are of mixed types (that is - one is an integer and one is a double) + // the field takes on the type of the smaller operand. If the operands are + // equivalent (e.g. 3 and 3.0), the field does not change. + // 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and + // zero input value is always the stored value. + // The minimum of any numeric value x and NaN is NaN. + Value minimum = 5; + + // Append the given elements in order if they are not already present in + // the current field value. + // If the field is not an array, or if the field does not yet exist, it is + // first set to the empty array. + // + // Equivalent numbers of different types (e.g. 3L and 3.0) are + // considered equal when checking if a value is missing. + // NaN is equal to NaN, and Null is equal to Null. + // If the input contains multiple equivalent values, only the first will + // be considered. + // + // The corresponding transform_result will be the null value. + ArrayValue append_missing_elements = 6; + + // Remove all of the given elements from the array in the field. + // If the field is not an array, or if the field does not yet exist, it is + // set to the empty array. + // + // Equivalent numbers of the different types (e.g. 3L and 3.0) are + // considered equal when deciding whether an element should be removed. + // NaN is equal to NaN, and Null is equal to Null. + // This will remove all equivalent values if there are duplicates. + // + // The corresponding transform_result will be the null value. + ArrayValue remove_all_from_array = 7; + } + } + + // The name of the document to transform. + string document = 1; + + // The list of transformations to apply to the fields of the document, in + // order. + // This must not be empty. + repeated FieldTransform field_transforms = 2; +} + +// The result of applying a write. +message WriteResult { + // The last update time of the document after applying the write. Not set + // after a `delete`. + // + // If the write did not actually change the document, this will be the + // previous update_time. + google.protobuf.Timestamp update_time = 1; + + // The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + // same order. + repeated Value transform_results = 2; +} + +// A [Document][google.firestore.v1.Document] has changed. +// +// May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that +// ultimately resulted in a new value for the [Document][google.firestore.v1.Document]. +// +// Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical +// change, if multiple targets are affected. +message DocumentChange { + // The new state of the [Document][google.firestore.v1.Document]. + // + // If `mask` is set, contains only fields that were updated or added. + Document document = 1; + + // A set of target IDs of targets that match this document. + repeated int32 target_ids = 5; + + // A set of target IDs for targets that no longer match this document. + repeated int32 removed_target_ids = 6; +} + +// A [Document][google.firestore.v1.Document] has been deleted. +// +// May be the result of multiple [writes][google.firestore.v1.Write], including updates, the +// last of which deleted the [Document][google.firestore.v1.Document]. +// +// Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be returned for the same logical +// delete, if multiple targets are affected. +message DocumentDelete { + // The resource name of the [Document][google.firestore.v1.Document] that was deleted. + string document = 1; + + // A set of target IDs for targets that previously matched this entity. + repeated int32 removed_target_ids = 6; + + // The read timestamp at which the delete was observed. + // + // Greater or equal to the `commit_time` of the delete. + google.protobuf.Timestamp read_time = 4; +} + +// A [Document][google.firestore.v1.Document] has been removed from the view of the targets. +// +// Sent if the document is no longer relevant to a target and is out of view. +// Can be sent instead of a DocumentDelete or a DocumentChange if the server +// can not send the new value of the document. +// +// Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be returned for the same logical +// write or delete, if multiple targets are affected. +message DocumentRemove { + // The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. + string document = 1; + + // A set of target IDs for targets that previously matched this document. + repeated int32 removed_target_ids = 2; + + // The read timestamp at which the remove was observed. + // + // Greater or equal to the `commit_time` of the change/delete/remove. + google.protobuf.Timestamp read_time = 4; +} + +// A digest of all the documents that match a given target. +message ExistenceFilter { + // The target ID to which this filter applies. + int32 target_id = 1; + + // The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id]. + // + // If different from the count of documents in the client that match, the + // client must manually determine which documents no longer match the target. + int32 count = 2; +} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java index 6472c0292658..06581b27b1a1 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java @@ -162,6 +162,183 @@ public interface FieldTransformOrBuilder */ com.google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue(); + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + boolean hasIncrement(); + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + com.google.firestore.v1beta1.Value getIncrement(); + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + com.google.firestore.v1beta1.ValueOrBuilder getIncrementOrBuilder(); + + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + boolean hasMaximum(); + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + com.google.firestore.v1beta1.Value getMaximum(); + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + com.google.firestore.v1beta1.ValueOrBuilder getMaximumOrBuilder(); + + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + boolean hasMinimum(); + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + com.google.firestore.v1beta1.Value getMinimum(); + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + com.google.firestore.v1beta1.ValueOrBuilder getMinimumOrBuilder(); + /** * * @@ -336,6 +513,54 @@ private FieldTransform( transformType_ = rawValue; break; } + case 26: + { + com.google.firestore.v1beta1.Value.Builder subBuilder = null; + if (transformTypeCase_ == 3) { + subBuilder = ((com.google.firestore.v1beta1.Value) transformType_).toBuilder(); + } + transformType_ = + input.readMessage( + com.google.firestore.v1beta1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1beta1.Value) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 3; + break; + } + case 34: + { + com.google.firestore.v1beta1.Value.Builder subBuilder = null; + if (transformTypeCase_ == 4) { + subBuilder = ((com.google.firestore.v1beta1.Value) transformType_).toBuilder(); + } + transformType_ = + input.readMessage( + com.google.firestore.v1beta1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1beta1.Value) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 4; + break; + } + case 42: + { + com.google.firestore.v1beta1.Value.Builder subBuilder = null; + if (transformTypeCase_ == 5) { + subBuilder = ((com.google.firestore.v1beta1.Value) transformType_).toBuilder(); + } + transformType_ = + input.readMessage( + com.google.firestore.v1beta1.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.firestore.v1beta1.Value) transformType_); + transformType_ = subBuilder.buildPartial(); + } + transformTypeCase_ = 5; + break; + } case 50: { com.google.firestore.v1beta1.ArrayValue.Builder subBuilder = null; @@ -536,6 +761,9 @@ private ServerValue(int value) { public enum TransformTypeCase implements com.google.protobuf.Internal.EnumLite { SET_TO_SERVER_VALUE(2), + INCREMENT(3), + MAXIMUM(4), + MINIMUM(5), APPEND_MISSING_ELEMENTS(6), REMOVE_ALL_FROM_ARRAY(7), TRANSFORMTYPE_NOT_SET(0); @@ -554,6 +782,12 @@ public static TransformTypeCase forNumber(int value) { switch (value) { case 2: return SET_TO_SERVER_VALUE; + case 3: + return INCREMENT; + case 4: + return MAXIMUM; + case 5: + return MINIMUM; case 6: return APPEND_MISSING_ELEMENTS; case 7: @@ -663,6 +897,222 @@ public int getSetToServerValueValue() { .SERVER_VALUE_UNSPECIFIED; } + public static final int INCREMENT_FIELD_NUMBER = 3; + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public boolean hasIncrement() { + return transformTypeCase_ == 3; + } + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public com.google.firestore.v1beta1.Value getIncrement() { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + /** + * + * + *
+     * Adds the given value to the field's current value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If either of the given value or the current field value are doubles,
+     * both values will be interpreted as doubles. Double arithmetic and
+     * representation of double values follow IEEE 754 semantics.
+     * If there is positive/negative integer overflow, the field is resolved
+     * to the largest magnitude positive/negative integer.
+     * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public com.google.firestore.v1beta1.ValueOrBuilder getIncrementOrBuilder() { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + + public static final int MAXIMUM_FIELD_NUMBER = 4; + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public boolean hasMaximum() { + return transformTypeCase_ == 4; + } + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public com.google.firestore.v1beta1.Value getMaximum() { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + /** + * + * + *
+     * Sets the field to the maximum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the given value.
+     * If a maximum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the larger operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+     * zero input value is always the stored value.
+     * The maximum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public com.google.firestore.v1beta1.ValueOrBuilder getMaximumOrBuilder() { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + + public static final int MINIMUM_FIELD_NUMBER = 5; + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public boolean hasMinimum() { + return transformTypeCase_ == 5; + } + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public com.google.firestore.v1beta1.Value getMinimum() { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + /** + * + * + *
+     * Sets the field to the minimum of its current value and the given value.
+     * This must be an integer or a double value.
+     * If the field is not an integer or double, or if the field does not yet
+     * exist, the transformation will set the field to the input value.
+     * If a minimum operation is applied where the field and the input value
+     * are of mixed types (that is - one is an integer and one is a double)
+     * the field takes on the type of the smaller operand. If the operands are
+     * equivalent (e.g. 3 and 3.0), the field does not change.
+     * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+     * zero input value is always the stored value.
+     * The minimum of any numeric value x and NaN is NaN.
+     * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public com.google.firestore.v1beta1.ValueOrBuilder getMinimumOrBuilder() { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + public static final int APPEND_MISSING_ELEMENTS_FIELD_NUMBER = 6; /** * @@ -819,6 +1269,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (transformTypeCase_ == 2) { output.writeEnum(2, ((java.lang.Integer) transformType_)); } + if (transformTypeCase_ == 3) { + output.writeMessage(3, (com.google.firestore.v1beta1.Value) transformType_); + } + if (transformTypeCase_ == 4) { + output.writeMessage(4, (com.google.firestore.v1beta1.Value) transformType_); + } + if (transformTypeCase_ == 5) { + output.writeMessage(5, (com.google.firestore.v1beta1.Value) transformType_); + } if (transformTypeCase_ == 6) { output.writeMessage(6, (com.google.firestore.v1beta1.ArrayValue) transformType_); } @@ -842,6 +1301,21 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeEnumSize( 2, ((java.lang.Integer) transformType_)); } + if (transformTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1beta1.Value) transformType_); + } + if (transformTypeCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.firestore.v1beta1.Value) transformType_); + } + if (transformTypeCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.firestore.v1beta1.Value) transformType_); + } if (transformTypeCase_ == 6) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -876,6 +1350,15 @@ public boolean equals(final java.lang.Object obj) { case 2: result = result && getSetToServerValueValue() == other.getSetToServerValueValue(); break; + case 3: + result = result && getIncrement().equals(other.getIncrement()); + break; + case 4: + result = result && getMaximum().equals(other.getMaximum()); + break; + case 5: + result = result && getMinimum().equals(other.getMinimum()); + break; case 6: result = result && getAppendMissingElements().equals(other.getAppendMissingElements()); break; @@ -903,6 +1386,18 @@ public int hashCode() { hash = (37 * hash) + SET_TO_SERVER_VALUE_FIELD_NUMBER; hash = (53 * hash) + getSetToServerValueValue(); break; + case 3: + hash = (37 * hash) + INCREMENT_FIELD_NUMBER; + hash = (53 * hash) + getIncrement().hashCode(); + break; + case 4: + hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; + hash = (53 * hash) + getMaximum().hashCode(); + break; + case 5: + hash = (37 * hash) + MINIMUM_FIELD_NUMBER; + hash = (53 * hash) + getMinimum().hashCode(); + break; case 6: hash = (37 * hash) + APPEND_MISSING_ELEMENTS_FIELD_NUMBER; hash = (53 * hash) + getAppendMissingElements().hashCode(); @@ -1098,6 +1593,27 @@ public com.google.firestore.v1beta1.DocumentTransform.FieldTransform buildPartia if (transformTypeCase_ == 2) { result.transformType_ = transformType_; } + if (transformTypeCase_ == 3) { + if (incrementBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = incrementBuilder_.build(); + } + } + if (transformTypeCase_ == 4) { + if (maximumBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = maximumBuilder_.build(); + } + } + if (transformTypeCase_ == 5) { + if (minimumBuilder_ == null) { + result.transformType_ = transformType_; + } else { + result.transformType_ = minimumBuilder_.build(); + } + } if (transformTypeCase_ == 6) { if (appendMissingElementsBuilder_ == null) { result.transformType_ = transformType_; @@ -1177,6 +1693,21 @@ public Builder mergeFrom( setSetToServerValueValue(other.getSetToServerValueValue()); break; } + case INCREMENT: + { + mergeIncrement(other.getIncrement()); + break; + } + case MAXIMUM: + { + mergeMaximum(other.getMaximum()); + break; + } + case MINIMUM: + { + mergeMinimum(other.getMinimum()); + break; + } case APPEND_MISSING_ELEMENTS: { mergeAppendMissingElements(other.getAppendMissingElements()); @@ -1437,6 +1968,861 @@ public Builder clearSetToServerValue() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder> + incrementBuilder_; + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public boolean hasIncrement() { + return transformTypeCase_ == 3; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public com.google.firestore.v1beta1.Value getIncrement() { + if (incrementBuilder_ == null) { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } else { + if (transformTypeCase_ == 3) { + return incrementBuilder_.getMessage(); + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public Builder setIncrement(com.google.firestore.v1beta1.Value value) { + if (incrementBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + incrementBuilder_.setMessage(value); + } + transformTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public Builder setIncrement(com.google.firestore.v1beta1.Value.Builder builderForValue) { + if (incrementBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + incrementBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public Builder mergeIncrement(com.google.firestore.v1beta1.Value value) { + if (incrementBuilder_ == null) { + if (transformTypeCase_ == 3 + && transformType_ != com.google.firestore.v1beta1.Value.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1beta1.Value.newBuilder( + (com.google.firestore.v1beta1.Value) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 3) { + incrementBuilder_.mergeFrom(value); + } + incrementBuilder_.setMessage(value); + } + transformTypeCase_ = 3; + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public Builder clearIncrement() { + if (incrementBuilder_ == null) { + if (transformTypeCase_ == 3) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 3) { + transformTypeCase_ = 0; + transformType_ = null; + } + incrementBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public com.google.firestore.v1beta1.Value.Builder getIncrementBuilder() { + return getIncrementFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + public com.google.firestore.v1beta1.ValueOrBuilder getIncrementOrBuilder() { + if ((transformTypeCase_ == 3) && (incrementBuilder_ != null)) { + return incrementBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 3) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Adds the given value to the field's current value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If either of the given value or the current field value are doubles,
+       * both values will be interpreted as doubles. Double arithmetic and
+       * representation of double values follow IEEE 754 semantics.
+       * If there is positive/negative integer overflow, the field is resolved
+       * to the largest magnitude positive/negative integer.
+       * 
+ * + * .google.firestore.v1beta1.Value increment = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder> + getIncrementFieldBuilder() { + if (incrementBuilder_ == null) { + if (!(transformTypeCase_ == 3)) { + transformType_ = com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + incrementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder>( + (com.google.firestore.v1beta1.Value) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 3; + onChanged(); + ; + return incrementBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder> + maximumBuilder_; + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public boolean hasMaximum() { + return transformTypeCase_ == 4; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public com.google.firestore.v1beta1.Value getMaximum() { + if (maximumBuilder_ == null) { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } else { + if (transformTypeCase_ == 4) { + return maximumBuilder_.getMessage(); + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public Builder setMaximum(com.google.firestore.v1beta1.Value value) { + if (maximumBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + maximumBuilder_.setMessage(value); + } + transformTypeCase_ = 4; + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public Builder setMaximum(com.google.firestore.v1beta1.Value.Builder builderForValue) { + if (maximumBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + maximumBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 4; + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public Builder mergeMaximum(com.google.firestore.v1beta1.Value value) { + if (maximumBuilder_ == null) { + if (transformTypeCase_ == 4 + && transformType_ != com.google.firestore.v1beta1.Value.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1beta1.Value.newBuilder( + (com.google.firestore.v1beta1.Value) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 4) { + maximumBuilder_.mergeFrom(value); + } + maximumBuilder_.setMessage(value); + } + transformTypeCase_ = 4; + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public Builder clearMaximum() { + if (maximumBuilder_ == null) { + if (transformTypeCase_ == 4) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 4) { + transformTypeCase_ = 0; + transformType_ = null; + } + maximumBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public com.google.firestore.v1beta1.Value.Builder getMaximumBuilder() { + return getMaximumFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + public com.google.firestore.v1beta1.ValueOrBuilder getMaximumOrBuilder() { + if ((transformTypeCase_ == 4) && (maximumBuilder_ != null)) { + return maximumBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 4) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the maximum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the given value.
+       * If a maximum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the larger operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
+       * zero input value is always the stored value.
+       * The maximum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value maximum = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder> + getMaximumFieldBuilder() { + if (maximumBuilder_ == null) { + if (!(transformTypeCase_ == 4)) { + transformType_ = com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + maximumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder>( + (com.google.firestore.v1beta1.Value) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 4; + onChanged(); + ; + return maximumBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder> + minimumBuilder_; + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public boolean hasMinimum() { + return transformTypeCase_ == 5; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public com.google.firestore.v1beta1.Value getMinimum() { + if (minimumBuilder_ == null) { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } else { + if (transformTypeCase_ == 5) { + return minimumBuilder_.getMessage(); + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public Builder setMinimum(com.google.firestore.v1beta1.Value value) { + if (minimumBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformType_ = value; + onChanged(); + } else { + minimumBuilder_.setMessage(value); + } + transformTypeCase_ = 5; + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public Builder setMinimum(com.google.firestore.v1beta1.Value.Builder builderForValue) { + if (minimumBuilder_ == null) { + transformType_ = builderForValue.build(); + onChanged(); + } else { + minimumBuilder_.setMessage(builderForValue.build()); + } + transformTypeCase_ = 5; + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public Builder mergeMinimum(com.google.firestore.v1beta1.Value value) { + if (minimumBuilder_ == null) { + if (transformTypeCase_ == 5 + && transformType_ != com.google.firestore.v1beta1.Value.getDefaultInstance()) { + transformType_ = + com.google.firestore.v1beta1.Value.newBuilder( + (com.google.firestore.v1beta1.Value) transformType_) + .mergeFrom(value) + .buildPartial(); + } else { + transformType_ = value; + } + onChanged(); + } else { + if (transformTypeCase_ == 5) { + minimumBuilder_.mergeFrom(value); + } + minimumBuilder_.setMessage(value); + } + transformTypeCase_ = 5; + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public Builder clearMinimum() { + if (minimumBuilder_ == null) { + if (transformTypeCase_ == 5) { + transformTypeCase_ = 0; + transformType_ = null; + onChanged(); + } + } else { + if (transformTypeCase_ == 5) { + transformTypeCase_ = 0; + transformType_ = null; + } + minimumBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public com.google.firestore.v1beta1.Value.Builder getMinimumBuilder() { + return getMinimumFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + public com.google.firestore.v1beta1.ValueOrBuilder getMinimumOrBuilder() { + if ((transformTypeCase_ == 5) && (minimumBuilder_ != null)) { + return minimumBuilder_.getMessageOrBuilder(); + } else { + if (transformTypeCase_ == 5) { + return (com.google.firestore.v1beta1.Value) transformType_; + } + return com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + } + /** + * + * + *
+       * Sets the field to the minimum of its current value and the given value.
+       * This must be an integer or a double value.
+       * If the field is not an integer or double, or if the field does not yet
+       * exist, the transformation will set the field to the input value.
+       * If a minimum operation is applied where the field and the input value
+       * are of mixed types (that is - one is an integer and one is a double)
+       * the field takes on the type of the smaller operand. If the operands are
+       * equivalent (e.g. 3 and 3.0), the field does not change.
+       * 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
+       * zero input value is always the stored value.
+       * The minimum of any numeric value x and NaN is NaN.
+       * 
+ * + * .google.firestore.v1beta1.Value minimum = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder> + getMinimumFieldBuilder() { + if (minimumBuilder_ == null) { + if (!(transformTypeCase_ == 5)) { + transformType_ = com.google.firestore.v1beta1.Value.getDefaultInstance(); + } + minimumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.Value, + com.google.firestore.v1beta1.Value.Builder, + com.google.firestore.v1beta1.ValueOrBuilder>( + (com.google.firestore.v1beta1.Value) transformType_, + getParentForChildren(), + isClean()); + transformType_ = null; + } + transformTypeCase_ = 5; + onChanged(); + ; + return minimumBuilder_; + } + private com.google.protobuf.SingleFieldBuilderV3< com.google.firestore.v1beta1.ArrayValue, com.google.firestore.v1beta1.ArrayValue.Builder, diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java index 43cc167d8e5f..3cbc5d2b0cea 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java @@ -65,37 +65,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pdate_mask\030\003 \001(\0132&.google.firestore.v1be" + "ta1.DocumentMask\022@\n\020current_document\030\004 \001" + "(\0132&.google.firestore.v1beta1.Preconditi" - + "onB\013\n\toperation\"\352\003\n\021DocumentTransform\022\020\n" + + "onB\013\n\toperation\"\210\005\n\021DocumentTransform\022\020\n" + "\010document\030\001 \001(\t\022T\n\020field_transforms\030\002 \003(" + "\0132:.google.firestore.v1beta1.DocumentTra" - + "nsform.FieldTransform\032\354\002\n\016FieldTransform" + + "nsform.FieldTransform\032\212\004\n\016FieldTransform" + "\022\022\n\nfield_path\030\001 \001(\t\022e\n\023set_to_server_va" + "lue\030\002 \001(\0162F.google.firestore.v1beta1.Doc" + "umentTransform.FieldTransform.ServerValu" - + "eH\000\022G\n\027append_missing_elements\030\006 \001(\0132$.g" - + "oogle.firestore.v1beta1.ArrayValueH\000\022E\n\025" - + "remove_all_from_array\030\007 \001(\0132$.google.fir" - + "estore.v1beta1.ArrayValueH\000\"=\n\013ServerVal" - + "ue\022\034\n\030SERVER_VALUE_UNSPECIFIED\020\000\022\020\n\014REQU" - + "EST_TIME\020\001B\020\n\016transform_type\"z\n\013WriteRes" - + "ult\022/\n\013update_time\030\001 \001(\0132\032.google.protob" - + "uf.Timestamp\022:\n\021transform_results\030\002 \003(\0132" - + "\037.google.firestore.v1beta1.Value\"v\n\016Docu" - + "mentChange\0224\n\010document\030\001 \001(\0132\".google.fi" - + "restore.v1beta1.Document\022\022\n\ntarget_ids\030\005" - + " \003(\005\022\032\n\022removed_target_ids\030\006 \003(\005\"m\n\016Docu" - + "mentDelete\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_" - + "target_ids\030\006 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\"m\n\016DocumentRemov" - + "e\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_target_id" - + "s\030\002 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.google.prot" - + "obuf.Timestamp\"3\n\017ExistenceFilter\022\021\n\ttar" - + "get_id\030\001 \001(\005\022\r\n\005count\030\002 \001(\005B\270\001\n\034com.goog" - + "le.firestore.v1beta1B\nWriteProtoP\001ZAgoog" - + "le.golang.org/genproto/googleapis/firest" - + "ore/v1beta1;firestore\242\002\004GCFS\252\002\036Google.Cl" - + "oud.Firestore.V1Beta1\312\002\036Google\\Cloud\\Fir" - + "estore\\V1beta1b\006proto3" + + "eH\000\0224\n\tincrement\030\003 \001(\0132\037.google.firestor" + + "e.v1beta1.ValueH\000\0222\n\007maximum\030\004 \001(\0132\037.goo" + + "gle.firestore.v1beta1.ValueH\000\0222\n\007minimum" + + "\030\005 \001(\0132\037.google.firestore.v1beta1.ValueH" + + "\000\022G\n\027append_missing_elements\030\006 \001(\0132$.goo" + + "gle.firestore.v1beta1.ArrayValueH\000\022E\n\025re" + + "move_all_from_array\030\007 \001(\0132$.google.fires" + + "tore.v1beta1.ArrayValueH\000\"=\n\013ServerValue" + + "\022\034\n\030SERVER_VALUE_UNSPECIFIED\020\000\022\020\n\014REQUES" + + "T_TIME\020\001B\020\n\016transform_type\"z\n\013WriteResul" + + "t\022/\n\013update_time\030\001 \001(\0132\032.google.protobuf" + + ".Timestamp\022:\n\021transform_results\030\002 \003(\0132\037." + + "google.firestore.v1beta1.Value\"v\n\016Docume" + + "ntChange\0224\n\010document\030\001 \001(\0132\".google.fire" + + "store.v1beta1.Document\022\022\n\ntarget_ids\030\005 \003" + + "(\005\022\032\n\022removed_target_ids\030\006 \003(\005\"m\n\016Docume" + + "ntDelete\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_ta" + + "rget_ids\030\006 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.goog" + + "le.protobuf.Timestamp\"m\n\016DocumentRemove\022" + + "\020\n\010document\030\001 \001(\t\022\032\n\022removed_target_ids\030" + + "\002 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.google.protob" + + "uf.Timestamp\"3\n\017ExistenceFilter\022\021\n\ttarge" + + "t_id\030\001 \001(\005\022\r\n\005count\030\002 \001(\005B\270\001\n\034com.google" + + ".firestore.v1beta1B\nWriteProtoP\001ZAgoogle" + + ".golang.org/genproto/googleapis/firestor" + + "e/v1beta1;firestore\242\002\004GCFS\252\002\036Google.Clou" + + "d.Firestore.V1Beta1\312\002\036Google\\Cloud\\Fires" + + "tore\\V1beta1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -140,6 +144,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "FieldPath", "SetToServerValue", + "Increment", + "Maximum", + "Minimum", "AppendMissingElements", "RemoveAllFromArray", "TransformType", diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto index d6b3dce03f1b..4046a0d6743c 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto index aaa90516cd0c..beb525a4eec6 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto index 7b6c8914b4c7..39ea90e2a7b5 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto index 02d0aaaabd89..17e930213b37 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto index 9901e31010a2..98cd6cbbcff9 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; @@ -89,6 +90,46 @@ message DocumentTransform { // Sets the field to the given server value. ServerValue set_to_server_value = 2; + // Adds the given value to the field's current value. + // + // This must be an integer or a double value. + // If the field is not an integer or double, or if the field does not yet + // exist, the transformation will set the field to the given value. + // If either of the given value or the current field value are doubles, + // both values will be interpreted as doubles. Double arithmetic and + // representation of double values follow IEEE 754 semantics. + // If there is positive/negative integer overflow, the field is resolved + // to the largest magnitude positive/negative integer. + Value increment = 3; + + // Sets the field to the maximum of its current value and the given value. + // + // This must be an integer or a double value. + // If the field is not an integer or double, or if the field does not yet + // exist, the transformation will set the field to the given value. + // If a maximum operation is applied where the field and the input value + // are of mixed types (that is - one is an integer and one is a double) + // the field takes on the type of the larger operand. If the operands are + // equivalent (e.g. 3 and 3.0), the field does not change. + // 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and + // zero input value is always the stored value. + // The maximum of any numeric value x and NaN is NaN. + Value maximum = 4; + + // Sets the field to the minimum of its current value and the given value. + // + // This must be an integer or a double value. + // If the field is not an integer or double, or if the field does not yet + // exist, the transformation will set the field to the input value. + // If a minimum operation is applied where the field and the input value + // are of mixed types (that is - one is an integer and one is a double) + // the field takes on the type of the smaller operand. If the operands are + // equivalent (e.g. 3 and 3.0), the field does not change. + // 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and + // zero input value is always the stored value. + // The minimum of any numeric value x and NaN is NaN. + Value minimum = 5; + // Append the given elements in order if they are not already present in // the current field value. // If the field is not an array, or if the field does not yet exist, it is diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index ccdfca220098..8d6d9c62361d 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -449,11 +449,21 @@ google-cloud-firestore 0.79.1-beta-SNAPSHOT + + com.google.api.grpc + proto-google-cloud-firestore-v1 + 0.44.1-SNAPSHOT + com.google.api.grpc proto-google-cloud-firestore-v1beta1 0.44.1-SNAPSHOT + + com.google.api.grpc + grpc-google-cloud-firestore-v1 + 0.44.1-SNAPSHOT + com.google.api.grpc grpc-google-cloud-firestore-v1beta1 diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index a1a729b5f3a2..36b4eabe15ec 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -37,6 +37,10 @@ com.google.api api-common + + com.google.api.grpc + proto-google-cloud-firestore-v1 + com.google.api.grpc proto-google-cloud-firestore-v1beta1 @@ -46,6 +50,11 @@ auto-value provided + + com.google.api.grpc + grpc-google-cloud-firestore-v1 + test + com.google.api.grpc grpc-google-cloud-firestore-v1beta1 diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java new file mode 100644 index 000000000000..857ce007cb94 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java @@ -0,0 +1,1286 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1; + +import com.google.api.core.ApiFunction; +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.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.pathtemplate.PathTemplate; +import com.google.cloud.firestore.v1.stub.FirestoreStub; +import com.google.cloud.firestore.v1.stub.FirestoreStubSettings; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.CreateDocumentRequest; +import com.google.firestore.v1.DeleteDocumentRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.DocumentMask; +import com.google.firestore.v1.GetDocumentRequest; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListCollectionIdsResponse; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListDocumentsResponse; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.UpdateDocumentRequest; +import com.google.firestore.v1.Write; +import com.google.firestore.v1.WriteRequest; +import com.google.firestore.v1.WriteResponse; +import com.google.protobuf.ByteString; +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 SERVICE +/** + * Service Description: The Cloud Firestore service. + * + *

This service exposes several types of comparable timestamps: + * + *

* `create_time` - The time at which a document was created. Changes only when a document + * is deleted, then re-created. Increases in a strict monotonic fashion. * `update_time` - The + * time at which a document was last updated. Changes every time a document is modified. Does not + * change when a write results in no modifications. Increases in a strict monotonic fashion. * + * `read_time` - The time at which a particular state was observed. Used to denote a consistent + * snapshot of the database or the time at which a Document was observed to not exist. * + * `commit_time` - The time at which the writes in a transaction were committed. Any read with an + * equal or greater `read_time` is guaranteed to see the effects of the transaction. + * + *

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: + * + *

+ * 
+ * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+ *   Document document = Document.newBuilder().build();
+ *   DocumentMask updateMask = DocumentMask.newBuilder().build();
+ *   Document response = firestoreClient.updateDocument(document, updateMask);
+ * }
+ * 
+ * 
+ * + *

Note: close() needs to be called on the firestoreClient 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 FirestoreSettings to create(). + * For example: + * + *

To customize credentials: + * + *

+ * 
+ * FirestoreSettings firestoreSettings =
+ *     FirestoreSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * FirestoreClient firestoreClient =
+ *     FirestoreClient.create(firestoreSettings);
+ * 
+ * 
+ * + * To customize the endpoint: + * + *
+ * 
+ * FirestoreSettings firestoreSettings =
+ *     FirestoreSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * FirestoreClient firestoreClient =
+ *     FirestoreClient.create(firestoreSettings);
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class FirestoreClient implements BackgroundResource { + private final FirestoreSettings settings; + private final FirestoreStub stub; + + private static final PathTemplate DATABASE_ROOT_PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("projects/{project}/databases/{database}"); + + private static final PathTemplate DOCUMENT_ROOT_PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("projects/{project}/databases/{database}/documents"); + + private static final PathTemplate DOCUMENT_PATH_PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/databases/{database}/documents/{document_path=**}"); + + private static final PathTemplate ANY_PATH_PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/databases/{database}/documents/{document}/{any_path=**}"); + + /** Formats a string containing the fully-qualified path to represent a database_root resource. */ + public static final String formatDatabaseRootName(String project, String database) { + return DATABASE_ROOT_PATH_TEMPLATE.instantiate( + "project", project, + "database", database); + } + + /** Formats a string containing the fully-qualified path to represent a document_root resource. */ + public static final String formatDocumentRootName(String project, String database) { + return DOCUMENT_ROOT_PATH_TEMPLATE.instantiate( + "project", project, + "database", database); + } + + /** Formats a string containing the fully-qualified path to represent a document_path resource. */ + public static final String formatDocumentPathName( + String project, String database, String documentPath) { + return DOCUMENT_PATH_PATH_TEMPLATE.instantiate( + "project", project, + "database", database, + "document_path", documentPath); + } + + /** Formats a string containing the fully-qualified path to represent a any_path resource. */ + public static final String formatAnyPathName( + String project, String database, String document, String anyPath) { + return ANY_PATH_PATH_TEMPLATE.instantiate( + "project", project, + "database", database, + "document", document, + "any_path", anyPath); + } + + /** + * Parses the project from the given fully-qualified path which represents a database_root + * resource. + */ + public static final String parseProjectFromDatabaseRootName(String databaseRootName) { + return DATABASE_ROOT_PATH_TEMPLATE.parse(databaseRootName).get("project"); + } + + /** + * Parses the database from the given fully-qualified path which represents a database_root + * resource. + */ + public static final String parseDatabaseFromDatabaseRootName(String databaseRootName) { + return DATABASE_ROOT_PATH_TEMPLATE.parse(databaseRootName).get("database"); + } + + /** + * Parses the project from the given fully-qualified path which represents a document_root + * resource. + */ + public static final String parseProjectFromDocumentRootName(String documentRootName) { + return DOCUMENT_ROOT_PATH_TEMPLATE.parse(documentRootName).get("project"); + } + + /** + * Parses the database from the given fully-qualified path which represents a document_root + * resource. + */ + public static final String parseDatabaseFromDocumentRootName(String documentRootName) { + return DOCUMENT_ROOT_PATH_TEMPLATE.parse(documentRootName).get("database"); + } + + /** + * Parses the project from the given fully-qualified path which represents a document_path + * resource. + */ + public static final String parseProjectFromDocumentPathName(String documentPathName) { + return DOCUMENT_PATH_PATH_TEMPLATE.parse(documentPathName).get("project"); + } + + /** + * Parses the database from the given fully-qualified path which represents a document_path + * resource. + */ + public static final String parseDatabaseFromDocumentPathName(String documentPathName) { + return DOCUMENT_PATH_PATH_TEMPLATE.parse(documentPathName).get("database"); + } + + /** + * Parses the document_path from the given fully-qualified path which represents a document_path + * resource. + */ + public static final String parseDocumentPathFromDocumentPathName(String documentPathName) { + return DOCUMENT_PATH_PATH_TEMPLATE.parse(documentPathName).get("document_path"); + } + + /** + * Parses the project from the given fully-qualified path which represents a any_path resource. + */ + public static final String parseProjectFromAnyPathName(String anyPathName) { + return ANY_PATH_PATH_TEMPLATE.parse(anyPathName).get("project"); + } + + /** + * Parses the database from the given fully-qualified path which represents a any_path resource. + */ + public static final String parseDatabaseFromAnyPathName(String anyPathName) { + return ANY_PATH_PATH_TEMPLATE.parse(anyPathName).get("database"); + } + + /** + * Parses the document from the given fully-qualified path which represents a any_path resource. + */ + public static final String parseDocumentFromAnyPathName(String anyPathName) { + return ANY_PATH_PATH_TEMPLATE.parse(anyPathName).get("document"); + } + + /** + * Parses the any_path from the given fully-qualified path which represents a any_path resource. + */ + public static final String parseAnyPathFromAnyPathName(String anyPathName) { + return ANY_PATH_PATH_TEMPLATE.parse(anyPathName).get("any_path"); + } + + /** Constructs an instance of FirestoreClient with default settings. */ + public static final FirestoreClient create() throws IOException { + return create(FirestoreSettings.newBuilder().build()); + } + + /** + * Constructs an instance of FirestoreClient, 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 FirestoreClient create(FirestoreSettings settings) throws IOException { + return new FirestoreClient(settings); + } + + /** + * Constructs an instance of FirestoreClient, using the given stub for making calls. This is for + * advanced usage - prefer to use FirestoreSettings}. + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final FirestoreClient create(FirestoreStub stub) { + return new FirestoreClient(stub); + } + + /** + * Constructs an instance of FirestoreClient, 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 FirestoreClient(FirestoreSettings settings) throws IOException { + this.settings = settings; + this.stub = ((FirestoreStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected FirestoreClient(FirestoreStub stub) { + this.settings = null; + this.stub = stub; + } + + public final FirestoreSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public FirestoreStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets a single document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedName = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   GetDocumentRequest request = GetDocumentRequest.newBuilder()
+   *     .setName(formattedName)
+   *     .build();
+   *   Document response = firestoreClient.getDocument(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 Document getDocument(GetDocumentRequest request) { + return getDocumentCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets a single document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedName = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   GetDocumentRequest request = GetDocumentRequest.newBuilder()
+   *     .setName(formattedName)
+   *     .build();
+   *   ApiFuture<Document> future = firestoreClient.getDocumentCallable().futureCall(request);
+   *   // Do something
+   *   Document response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable getDocumentCallable() { + return stub.getDocumentCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists documents. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   String collectionId = "";
+   *   ListDocumentsRequest request = ListDocumentsRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .setCollectionId(collectionId)
+   *     .build();
+   *   for (Document element : firestoreClient.listDocuments(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 ListDocumentsPagedResponse listDocuments(ListDocumentsRequest request) { + return listDocumentsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists documents. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   String collectionId = "";
+   *   ListDocumentsRequest request = ListDocumentsRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .setCollectionId(collectionId)
+   *     .build();
+   *   ApiFuture<ListDocumentsPagedResponse> future = firestoreClient.listDocumentsPagedCallable().futureCall(request);
+   *   // Do something
+   *   for (Document element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * 
+ */ + public final UnaryCallable + listDocumentsPagedCallable() { + return stub.listDocumentsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists documents. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   String collectionId = "";
+   *   ListDocumentsRequest request = ListDocumentsRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .setCollectionId(collectionId)
+   *     .build();
+   *   while (true) {
+   *     ListDocumentsResponse response = firestoreClient.listDocumentsCallable().call(request);
+   *     for (Document element : response.getDocumentsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * 
+ */ + public final UnaryCallable listDocumentsCallable() { + return stub.listDocumentsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Creates a new document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   String collectionId = "";
+   *   String documentId = "";
+   *   Document document = Document.newBuilder().build();
+   *   CreateDocumentRequest request = CreateDocumentRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .setCollectionId(collectionId)
+   *     .setDocumentId(documentId)
+   *     .setDocument(document)
+   *     .build();
+   *   Document response = firestoreClient.createDocument(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 Document createDocument(CreateDocumentRequest request) { + return createDocumentCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Creates a new document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   String collectionId = "";
+   *   String documentId = "";
+   *   Document document = Document.newBuilder().build();
+   *   CreateDocumentRequest request = CreateDocumentRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .setCollectionId(collectionId)
+   *     .setDocumentId(documentId)
+   *     .setDocument(document)
+   *     .build();
+   *   ApiFuture<Document> future = firestoreClient.createDocumentCallable().futureCall(request);
+   *   // Do something
+   *   Document response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable createDocumentCallable() { + return stub.createDocumentCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Updates or inserts a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   Document document = Document.newBuilder().build();
+   *   DocumentMask updateMask = DocumentMask.newBuilder().build();
+   *   Document response = firestoreClient.updateDocument(document, updateMask);
+   * }
+   * 
+ * + * @param document The updated document. Creates the document if it does not already exist. + * @param updateMask The fields to update. None of the field paths in the mask may contain a + * reserved name. + *

If the document exists on the server and has fields not referenced in the mask, they are + * left unchanged. Fields referenced in the mask, but not present in the input document, are + * deleted from the document on the server. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Document updateDocument(Document document, DocumentMask updateMask) { + + UpdateDocumentRequest request = + UpdateDocumentRequest.newBuilder().setDocument(document).setUpdateMask(updateMask).build(); + return updateDocument(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Updates or inserts a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   Document document = Document.newBuilder().build();
+   *   DocumentMask updateMask = DocumentMask.newBuilder().build();
+   *   UpdateDocumentRequest request = UpdateDocumentRequest.newBuilder()
+   *     .setDocument(document)
+   *     .setUpdateMask(updateMask)
+   *     .build();
+   *   Document response = firestoreClient.updateDocument(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 Document updateDocument(UpdateDocumentRequest request) { + return updateDocumentCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Updates or inserts a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   Document document = Document.newBuilder().build();
+   *   DocumentMask updateMask = DocumentMask.newBuilder().build();
+   *   UpdateDocumentRequest request = UpdateDocumentRequest.newBuilder()
+   *     .setDocument(document)
+   *     .setUpdateMask(updateMask)
+   *     .build();
+   *   ApiFuture<Document> future = firestoreClient.updateDocumentCallable().futureCall(request);
+   *   // Do something
+   *   Document response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable updateDocumentCallable() { + return stub.updateDocumentCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedName = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   firestoreClient.deleteDocument(formattedName);
+   * }
+   * 
+ * + * @param name The resource name of the Document to delete. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteDocument(String name) { + ANY_PATH_PATH_TEMPLATE.validate(name, "deleteDocument"); + DeleteDocumentRequest request = DeleteDocumentRequest.newBuilder().setName(name).build(); + deleteDocument(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedName = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   DeleteDocumentRequest request = DeleteDocumentRequest.newBuilder()
+   *     .setName(formattedName)
+   *     .build();
+   *   firestoreClient.deleteDocument(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 deleteDocument(DeleteDocumentRequest request) { + deleteDocumentCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedName = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   DeleteDocumentRequest request = DeleteDocumentRequest.newBuilder()
+   *     .setName(formattedName)
+   *     .build();
+   *   ApiFuture<Void> future = firestoreClient.deleteDocumentCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteDocumentCallable() { + return stub.deleteDocumentCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets multiple documents. + * + *

Documents returned by this method are not guaranteed to be returned in the same order that + * they were requested. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   List<String> documents = new ArrayList<>();
+   *   BatchGetDocumentsRequest request = BatchGetDocumentsRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .addAllDocuments(documents)
+   *     .build();
+   *
+   *   ServerStream<BatchGetDocumentsResponse> stream = firestoreClient.batchGetDocumentsCallable().call(request);
+   *   for (BatchGetDocumentsResponse response : stream) {
+   *     // Do something when receive a response
+   *   }
+   * }
+   * 
+ */ + public final ServerStreamingCallable + batchGetDocumentsCallable() { + return stub.batchGetDocumentsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Starts a new transaction. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   BeginTransactionResponse response = firestoreClient.beginTransaction(formattedDatabase);
+   * }
+   * 
+ * + * @param database The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final BeginTransactionResponse beginTransaction(String database) { + DATABASE_ROOT_PATH_TEMPLATE.validate(database, "beginTransaction"); + BeginTransactionRequest request = + BeginTransactionRequest.newBuilder().setDatabase(database).build(); + return beginTransaction(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Starts a new transaction. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   BeginTransactionRequest request = BeginTransactionRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .build();
+   *   BeginTransactionResponse response = firestoreClient.beginTransaction(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 BeginTransactionResponse beginTransaction(BeginTransactionRequest request) { + return beginTransactionCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Starts a new transaction. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   BeginTransactionRequest request = BeginTransactionRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .build();
+   *   ApiFuture<BeginTransactionResponse> future = firestoreClient.beginTransactionCallable().futureCall(request);
+   *   // Do something
+   *   BeginTransactionResponse response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable + beginTransactionCallable() { + return stub.beginTransactionCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Commits a transaction, while optionally updating documents. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   List<Write> writes = new ArrayList<>();
+   *   CommitResponse response = firestoreClient.commit(formattedDatabase, writes);
+   * }
+   * 
+ * + * @param database The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + * @param writes The writes to apply. + *

Always executed atomically and in order. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CommitResponse commit(String database, List writes) { + DATABASE_ROOT_PATH_TEMPLATE.validate(database, "commit"); + CommitRequest request = + CommitRequest.newBuilder().setDatabase(database).addAllWrites(writes).build(); + return commit(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Commits a transaction, while optionally updating documents. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   List<Write> writes = new ArrayList<>();
+   *   CommitRequest request = CommitRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .addAllWrites(writes)
+   *     .build();
+   *   CommitResponse response = firestoreClient.commit(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 CommitResponse commit(CommitRequest request) { + return commitCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Commits a transaction, while optionally updating documents. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   List<Write> writes = new ArrayList<>();
+   *   CommitRequest request = CommitRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .addAllWrites(writes)
+   *     .build();
+   *   ApiFuture<CommitResponse> future = firestoreClient.commitCallable().futureCall(request);
+   *   // Do something
+   *   CommitResponse response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable commitCallable() { + return stub.commitCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Rolls back a transaction. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   ByteString transaction = ByteString.copyFromUtf8("");
+   *   firestoreClient.rollback(formattedDatabase, transaction);
+   * }
+   * 
+ * + * @param database The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + * @param transaction The transaction to roll back. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void rollback(String database, ByteString transaction) { + DATABASE_ROOT_PATH_TEMPLATE.validate(database, "rollback"); + RollbackRequest request = + RollbackRequest.newBuilder().setDatabase(database).setTransaction(transaction).build(); + rollback(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Rolls back a transaction. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   ByteString transaction = ByteString.copyFromUtf8("");
+   *   RollbackRequest request = RollbackRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .setTransaction(transaction)
+   *     .build();
+   *   firestoreClient.rollback(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 rollback(RollbackRequest request) { + rollbackCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Rolls back a transaction. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   ByteString transaction = ByteString.copyFromUtf8("");
+   *   RollbackRequest request = RollbackRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .setTransaction(transaction)
+   *     .build();
+   *   ApiFuture<Void> future = firestoreClient.rollbackCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable rollbackCallable() { + return stub.rollbackCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Runs a query. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   RunQueryRequest request = RunQueryRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .build();
+   *
+   *   ServerStream<RunQueryResponse> stream = firestoreClient.runQueryCallable().call(request);
+   *   for (RunQueryResponse response : stream) {
+   *     // Do something when receive a response
+   *   }
+   * }
+   * 
+ */ + public final ServerStreamingCallable runQueryCallable() { + return stub.runQueryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Streams batches of document updates and deletes, in order. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   BidiStream<WriteRequest, WriteResponse> bidiStream =
+   *       firestoreClient.writeCallable().call();
+   *
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   WriteRequest request = WriteRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .build();
+   *   bidiStream.send(request);
+   *   for (WriteResponse response : bidiStream) {
+   *     // Do something when receive a response
+   *   }
+   * }
+   * 
+ */ + public final BidiStreamingCallable writeCallable() { + return stub.writeCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Listens to changes. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   BidiStream<ListenRequest, ListenResponse> bidiStream =
+   *       firestoreClient.listenCallable().call();
+   *
+   *   String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]");
+   *   ListenRequest request = ListenRequest.newBuilder()
+   *     .setDatabase(formattedDatabase)
+   *     .build();
+   *   bidiStream.send(request);
+   *   for (ListenResponse response : bidiStream) {
+   *     // Do something when receive a response
+   *   }
+   * }
+   * 
+ */ + public final BidiStreamingCallable listenCallable() { + return stub.listenCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists all the collection IDs underneath a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   for (String element : firestoreClient.listCollectionIds(formattedParent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * 
+ * + * @param parent The parent document. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: + * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListCollectionIdsPagedResponse listCollectionIds(String parent) { + ANY_PATH_PATH_TEMPLATE.validate(parent, "listCollectionIds"); + ListCollectionIdsRequest request = + ListCollectionIdsRequest.newBuilder().setParent(parent).build(); + return listCollectionIds(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists all the collection IDs underneath a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   ListCollectionIdsRequest request = ListCollectionIdsRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .build();
+   *   for (String element : firestoreClient.listCollectionIds(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 ListCollectionIdsPagedResponse listCollectionIds(ListCollectionIdsRequest request) { + return listCollectionIdsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists all the collection IDs underneath a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   ListCollectionIdsRequest request = ListCollectionIdsRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .build();
+   *   ApiFuture<ListCollectionIdsPagedResponse> future = firestoreClient.listCollectionIdsPagedCallable().futureCall(request);
+   *   // Do something
+   *   for (String element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * 
+ */ + public final UnaryCallable + listCollectionIdsPagedCallable() { + return stub.listCollectionIdsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists all the collection IDs underneath a document. + * + *

Sample code: + * + *


+   * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+   *   String formattedParent = FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
+   *   ListCollectionIdsRequest request = ListCollectionIdsRequest.newBuilder()
+   *     .setParent(formattedParent)
+   *     .build();
+   *   while (true) {
+   *     ListCollectionIdsResponse response = firestoreClient.listCollectionIdsCallable().call(request);
+   *     for (String element : response.getCollectionIdsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * 
+ */ + public final UnaryCallable + listCollectionIdsCallable() { + return stub.listCollectionIdsCallable(); + } + + @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 ListDocumentsPagedResponse + extends AbstractPagedListResponse< + ListDocumentsRequest, + ListDocumentsResponse, + Document, + ListDocumentsPage, + ListDocumentsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListDocumentsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + new ApiFunction() { + @Override + public ListDocumentsPagedResponse apply(ListDocumentsPage input) { + return new ListDocumentsPagedResponse(input); + } + }); + } + + private ListDocumentsPagedResponse(ListDocumentsPage page) { + super(page, ListDocumentsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListDocumentsPage + extends AbstractPage< + ListDocumentsRequest, ListDocumentsResponse, Document, ListDocumentsPage> { + + private ListDocumentsPage( + PageContext context, + ListDocumentsResponse response) { + super(context, response); + } + + private static ListDocumentsPage createEmptyPage() { + return new ListDocumentsPage(null, null); + } + + @Override + protected ListDocumentsPage createPage( + PageContext context, + ListDocumentsResponse response) { + return new ListDocumentsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListDocumentsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListDocumentsRequest, + ListDocumentsResponse, + Document, + ListDocumentsPage, + ListDocumentsFixedSizeCollection> { + + private ListDocumentsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListDocumentsFixedSizeCollection createEmptyCollection() { + return new ListDocumentsFixedSizeCollection(null, 0); + } + + @Override + protected ListDocumentsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListDocumentsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListCollectionIdsPagedResponse + extends AbstractPagedListResponse< + ListCollectionIdsRequest, + ListCollectionIdsResponse, + String, + ListCollectionIdsPage, + ListCollectionIdsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListCollectionIdsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + new ApiFunction() { + @Override + public ListCollectionIdsPagedResponse apply(ListCollectionIdsPage input) { + return new ListCollectionIdsPagedResponse(input); + } + }); + } + + private ListCollectionIdsPagedResponse(ListCollectionIdsPage page) { + super(page, ListCollectionIdsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListCollectionIdsPage + extends AbstractPage< + ListCollectionIdsRequest, ListCollectionIdsResponse, String, ListCollectionIdsPage> { + + private ListCollectionIdsPage( + PageContext context, + ListCollectionIdsResponse response) { + super(context, response); + } + + private static ListCollectionIdsPage createEmptyPage() { + return new ListCollectionIdsPage(null, null); + } + + @Override + protected ListCollectionIdsPage createPage( + PageContext context, + ListCollectionIdsResponse response) { + return new ListCollectionIdsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListCollectionIdsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListCollectionIdsRequest, + ListCollectionIdsResponse, + String, + ListCollectionIdsPage, + ListCollectionIdsFixedSizeCollection> { + + private ListCollectionIdsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListCollectionIdsFixedSizeCollection createEmptyCollection() { + return new ListCollectionIdsFixedSizeCollection(null, 0); + } + + @Override + protected ListCollectionIdsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListCollectionIdsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java new file mode 100644 index 000000000000..d8e2230087e1 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java @@ -0,0 +1,334 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1; + +import static com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; +import static com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse; + +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.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.firestore.v1.stub.FirestoreStubSettings; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.CreateDocumentRequest; +import com.google.firestore.v1.DeleteDocumentRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.GetDocumentRequest; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListCollectionIdsResponse; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListDocumentsResponse; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.UpdateDocumentRequest; +import com.google.firestore.v1.WriteRequest; +import com.google.firestore.v1.WriteResponse; +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 FirestoreClient}. + * + *

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

    + *
  • The default service address (firestore.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 updateDocument to 30 seconds: + * + *

+ * 
+ * FirestoreSettings.Builder firestoreSettingsBuilder =
+ *     FirestoreSettings.newBuilder();
+ * firestoreSettingsBuilder.updateDocumentSettings().getRetrySettings().toBuilder()
+ *     .setTotalTimeout(Duration.ofSeconds(30));
+ * FirestoreSettings firestoreSettings = firestoreSettingsBuilder.build();
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class FirestoreSettings extends ClientSettings { + /** Returns the object with the settings used for calls to getDocument. */ + public UnaryCallSettings getDocumentSettings() { + return ((FirestoreStubSettings) getStubSettings()).getDocumentSettings(); + } + + /** Returns the object with the settings used for calls to listDocuments. */ + public PagedCallSettings + listDocumentsSettings() { + return ((FirestoreStubSettings) getStubSettings()).listDocumentsSettings(); + } + + /** Returns the object with the settings used for calls to createDocument. */ + public UnaryCallSettings createDocumentSettings() { + return ((FirestoreStubSettings) getStubSettings()).createDocumentSettings(); + } + + /** Returns the object with the settings used for calls to updateDocument. */ + public UnaryCallSettings updateDocumentSettings() { + return ((FirestoreStubSettings) getStubSettings()).updateDocumentSettings(); + } + + /** Returns the object with the settings used for calls to deleteDocument. */ + public UnaryCallSettings deleteDocumentSettings() { + return ((FirestoreStubSettings) getStubSettings()).deleteDocumentSettings(); + } + + /** Returns the object with the settings used for calls to batchGetDocuments. */ + public ServerStreamingCallSettings + batchGetDocumentsSettings() { + return ((FirestoreStubSettings) getStubSettings()).batchGetDocumentsSettings(); + } + + /** Returns the object with the settings used for calls to beginTransaction. */ + public UnaryCallSettings + beginTransactionSettings() { + return ((FirestoreStubSettings) getStubSettings()).beginTransactionSettings(); + } + + /** Returns the object with the settings used for calls to commit. */ + public UnaryCallSettings commitSettings() { + return ((FirestoreStubSettings) getStubSettings()).commitSettings(); + } + + /** Returns the object with the settings used for calls to rollback. */ + public UnaryCallSettings rollbackSettings() { + return ((FirestoreStubSettings) getStubSettings()).rollbackSettings(); + } + + /** Returns the object with the settings used for calls to runQuery. */ + public ServerStreamingCallSettings runQuerySettings() { + return ((FirestoreStubSettings) getStubSettings()).runQuerySettings(); + } + + /** Returns the object with the settings used for calls to write. */ + public StreamingCallSettings writeSettings() { + return ((FirestoreStubSettings) getStubSettings()).writeSettings(); + } + + /** Returns the object with the settings used for calls to listen. */ + public StreamingCallSettings listenSettings() { + return ((FirestoreStubSettings) getStubSettings()).listenSettings(); + } + + /** Returns the object with the settings used for calls to listCollectionIds. */ + public PagedCallSettings< + ListCollectionIdsRequest, ListCollectionIdsResponse, ListCollectionIdsPagedResponse> + listCollectionIdsSettings() { + return ((FirestoreStubSettings) getStubSettings()).listCollectionIdsSettings(); + } + + public static final FirestoreSettings create(FirestoreStubSettings stub) throws IOException { + return new FirestoreSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return FirestoreStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return FirestoreStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return FirestoreStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return FirestoreStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return FirestoreStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return FirestoreStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return FirestoreStubSettings.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 FirestoreSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for FirestoreSettings. */ + public static class Builder extends ClientSettings.Builder { + protected Builder() throws IOException { + this((ClientContext) null); + } + + protected Builder(ClientContext clientContext) { + super(FirestoreStubSettings.newBuilder(clientContext)); + } + + private static Builder createDefault() { + return new Builder(FirestoreStubSettings.newBuilder()); + } + + protected Builder(FirestoreSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(FirestoreStubSettings.Builder stubSettings) { + super(stubSettings); + } + + public FirestoreStubSettings.Builder getStubSettingsBuilder() { + return ((FirestoreStubSettings.Builder) getStubSettings()); + } + + // NEXT_MAJOR_VER: remove 'throws Exception' + /** + * 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) throws Exception { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to getDocument. */ + public UnaryCallSettings.Builder getDocumentSettings() { + return getStubSettingsBuilder().getDocumentSettings(); + } + + /** Returns the builder for the settings used for calls to listDocuments. */ + public PagedCallSettings.Builder< + ListDocumentsRequest, ListDocumentsResponse, ListDocumentsPagedResponse> + listDocumentsSettings() { + return getStubSettingsBuilder().listDocumentsSettings(); + } + + /** Returns the builder for the settings used for calls to createDocument. */ + public UnaryCallSettings.Builder createDocumentSettings() { + return getStubSettingsBuilder().createDocumentSettings(); + } + + /** Returns the builder for the settings used for calls to updateDocument. */ + public UnaryCallSettings.Builder updateDocumentSettings() { + return getStubSettingsBuilder().updateDocumentSettings(); + } + + /** Returns the builder for the settings used for calls to deleteDocument. */ + public UnaryCallSettings.Builder deleteDocumentSettings() { + return getStubSettingsBuilder().deleteDocumentSettings(); + } + + /** Returns the builder for the settings used for calls to batchGetDocuments. */ + public ServerStreamingCallSettings.Builder + batchGetDocumentsSettings() { + return getStubSettingsBuilder().batchGetDocumentsSettings(); + } + + /** Returns the builder for the settings used for calls to beginTransaction. */ + public UnaryCallSettings.Builder + beginTransactionSettings() { + return getStubSettingsBuilder().beginTransactionSettings(); + } + + /** Returns the builder for the settings used for calls to commit. */ + public UnaryCallSettings.Builder commitSettings() { + return getStubSettingsBuilder().commitSettings(); + } + + /** Returns the builder for the settings used for calls to rollback. */ + public UnaryCallSettings.Builder rollbackSettings() { + return getStubSettingsBuilder().rollbackSettings(); + } + + /** Returns the builder for the settings used for calls to runQuery. */ + public ServerStreamingCallSettings.Builder + runQuerySettings() { + return getStubSettingsBuilder().runQuerySettings(); + } + + /** Returns the builder for the settings used for calls to write. */ + public StreamingCallSettings.Builder writeSettings() { + return getStubSettingsBuilder().writeSettings(); + } + + /** Returns the builder for the settings used for calls to listen. */ + public StreamingCallSettings.Builder listenSettings() { + return getStubSettingsBuilder().listenSettings(); + } + + /** Returns the builder for the settings used for calls to listCollectionIds. */ + public PagedCallSettings.Builder< + ListCollectionIdsRequest, ListCollectionIdsResponse, ListCollectionIdsPagedResponse> + listCollectionIdsSettings() { + return getStubSettingsBuilder().listCollectionIdsSettings(); + } + + @Override + public FirestoreSettings build() throws IOException { + return new FirestoreSettings(this); + } + } +} diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java new file mode 100644 index 000000000000..c52cb4c02565 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java @@ -0,0 +1,49 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 Google Cloud Firestore API. + * + *

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

=============== FirestoreClient =============== + * + *

Service Description: The Cloud Firestore service. + * + *

This service exposes several types of comparable timestamps: + * + *

* `create_time` - The time at which a document was created. Changes only when a document + * is deleted, then re-created. Increases in a strict monotonic fashion. * `update_time` - The + * time at which a document was last updated. Changes every time a document is modified. Does not + * change when a write results in no modifications. Increases in a strict monotonic fashion. * + * `read_time` - The time at which a particular state was observed. Used to denote a consistent + * snapshot of the database or the time at which a Document was observed to not exist. * + * `commit_time` - The time at which the writes in a transaction were committed. Any read with an + * equal or greater `read_time` is guaranteed to see the effects of the transaction. + * + *

Sample for FirestoreClient: + * + *

+ * 
+ * try (FirestoreClient firestoreClient = FirestoreClient.create()) {
+ *   Document document = Document.newBuilder().build();
+ *   DocumentMask updateMask = DocumentMask.newBuilder().build();
+ *   Document response = firestoreClient.updateDocument(document, updateMask);
+ * }
+ * 
+ * 
+ */ +package com.google.cloud.firestore.v1; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java new file mode 100644 index 000000000000..f694cd9e4463 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java @@ -0,0 +1,128 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1.stub; + +import static com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; +import static com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.CreateDocumentRequest; +import com.google.firestore.v1.DeleteDocumentRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.GetDocumentRequest; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListCollectionIdsResponse; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListDocumentsResponse; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.UpdateDocumentRequest; +import com.google.firestore.v1.WriteRequest; +import com.google.firestore.v1.WriteResponse; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * Base stub class for Google Cloud Firestore API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public abstract class FirestoreStub implements BackgroundResource { + + public UnaryCallable getDocumentCallable() { + throw new UnsupportedOperationException("Not implemented: getDocumentCallable()"); + } + + public UnaryCallable + listDocumentsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listDocumentsPagedCallable()"); + } + + public UnaryCallable listDocumentsCallable() { + throw new UnsupportedOperationException("Not implemented: listDocumentsCallable()"); + } + + public UnaryCallable createDocumentCallable() { + throw new UnsupportedOperationException("Not implemented: createDocumentCallable()"); + } + + public UnaryCallable updateDocumentCallable() { + throw new UnsupportedOperationException("Not implemented: updateDocumentCallable()"); + } + + public UnaryCallable deleteDocumentCallable() { + throw new UnsupportedOperationException("Not implemented: deleteDocumentCallable()"); + } + + public ServerStreamingCallable + batchGetDocumentsCallable() { + throw new UnsupportedOperationException("Not implemented: batchGetDocumentsCallable()"); + } + + public UnaryCallable + beginTransactionCallable() { + throw new UnsupportedOperationException("Not implemented: beginTransactionCallable()"); + } + + public UnaryCallable commitCallable() { + throw new UnsupportedOperationException("Not implemented: commitCallable()"); + } + + public UnaryCallable rollbackCallable() { + throw new UnsupportedOperationException("Not implemented: rollbackCallable()"); + } + + public ServerStreamingCallable runQueryCallable() { + throw new UnsupportedOperationException("Not implemented: runQueryCallable()"); + } + + public BidiStreamingCallable writeCallable() { + throw new UnsupportedOperationException("Not implemented: writeCallable()"); + } + + public BidiStreamingCallable listenCallable() { + throw new UnsupportedOperationException("Not implemented: listenCallable()"); + } + + public UnaryCallable + listCollectionIdsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listCollectionIdsPagedCallable()"); + } + + public UnaryCallable + listCollectionIdsCallable() { + throw new UnsupportedOperationException("Not implemented: listCollectionIdsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java new file mode 100644 index 000000000000..ca5e47a0b981 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java @@ -0,0 +1,707 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1.stub; + +import static com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; +import static com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse; + +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.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.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.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StreamingCallSettings; +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.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.CreateDocumentRequest; +import com.google.firestore.v1.DeleteDocumentRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.GetDocumentRequest; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListCollectionIdsResponse; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListDocumentsResponse; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.UpdateDocumentRequest; +import com.google.firestore.v1.WriteRequest; +import com.google.firestore.v1.WriteResponse; +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 FirestoreStub}. + * + *

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

    + *
  • The default service address (firestore.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 updateDocument to 30 seconds: + * + *

+ * 
+ * FirestoreStubSettings.Builder firestoreSettingsBuilder =
+ *     FirestoreStubSettings.newBuilder();
+ * firestoreSettingsBuilder.updateDocumentSettings().getRetrySettings().toBuilder()
+ *     .setTotalTimeout(Duration.ofSeconds(30));
+ * FirestoreStubSettings firestoreSettings = firestoreSettingsBuilder.build();
+ * 
+ * 
+ */ +@Generated("by gapic-generator") +@BetaApi +public class FirestoreStubSettings 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") + .add("https://www.googleapis.com/auth/datastore") + .build(); + + private final UnaryCallSettings getDocumentSettings; + private final PagedCallSettings< + ListDocumentsRequest, ListDocumentsResponse, ListDocumentsPagedResponse> + listDocumentsSettings; + private final UnaryCallSettings createDocumentSettings; + private final UnaryCallSettings updateDocumentSettings; + private final UnaryCallSettings deleteDocumentSettings; + private final ServerStreamingCallSettings + batchGetDocumentsSettings; + private final UnaryCallSettings + beginTransactionSettings; + private final UnaryCallSettings commitSettings; + private final UnaryCallSettings rollbackSettings; + private final ServerStreamingCallSettings runQuerySettings; + private final StreamingCallSettings writeSettings; + private final StreamingCallSettings listenSettings; + private final PagedCallSettings< + ListCollectionIdsRequest, ListCollectionIdsResponse, ListCollectionIdsPagedResponse> + listCollectionIdsSettings; + + /** Returns the object with the settings used for calls to getDocument. */ + public UnaryCallSettings getDocumentSettings() { + return getDocumentSettings; + } + + /** Returns the object with the settings used for calls to listDocuments. */ + public PagedCallSettings + listDocumentsSettings() { + return listDocumentsSettings; + } + + /** Returns the object with the settings used for calls to createDocument. */ + public UnaryCallSettings createDocumentSettings() { + return createDocumentSettings; + } + + /** Returns the object with the settings used for calls to updateDocument. */ + public UnaryCallSettings updateDocumentSettings() { + return updateDocumentSettings; + } + + /** Returns the object with the settings used for calls to deleteDocument. */ + public UnaryCallSettings deleteDocumentSettings() { + return deleteDocumentSettings; + } + + /** Returns the object with the settings used for calls to batchGetDocuments. */ + public ServerStreamingCallSettings + batchGetDocumentsSettings() { + return batchGetDocumentsSettings; + } + + /** Returns the object with the settings used for calls to beginTransaction. */ + public UnaryCallSettings + beginTransactionSettings() { + return beginTransactionSettings; + } + + /** Returns the object with the settings used for calls to commit. */ + public UnaryCallSettings commitSettings() { + return commitSettings; + } + + /** Returns the object with the settings used for calls to rollback. */ + public UnaryCallSettings rollbackSettings() { + return rollbackSettings; + } + + /** Returns the object with the settings used for calls to runQuery. */ + public ServerStreamingCallSettings runQuerySettings() { + return runQuerySettings; + } + + /** Returns the object with the settings used for calls to write. */ + public StreamingCallSettings writeSettings() { + return writeSettings; + } + + /** Returns the object with the settings used for calls to listen. */ + public StreamingCallSettings listenSettings() { + return listenSettings; + } + + /** Returns the object with the settings used for calls to listCollectionIds. */ + public PagedCallSettings< + ListCollectionIdsRequest, ListCollectionIdsResponse, ListCollectionIdsPagedResponse> + listCollectionIdsSettings() { + return listCollectionIdsSettings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public FirestoreStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcFirestoreStub.create(this); + } else { + throw new UnsupportedOperationException( + "Transport not supported: " + 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 "firestore.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); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.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 defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(FirestoreStubSettings.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 FirestoreStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + getDocumentSettings = settingsBuilder.getDocumentSettings().build(); + listDocumentsSettings = settingsBuilder.listDocumentsSettings().build(); + createDocumentSettings = settingsBuilder.createDocumentSettings().build(); + updateDocumentSettings = settingsBuilder.updateDocumentSettings().build(); + deleteDocumentSettings = settingsBuilder.deleteDocumentSettings().build(); + batchGetDocumentsSettings = settingsBuilder.batchGetDocumentsSettings().build(); + beginTransactionSettings = settingsBuilder.beginTransactionSettings().build(); + commitSettings = settingsBuilder.commitSettings().build(); + rollbackSettings = settingsBuilder.rollbackSettings().build(); + runQuerySettings = settingsBuilder.runQuerySettings().build(); + writeSettings = settingsBuilder.writeSettings().build(); + listenSettings = settingsBuilder.listenSettings().build(); + listCollectionIdsSettings = settingsBuilder.listCollectionIdsSettings().build(); + } + + private static final PagedListDescriptor + LIST_DOCUMENTS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListDocumentsRequest injectToken(ListDocumentsRequest payload, String token) { + return ListDocumentsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListDocumentsRequest injectPageSize(ListDocumentsRequest payload, int pageSize) { + return ListDocumentsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListDocumentsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListDocumentsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListDocumentsResponse payload) { + return payload.getDocumentsList() != null + ? payload.getDocumentsList() + : ImmutableList.of(); + } + }; + + private static final PagedListDescriptor< + ListCollectionIdsRequest, ListCollectionIdsResponse, String> + LIST_COLLECTION_IDS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListCollectionIdsRequest injectToken( + ListCollectionIdsRequest payload, String token) { + return ListCollectionIdsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListCollectionIdsRequest injectPageSize( + ListCollectionIdsRequest payload, int pageSize) { + return ListCollectionIdsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListCollectionIdsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListCollectionIdsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListCollectionIdsResponse payload) { + return payload.getCollectionIdsList() != null + ? payload.getCollectionIdsList() + : ImmutableList.of(); + } + }; + + private static final PagedListResponseFactory< + ListDocumentsRequest, ListDocumentsResponse, ListDocumentsPagedResponse> + LIST_DOCUMENTS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListDocumentsRequest, ListDocumentsResponse, ListDocumentsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListDocumentsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_DOCUMENTS_PAGE_STR_DESC, request, context); + return ListDocumentsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListCollectionIdsRequest, ListCollectionIdsResponse, ListCollectionIdsPagedResponse> + LIST_COLLECTION_IDS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListCollectionIdsRequest, + ListCollectionIdsResponse, + ListCollectionIdsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListCollectionIdsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_COLLECTION_IDS_PAGE_STR_DESC, request, context); + return ListCollectionIdsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Builder for FirestoreStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + + private final UnaryCallSettings.Builder getDocumentSettings; + private final PagedCallSettings.Builder< + ListDocumentsRequest, ListDocumentsResponse, ListDocumentsPagedResponse> + listDocumentsSettings; + private final UnaryCallSettings.Builder createDocumentSettings; + private final UnaryCallSettings.Builder updateDocumentSettings; + private final UnaryCallSettings.Builder deleteDocumentSettings; + private final ServerStreamingCallSettings.Builder< + BatchGetDocumentsRequest, BatchGetDocumentsResponse> + batchGetDocumentsSettings; + private final UnaryCallSettings.Builder + beginTransactionSettings; + private final UnaryCallSettings.Builder commitSettings; + private final UnaryCallSettings.Builder rollbackSettings; + private final ServerStreamingCallSettings.Builder + runQuerySettings; + private final StreamingCallSettings.Builder writeSettings; + private final StreamingCallSettings.Builder listenSettings; + private final PagedCallSettings.Builder< + ListCollectionIdsRequest, ListCollectionIdsResponse, ListCollectionIdsPagedResponse> + listCollectionIdsSettings; + + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "idempotent", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + definitions.put("non_idempotent", 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(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(20000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(20000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("default", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(300000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("streaming", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this((ClientContext) null); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + getDocumentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + listDocumentsSettings = PagedCallSettings.newBuilder(LIST_DOCUMENTS_PAGE_STR_FACT); + + createDocumentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + updateDocumentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + deleteDocumentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + batchGetDocumentsSettings = ServerStreamingCallSettings.newBuilder(); + + beginTransactionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + commitSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + rollbackSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + runQuerySettings = ServerStreamingCallSettings.newBuilder(); + + writeSettings = StreamingCallSettings.newBuilder(); + + listenSettings = StreamingCallSettings.newBuilder(); + + listCollectionIdsSettings = PagedCallSettings.newBuilder(LIST_COLLECTION_IDS_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + getDocumentSettings, + listDocumentsSettings, + createDocumentSettings, + updateDocumentSettings, + deleteDocumentSettings, + beginTransactionSettings, + commitSettings, + rollbackSettings, + listCollectionIdsSettings); + + initDefaults(this); + } + + private static Builder createDefault() { + Builder builder = new Builder((ClientContext) null); + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + + builder + .getDocumentSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .listDocumentsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .createDocumentSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .updateDocumentSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .deleteDocumentSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .batchGetDocumentsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("streaming")); + + builder + .beginTransactionSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .commitSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .rollbackSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + builder + .runQuerySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("streaming")); + + builder + .listCollectionIdsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + + return builder; + } + + protected Builder(FirestoreStubSettings settings) { + super(settings); + + getDocumentSettings = settings.getDocumentSettings.toBuilder(); + listDocumentsSettings = settings.listDocumentsSettings.toBuilder(); + createDocumentSettings = settings.createDocumentSettings.toBuilder(); + updateDocumentSettings = settings.updateDocumentSettings.toBuilder(); + deleteDocumentSettings = settings.deleteDocumentSettings.toBuilder(); + batchGetDocumentsSettings = settings.batchGetDocumentsSettings.toBuilder(); + beginTransactionSettings = settings.beginTransactionSettings.toBuilder(); + commitSettings = settings.commitSettings.toBuilder(); + rollbackSettings = settings.rollbackSettings.toBuilder(); + runQuerySettings = settings.runQuerySettings.toBuilder(); + writeSettings = settings.writeSettings.toBuilder(); + listenSettings = settings.listenSettings.toBuilder(); + listCollectionIdsSettings = settings.listCollectionIdsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + getDocumentSettings, + listDocumentsSettings, + createDocumentSettings, + updateDocumentSettings, + deleteDocumentSettings, + beginTransactionSettings, + commitSettings, + rollbackSettings, + listCollectionIdsSettings); + } + + // NEXT_MAJOR_VER: remove 'throws Exception' + /** + * 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) throws Exception { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to getDocument. */ + public UnaryCallSettings.Builder getDocumentSettings() { + return getDocumentSettings; + } + + /** Returns the builder for the settings used for calls to listDocuments. */ + public PagedCallSettings.Builder< + ListDocumentsRequest, ListDocumentsResponse, ListDocumentsPagedResponse> + listDocumentsSettings() { + return listDocumentsSettings; + } + + /** Returns the builder for the settings used for calls to createDocument. */ + public UnaryCallSettings.Builder createDocumentSettings() { + return createDocumentSettings; + } + + /** Returns the builder for the settings used for calls to updateDocument. */ + public UnaryCallSettings.Builder updateDocumentSettings() { + return updateDocumentSettings; + } + + /** Returns the builder for the settings used for calls to deleteDocument. */ + public UnaryCallSettings.Builder deleteDocumentSettings() { + return deleteDocumentSettings; + } + + /** Returns the builder for the settings used for calls to batchGetDocuments. */ + public ServerStreamingCallSettings.Builder + batchGetDocumentsSettings() { + return batchGetDocumentsSettings; + } + + /** Returns the builder for the settings used for calls to beginTransaction. */ + public UnaryCallSettings.Builder + beginTransactionSettings() { + return beginTransactionSettings; + } + + /** Returns the builder for the settings used for calls to commit. */ + public UnaryCallSettings.Builder commitSettings() { + return commitSettings; + } + + /** Returns the builder for the settings used for calls to rollback. */ + public UnaryCallSettings.Builder rollbackSettings() { + return rollbackSettings; + } + + /** Returns the builder for the settings used for calls to runQuery. */ + public ServerStreamingCallSettings.Builder + runQuerySettings() { + return runQuerySettings; + } + + /** Returns the builder for the settings used for calls to write. */ + public StreamingCallSettings.Builder writeSettings() { + return writeSettings; + } + + /** Returns the builder for the settings used for calls to listen. */ + public StreamingCallSettings.Builder listenSettings() { + return listenSettings; + } + + /** Returns the builder for the settings used for calls to listCollectionIds. */ + public PagedCallSettings.Builder< + ListCollectionIdsRequest, ListCollectionIdsResponse, ListCollectionIdsPagedResponse> + listCollectionIdsSettings() { + return listCollectionIdsSettings; + } + + @Override + public FirestoreStubSettings build() throws IOException { + return new FirestoreStubSettings(this); + } + } +} diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java new file mode 100644 index 000000000000..da23496c10d7 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java @@ -0,0 +1,115 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1.stub; + +import com.google.api.core.BetaApi; +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.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS +/** + * gRPC callable factory implementation for Google Cloud Firestore API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator") +@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") +public class GrpcFirestoreCallableFactory implements GrpcStubCallableFactory { + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings pagedCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable( + grpcCallSettings, pagedCallSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings batchingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, batchingCallSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings operationCallSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, operationCallSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings streamingCallSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, streamingCallSettings, clientContext); + } +} diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java new file mode 100644 index 000000000000..db590d114028 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java @@ -0,0 +1,446 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1.stub; + +import static com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; +import static com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse; + +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.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.CreateDocumentRequest; +import com.google.firestore.v1.DeleteDocumentRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.GetDocumentRequest; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListCollectionIdsResponse; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListDocumentsResponse; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.UpdateDocumentRequest; +import com.google.firestore.v1.WriteRequest; +import com.google.firestore.v1.WriteResponse; +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 Google Cloud Firestore API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public class GrpcFirestoreStub extends FirestoreStub { + + private static final MethodDescriptor getDocumentMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/GetDocument") + .setRequestMarshaller(ProtoUtils.marshaller(GetDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Document.getDefaultInstance())) + .build(); + private static final MethodDescriptor + listDocumentsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/ListDocuments") + .setRequestMarshaller( + ProtoUtils.marshaller(ListDocumentsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListDocumentsResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor + createDocumentMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/CreateDocument") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Document.getDefaultInstance())) + .build(); + private static final MethodDescriptor + updateDocumentMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/UpdateDocument") + .setRequestMarshaller( + ProtoUtils.marshaller(UpdateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Document.getDefaultInstance())) + .build(); + private static final MethodDescriptor + deleteDocumentMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/DeleteDocument") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor + batchGetDocumentsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.firestore.v1.Firestore/BatchGetDocuments") + .setRequestMarshaller( + ProtoUtils.marshaller(BatchGetDocumentsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(BatchGetDocumentsResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor + beginTransactionMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/BeginTransaction") + .setRequestMarshaller( + ProtoUtils.marshaller(BeginTransactionRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(BeginTransactionResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor commitMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/Commit") + .setRequestMarshaller(ProtoUtils.marshaller(CommitRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(CommitResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor rollbackMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/Rollback") + .setRequestMarshaller(ProtoUtils.marshaller(RollbackRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor + runQueryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.firestore.v1.Firestore/RunQuery") + .setRequestMarshaller(ProtoUtils.marshaller(RunQueryRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(RunQueryResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor writeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName("google.firestore.v1.Firestore/Write") + .setRequestMarshaller(ProtoUtils.marshaller(WriteRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(WriteResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor listenMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName("google.firestore.v1.Firestore/Listen") + .setRequestMarshaller(ProtoUtils.marshaller(ListenRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ListenResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor + listCollectionIdsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.firestore.v1.Firestore/ListCollectionIds") + .setRequestMarshaller( + ProtoUtils.marshaller(ListCollectionIdsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListCollectionIdsResponse.getDefaultInstance())) + .build(); + + private final BackgroundResource backgroundResources; + + private final UnaryCallable getDocumentCallable; + private final UnaryCallable listDocumentsCallable; + private final UnaryCallable + listDocumentsPagedCallable; + private final UnaryCallable createDocumentCallable; + private final UnaryCallable updateDocumentCallable; + private final UnaryCallable deleteDocumentCallable; + private final ServerStreamingCallable + batchGetDocumentsCallable; + private final UnaryCallable + beginTransactionCallable; + private final UnaryCallable commitCallable; + private final UnaryCallable rollbackCallable; + private final ServerStreamingCallable runQueryCallable; + private final BidiStreamingCallable writeCallable; + private final BidiStreamingCallable listenCallable; + private final UnaryCallable + listCollectionIdsCallable; + private final UnaryCallable + listCollectionIdsPagedCallable; + + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcFirestoreStub create(FirestoreStubSettings settings) throws IOException { + return new GrpcFirestoreStub(settings, ClientContext.create(settings)); + } + + public static final GrpcFirestoreStub create(ClientContext clientContext) throws IOException { + return new GrpcFirestoreStub(FirestoreStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcFirestoreStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcFirestoreStub( + FirestoreStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcFirestoreStub, 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 GrpcFirestoreStub(FirestoreStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcFirestoreCallableFactory()); + } + + /** + * Constructs an instance of GrpcFirestoreStub, 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 GrpcFirestoreStub( + FirestoreStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + GrpcCallSettings getDocumentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getDocumentMethodDescriptor) + .build(); + GrpcCallSettings listDocumentsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listDocumentsMethodDescriptor) + .build(); + GrpcCallSettings createDocumentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createDocumentMethodDescriptor) + .build(); + GrpcCallSettings updateDocumentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateDocumentMethodDescriptor) + .build(); + GrpcCallSettings deleteDocumentTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteDocumentMethodDescriptor) + .build(); + GrpcCallSettings + batchGetDocumentsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(batchGetDocumentsMethodDescriptor) + .build(); + GrpcCallSettings + beginTransactionTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(beginTransactionMethodDescriptor) + .build(); + GrpcCallSettings commitTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(commitMethodDescriptor) + .build(); + GrpcCallSettings rollbackTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(rollbackMethodDescriptor) + .build(); + GrpcCallSettings runQueryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(runQueryMethodDescriptor) + .build(); + GrpcCallSettings writeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(writeMethodDescriptor) + .build(); + GrpcCallSettings listenTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listenMethodDescriptor) + .build(); + GrpcCallSettings + listCollectionIdsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listCollectionIdsMethodDescriptor) + .build(); + + this.getDocumentCallable = + callableFactory.createUnaryCallable( + getDocumentTransportSettings, settings.getDocumentSettings(), clientContext); + this.listDocumentsCallable = + callableFactory.createUnaryCallable( + listDocumentsTransportSettings, settings.listDocumentsSettings(), clientContext); + this.listDocumentsPagedCallable = + callableFactory.createPagedCallable( + listDocumentsTransportSettings, settings.listDocumentsSettings(), clientContext); + this.createDocumentCallable = + callableFactory.createUnaryCallable( + createDocumentTransportSettings, settings.createDocumentSettings(), clientContext); + this.updateDocumentCallable = + callableFactory.createUnaryCallable( + updateDocumentTransportSettings, settings.updateDocumentSettings(), clientContext); + this.deleteDocumentCallable = + callableFactory.createUnaryCallable( + deleteDocumentTransportSettings, settings.deleteDocumentSettings(), clientContext); + this.batchGetDocumentsCallable = + callableFactory.createServerStreamingCallable( + batchGetDocumentsTransportSettings, + settings.batchGetDocumentsSettings(), + clientContext); + this.beginTransactionCallable = + callableFactory.createUnaryCallable( + beginTransactionTransportSettings, settings.beginTransactionSettings(), clientContext); + this.commitCallable = + callableFactory.createUnaryCallable( + commitTransportSettings, settings.commitSettings(), clientContext); + this.rollbackCallable = + callableFactory.createUnaryCallable( + rollbackTransportSettings, settings.rollbackSettings(), clientContext); + this.runQueryCallable = + callableFactory.createServerStreamingCallable( + runQueryTransportSettings, settings.runQuerySettings(), clientContext); + this.writeCallable = + callableFactory.createBidiStreamingCallable( + writeTransportSettings, settings.writeSettings(), clientContext); + this.listenCallable = + callableFactory.createBidiStreamingCallable( + listenTransportSettings, settings.listenSettings(), clientContext); + this.listCollectionIdsCallable = + callableFactory.createUnaryCallable( + listCollectionIdsTransportSettings, + settings.listCollectionIdsSettings(), + clientContext); + this.listCollectionIdsPagedCallable = + callableFactory.createPagedCallable( + listCollectionIdsTransportSettings, + settings.listCollectionIdsSettings(), + clientContext); + + backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public UnaryCallable getDocumentCallable() { + return getDocumentCallable; + } + + public UnaryCallable + listDocumentsPagedCallable() { + return listDocumentsPagedCallable; + } + + public UnaryCallable listDocumentsCallable() { + return listDocumentsCallable; + } + + public UnaryCallable createDocumentCallable() { + return createDocumentCallable; + } + + public UnaryCallable updateDocumentCallable() { + return updateDocumentCallable; + } + + public UnaryCallable deleteDocumentCallable() { + return deleteDocumentCallable; + } + + public ServerStreamingCallable + batchGetDocumentsCallable() { + return batchGetDocumentsCallable; + } + + public UnaryCallable + beginTransactionCallable() { + return beginTransactionCallable; + } + + public UnaryCallable commitCallable() { + return commitCallable; + } + + public UnaryCallable rollbackCallable() { + return rollbackCallable; + } + + public ServerStreamingCallable runQueryCallable() { + return runQueryCallable; + } + + public BidiStreamingCallable writeCallable() { + return writeCallable; + } + + public BidiStreamingCallable listenCallable() { + return listenCallable; + } + + public UnaryCallable + listCollectionIdsPagedCallable() { + return listCollectionIdsPagedCallable; + } + + public UnaryCallable + listCollectionIdsCallable() { + return listCollectionIdsCallable; + } + + @Override + public final void close() { + shutdown(); + } + + @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/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreClient.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreClient.java index 92a33b869b74..ce92bacdefb1 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreClient.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreSettings.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreSettings.java index 515086cc14a4..8c86d5837a36 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreSettings.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/FirestoreSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/package-info.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/package-info.java index 4e93462f8892..def10566323a 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStub.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStub.java index 55c699922b47..18fb6c73562d 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStub.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStubSettings.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStubSettings.java index f268f755f881..95aabe47f306 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStubSettings.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/FirestoreStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreCallableFactory.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreCallableFactory.java index 7b6f475d801b..9dcce3a5cb64 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreCallableFactory.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreStub.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreStub.java index c53974584755..9df708eae781 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreStub.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1beta1/stub/GrpcFirestoreStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java new file mode 100644 index 000000000000..209551659f01 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java @@ -0,0 +1,561 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1; + +import static com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; + +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.grpc.testing.MockStreamObserver; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiStreamObserver; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StatusCode; +import com.google.common.collect.Lists; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.DeleteDocumentRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.DocumentMask; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListCollectionIdsResponse; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.UpdateDocumentRequest; +import com.google.firestore.v1.Write; +import com.google.firestore.v1.WriteRequest; +import com.google.firestore.v1.WriteResponse; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.GeneratedMessageV3; +import io.grpc.Status; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.concurrent.ExecutionException; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@javax.annotation.Generated("by GAPIC") +public class FirestoreClientTest { + private static MockFirestore mockFirestore; + private static MockServiceHelper serviceHelper; + private FirestoreClient client; + private LocalChannelProvider channelProvider; + + @BeforeClass + public static void startStaticServer() { + mockFirestore = new MockFirestore(); + serviceHelper = + new MockServiceHelper("in-process-1", Arrays.asList(mockFirestore)); + serviceHelper.start(); + } + + @AfterClass + public static void stopServer() { + serviceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + serviceHelper.reset(); + channelProvider = serviceHelper.createChannelProvider(); + FirestoreSettings settings = + FirestoreSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = FirestoreClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + @SuppressWarnings("all") + public void updateDocumentTest() { + String name = "name3373707"; + Document expectedResponse = Document.newBuilder().setName(name).build(); + mockFirestore.addResponse(expectedResponse); + + Document document = Document.newBuilder().build(); + DocumentMask updateMask = DocumentMask.newBuilder().build(); + + Document actualResponse = client.updateDocument(document, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFirestore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateDocumentRequest actualRequest = (UpdateDocumentRequest) actualRequests.get(0); + + Assert.assertEquals(document, actualRequest.getDocument()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void updateDocumentExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + + try { + Document document = Document.newBuilder().build(); + DocumentMask updateMask = DocumentMask.newBuilder().build(); + + client.updateDocument(document, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void deleteDocumentTest() { + Empty expectedResponse = Empty.newBuilder().build(); + mockFirestore.addResponse(expectedResponse); + + String formattedName = + FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]"); + + client.deleteDocument(formattedName); + + List actualRequests = mockFirestore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteDocumentRequest actualRequest = (DeleteDocumentRequest) actualRequests.get(0); + + Assert.assertEquals(formattedName, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteDocumentExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + + try { + String formattedName = + FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]"); + + client.deleteDocument(formattedName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void batchGetDocumentsTest() throws Exception { + String missing = "missing1069449574"; + ByteString transaction = ByteString.copyFromUtf8("-34"); + BatchGetDocumentsResponse expectedResponse = + BatchGetDocumentsResponse.newBuilder() + .setMissing(missing) + .setTransaction(transaction) + .build(); + mockFirestore.addResponse(expectedResponse); + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + List documents = new ArrayList<>(); + BatchGetDocumentsRequest request = + BatchGetDocumentsRequest.newBuilder() + .setDatabase(formattedDatabase) + .addAllDocuments(documents) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.batchGetDocumentsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + @SuppressWarnings("all") + public void batchGetDocumentsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + List documents = new ArrayList<>(); + BatchGetDocumentsRequest request = + BatchGetDocumentsRequest.newBuilder() + .setDatabase(formattedDatabase) + .addAllDocuments(documents) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.batchGetDocumentsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + @SuppressWarnings("all") + public void beginTransactionTest() { + ByteString transaction = ByteString.copyFromUtf8("-34"); + BeginTransactionResponse expectedResponse = + BeginTransactionResponse.newBuilder().setTransaction(transaction).build(); + mockFirestore.addResponse(expectedResponse); + + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + + BeginTransactionResponse actualResponse = client.beginTransaction(formattedDatabase); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFirestore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BeginTransactionRequest actualRequest = (BeginTransactionRequest) actualRequests.get(0); + + Assert.assertEquals(formattedDatabase, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void beginTransactionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + + try { + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + + client.beginTransaction(formattedDatabase); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void commitTest() { + CommitResponse expectedResponse = CommitResponse.newBuilder().build(); + mockFirestore.addResponse(expectedResponse); + + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + List writes = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(formattedDatabase, writes); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFirestore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = (CommitRequest) actualRequests.get(0); + + Assert.assertEquals(formattedDatabase, actualRequest.getDatabase()); + Assert.assertEquals(writes, actualRequest.getWritesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void commitExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + + try { + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + List writes = new ArrayList<>(); + + client.commit(formattedDatabase, writes); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void rollbackTest() { + Empty expectedResponse = Empty.newBuilder().build(); + mockFirestore.addResponse(expectedResponse); + + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + ByteString transaction = ByteString.copyFromUtf8("-34"); + + client.rollback(formattedDatabase, transaction); + + List actualRequests = mockFirestore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackRequest actualRequest = (RollbackRequest) actualRequests.get(0); + + Assert.assertEquals(formattedDatabase, actualRequest.getDatabase()); + Assert.assertEquals(transaction, actualRequest.getTransaction()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void rollbackExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + + try { + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + ByteString transaction = ByteString.copyFromUtf8("-34"); + + client.rollback(formattedDatabase, transaction); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void runQueryTest() throws Exception { + ByteString transaction = ByteString.copyFromUtf8("-34"); + int skippedResults = 880286183; + RunQueryResponse expectedResponse = + RunQueryResponse.newBuilder() + .setTransaction(transaction) + .setSkippedResults(skippedResults) + .build(); + mockFirestore.addResponse(expectedResponse); + String formattedParent = + FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]"); + RunQueryRequest request = RunQueryRequest.newBuilder().setParent(formattedParent).build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.runQueryCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + @SuppressWarnings("all") + public void runQueryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + String formattedParent = + FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]"); + RunQueryRequest request = RunQueryRequest.newBuilder().setParent(formattedParent).build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.runQueryCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + @SuppressWarnings("all") + public void writeTest() throws Exception { + String streamId = "streamId-315624902"; + ByteString streamToken = ByteString.copyFromUtf8("122"); + WriteResponse expectedResponse = + WriteResponse.newBuilder().setStreamId(streamId).setStreamToken(streamToken).build(); + mockFirestore.addResponse(expectedResponse); + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + WriteRequest request = WriteRequest.newBuilder().setDatabase(formattedDatabase).build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + BidiStreamingCallable callable = client.writeCallable(); + ApiStreamObserver requestObserver = callable.bidiStreamingCall(responseObserver); + + requestObserver.onNext(request); + requestObserver.onCompleted(); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + @SuppressWarnings("all") + public void writeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + WriteRequest request = WriteRequest.newBuilder().setDatabase(formattedDatabase).build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + BidiStreamingCallable callable = client.writeCallable(); + ApiStreamObserver requestObserver = callable.bidiStreamingCall(responseObserver); + + requestObserver.onNext(request); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + @SuppressWarnings("all") + public void listenTest() throws Exception { + ListenResponse expectedResponse = ListenResponse.newBuilder().build(); + mockFirestore.addResponse(expectedResponse); + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + ListenRequest request = ListenRequest.newBuilder().setDatabase(formattedDatabase).build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + BidiStreamingCallable callable = client.listenCallable(); + ApiStreamObserver requestObserver = callable.bidiStreamingCall(responseObserver); + + requestObserver.onNext(request); + requestObserver.onCompleted(); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + @SuppressWarnings("all") + public void listenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + String formattedDatabase = FirestoreClient.formatDatabaseRootName("[PROJECT]", "[DATABASE]"); + ListenRequest request = ListenRequest.newBuilder().setDatabase(formattedDatabase).build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + BidiStreamingCallable callable = client.listenCallable(); + ApiStreamObserver requestObserver = callable.bidiStreamingCall(responseObserver); + + requestObserver.onNext(request); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = (InvalidArgumentException) e.getCause(); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + @SuppressWarnings("all") + public void listCollectionIdsTest() { + String nextPageToken = ""; + String collectionIdsElement = "collectionIdsElement1368994900"; + List collectionIds = Arrays.asList(collectionIdsElement); + ListCollectionIdsResponse expectedResponse = + ListCollectionIdsResponse.newBuilder() + .setNextPageToken(nextPageToken) + .addAllCollectionIds(collectionIds) + .build(); + mockFirestore.addResponse(expectedResponse); + + String formattedParent = + FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]"); + + ListCollectionIdsPagedResponse pagedListResponse = client.listCollectionIds(formattedParent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getCollectionIdsList().get(0), resources.get(0)); + + List actualRequests = mockFirestore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListCollectionIdsRequest actualRequest = (ListCollectionIdsRequest) actualRequests.get(0); + + Assert.assertEquals(formattedParent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listCollectionIdsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockFirestore.addException(exception); + + try { + String formattedParent = + FirestoreClient.formatAnyPathName("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]"); + + client.listCollectionIds(formattedParent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } +} diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java new file mode 100644 index 000000000000..9ba9ada0648a --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java @@ -0,0 +1,57 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.GeneratedMessageV3; +import io.grpc.ServerServiceDefinition; +import java.util.List; + +@javax.annotation.Generated("by GAPIC") +@BetaApi +public class MockFirestore implements MockGrpcService { + private final MockFirestoreImpl serviceImpl; + + public MockFirestore() { + serviceImpl = new MockFirestoreImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(GeneratedMessageV3 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/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java new file mode 100644 index 000000000000..3579eae07437 --- /dev/null +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java @@ -0,0 +1,303 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.firestore.v1; + +import com.google.api.core.BetaApi; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.CreateDocumentRequest; +import com.google.firestore.v1.DeleteDocumentRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.FirestoreGrpc.FirestoreImplBase; +import com.google.firestore.v1.GetDocumentRequest; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListCollectionIdsResponse; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListDocumentsResponse; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.UpdateDocumentRequest; +import com.google.firestore.v1.WriteRequest; +import com.google.firestore.v1.WriteResponse; +import com.google.protobuf.Empty; +import com.google.protobuf.GeneratedMessageV3; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; + +@javax.annotation.Generated("by GAPIC") +@BetaApi +public class MockFirestoreImpl extends FirestoreImplBase { + private ArrayList requests; + private Queue responses; + + public MockFirestoreImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(GeneratedMessageV3 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 getDocument(GetDocumentRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof Document) { + requests.add(request); + responseObserver.onNext((Document) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void listDocuments( + ListDocumentsRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof ListDocumentsResponse) { + requests.add(request); + responseObserver.onNext((ListDocumentsResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void createDocument( + CreateDocumentRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof Document) { + requests.add(request); + responseObserver.onNext((Document) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void updateDocument( + UpdateDocumentRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof Document) { + requests.add(request); + responseObserver.onNext((Document) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void deleteDocument( + DeleteDocumentRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + 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("Unrecognized response type")); + } + } + + @Override + public void batchGetDocuments( + BatchGetDocumentsRequest request, + StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof BatchGetDocumentsResponse) { + requests.add(request); + responseObserver.onNext((BatchGetDocumentsResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void beginTransaction( + BeginTransactionRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof BeginTransactionResponse) { + requests.add(request); + responseObserver.onNext((BeginTransactionResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void commit(CommitRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof CommitResponse) { + requests.add(request); + responseObserver.onNext((CommitResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void rollback(RollbackRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + 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("Unrecognized response type")); + } + } + + @Override + public void runQuery(RunQueryRequest request, StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof RunQueryResponse) { + requests.add(request); + responseObserver.onNext((RunQueryResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public StreamObserver write(final StreamObserver responseObserver) { + final Object response = responses.remove(); + StreamObserver requestObserver = + new StreamObserver() { + @Override + public void onNext(WriteRequest value) { + if (response instanceof WriteResponse) { + responseObserver.onNext((WriteResponse) response); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void onError(Throwable t) { + responseObserver.onError(t); + } + + @Override + public void onCompleted() { + responseObserver.onCompleted(); + } + }; + return requestObserver; + } + + @Override + public StreamObserver listen( + final StreamObserver responseObserver) { + final Object response = responses.remove(); + StreamObserver requestObserver = + new StreamObserver() { + @Override + public void onNext(ListenRequest value) { + if (response instanceof ListenResponse) { + responseObserver.onNext((ListenResponse) response); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } + + @Override + public void onError(Throwable t) { + responseObserver.onError(t); + } + + @Override + public void onCompleted() { + responseObserver.onCompleted(); + } + }; + return requestObserver; + } + + @Override + public void listCollectionIds( + ListCollectionIdsRequest request, + StreamObserver responseObserver) { + Object response = responses.remove(); + if (response instanceof ListCollectionIdsResponse) { + requests.add(request); + responseObserver.onNext((ListCollectionIdsResponse) response); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError((Exception) response); + } else { + responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + } + } +} diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/FirestoreClientTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/FirestoreClientTest.java index bccb45372718..192c4f271da2 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/FirestoreClientTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/FirestoreClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestore.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestore.java index 5a06b34af2b9..bf2b9f821b67 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestore.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestore.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestoreImpl.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestoreImpl.java index 4f3c3c27f415..e5c097e93730 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestoreImpl.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1beta1/MockFirestoreImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-firestore/synth.py b/google-cloud-clients/google-cloud-firestore/synth.py index d110596733dc..9ba8a5ea2ae3 100644 --- a/google-cloud-clients/google-cloud-firestore/synth.py +++ b/google-cloud-clients/google-cloud-firestore/synth.py @@ -21,20 +21,33 @@ gapic = gcp.GAPICGenerator() service = 'firestore' -versions = ['v1beta1'] -config_pattern = '/google/firestore/artman_firestore.yaml' - -for version in versions: - library = gapic.java_library( - service=service, - version=version, - config_path=config_pattern.format(version=version), - artman_output_name='') - - s.copy(library / f'gapic-google-cloud-{service}-{version}/src', 'src') - s.copy(library / f'grpc-google-cloud-{service}-{version}/src', f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') - s.copy(library / f'proto-google-cloud-{service}-{version}/src', f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') - - java.format_code('./src') - java.format_code(f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') - java.format_code(f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') +version='v1beta1' + +library = gapic.java_library( + service=service, + version='v1beta1', + config_path=f'/google/firestore/artman_firestore.yaml', + artman_output_name='') + +s.copy(library / f'gapic-google-cloud-{service}-{version}/src', 'src') +s.copy(library / f'grpc-google-cloud-{service}-{version}/src', f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') +s.copy(library / f'proto-google-cloud-{service}-{version}/src', f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') + +java.format_code('./src') +java.format_code(f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') +java.format_code(f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') + +version='v1' +library = gapic.java_library( + service=service, + version='v1', + config_path=f'/google/firestore/artman_firestore_v1.yaml', + artman_output_name='') + +s.copy(library / f'gapic-google-cloud-{service}-{version}/src', 'src') +s.copy(library / f'grpc-google-cloud-{service}-{version}/src', f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') +s.copy(library / f'proto-google-cloud-{service}-{version}/src', f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') + +java.format_code('./src') +java.format_code(f'../../google-api-grpc/grpc-google-cloud-{service}-{version}/src') +java.format_code(f'../../google-api-grpc/proto-google-cloud-{service}-{version}/src') \ No newline at end of file diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 595bac9eafcb..4663faa0c1a3 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -792,7 +792,7 @@ Stub packages - com.google.cloud.asset.v1beta1.stub:com.google.cloud.automl.v1beta1.stub:com.google.cloud.bigquerydatatransfer.v1.stub:com.google.cloud.bigquerystorage.v1beta1.stub:com.google.cloud.bigtable-admin.v2.stub:com.google.cloud.bigtable.v2.stub:com.google.cloud.container.v1.stub:com.google.cloud.containeranalysis.v1beta1.stub:com.google.cloud.dataproc.v1.stub:com.google.cloud.dataproc.v1beta2.stub:com.google.cloud.dialogflow.v2.stub:com.google.cloud.dialogflow.v2beta1.stub:com.google.cloud.dlp.v2.stub:com.google.cloud.error-reporting.v1beta1.stub:com.google.cloud.firestore.v1beta1.stub:com.google.cloud.iamcredentials.v1.stub:com.google.cloud.iot.v1.stub:com.google.cloud.kms.v1.stub:com.google.cloud.language.v1.stub:com.google.cloud.language.v1beta2.stub:com.google.cloud.logging.v2.stub:com.google.cloud.monitoring.v3.stub:com.google.cloud.os-login.v1.stub:com.google.cloud.pubsub.v1.stub:com.google.cloud.redis.v1.stub:com.google.cloud.redis.v1beta1.stub:com.google.cloud.scheduler.v1beta1.stub:com.google.cloud.securitycenter.v1beta1.stub:com.google.cloud.spanner-admin-database.v1.stub:com.google.cloud.spanner-admin-instance.v1.stub:com.google.cloud.spanner.v1.stub:com.google.cloud.speech.v1.stub:com.google.cloud.speech.v1beta1.stub:com.google.cloud.speech.v1p1beta1.stub:com.google.cloud.tasks.v2beta2.stub:com.google.cloud.tasks.v2beta3.stub:com.google.cloud.texttospeech.v1.stub:com.google.cloud.texttospeech.v1beta1.stub:com.google.cloud.trace.v1.stub:com.google.cloud.trace.v2.stub:com.google.cloud.video-intelligence.v1.stub:com.google.cloud.video-intelligence.v1beta1.stub:com.google.cloud.video-intelligence.v1beta2.stub:com.google.cloud.video-intelligence.v1p1beta1.stub:com.google.cloud.video-intelligence.v1p2beta1.stub:com.google.cloud.vision.v1.stub:com.google.cloud.vision.v1p1beta1.stub:com.google.cloud.vision.v1p2beta1.stub:com.google.cloud.vision.v1p3beta1.stub:com.google.cloud.websecurityscanner.v1alpha.stub + com.google.cloud.asset.v1beta1.stub:com.google.cloud.automl.v1beta1.stub:com.google.cloud.bigquerydatatransfer.v1.stub:com.google.cloud.bigquerystorage.v1beta1.stub:com.google.cloud.bigtable-admin.v2.stub:com.google.cloud.bigtable.v2.stub:com.google.cloud.container.v1.stub:com.google.cloud.containeranalysis.v1beta1.stub:com.google.cloud.dataproc.v1.stub:com.google.cloud.dataproc.v1beta2.stub:com.google.cloud.dialogflow.v2.stub:com.google.cloud.dialogflow.v2beta1.stub:com.google.cloud.dlp.v2.stub:com.google.cloud.error-reporting.v1beta1.stub:com.google.cloud.firestore.v1.stub:com.google.cloud.firestore.v1beta1.stub:com.google.cloud.iamcredentials.v1.stub:com.google.cloud.iot.v1.stub:com.google.cloud.kms.v1.stub:com.google.cloud.language.v1.stub:com.google.cloud.language.v1beta2.stub:com.google.cloud.logging.v2.stub:com.google.cloud.monitoring.v3.stub:com.google.cloud.os-login.v1.stub:com.google.cloud.pubsub.v1.stub:com.google.cloud.redis.v1.stub:com.google.cloud.redis.v1beta1.stub:com.google.cloud.scheduler.v1beta1.stub:com.google.cloud.securitycenter.v1beta1.stub:com.google.cloud.spanner-admin-database.v1.stub:com.google.cloud.spanner-admin-instance.v1.stub:com.google.cloud.spanner.v1.stub:com.google.cloud.speech.v1.stub:com.google.cloud.speech.v1beta1.stub:com.google.cloud.speech.v1p1beta1.stub:com.google.cloud.tasks.v2beta2.stub:com.google.cloud.tasks.v2beta3.stub:com.google.cloud.texttospeech.v1.stub:com.google.cloud.texttospeech.v1beta1.stub:com.google.cloud.trace.v1.stub:com.google.cloud.trace.v2.stub:com.google.cloud.video-intelligence.v1.stub:com.google.cloud.video-intelligence.v1beta1.stub:com.google.cloud.video-intelligence.v1beta2.stub:com.google.cloud.video-intelligence.v1p1beta1.stub:com.google.cloud.video-intelligence.v1p2beta1.stub:com.google.cloud.vision.v1.stub:com.google.cloud.vision.v1p1beta1.stub:com.google.cloud.vision.v1p2beta1.stub:com.google.cloud.vision.v1p3beta1.stub:com.google.cloud.websecurityscanner.v1alpha.stub Deprecated packages From 50680e904a3ad99f48b46c4bf8de2821ced66ed0 Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Sat, 2 Feb 2019 17:57:12 -0500 Subject: [PATCH 52/90] Bigtable: make row & cell ordering more consistent. (#4421) * Bigtable: make row & cell ordering more consistent. * RowCells should always be ordered in lexicographically by family, then qualifier and finally by reverse chronological order * Although rows will always be ordered lexicographically by row key, they should not implement Comparable to avoid confusion when compareTo() == 0 and equals() is false. Instead that ordering was moved to a separate comparator. * Add helpers to filter cells by family & qualifier * tweaks * code style * code style --- .../data/v2/models/DefaultRowAdapter.java | 51 ++++++- .../cloud/bigtable/data/v2/models/Row.java | 143 +++++++++++++++--- .../bigtable/data/v2/models/RowCell.java | 27 ++++ .../v2/stub/ReadModifyWriteRowCallable.java | 29 ++-- .../data/v2/models/DefaultRowAdapterTest.java | 43 ++++++ .../bigtable/data/v2/models/RowCellTest.java | 101 +++++++++++++ .../bigtable/data/v2/models/RowTest.java | 78 +++++++++- .../stub/ReadModifyWriteRowCallableTest.java | 48 ++++++ 8 files changed, 480 insertions(+), 40 deletions(-) create mode 100644 google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowCellTest.java diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java index 4c9d95ae01f0..efe56dc4188f 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java @@ -18,6 +18,8 @@ import com.google.common.collect.ImmutableList; import com.google.protobuf.ByteString; import java.util.List; +import java.util.Objects; +import java.util.TreeMap; /** * Default implementation of a {@link RowAdapter} that uses {@link Row}s to represent logical rows. @@ -44,13 +46,21 @@ public ByteString getKey(Row row) { /** {@inheritDoc} */ public class DefaultRowBuilder implements RowBuilder { private ByteString currentKey; - private ImmutableList.Builder cells; + private TreeMap> cellsByFamily; + private ImmutableList.Builder currentFamilyCells; + private String previousFamily; + private int totalCellCount; + private String family; private ByteString qualifier; private List labels; private long timestamp; private ByteString value; + public DefaultRowBuilder() { + reset(); + } + /** {@inheritDoc} */ @Override public Row createScanMarkerRow(ByteString key) { @@ -61,7 +71,6 @@ public Row createScanMarkerRow(ByteString key) { @Override public void startRow(ByteString key) { currentKey = key; - cells = ImmutableList.builder(); } /** {@inheritDoc} */ @@ -84,20 +93,52 @@ public void cellValue(ByteString value) { /** {@inheritDoc} */ @Override public void finishCell() { - cells.add(RowCell.create(family, qualifier, timestamp, labels, value)); + if (!Objects.equals(family, previousFamily)) { + previousFamily = family; + currentFamilyCells = ImmutableList.builder(); + cellsByFamily.put(family, currentFamilyCells); + } + + RowCell rowCell = RowCell.create(family, qualifier, timestamp, labels, value); + currentFamilyCells.add(rowCell); + totalCellCount++; } /** {@inheritDoc} */ @Override public Row finishRow() { - return Row.create(currentKey, cells.build()); + final ImmutableList sortedCells; + + // Optimization: If there are no cells, then just return the static empty list. + if (cellsByFamily.size() == 0) { + sortedCells = ImmutableList.of(); + } else if (cellsByFamily.size() == 1) { + // Optimization: If there is a single family, avoid copies and return that one list. + sortedCells = currentFamilyCells.build(); + } else { + // Normal path: concatenate the cells order by family. + ImmutableList.Builder sortedCellsBuilder = + ImmutableList.builderWithExpectedSize(totalCellCount); + + for (ImmutableList.Builder familyCells : cellsByFamily.values()) { + sortedCellsBuilder.addAll(familyCells.build()); + } + sortedCells = sortedCellsBuilder.build(); + } + + return Row.create(currentKey, sortedCells); } /** {@inheritDoc} */ @Override public void reset() { currentKey = null; - cells = null; + + cellsByFamily = new TreeMap<>(); + currentFamilyCells = null; + previousFamily = null; + totalCellCount = 0; + family = null; qualifier = null; labels = null; diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Row.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Row.java index a4ea6893548f..83b71bf19e9d 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Row.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Row.java @@ -18,15 +18,38 @@ import com.google.api.core.InternalApi; import com.google.api.core.InternalExtensionOnly; import com.google.auto.value.AutoValue; +import com.google.cloud.bigtable.data.v2.internal.ByteStringComparator; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableList; import com.google.protobuf.ByteString; import java.io.Serializable; +import java.util.Comparator; import java.util.List; import javax.annotation.Nonnull; +import javax.annotation.Nullable; -/** Default representation of a logical row. */ +/** + * Default representation of a logical row. + * + *

The cells contained within, will be sorted by the native order. Please see {@link + * RowCell#compareByNative()} for details. + */ @InternalExtensionOnly @AutoValue -public abstract class Row implements Comparable, Serializable { +public abstract class Row implements Serializable { + /** + * Returns a comparator that compares two Row objects by comparing the result of {@link + * #getKey()}} for each. + */ + public static Comparator compareByKey() { + return new Comparator() { + @Override + public int compare(Row r1, Row r2) { + return ByteStringComparator.INSTANCE.compare(r1.getKey(), r2.getKey()); + } + }; + } + /** Creates a new instance of the {@link Row}. */ @InternalApi public static Row create(ByteString key, List cells) { @@ -38,30 +61,110 @@ public static Row create(ByteString key, List cells) { public abstract ByteString getKey(); /** - * Returns the list of cells. The cells will be clustered by their family and sorted by their - * qualifier. + * Returns a sorted list of cells. The cells will be sorted natively. + * + * @see RowCell#compareByNative() For details about the ordering. */ public abstract List getCells(); - /** Lexicographically compares this row's key to another row's key. */ - @Override - public int compareTo(@Nonnull Row row) { - int sizeA = getKey().size(); - int sizeB = row.getKey().size(); - int size = Math.min(sizeA, sizeB); - - for (int i = 0; i < size; i++) { - int byteA = getKey().byteAt(i) & 0xff; - int byteB = row.getKey().byteAt(i) & 0xff; - if (byteA == byteB) { - continue; + /** + * Returns a sublist of the cells that belong to the specified family. + * + * @see RowCell#compareByNative() For details about the ordering. + */ + public List getCells(@Nonnull String family) { + Preconditions.checkNotNull(family, "family"); + + int start = getFirst(family, null); + if (start < 0) { + return ImmutableList.of(); + } + + int end = getLast(family, null, start); + + return getCells().subList(start, end + 1); + } + + /** + * Returns a sublist of the cells that belong to the specified family and qualifier. + * + * @see RowCell#compareByNative() For details about the ordering. + */ + public List getCells(@Nonnull String family, @Nonnull String qualifier) { + Preconditions.checkNotNull(family, "family"); + Preconditions.checkNotNull(qualifier, "qualifier"); + + return getCells(family, ByteString.copyFromUtf8(qualifier)); + } + + /** + * Returns a sublist of the cells that belong to the specified family and qualifier. + * + * @see RowCell#compareByNative() For details about the ordering. + */ + public List getCells(@Nonnull String family, @Nonnull ByteString qualifier) { + Preconditions.checkNotNull(family, "family"); + Preconditions.checkNotNull(qualifier, "qualifier"); + + int start = getFirst(family, qualifier); + if (start < 0) { + return ImmutableList.of(); + } + + int end = getLast(family, qualifier, start); + + return getCells().subList(start, end + 1); + } + + private int getFirst(@Nonnull String family, @Nullable ByteString qualifier) { + int low = 0; + int high = getCells().size(); + int index = -1; + + while (low < high) { + int mid = (high + low) / 2; + RowCell midCell = getCells().get(mid); + + int c = midCell.getFamily().compareTo(family); + if (c == 0 && qualifier != null) { + c = ByteStringComparator.INSTANCE.compare(midCell.getQualifier(), qualifier); + } + + if (c < 0) { + low = mid + 1; + } else if (c == 0) { + index = mid; + high = mid; } else { - return byteA < byteB ? -1 : 1; + high = mid; } } - if (sizeA == sizeB) { - return 0; + return index; + } + + private int getLast(@Nonnull String family, @Nullable ByteString qualifier, int startIndex) { + int low = startIndex; + int high = getCells().size(); + int index = -1; + + while (low < high) { + int mid = (high + low) / 2; + RowCell midCell = getCells().get(mid); + + int c = midCell.getFamily().compareTo(family); + if (c == 0 && qualifier != null) { + c = ByteStringComparator.INSTANCE.compare(midCell.getQualifier(), qualifier); + } + + if (c < 0) { + low = mid + 1; + } else if (c == 0) { + index = mid; + low = mid + 1; + } else { + high = mid; + } } - return sizeA < sizeB ? -1 : 1; + return index; } } diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowCell.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowCell.java index 28f19c59e4b7..473c560b83a5 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowCell.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowCell.java @@ -18,8 +18,11 @@ import com.google.api.core.InternalApi; import com.google.api.core.InternalExtensionOnly; import com.google.auto.value.AutoValue; +import com.google.cloud.bigtable.data.v2.internal.ByteStringComparator; +import com.google.common.collect.ComparisonChain; import com.google.protobuf.ByteString; import java.io.Serializable; +import java.util.Comparator; import java.util.List; import javax.annotation.Nonnull; @@ -27,6 +30,30 @@ @InternalExtensionOnly @AutoValue public abstract class RowCell implements Serializable { + /** + * A comparator that compares the cells by Bigtable native ordering: + * + *

    + *
  • Family lexicographically ascending + *
  • Qualifier lexicographically ascending + *
  • Timestamp in reverse chronological order + *
+ * + *

Labels and values are not included in the comparison. + */ + public static Comparator compareByNative() { + return new Comparator() { + @Override + public int compare(RowCell c1, RowCell c2) { + return ComparisonChain.start() + .compare(c1.getFamily(), c2.getFamily()) + .compare(c1.getQualifier(), c2.getQualifier(), ByteStringComparator.INSTANCE) + .compare(c2.getTimestamp(), c1.getTimestamp()) + .result(); + } + }; + } + /** Creates a new instance of the {@link RowCell}. */ @InternalApi public static RowCell create( diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java index 314465a3d170..f456f0202bfa 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java @@ -26,22 +26,25 @@ import com.google.bigtable.v2.ReadModifyWriteRowRequest; import com.google.bigtable.v2.ReadModifyWriteRowResponse; import com.google.cloud.bigtable.data.v2.internal.RequestContext; +import com.google.cloud.bigtable.data.v2.models.DefaultRowAdapter; import com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow; import com.google.cloud.bigtable.data.v2.models.Row; -import com.google.cloud.bigtable.data.v2.models.RowCell; -import com.google.common.collect.ImmutableList; +import com.google.cloud.bigtable.data.v2.models.RowAdapter; +import com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder; import com.google.common.util.concurrent.MoreExecutors; /** Simple wrapper for ReadModifyWriteRow to wrap the request and response protobufs. */ class ReadModifyWriteRowCallable extends UnaryCallable { private final UnaryCallable inner; private final RequestContext requestContext; + private final RowAdapter rowAdapter; ReadModifyWriteRowCallable( UnaryCallable inner, RequestContext requestContext) { this.inner = inner; this.requestContext = requestContext; + this.rowAdapter = new DefaultRowAdapter(); } @Override @@ -61,21 +64,25 @@ public Row apply(ReadModifyWriteRowResponse readModifyWriteRowResponse) { } private Row convertResponse(ReadModifyWriteRowResponse response) { - ImmutableList.Builder cells = ImmutableList.builder(); + RowBuilder rowBuilder = rowAdapter.createRowBuilder(); + rowBuilder.startRow(response.getRow().getKey()); for (Family family : response.getRow().getFamiliesList()) { for (Column column : family.getColumnsList()) { for (Cell cell : column.getCellsList()) { - cells.add( - RowCell.create( - family.getName(), - column.getQualifier(), - cell.getTimestampMicros(), - cell.getLabelsList(), - cell.getValue())); + rowBuilder.startCell( + family.getName(), + column.getQualifier(), + cell.getTimestampMicros(), + cell.getLabelsList(), + cell.getValue().size()); + + rowBuilder.cellValue(cell.getValue()); + + rowBuilder.finishCell(); } } } - return Row.create(response.getRow().getKey(), cells.build()); + return rowBuilder.finishRow(); } } diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java index a64d66414717..5adbfc40c158 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java @@ -128,4 +128,47 @@ public void markerRowTest() { assertThat(adapter.isScanMarkerRow(rowBuilder.finishRow())).isFalse(); } + + @Test + public void sortFamiliesAreSorted() { + ByteString col1 = ByteString.copyFromUtf8("col1"); + ByteString col2 = ByteString.copyFromUtf8("col2"); + List labels = ImmutableList.of(); + ByteString value1 = ByteString.copyFromUtf8("my-value1"); + ByteString value2 = ByteString.copyFromUtf8("my-value2"); + ByteString value3 = ByteString.copyFromUtf8("my-value3"); + ByteString value4 = ByteString.copyFromUtf8("my-value4"); + + rowBuilder.startRow(ByteString.copyFromUtf8("key1")); + + // family2 with 2 cells is received before family1 + rowBuilder.startCell("family2", col1, 1000, labels, value1.size()); + rowBuilder.cellValue(value1); + rowBuilder.finishCell(); + + rowBuilder.startCell("family2", col2, 1000, labels, value2.size()); + rowBuilder.cellValue(value2); + rowBuilder.finishCell(); + + // family1 with 2 cells is received after family2 cells + rowBuilder.startCell("family1", col1, 1000, ImmutableList.of(), value3.size()); + rowBuilder.cellValue(value3); + rowBuilder.finishCell(); + + rowBuilder.startCell("family1", col2, 1000, ImmutableList.of(), value4.size()); + rowBuilder.cellValue(value4); + rowBuilder.finishCell(); + + Row actualRow = rowBuilder.finishRow(); + + // The resulting the cells will reorder family1 first + assertThat(actualRow.getCells()) + .containsExactlyElementsIn( + ImmutableList.of( + RowCell.create("family1", col1, 1000, labels, value3), + RowCell.create("family1", col2, 1000, labels, value4), + RowCell.create("family2", col1, 1000, labels, value1), + RowCell.create("family2", col2, 1000, labels, value2))) + .inOrder(); + } } diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowCellTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowCellTest.java new file mode 100644 index 000000000000..96c78c2c33d6 --- /dev/null +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowCellTest.java @@ -0,0 +1,101 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.bigtable.data.v2.models; + +import static com.google.common.truth.Truth.*; + +import com.google.common.collect.ImmutableList; +import com.google.protobuf.ByteString; +import java.util.Comparator; +import java.util.List; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +public class RowCellTest { + + @Test + public void compareTest() { + ByteString col1 = ByteString.copyFromUtf8("col1"); + long timestamp1 = 1_000; + List labels1 = ImmutableList.of("label1"); + ByteString value1 = ByteString.copyFromUtf8("value1"); + + ByteString col2 = ByteString.copyFromUtf8("col2"); + long timestamp2 = 2_000; + List labels2 = ImmutableList.of("label2"); + ByteString value2 = ByteString.copyFromUtf8("value2"); + + Comparator c = RowCell.compareByNative(); + + // equal + assertThat( + c.compare( + RowCell.create("family1", col1, timestamp1, labels1, value1), + RowCell.create("family1", col1, timestamp1, labels1, value1))) + .isEqualTo(0); + + // equal ignores labels & values + assertThat( + c.compare( + RowCell.create("family1", col1, timestamp1, labels1, value1), + RowCell.create("family1", col1, timestamp1, labels2, value2))) + .isEqualTo(0); + + // family lesser then + assertThat( + c.compare( + RowCell.create("family1", col1, timestamp1, labels1, value1), + RowCell.create("family2", col1, timestamp1, labels1, value1))) + .isEqualTo(-1); + + // family greater then + assertThat( + c.compare( + RowCell.create("family2", col1, timestamp1, labels1, value1), + RowCell.create("family1", col1, timestamp1, labels1, value1))) + .isEqualTo(1); + + // col lesser then + assertThat( + c.compare( + RowCell.create("family1", col1, timestamp1, labels1, value1), + RowCell.create("family1", col2, timestamp1, labels1, value1))) + .isEqualTo(-1); + + // col greater then + assertThat( + c.compare( + RowCell.create("family1", col2, timestamp1, labels1, value1), + RowCell.create("family1", col1, timestamp1, labels1, value1))) + .isEqualTo(1); + + // reverse timestamp lesser then + assertThat( + c.compare( + RowCell.create("family1", col1, timestamp2, labels1, value1), + RowCell.create("family1", col1, timestamp1, labels1, value1))) + .isEqualTo(-1); + + // reverse timestamp greater then + assertThat( + c.compare( + RowCell.create("family1", col1, timestamp1, labels1, value1), + RowCell.create("family1", col1, timestamp2, labels1, value1))) + .isEqualTo(1); + } +} diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowTest.java index 19bad91456bc..b361ff2d0a3b 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/RowTest.java @@ -24,6 +24,7 @@ import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; +import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -63,12 +64,11 @@ public void compareTest() { ImmutableList.of(), ByteString.copyFromUtf8("value")))); - assertThat(row1).isEqualTo(row1); - assertThat(row1).isLessThan(row2); - assertThat(row2).isGreaterThan(row1); + assertThat(Row.compareByKey().compare(row1, row2)).isEqualTo(-1); + assertThat(Row.compareByKey().compare(row2, row1)).isEqualTo(1); // Comparator only cares about row keys - assertThat(row2).isEquivalentAccordingToCompareTo(row2b); + assertThat(Row.compareByKey().compare(row2, row2b)).isEqualTo(0); } @Test @@ -92,4 +92,74 @@ public void serializationTest() throws IOException, ClassNotFoundException { ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray())); assertThat(ois.readObject()).isEqualTo(expected); } + + @Test + public void getFamilyCellsTest() { + ByteString col1 = ByteString.copyFromUtf8("col1"); + ByteString col2 = ByteString.copyFromUtf8("col2"); + + List labels = ImmutableList.of(); + ByteString value = ByteString.EMPTY; + + Row row = + Row.create( + ByteString.copyFromUtf8("ignored-key"), + ImmutableList.of( + RowCell.create("family1", col1, 1_000, labels, value), + RowCell.create("family1", col2, 1_000, labels, value), + RowCell.create("family2", col1, 1_000, labels, value), + RowCell.create("family4", col1, 1_000, labels, value))); + + assertThat(row.getCells("family1")) + .containsExactly( + RowCell.create("family1", col1, 1_000, labels, value), + RowCell.create("family1", col2, 1_000, labels, value)) + .inOrder(); + + assertThat(row.getCells("family2")) + .containsExactly(RowCell.create("family2", col1, 1_000, labels, value)); + + assertThat(row.getCells("family3")).isEmpty(); + + assertThat(row.getCells("family4")) + .containsExactly(RowCell.create("family4", col1, 1_000, labels, value)); + } + + @Test + public void getQualifierCellsTest() { + ByteString col1 = ByteString.copyFromUtf8("col1"); + ByteString col2 = ByteString.copyFromUtf8("col2"); + + List labels = ImmutableList.of(); + ByteString value = ByteString.EMPTY; + + Row row = + Row.create( + ByteString.copyFromUtf8("ignored-key"), + ImmutableList.of( + RowCell.create("family1", col1, 1_000, labels, value), + RowCell.create("family1", col2, 2_000, labels, value), + RowCell.create("family1", col2, 1_000, labels, value), + RowCell.create("family2", col1, 1_000, labels, value), + RowCell.create("family4", col1, 1_000, labels, value))); + + assertThat(row.getCells("family1", col1)) + .containsExactly(RowCell.create("family1", col1, 1_000, labels, value)); + + assertThat(row.getCells("family1", col2)) + .containsExactly( + RowCell.create("family1", col2, 1_000, labels, value), + RowCell.create("family1", col2, 2_000, labels, value)); + + assertThat(row.getCells("family2", col1)) + .containsExactly(RowCell.create("family2", col1, 1_000, labels, value)); + + assertThat(row.getCells("family2", col2)).isEmpty(); + + assertThat(row.getCells("family3", col1)).isEmpty(); + assertThat(row.getCells("family3", col2)).isEmpty(); + + assertThat(row.getCells("family4", col1)) + .containsExactly(RowCell.create("family4", col1, 1_000, labels, value)); + } } diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallableTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallableTest.java index 76dabd159303..4a8f857d0530 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallableTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallableTest.java @@ -114,6 +114,54 @@ public void responseCorrectlyTransformed() throws Exception { ByteString.copyFromUtf8("suffix"))))); } + @Test + public void responseSortsFamilies() throws Exception { + ByteString col = ByteString.copyFromUtf8("col1"); + ByteString value1 = ByteString.copyFromUtf8("value1"); + ByteString value2 = ByteString.copyFromUtf8("value2"); + + ApiFuture result = + callable.futureCall( + ReadModifyWriteRow.create("my-table", "my-key").append("my-family", "col", "suffix")); + + inner.response.set( + ReadModifyWriteRowResponse.newBuilder() + .setRow( + com.google.bigtable.v2.Row.newBuilder() + .setKey(ByteString.copyFromUtf8("my-key")) + // family2 is out of order + .addFamilies( + Family.newBuilder() + .setName("family2") + .addColumns( + Column.newBuilder() + .setQualifier(col) + .addCells( + Cell.newBuilder() + .setTimestampMicros(1_000) + .setValue(value2)))) + .addFamilies( + Family.newBuilder() + .setName("family1") + .addColumns( + Column.newBuilder() + .setQualifier(col) + .addCells( + Cell.newBuilder() + .setTimestampMicros(1_000) + .setValue(value1))) + .build())) + .build()); + + assertThat(result.get(1, TimeUnit.SECONDS)) + .isEqualTo( + Row.create( + ByteString.copyFromUtf8("my-key"), + ImmutableList.of( + RowCell.create("family1", col, 1_000, ImmutableList.of(), value1), + RowCell.create("family2", col, 1_000, ImmutableList.of(), value2)))); + } + @Test public void errorIsPropagated() throws Exception { ApiFuture result = From 78f2f5e7937d09e94d450d50c7128d56a33564a0 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Mon, 4 Feb 2019 12:12:03 -0500 Subject: [PATCH 53/90] Fix code formatting (#4437) --- .../ImageClassificationDatasetMetadata.java | 6 +- .../TextClassificationDatasetMetadata.java | 6 +- .../bigquery/datatransfer/v1/DataSource.java | 12 +- .../v1/ListTransferRunsRequest.java | 6 +- .../datatransfer/v1/TransferMessage.java | 6 +- .../java/com/google/bigtable/v2/Cell.java | 5 +- .../main/java/com/google/bigtable/v2/Row.java | 5 +- .../grafeas/v1beta1/discovery/Discovered.java | 6 +- .../java/com/google/datastore/v1/Key.java | 5 +- .../cloud/dialogflow/v2/EntityType.java | 6 +- .../dialogflow/v2/SessionEntityType.java | 6 +- .../v2/StreamingRecognitionResult.java | 6 +- .../cloud/dialogflow/v2beta1/EntityType.java | 6 +- .../dialogflow/v2beta1/KnowledgeAnswers.java | 6 +- .../dialogflow/v2beta1/SessionEntityType.java | 6 +- .../v2beta1/StreamingRecognitionResult.java | 6 +- .../privacy/dlp/v2/RecordCondition.java | 6 +- .../privacy/dlp/v2/TransformationSummary.java | 6 +- .../v1beta1/ListGroupStatsRequest.java | 6 +- .../firestore/v1beta1/StructuredQuery.java | 6 +- .../cloud/iot/v1/PublicKeyCertificate.java | 6 +- .../google/cloud/kms/v1/CryptoKeyVersion.java | 12 +- .../kms/v1/CryptoKeyVersionTemplate.java | 6 +- .../cloud/kms/v1/KeyOperationAttestation.java | 6 +- .../kms/v1/ListCryptoKeyVersionsRequest.java | 6 +- .../cloud/kms/v1/ListCryptoKeysRequest.java | 6 +- .../com/google/cloud/kms/v1/PublicKey.java | 6 +- .../monitoring/v3/NotificationChannel.java | 6 +- .../main/java/com/google/pubsub/v1/Topic.java | 5 +- .../v1beta1/ListAssetsResponse.java | 6 +- .../v1beta1/OrganizationSettings.java | 6 +- .../speech/v1/StreamingRecognizeResponse.java | 6 +- .../v1beta1/StreamingRecognizeResponse.java | 6 +- .../speech/v1p1beta1/RecognitionMetadata.java | 24 +- .../v1p1beta1/StreamingRecognizeResponse.java | 6 +- .../v1beta1/VideoContext.java | 6 +- .../v1beta2/LabelDetectionConfig.java | 6 +- .../v1p1beta1/LabelDetectionConfig.java | 6 +- .../v1p2beta1/LabelDetectionConfig.java | 6 +- .../vision/v1p3beta1/ProductSearchParams.java | 6 +- .../v1p3beta1/ProductSearchResults.java | 6 +- .../websecurityscanner/v1alpha/ScanRun.java | 6 +- .../firestore/conformance/TestDefinition.java | 273 ++++++++++-------- 43 files changed, 340 insertions(+), 211 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java index 6ab33d07c60d..9933ff53fadc 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java @@ -144,7 +144,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (classificationType_ != com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType - .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) { + .CLASSIFICATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, classificationType_); } unknownFields.writeTo(output); @@ -158,7 +159,8 @@ public int getSerializedSize() { size = 0; if (classificationType_ != com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType - .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) { + .CLASSIFICATION_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, classificationType_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java index b6b7d5de8130..c93dd37ee2e0 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java @@ -144,7 +144,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (classificationType_ != com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType - .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) { + .CLASSIFICATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, classificationType_); } unknownFields.writeTo(output); @@ -158,7 +159,8 @@ public int getSerializedSize() { size = 0; if (classificationType_ != com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType - .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) { + .CLASSIFICATION_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, classificationType_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java index c15407345d03..4e523bfd3799 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java @@ -1289,12 +1289,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - .AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { + .AUTHORIZATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(14, authorizationType_); } if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - .DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { + .DATA_REFRESH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { @@ -1363,12 +1365,14 @@ public int getSerializedSize() { } if (authorizationType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType - .AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) { + .AUTHORIZATION_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, authorizationType_); } if (dataRefreshType_ != com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType - .DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) { + .DATA_REFRESH_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, dataRefreshType_); } if (defaultDataRefreshWindowDays_ != 0) { diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java index cbfee96a1fdd..557d3cc9f365 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java @@ -536,7 +536,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .RUN_ATTEMPT_UNSPECIFIED.getNumber()) { + .RUN_ATTEMPT_UNSPECIFIED + .getNumber()) { output.writeEnum(5, runAttempt_); } unknownFields.writeTo(output); @@ -571,7 +572,8 @@ public int getSerializedSize() { } if (runAttempt_ != com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt - .RUN_ATTEMPT_UNSPECIFIED.getNumber()) { + .RUN_ATTEMPT_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, runAttempt_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java index b6f56e127452..b41a7ee680f2 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java @@ -421,7 +421,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { + .MESSAGE_SEVERITY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, severity_); } if (!getMessageTextBytes().isEmpty()) { @@ -441,7 +442,8 @@ public int getSerializedSize() { } if (severity_ != com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity - .MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) { + .MESSAGE_SEVERITY_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, severity_); } if (!getMessageTextBytes().isEmpty()) { diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java index aa65f4631074..8d1f9e953248 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java @@ -102,8 +102,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Cell_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); + .internal_static_google_bigtable_v2_Cell_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } private int bitField0_; diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java index f7b9409921b3..649df12b17c0 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java @@ -97,8 +97,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Row_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class); + .internal_static_google_bigtable_v2_Row_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class); } private int bitField0_; diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java index 97497dfbc478..6911087a575b 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java @@ -659,7 +659,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (continuousAnalysis_ != io.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis - .CONTINUOUS_ANALYSIS_UNSPECIFIED.getNumber()) { + .CONTINUOUS_ANALYSIS_UNSPECIFIED + .getNumber()) { output.writeEnum(1, continuousAnalysis_); } if (lastAnalysisTime_ != null) { @@ -684,7 +685,8 @@ public int getSerializedSize() { size = 0; if (continuousAnalysis_ != io.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis - .CONTINUOUS_ANALYSIS_UNSPECIFIED.getNumber()) { + .CONTINUOUS_ANALYSIS_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, continuousAnalysis_); } if (lastAnalysisTime_ != null) { diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java index ab50a91bfb98..d66a8d787863 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java @@ -110,8 +110,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.datastore.v1.EntityProto - .internal_static_google_datastore_v1_Key_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class); + .internal_static_google_datastore_v1_Key_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class); } public interface PathElementOrBuilder diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java index f687447ce01a..f26eba034a7f 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java @@ -1637,7 +1637,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (autoExpansionMode_ != com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode - .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) { + .AUTO_EXPANSION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, autoExpansionMode_); } for (int i = 0; i < entities_.size(); i++) { @@ -1663,7 +1664,8 @@ public int getSerializedSize() { } if (autoExpansionMode_ != com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode - .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) { + .AUTO_EXPANSION_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, autoExpansionMode_); } for (int i = 0; i < entities_.size(); i++) { diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java index 142f9a3a8d67..754563accd77 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java @@ -456,7 +456,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (entityOverrideMode_ != com.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode - .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) { + .ENTITY_OVERRIDE_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, entityOverrideMode_); } for (int i = 0; i < entities_.size(); i++) { @@ -476,7 +477,8 @@ public int getSerializedSize() { } if (entityOverrideMode_ != com.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode - .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) { + .ENTITY_OVERRIDE_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, entityOverrideMode_); } for (int i = 0; i < entities_.size(); i++) { diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java index 30bb10da8e00..6806065ca67a 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java @@ -423,7 +423,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (messageType_ != com.google.cloud.dialogflow.v2.StreamingRecognitionResult.MessageType - .MESSAGE_TYPE_UNSPECIFIED.getNumber()) { + .MESSAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, messageType_); } if (!getTranscriptBytes().isEmpty()) { @@ -446,7 +447,8 @@ public int getSerializedSize() { size = 0; if (messageType_ != com.google.cloud.dialogflow.v2.StreamingRecognitionResult.MessageType - .MESSAGE_TYPE_UNSPECIFIED.getNumber()) { + .MESSAGE_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, messageType_); } if (!getTranscriptBytes().isEmpty()) { diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java index 5ec7b16a25f9..4be09b648744 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java @@ -1645,7 +1645,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (autoExpansionMode_ != com.google.cloud.dialogflow.v2beta1.EntityType.AutoExpansionMode - .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) { + .AUTO_EXPANSION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, autoExpansionMode_); } for (int i = 0; i < entities_.size(); i++) { @@ -1671,7 +1672,8 @@ public int getSerializedSize() { } if (autoExpansionMode_ != com.google.cloud.dialogflow.v2beta1.EntityType.AutoExpansionMode - .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) { + .AUTO_EXPANSION_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, autoExpansionMode_); } for (int i = 0; i < entities_.size(); i++) { diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java index 36edaa5f4926..d44ec60874b1 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java @@ -758,7 +758,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (matchConfidenceLevel_ != com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.MatchConfidenceLevel - .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED.getNumber()) { + .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(4, matchConfidenceLevel_); } if (matchConfidence_ != 0F) { @@ -784,7 +785,8 @@ public int getSerializedSize() { } if (matchConfidenceLevel_ != com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.MatchConfidenceLevel - .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED.getNumber()) { + .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, matchConfidenceLevel_); } if (matchConfidence_ != 0F) { diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java index a6c0ef2c871f..6337218467ed 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java @@ -468,7 +468,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (entityOverrideMode_ != com.google.cloud.dialogflow.v2beta1.SessionEntityType.EntityOverrideMode - .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) { + .ENTITY_OVERRIDE_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, entityOverrideMode_); } for (int i = 0; i < entities_.size(); i++) { @@ -488,7 +489,8 @@ public int getSerializedSize() { } if (entityOverrideMode_ != com.google.cloud.dialogflow.v2beta1.SessionEntityType.EntityOverrideMode - .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) { + .ENTITY_OVERRIDE_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, entityOverrideMode_); } for (int i = 0; i < entities_.size(); i++) { diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java index 2418eea29ac4..52ff4c29846d 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java @@ -425,7 +425,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (messageType_ != com.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.MessageType - .MESSAGE_TYPE_UNSPECIFIED.getNumber()) { + .MESSAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, messageType_); } if (!getTranscriptBytes().isEmpty()) { @@ -448,7 +449,8 @@ public int getSerializedSize() { size = 0; if (messageType_ != com.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.MessageType - .MESSAGE_TYPE_UNSPECIFIED.getNumber()) { + .MESSAGE_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, messageType_); } if (!getTranscriptBytes().isEmpty()) { diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java index b0e1eabda012..a9489630f5fb 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java @@ -2432,7 +2432,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (logicalOperator_ != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator - .LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { + .LOGICAL_OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(1, logicalOperator_); } if (typeCase_ == 3) { @@ -2449,7 +2450,8 @@ public int getSerializedSize() { size = 0; if (logicalOperator_ != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator - .LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { + .LOGICAL_OPERATOR_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logicalOperator_); } if (typeCase_ == 3) { diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java index e7fe5ce02aa7..1b217808e79b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java @@ -522,7 +522,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (code_ != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode - .TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) { + .TRANSFORMATION_RESULT_CODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, code_); } if (!getDetailsBytes().isEmpty()) { @@ -542,7 +543,8 @@ public int getSerializedSize() { } if (code_ != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode - .TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) { + .TRANSFORMATION_RESULT_CODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, code_); } if (!getDetailsBytes().isEmpty()) { diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java index 08d393b8edbe..2d6445e1a4e9 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java @@ -665,7 +665,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (alignment_ != com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment - .ERROR_COUNT_ALIGNMENT_UNSPECIFIED.getNumber()) { + .ERROR_COUNT_ALIGNMENT_UNSPECIFIED + .getNumber()) { output.writeEnum(7, alignment_); } if (alignmentTime_ != null) { @@ -713,7 +714,8 @@ public int getSerializedSize() { } if (alignment_ != com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment - .ERROR_COUNT_ALIGNMENT_UNSPECIFIED.getNumber()) { + .ERROR_COUNT_ALIGNMENT_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, alignment_); } if (alignmentTime_ != null) { diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java index 8d7403ff3985..5ef6c14e16df 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java @@ -3061,7 +3061,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (op_ != com.google.firestore.v1beta1.StructuredQuery.CompositeFilter.Operator - .OPERATOR_UNSPECIFIED.getNumber()) { + .OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(1, op_); } for (int i = 0; i < filters_.size(); i++) { @@ -3078,7 +3079,8 @@ public int getSerializedSize() { size = 0; if (op_ != com.google.firestore.v1beta1.StructuredQuery.CompositeFilter.Operator - .OPERATOR_UNSPECIFIED.getNumber()) { + .OPERATOR_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_); } for (int i = 0; i < filters_.size(); i++) { diff --git a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java index 644972f570ae..d8db70c9b1a2 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java +++ b/google-api-grpc/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/PublicKeyCertificate.java @@ -247,7 +247,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (format_ != com.google.cloud.iot.v1.PublicKeyCertificateFormat - .UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT.getNumber()) { + .UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT + .getNumber()) { output.writeEnum(1, format_); } if (!getCertificateBytes().isEmpty()) { @@ -267,7 +268,8 @@ public int getSerializedSize() { size = 0; if (format_ != com.google.cloud.iot.v1.PublicKeyCertificateFormat - .UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT.getNumber()) { + .UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, format_); } if (!getCertificateBytes().isEmpty()) { diff --git a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java index eb1b96a2aa2c..d5fbf0c51905 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java +++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java @@ -1336,7 +1336,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (state_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState - .CRYPTO_KEY_VERSION_STATE_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } if (createTime_ != null) { @@ -1357,7 +1358,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (algorithm_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm - .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(10, algorithm_); } if (generateTime_ != null) { @@ -1377,7 +1379,8 @@ public int getSerializedSize() { } if (state_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState - .CRYPTO_KEY_VERSION_STATE_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_STATE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (createTime_ != null) { @@ -1398,7 +1401,8 @@ public int getSerializedSize() { } if (algorithm_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm - .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, algorithm_); } if (generateTime_ != null) { diff --git a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java index 3d9537e139d6..3591676955fc 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java +++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java @@ -194,7 +194,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (algorithm_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm - .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(3, algorithm_); } unknownFields.writeTo(output); @@ -212,7 +213,8 @@ public int getSerializedSize() { } if (algorithm_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm - .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, algorithm_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java index d2ce0a5b7f23..2991620aafc0 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java +++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java @@ -273,7 +273,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (format_ != com.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat - .ATTESTATION_FORMAT_UNSPECIFIED.getNumber()) { + .ATTESTATION_FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(4, format_); } if (!content_.isEmpty()) { @@ -290,7 +291,8 @@ public int getSerializedSize() { size = 0; if (format_ != com.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat - .ATTESTATION_FORMAT_UNSPECIFIED.getNumber()) { + .ATTESTATION_FORMAT_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, format_); } if (!content_.isEmpty()) { diff --git a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java index a20e573742d0..e9a4e422c0b1 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java +++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java @@ -279,7 +279,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (view_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView - .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } unknownFields.writeTo(output); @@ -302,7 +303,8 @@ public int getSerializedSize() { } if (view_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView - .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java index 5bab1da79445..e045d3bab3ac 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java +++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java @@ -278,7 +278,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (versionView_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView - .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, versionView_); } unknownFields.writeTo(output); @@ -301,7 +302,8 @@ public int getSerializedSize() { } if (versionView_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView - .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, versionView_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java index 611b9426e0bb..0d27a12e529a 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java +++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/PublicKey.java @@ -204,7 +204,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (algorithm_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm - .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(2, algorithm_); } unknownFields.writeTo(output); @@ -221,7 +222,8 @@ public int getSerializedSize() { } if (algorithm_ != com.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm - .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED.getNumber()) { + .CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, algorithm_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java index 50344faf51a8..71562842e300 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java @@ -917,7 +917,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 8); if (verificationStatus_ != com.google.monitoring.v3.NotificationChannel.VerificationStatus - .VERIFICATION_STATUS_UNSPECIFIED.getNumber()) { + .VERIFICATION_STATUS_UNSPECIFIED + .getNumber()) { output.writeEnum(9, verificationStatus_); } if (enabled_ != null) { @@ -966,7 +967,8 @@ public int getSerializedSize() { } if (verificationStatus_ != com.google.monitoring.v3.NotificationChannel.VerificationStatus - .VERIFICATION_STATUS_UNSPECIFIED.getNumber()) { + .VERIFICATION_STATUS_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, verificationStatus_); } if (enabled_ != null) { diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java index 2d0d72b5209f..81b43222ba96 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java @@ -124,8 +124,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto - .internal_static_google_pubsub_v1_Topic_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.pubsub.v1.Topic.class, com.google.pubsub.v1.Topic.Builder.class); + .internal_static_google_pubsub_v1_Topic_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.Topic.class, com.google.pubsub.v1.Topic.Builder.class); } private int bitField0_; diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponse.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponse.java index af2ef1402bdf..782af0a2aa9a 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponse.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponse.java @@ -594,7 +594,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (state_ != com.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State - .STATE_UNSPECIFIED.getNumber()) { + .STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, state_); } unknownFields.writeTo(output); @@ -611,7 +612,8 @@ public int getSerializedSize() { } if (state_ != com.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State - .STATE_UNSPECIFIED.getNumber()) { + .STATE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettings.java b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettings.java index 05db4a31c250..8cc3373c5c71 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettings.java +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettings.java @@ -572,7 +572,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (inclusionMode_ != com.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig - .InclusionMode.INCLUSION_MODE_UNSPECIFIED.getNumber()) { + .InclusionMode.INCLUSION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, inclusionMode_); } unknownFields.writeTo(output); @@ -594,7 +595,8 @@ public int getSerializedSize() { } if (inclusionMode_ != com.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig - .InclusionMode.INCLUSION_MODE_UNSPECIFIED.getNumber()) { + .InclusionMode.INCLUSION_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, inclusionMode_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java index 69ce3998f27f..fd0760ed694e 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/StreamingRecognizeResponse.java @@ -478,7 +478,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (speechEventType_ != com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType - .SPEECH_EVENT_UNSPECIFIED.getNumber()) { + .SPEECH_EVENT_UNSPECIFIED + .getNumber()) { output.writeEnum(4, speechEventType_); } unknownFields.writeTo(output); @@ -498,7 +499,8 @@ public int getSerializedSize() { } if (speechEventType_ != com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType - .SPEECH_EVENT_UNSPECIFIED.getNumber()) { + .SPEECH_EVENT_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, speechEventType_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java index 8a541742d053..10c3571674d7 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/src/main/java/com/google/cloud/speech/v1beta1/StreamingRecognizeResponse.java @@ -590,7 +590,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (endpointerType_ != com.google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType - .ENDPOINTER_EVENT_UNSPECIFIED.getNumber()) { + .ENDPOINTER_EVENT_UNSPECIFIED + .getNumber()) { output.writeEnum(4, endpointerType_); } unknownFields.writeTo(output); @@ -612,7 +613,8 @@ public int getSerializedSize() { } if (endpointerType_ != com.google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType - .ENDPOINTER_EVENT_UNSPECIFIED.getNumber()) { + .ENDPOINTER_EVENT_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, endpointerType_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java index 14da6022c4af..b3aab2624452 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java @@ -1352,7 +1352,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (interactionType_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType - .INTERACTION_TYPE_UNSPECIFIED.getNumber()) { + .INTERACTION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, interactionType_); } if (industryNaicsCodeOfAudio_ != 0) { @@ -1360,17 +1361,20 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (microphoneDistance_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance - .MICROPHONE_DISTANCE_UNSPECIFIED.getNumber()) { + .MICROPHONE_DISTANCE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, microphoneDistance_); } if (originalMediaType_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType - .ORIGINAL_MEDIA_TYPE_UNSPECIFIED.getNumber()) { + .ORIGINAL_MEDIA_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, originalMediaType_); } if (recordingDeviceType_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType - .RECORDING_DEVICE_TYPE_UNSPECIFIED.getNumber()) { + .RECORDING_DEVICE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, recordingDeviceType_); } if (!getRecordingDeviceNameBytes().isEmpty()) { @@ -1396,7 +1400,8 @@ public int getSerializedSize() { size = 0; if (interactionType_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType - .INTERACTION_TYPE_UNSPECIFIED.getNumber()) { + .INTERACTION_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, interactionType_); } if (industryNaicsCodeOfAudio_ != 0) { @@ -1404,17 +1409,20 @@ public int getSerializedSize() { } if (microphoneDistance_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance - .MICROPHONE_DISTANCE_UNSPECIFIED.getNumber()) { + .MICROPHONE_DISTANCE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, microphoneDistance_); } if (originalMediaType_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType - .ORIGINAL_MEDIA_TYPE_UNSPECIFIED.getNumber()) { + .ORIGINAL_MEDIA_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, originalMediaType_); } if (recordingDeviceType_ != com.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType - .RECORDING_DEVICE_TYPE_UNSPECIFIED.getNumber()) { + .RECORDING_DEVICE_TYPE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, recordingDeviceType_); } if (!getRecordingDeviceNameBytes().isEmpty()) { diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java index 7c2d7de926f9..2e47fe0b2980 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/StreamingRecognizeResponse.java @@ -482,7 +482,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (speechEventType_ != com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType - .SPEECH_EVENT_UNSPECIFIED.getNumber()) { + .SPEECH_EVENT_UNSPECIFIED + .getNumber()) { output.writeEnum(4, speechEventType_); } unknownFields.writeTo(output); @@ -502,7 +503,8 @@ public int getSerializedSize() { } if (speechEventType_ != com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType - .SPEECH_EVENT_UNSPECIFIED.getNumber()) { + .SPEECH_EVENT_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, speechEventType_); } size += unknownFields.getSerializedSize(); diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java index 398bc58e7b06..403210632a10 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoContext.java @@ -476,7 +476,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -508,7 +509,8 @@ public int getSerializedSize() { } if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, labelDetectionMode_); } if (stationaryCamera_ != false) { diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java index f57e860ccda0..3d182b67272c 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java @@ -223,7 +223,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -243,7 +244,8 @@ public int getSerializedSize() { size = 0; if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java index 5f447effad49..7f7d780021d4 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java @@ -224,7 +224,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -244,7 +245,8 @@ public int getSerializedSize() { size = 0; if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java index 418144f3c9ff..d834c3730e9c 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java @@ -224,7 +224,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -244,7 +245,8 @@ public int getSerializedSize() { size = 0; if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchParams.java b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchParams.java index c4d43412d32c..4f93614ad384 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchParams.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchParams.java @@ -614,7 +614,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (category_ != com.google.cloud.vision.v1p3beta1.ProductSearchCategory - .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED.getNumber()) { + .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, category_); } if (normalizedBoundingPoly_ != null) { @@ -652,7 +653,8 @@ public int getSerializedSize() { } if (category_ != com.google.cloud.vision.v1p3beta1.ProductSearchCategory - .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED.getNumber()) { + .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, category_); } if (normalizedBoundingPoly_ != null) { diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchResults.java b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchResults.java index c8288d07be73..93f6100f88dc 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchResults.java +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchResults.java @@ -2426,7 +2426,8 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (category_ != com.google.cloud.vision.v1p3beta1.ProductSearchCategory - .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED.getNumber()) { + .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, category_); } if (indexTime_ != null) { @@ -2452,7 +2453,8 @@ public int getSerializedSize() { size = 0; if (category_ != com.google.cloud.vision.v1p3beta1.ProductSearchCategory - .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED.getNumber()) { + .PRODUCT_SEARCH_CATEGORY_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, category_); } if (indexTime_ != null) { diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java index 7dc9fba86a3c..e8724c77348b 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java @@ -801,7 +801,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } if (executionState_ != com.google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState - .EXECUTION_STATE_UNSPECIFIED.getNumber()) { + .EXECUTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, executionState_); } if (resultState_ @@ -841,7 +842,8 @@ public int getSerializedSize() { } if (executionState_ != com.google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState - .EXECUTION_STATE_UNSPECIFIED.getNumber()) { + .EXECUTION_STATE_UNSPECIFIED + .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, executionState_); } if (resultState_ diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java index 7f412d9d60ce..df955154c6d8 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java @@ -137,9 +137,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_TestSuite_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.TestSuite.class, - com.google.cloud.firestore.conformance.TestDefinition.TestSuite.Builder.class); + .internal_static_tests_TestSuite_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.TestSuite.class, + com.google.cloud.firestore.conformance.TestDefinition.TestSuite.Builder.class); } public static final int TESTS_FIELD_NUMBER = 1; @@ -351,9 +352,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_TestSuite_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.TestSuite.class, - com.google.cloud.firestore.conformance.TestDefinition.TestSuite.Builder.class); + .internal_static_tests_TestSuite_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.TestSuite.class, + com.google.cloud.firestore.conformance.TestDefinition.TestSuite.Builder.class); } // Construct using @@ -1132,9 +1134,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Test_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Test.class, - com.google.cloud.firestore.conformance.TestDefinition.Test.Builder.class); + .internal_static_tests_Test_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Test.class, + com.google.cloud.firestore.conformance.TestDefinition.Test.Builder.class); } private int testCase_ = 0; @@ -1725,9 +1728,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Test_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Test.class, - com.google.cloud.firestore.conformance.TestDefinition.Test.Builder.class); + .internal_static_tests_Test_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Test.class, + com.google.cloud.firestore.conformance.TestDefinition.Test.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.Test.newBuilder() @@ -3389,9 +3393,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_GetTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.GetTest.class, - com.google.cloud.firestore.conformance.TestDefinition.GetTest.Builder.class); + .internal_static_tests_GetTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.GetTest.class, + com.google.cloud.firestore.conformance.TestDefinition.GetTest.Builder.class); } public static final int DOC_REF_PATH_FIELD_NUMBER = 1; @@ -3671,9 +3676,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_GetTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.GetTest.class, - com.google.cloud.firestore.conformance.TestDefinition.GetTest.Builder.class); + .internal_static_tests_GetTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.GetTest.class, + com.google.cloud.firestore.conformance.TestDefinition.GetTest.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.GetTest.newBuilder() @@ -4345,9 +4351,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_CreateTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.CreateTest.class, - com.google.cloud.firestore.conformance.TestDefinition.CreateTest.Builder.class); + .internal_static_tests_CreateTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.CreateTest.class, + com.google.cloud.firestore.conformance.TestDefinition.CreateTest.Builder.class); } public static final int DOC_REF_PATH_FIELD_NUMBER = 1; @@ -4709,9 +4716,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_CreateTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.CreateTest.class, - com.google.cloud.firestore.conformance.TestDefinition.CreateTest.Builder.class); + .internal_static_tests_CreateTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.CreateTest.class, + com.google.cloud.firestore.conformance.TestDefinition.CreateTest.Builder.class); } // Construct using @@ -5594,9 +5602,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_SetTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.SetTest.class, - com.google.cloud.firestore.conformance.TestDefinition.SetTest.Builder.class); + .internal_static_tests_SetTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.SetTest.class, + com.google.cloud.firestore.conformance.TestDefinition.SetTest.Builder.class); } public static final int DOC_REF_PATH_FIELD_NUMBER = 1; @@ -6008,9 +6017,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_SetTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.SetTest.class, - com.google.cloud.firestore.conformance.TestDefinition.SetTest.Builder.class); + .internal_static_tests_SetTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.SetTest.class, + com.google.cloud.firestore.conformance.TestDefinition.SetTest.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.SetTest.newBuilder() @@ -7076,9 +7086,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_UpdateTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.class, - com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.Builder.class); + .internal_static_tests_UpdateTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.class, + com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.Builder.class); } public static final int DOC_REF_PATH_FIELD_NUMBER = 1; @@ -7491,9 +7502,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_UpdateTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.class, - com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.Builder.class); + .internal_static_tests_UpdateTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.class, + com.google.cloud.firestore.conformance.TestDefinition.UpdateTest.Builder.class); } // Construct using @@ -8657,9 +8669,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_UpdatePathsTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.UpdatePathsTest.class, - com.google.cloud.firestore.conformance.TestDefinition.UpdatePathsTest.Builder.class); + .internal_static_tests_UpdatePathsTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.UpdatePathsTest.class, + com.google.cloud.firestore.conformance.TestDefinition.UpdatePathsTest.Builder.class); } private int bitField0_; @@ -10668,9 +10681,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_DeleteTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.class, - com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.Builder.class); + .internal_static_tests_DeleteTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.class, + com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.Builder.class); } public static final int DOC_REF_PATH_FIELD_NUMBER = 1; @@ -11006,9 +11020,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_DeleteTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.class, - com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.Builder.class); + .internal_static_tests_DeleteTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.class, + com.google.cloud.firestore.conformance.TestDefinition.DeleteTest.Builder.class); } // Construct using @@ -11819,9 +11834,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_SetOption_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.SetOption.class, - com.google.cloud.firestore.conformance.TestDefinition.SetOption.Builder.class); + .internal_static_tests_SetOption_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.SetOption.class, + com.google.cloud.firestore.conformance.TestDefinition.SetOption.Builder.class); } private int bitField0_; @@ -12098,9 +12114,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_SetOption_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.SetOption.class, - com.google.cloud.firestore.conformance.TestDefinition.SetOption.Builder.class); + .internal_static_tests_SetOption_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.SetOption.class, + com.google.cloud.firestore.conformance.TestDefinition.SetOption.Builder.class); } // Construct using @@ -12905,9 +12922,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_QueryTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.QueryTest.class, - com.google.cloud.firestore.conformance.TestDefinition.QueryTest.Builder.class); + .internal_static_tests_QueryTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.QueryTest.class, + com.google.cloud.firestore.conformance.TestDefinition.QueryTest.Builder.class); } private int bitField0_; @@ -13211,9 +13229,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_QueryTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.QueryTest.class, - com.google.cloud.firestore.conformance.TestDefinition.QueryTest.Builder.class); + .internal_static_tests_QueryTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.QueryTest.class, + com.google.cloud.firestore.conformance.TestDefinition.QueryTest.Builder.class); } // Construct using @@ -14195,9 +14214,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Clause_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Clause.class, - com.google.cloud.firestore.conformance.TestDefinition.Clause.Builder.class); + .internal_static_tests_Clause_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Clause.class, + com.google.cloud.firestore.conformance.TestDefinition.Clause.Builder.class); } private int clauseCase_ = 0; @@ -14740,9 +14760,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Clause_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Clause.class, - com.google.cloud.firestore.conformance.TestDefinition.Clause.Builder.class); + .internal_static_tests_Clause_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Clause.class, + com.google.cloud.firestore.conformance.TestDefinition.Clause.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.Clause.newBuilder() @@ -16138,9 +16159,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Select_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Select.class, - com.google.cloud.firestore.conformance.TestDefinition.Select.Builder.class); + .internal_static_tests_Select_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Select.class, + com.google.cloud.firestore.conformance.TestDefinition.Select.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; @@ -16343,9 +16365,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Select_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Select.class, - com.google.cloud.firestore.conformance.TestDefinition.Select.Builder.class); + .internal_static_tests_Select_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Select.class, + com.google.cloud.firestore.conformance.TestDefinition.Select.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.Select.newBuilder() @@ -16911,9 +16934,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Where_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Where.class, - com.google.cloud.firestore.conformance.TestDefinition.Where.Builder.class); + .internal_static_tests_Where_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Where.class, + com.google.cloud.firestore.conformance.TestDefinition.Where.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; @@ -17182,9 +17206,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Where_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Where.class, - com.google.cloud.firestore.conformance.TestDefinition.Where.Builder.class); + .internal_static_tests_Where_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Where.class, + com.google.cloud.firestore.conformance.TestDefinition.Where.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.Where.newBuilder() @@ -17725,9 +17750,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_OrderBy_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.OrderBy.class, - com.google.cloud.firestore.conformance.TestDefinition.OrderBy.Builder.class); + .internal_static_tests_OrderBy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.OrderBy.class, + com.google.cloud.firestore.conformance.TestDefinition.OrderBy.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; @@ -17976,9 +18002,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_OrderBy_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.OrderBy.class, - com.google.cloud.firestore.conformance.TestDefinition.OrderBy.Builder.class); + .internal_static_tests_OrderBy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.OrderBy.class, + com.google.cloud.firestore.conformance.TestDefinition.OrderBy.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.OrderBy.newBuilder() @@ -18520,9 +18547,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Cursor_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Cursor.class, - com.google.cloud.firestore.conformance.TestDefinition.Cursor.Builder.class); + .internal_static_tests_Cursor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Cursor.class, + com.google.cloud.firestore.conformance.TestDefinition.Cursor.Builder.class); } private int bitField0_; @@ -18779,9 +18807,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Cursor_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Cursor.class, - com.google.cloud.firestore.conformance.TestDefinition.Cursor.Builder.class); + .internal_static_tests_Cursor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Cursor.class, + com.google.cloud.firestore.conformance.TestDefinition.Cursor.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.Cursor.newBuilder() @@ -19343,9 +19372,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_DocSnapshot_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.class, - com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.Builder.class); + .internal_static_tests_DocSnapshot_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.class, + com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; @@ -19583,9 +19613,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_DocSnapshot_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.class, - com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.Builder.class); + .internal_static_tests_DocSnapshot_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.class, + com.google.cloud.firestore.conformance.TestDefinition.DocSnapshot.Builder.class); } // Construct using @@ -19973,9 +20004,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_FieldPath_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.FieldPath.class, - com.google.cloud.firestore.conformance.TestDefinition.FieldPath.Builder.class); + .internal_static_tests_FieldPath_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.FieldPath.class, + com.google.cloud.firestore.conformance.TestDefinition.FieldPath.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; @@ -20176,9 +20208,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_FieldPath_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.FieldPath.class, - com.google.cloud.firestore.conformance.TestDefinition.FieldPath.Builder.class); + .internal_static_tests_FieldPath_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.FieldPath.class, + com.google.cloud.firestore.conformance.TestDefinition.FieldPath.Builder.class); } // Construct using @@ -20596,9 +20629,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_ListenTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.ListenTest.class, - com.google.cloud.firestore.conformance.TestDefinition.ListenTest.Builder.class); + .internal_static_tests_ListenTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.ListenTest.class, + com.google.cloud.firestore.conformance.TestDefinition.ListenTest.Builder.class); } private int bitField0_; @@ -20871,9 +20905,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_ListenTest_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.ListenTest.class, - com.google.cloud.firestore.conformance.TestDefinition.ListenTest.Builder.class); + .internal_static_tests_ListenTest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.ListenTest.class, + com.google.cloud.firestore.conformance.TestDefinition.ListenTest.Builder.class); } // Construct using @@ -21755,9 +21790,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Snapshot_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Snapshot.class, - com.google.cloud.firestore.conformance.TestDefinition.Snapshot.Builder.class); + .internal_static_tests_Snapshot_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Snapshot.class, + com.google.cloud.firestore.conformance.TestDefinition.Snapshot.Builder.class); } private int bitField0_; @@ -22026,9 +22062,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_Snapshot_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.Snapshot.class, - com.google.cloud.firestore.conformance.TestDefinition.Snapshot.Builder.class); + .internal_static_tests_Snapshot_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.Snapshot.class, + com.google.cloud.firestore.conformance.TestDefinition.Snapshot.Builder.class); } // Construct using com.google.cloud.firestore.conformance.TestDefinition.Snapshot.newBuilder() @@ -22967,9 +23004,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_DocChange_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.DocChange.class, - com.google.cloud.firestore.conformance.TestDefinition.DocChange.Builder.class); + .internal_static_tests_DocChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.DocChange.class, + com.google.cloud.firestore.conformance.TestDefinition.DocChange.Builder.class); } /** Protobuf enum {@code tests.DocChange.Kind} */ @@ -23321,9 +23359,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.firestore.conformance.TestDefinition - .internal_static_tests_DocChange_fieldAccessorTable.ensureFieldAccessorsInitialized( - com.google.cloud.firestore.conformance.TestDefinition.DocChange.class, - com.google.cloud.firestore.conformance.TestDefinition.DocChange.Builder.class); + .internal_static_tests_DocChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.firestore.conformance.TestDefinition.DocChange.class, + com.google.cloud.firestore.conformance.TestDefinition.DocChange.Builder.class); } // Construct using From 3ec8dceeb9c2f15b344799918666ea6eb33945f9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Mon, 4 Feb 2019 09:26:26 -0800 Subject: [PATCH 54/90] Regenerate compute client (#4399) --- .../cloud/compute/v1/FixedOrPercent.java | 204 +++++++++++++++ .../cloud/compute/v1/ForwardingRule.java | 64 +++++ .../cloud/compute/v1/InstanceClient.java | 12 +- .../compute/v1/InstanceGroupManager.java | 107 ++++++++ .../v1/InstanceGroupManagerStatus.java | 142 +++++++++++ .../v1/InstanceGroupManagerUpdatePolicy.java | 234 ++++++++++++++++++ .../v1/InstanceGroupManagerVersion.java | 205 +++++++++++++++ .../compute/v1/ForwardingRuleClientTest.java | 4 + .../v1/GlobalForwardingRuleClientTest.java | 4 + .../google-cloud-compute/synth.metadata | 8 +- 10 files changed, 976 insertions(+), 8 deletions(-) create mode 100644 google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java create mode 100644 google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java create mode 100644 google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java create mode 100644 google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java new file mode 100644 index 000000000000..9530f06cef1d --- /dev/null +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java @@ -0,0 +1,204 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class FixedOrPercent implements ApiMessage { + private final Integer calculated; + private final Integer fixed; + private final Integer percent; + + private FixedOrPercent() { + this.calculated = null; + this.fixed = null; + this.percent = null; + } + + private FixedOrPercent(Integer calculated, Integer fixed, Integer percent) { + this.calculated = calculated; + this.fixed = fixed; + this.percent = percent; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("calculated".equals(fieldName)) { + return calculated; + } + if ("fixed".equals(fieldName)) { + return fixed; + } + if ("percent".equals(fieldName)) { + return percent; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + public List getFieldMask() { + return null; + } + + public Integer getCalculated() { + return calculated; + } + + public Integer getFixed() { + return fixed; + } + + public Integer getPercent() { + return percent; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(FixedOrPercent prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static FixedOrPercent getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final FixedOrPercent DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new FixedOrPercent(); + } + + public static class Builder { + private Integer calculated; + private Integer fixed; + private Integer percent; + + Builder() {} + + public Builder mergeFrom(FixedOrPercent other) { + if (other == FixedOrPercent.getDefaultInstance()) return this; + if (other.getCalculated() != null) { + this.calculated = other.calculated; + } + if (other.getFixed() != null) { + this.fixed = other.fixed; + } + if (other.getPercent() != null) { + this.percent = other.percent; + } + return this; + } + + Builder(FixedOrPercent source) { + this.calculated = source.calculated; + this.fixed = source.fixed; + this.percent = source.percent; + } + + public Integer getCalculated() { + return calculated; + } + + public Builder setCalculated(Integer calculated) { + this.calculated = calculated; + return this; + } + + public Integer getFixed() { + return fixed; + } + + public Builder setFixed(Integer fixed) { + this.fixed = fixed; + return this; + } + + public Integer getPercent() { + return percent; + } + + public Builder setPercent(Integer percent) { + this.percent = percent; + return this; + } + + public FixedOrPercent build() { + + return new FixedOrPercent(calculated, fixed, percent); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setCalculated(this.calculated); + newBuilder.setFixed(this.fixed); + newBuilder.setPercent(this.percent); + return newBuilder; + } + } + + @Override + public String toString() { + return "FixedOrPercent{" + + "calculated=" + + calculated + + ", " + + "fixed=" + + fixed + + ", " + + "percent=" + + percent + + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof FixedOrPercent) { + FixedOrPercent that = (FixedOrPercent) o; + return Objects.equals(this.calculated, that.getCalculated()) + && Objects.equals(this.fixed, that.getFixed()) + && Objects.equals(this.percent, that.getPercent()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(calculated, fixed, percent); + } +} diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java index 1f8380c42c0e..6f53a1dae830 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java @@ -48,6 +48,8 @@ public final class ForwardingRule implements ApiMessage { private final List ports; private final String region; private final String selfLink; + private final String serviceLabel; + private final String serviceName; private final String subnetwork; private final String target; @@ -68,6 +70,8 @@ private ForwardingRule() { this.ports = null; this.region = null; this.selfLink = null; + this.serviceLabel = null; + this.serviceName = null; this.subnetwork = null; this.target = null; } @@ -89,6 +93,8 @@ private ForwardingRule( List ports, String region, String selfLink, + String serviceLabel, + String serviceName, String subnetwork, String target) { this.backendService = backendService; @@ -107,6 +113,8 @@ private ForwardingRule( this.ports = ports; this.region = region; this.selfLink = selfLink; + this.serviceLabel = serviceLabel; + this.serviceName = serviceName; this.subnetwork = subnetwork; this.target = target; } @@ -161,6 +169,12 @@ public Object getFieldValue(String fieldName) { if ("selfLink".equals(fieldName)) { return selfLink; } + if ("serviceLabel".equals(fieldName)) { + return serviceLabel; + } + if ("serviceName".equals(fieldName)) { + return serviceName; + } if ("subnetwork".equals(fieldName)) { return subnetwork; } @@ -246,6 +260,14 @@ public String getSelfLink() { return selfLink; } + public String getServiceLabel() { + return serviceLabel; + } + + public String getServiceName() { + return serviceName; + } + public String getSubnetwork() { return subnetwork; } @@ -293,6 +315,8 @@ public static class Builder { private List ports; private String region; private String selfLink; + private String serviceLabel; + private String serviceName; private String subnetwork; private String target; @@ -348,6 +372,12 @@ public Builder mergeFrom(ForwardingRule other) { if (other.getSelfLink() != null) { this.selfLink = other.selfLink; } + if (other.getServiceLabel() != null) { + this.serviceLabel = other.serviceLabel; + } + if (other.getServiceName() != null) { + this.serviceName = other.serviceName; + } if (other.getSubnetwork() != null) { this.subnetwork = other.subnetwork; } @@ -374,6 +404,8 @@ public Builder mergeFrom(ForwardingRule other) { this.ports = source.ports; this.region = source.region; this.selfLink = source.selfLink; + this.serviceLabel = source.serviceLabel; + this.serviceName = source.serviceName; this.subnetwork = source.subnetwork; this.target = source.target; } @@ -533,6 +565,24 @@ public Builder setSelfLink(String selfLink) { return this; } + public String getServiceLabel() { + return serviceLabel; + } + + public Builder setServiceLabel(String serviceLabel) { + this.serviceLabel = serviceLabel; + return this; + } + + public String getServiceName() { + return serviceName; + } + + public Builder setServiceName(String serviceName) { + this.serviceName = serviceName; + return this; + } + public String getSubnetwork() { return subnetwork; } @@ -570,6 +620,8 @@ public ForwardingRule build() { ports, region, selfLink, + serviceLabel, + serviceName, subnetwork, target); } @@ -592,6 +644,8 @@ public Builder clone() { newBuilder.addAllPorts(this.ports); newBuilder.setRegion(this.region); newBuilder.setSelfLink(this.selfLink); + newBuilder.setServiceLabel(this.serviceLabel); + newBuilder.setServiceName(this.serviceName); newBuilder.setSubnetwork(this.subnetwork); newBuilder.setTarget(this.target); return newBuilder; @@ -649,6 +703,12 @@ public String toString() { + "selfLink=" + selfLink + ", " + + "serviceLabel=" + + serviceLabel + + ", " + + "serviceName=" + + serviceName + + ", " + "subnetwork=" + subnetwork + ", " @@ -680,6 +740,8 @@ public boolean equals(Object o) { && Objects.equals(this.ports, that.getPortsList()) && Objects.equals(this.region, that.getRegion()) && Objects.equals(this.selfLink, that.getSelfLink()) + && Objects.equals(this.serviceLabel, that.getServiceLabel()) + && Objects.equals(this.serviceName, that.getServiceName()) && Objects.equals(this.subnetwork, that.getSubnetwork()) && Objects.equals(this.target, that.getTarget()); } @@ -705,6 +767,8 @@ public int hashCode() { ports, region, selfLink, + serviceLabel, + serviceName, subnetwork, target); } diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java index f2bd3aa3b502..1e5eb0c61f5f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java @@ -1610,7 +1610,8 @@ public final ListReferrersInstancesPagedResponse listReferrersInstances( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Performs a reset on the instance. For more information, see Resetting an instance. + * Performs a reset on the instance. This is a hard reset; the VM does not do a graceful shutdown. + * For more information, see Resetting an instance. * *

Sample code: * @@ -1636,7 +1637,8 @@ public final Operation resetInstance(ProjectZoneInstanceName instance) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Performs a reset on the instance. For more information, see Resetting an instance. + * Performs a reset on the instance. This is a hard reset; the VM does not do a graceful shutdown. + * For more information, see Resetting an instance. * *

Sample code: * @@ -1660,7 +1662,8 @@ public final Operation resetInstance(String instance) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Performs a reset on the instance. For more information, see Resetting an instance. + * Performs a reset on the instance. This is a hard reset; the VM does not do a graceful shutdown. + * For more information, see Resetting an instance. * *

Sample code: * @@ -1684,7 +1687,8 @@ public final Operation resetInstance(ResetInstanceHttpRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Performs a reset on the instance. For more information, see Resetting an instance. + * Performs a reset on the instance. This is a hard reset; the VM does not do a graceful shutdown. + * For more information, see Resetting an instance. * *

Sample code: * diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java index 1b8b68a106b2..66dff0682b92 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java @@ -41,8 +41,11 @@ public final class InstanceGroupManager implements ApiMessage { private final List namedPorts; private final String region; private final String selfLink; + private final InstanceGroupManagerStatus status; private final List targetPools; private final Integer targetSize; + private final InstanceGroupManagerUpdatePolicy updatePolicy; + private final List versions; private final String zone; private InstanceGroupManager() { @@ -61,8 +64,11 @@ private InstanceGroupManager() { this.namedPorts = null; this.region = null; this.selfLink = null; + this.status = null; this.targetPools = null; this.targetSize = null; + this.updatePolicy = null; + this.versions = null; this.zone = null; } @@ -82,8 +88,11 @@ private InstanceGroupManager( List namedPorts, String region, String selfLink, + InstanceGroupManagerStatus status, List targetPools, Integer targetSize, + InstanceGroupManagerUpdatePolicy updatePolicy, + List versions, String zone) { this.autoHealingPolicies = autoHealingPolicies; this.baseInstanceName = baseInstanceName; @@ -100,8 +109,11 @@ private InstanceGroupManager( this.namedPorts = namedPorts; this.region = region; this.selfLink = selfLink; + this.status = status; this.targetPools = targetPools; this.targetSize = targetSize; + this.updatePolicy = updatePolicy; + this.versions = versions; this.zone = zone; } @@ -152,12 +164,21 @@ public Object getFieldValue(String fieldName) { if ("selfLink".equals(fieldName)) { return selfLink; } + if ("status".equals(fieldName)) { + return status; + } if ("targetPools".equals(fieldName)) { return targetPools; } if ("targetSize".equals(fieldName)) { return targetSize; } + if ("updatePolicy".equals(fieldName)) { + return updatePolicy; + } + if ("versions".equals(fieldName)) { + return versions; + } if ("zone".equals(fieldName)) { return zone; } @@ -236,6 +257,10 @@ public String getSelfLink() { return selfLink; } + public InstanceGroupManagerStatus getStatus() { + return status; + } + public List getTargetPoolsList() { return targetPools; } @@ -244,6 +269,14 @@ public Integer getTargetSize() { return targetSize; } + public InstanceGroupManagerUpdatePolicy getUpdatePolicy() { + return updatePolicy; + } + + public List getVersionsList() { + return versions; + } + public String getZone() { return zone; } @@ -286,8 +319,11 @@ public static class Builder { private List namedPorts; private String region; private String selfLink; + private InstanceGroupManagerStatus status; private List targetPools; private Integer targetSize; + private InstanceGroupManagerUpdatePolicy updatePolicy; + private List versions; private String zone; Builder() {} @@ -339,12 +375,21 @@ public Builder mergeFrom(InstanceGroupManager other) { if (other.getSelfLink() != null) { this.selfLink = other.selfLink; } + if (other.getStatus() != null) { + this.status = other.status; + } if (other.getTargetPoolsList() != null) { this.targetPools = other.targetPools; } if (other.getTargetSize() != null) { this.targetSize = other.targetSize; } + if (other.getUpdatePolicy() != null) { + this.updatePolicy = other.updatePolicy; + } + if (other.getVersionsList() != null) { + this.versions = other.versions; + } if (other.getZone() != null) { this.zone = other.zone; } @@ -367,8 +412,11 @@ public Builder mergeFrom(InstanceGroupManager other) { this.namedPorts = source.namedPorts; this.region = source.region; this.selfLink = source.selfLink; + this.status = source.status; this.targetPools = source.targetPools; this.targetSize = source.targetSize; + this.updatePolicy = source.updatePolicy; + this.versions = source.versions; this.zone = source.zone; } @@ -531,6 +579,15 @@ public Builder setSelfLink(String selfLink) { return this; } + public InstanceGroupManagerStatus getStatus() { + return status; + } + + public Builder setStatus(InstanceGroupManagerStatus status) { + this.status = status; + return this; + } + public List getTargetPoolsList() { return targetPools; } @@ -560,6 +617,35 @@ public Builder setTargetSize(Integer targetSize) { return this; } + public InstanceGroupManagerUpdatePolicy getUpdatePolicy() { + return updatePolicy; + } + + public Builder setUpdatePolicy(InstanceGroupManagerUpdatePolicy updatePolicy) { + this.updatePolicy = updatePolicy; + return this; + } + + public List getVersionsList() { + return versions; + } + + public Builder addAllVersions(List versions) { + if (this.versions == null) { + this.versions = new LinkedList<>(); + } + this.versions.addAll(versions); + return this; + } + + public Builder addVersions(InstanceGroupManagerVersion versions) { + if (this.versions == null) { + this.versions = new LinkedList<>(); + } + this.versions.add(versions); + return this; + } + public String getZone() { return zone; } @@ -587,8 +673,11 @@ public InstanceGroupManager build() { namedPorts, region, selfLink, + status, targetPools, targetSize, + updatePolicy, + versions, zone); } @@ -609,8 +698,11 @@ public Builder clone() { newBuilder.addAllNamedPorts(this.namedPorts); newBuilder.setRegion(this.region); newBuilder.setSelfLink(this.selfLink); + newBuilder.setStatus(this.status); newBuilder.addAllTargetPools(this.targetPools); newBuilder.setTargetSize(this.targetSize); + newBuilder.setUpdatePolicy(this.updatePolicy); + newBuilder.addAllVersions(this.versions); newBuilder.setZone(this.zone); return newBuilder; } @@ -664,12 +756,21 @@ public String toString() { + "selfLink=" + selfLink + ", " + + "status=" + + status + + ", " + "targetPools=" + targetPools + ", " + "targetSize=" + targetSize + ", " + + "updatePolicy=" + + updatePolicy + + ", " + + "versions=" + + versions + + ", " + "zone=" + zone + "}"; @@ -697,8 +798,11 @@ public boolean equals(Object o) { && Objects.equals(this.namedPorts, that.getNamedPortsList()) && Objects.equals(this.region, that.getRegion()) && Objects.equals(this.selfLink, that.getSelfLink()) + && Objects.equals(this.status, that.getStatus()) && Objects.equals(this.targetPools, that.getTargetPoolsList()) && Objects.equals(this.targetSize, that.getTargetSize()) + && Objects.equals(this.updatePolicy, that.getUpdatePolicy()) + && Objects.equals(this.versions, that.getVersionsList()) && Objects.equals(this.zone, that.getZone()); } return false; @@ -722,8 +826,11 @@ public int hashCode() { namedPorts, region, selfLink, + status, targetPools, targetSize, + updatePolicy, + versions, zone); } } diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java new file mode 100644 index 000000000000..227c8820d688 --- /dev/null +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java @@ -0,0 +1,142 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class InstanceGroupManagerStatus implements ApiMessage { + private final Boolean isStable; + + private InstanceGroupManagerStatus() { + this.isStable = null; + } + + private InstanceGroupManagerStatus(Boolean isStable) { + this.isStable = isStable; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("isStable".equals(fieldName)) { + return isStable; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + public List getFieldMask() { + return null; + } + + public Boolean getIsStable() { + return isStable; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(InstanceGroupManagerStatus prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static InstanceGroupManagerStatus getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final InstanceGroupManagerStatus DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new InstanceGroupManagerStatus(); + } + + public static class Builder { + private Boolean isStable; + + Builder() {} + + public Builder mergeFrom(InstanceGroupManagerStatus other) { + if (other == InstanceGroupManagerStatus.getDefaultInstance()) return this; + if (other.getIsStable() != null) { + this.isStable = other.isStable; + } + return this; + } + + Builder(InstanceGroupManagerStatus source) { + this.isStable = source.isStable; + } + + public Boolean getIsStable() { + return isStable; + } + + public Builder setIsStable(Boolean isStable) { + this.isStable = isStable; + return this; + } + + public InstanceGroupManagerStatus build() { + return new InstanceGroupManagerStatus(isStable); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setIsStable(this.isStable); + return newBuilder; + } + } + + @Override + public String toString() { + return "InstanceGroupManagerStatus{" + "isStable=" + isStable + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof InstanceGroupManagerStatus) { + InstanceGroupManagerStatus that = (InstanceGroupManagerStatus) o; + return Objects.equals(this.isStable, that.getIsStable()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(isStable); + } +} diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java new file mode 100644 index 000000000000..7ed3a69f847c --- /dev/null +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java @@ -0,0 +1,234 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class InstanceGroupManagerUpdatePolicy implements ApiMessage { + private final FixedOrPercent maxSurge; + private final FixedOrPercent maxUnavailable; + private final String minimalAction; + private final String type; + + private InstanceGroupManagerUpdatePolicy() { + this.maxSurge = null; + this.maxUnavailable = null; + this.minimalAction = null; + this.type = null; + } + + private InstanceGroupManagerUpdatePolicy( + FixedOrPercent maxSurge, FixedOrPercent maxUnavailable, String minimalAction, String type) { + this.maxSurge = maxSurge; + this.maxUnavailable = maxUnavailable; + this.minimalAction = minimalAction; + this.type = type; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("maxSurge".equals(fieldName)) { + return maxSurge; + } + if ("maxUnavailable".equals(fieldName)) { + return maxUnavailable; + } + if ("minimalAction".equals(fieldName)) { + return minimalAction; + } + if ("type".equals(fieldName)) { + return type; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + public List getFieldMask() { + return null; + } + + public FixedOrPercent getMaxSurge() { + return maxSurge; + } + + public FixedOrPercent getMaxUnavailable() { + return maxUnavailable; + } + + public String getMinimalAction() { + return minimalAction; + } + + public String getType() { + return type; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(InstanceGroupManagerUpdatePolicy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static InstanceGroupManagerUpdatePolicy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final InstanceGroupManagerUpdatePolicy DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new InstanceGroupManagerUpdatePolicy(); + } + + public static class Builder { + private FixedOrPercent maxSurge; + private FixedOrPercent maxUnavailable; + private String minimalAction; + private String type; + + Builder() {} + + public Builder mergeFrom(InstanceGroupManagerUpdatePolicy other) { + if (other == InstanceGroupManagerUpdatePolicy.getDefaultInstance()) return this; + if (other.getMaxSurge() != null) { + this.maxSurge = other.maxSurge; + } + if (other.getMaxUnavailable() != null) { + this.maxUnavailable = other.maxUnavailable; + } + if (other.getMinimalAction() != null) { + this.minimalAction = other.minimalAction; + } + if (other.getType() != null) { + this.type = other.type; + } + return this; + } + + Builder(InstanceGroupManagerUpdatePolicy source) { + this.maxSurge = source.maxSurge; + this.maxUnavailable = source.maxUnavailable; + this.minimalAction = source.minimalAction; + this.type = source.type; + } + + public FixedOrPercent getMaxSurge() { + return maxSurge; + } + + public Builder setMaxSurge(FixedOrPercent maxSurge) { + this.maxSurge = maxSurge; + return this; + } + + public FixedOrPercent getMaxUnavailable() { + return maxUnavailable; + } + + public Builder setMaxUnavailable(FixedOrPercent maxUnavailable) { + this.maxUnavailable = maxUnavailable; + return this; + } + + public String getMinimalAction() { + return minimalAction; + } + + public Builder setMinimalAction(String minimalAction) { + this.minimalAction = minimalAction; + return this; + } + + public String getType() { + return type; + } + + public Builder setType(String type) { + this.type = type; + return this; + } + + public InstanceGroupManagerUpdatePolicy build() { + + return new InstanceGroupManagerUpdatePolicy(maxSurge, maxUnavailable, minimalAction, type); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setMaxSurge(this.maxSurge); + newBuilder.setMaxUnavailable(this.maxUnavailable); + newBuilder.setMinimalAction(this.minimalAction); + newBuilder.setType(this.type); + return newBuilder; + } + } + + @Override + public String toString() { + return "InstanceGroupManagerUpdatePolicy{" + + "maxSurge=" + + maxSurge + + ", " + + "maxUnavailable=" + + maxUnavailable + + ", " + + "minimalAction=" + + minimalAction + + ", " + + "type=" + + type + + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof InstanceGroupManagerUpdatePolicy) { + InstanceGroupManagerUpdatePolicy that = (InstanceGroupManagerUpdatePolicy) o; + return Objects.equals(this.maxSurge, that.getMaxSurge()) + && Objects.equals(this.maxUnavailable, that.getMaxUnavailable()) + && Objects.equals(this.minimalAction, that.getMinimalAction()) + && Objects.equals(this.type, that.getType()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(maxSurge, maxUnavailable, minimalAction, type); + } +} diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java new file mode 100644 index 000000000000..04530b1e9355 --- /dev/null +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java @@ -0,0 +1,205 @@ +/* + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class InstanceGroupManagerVersion implements ApiMessage { + private final String instanceTemplate; + private final String name; + private final FixedOrPercent targetSize; + + private InstanceGroupManagerVersion() { + this.instanceTemplate = null; + this.name = null; + this.targetSize = null; + } + + private InstanceGroupManagerVersion( + String instanceTemplate, String name, FixedOrPercent targetSize) { + this.instanceTemplate = instanceTemplate; + this.name = name; + this.targetSize = targetSize; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("instanceTemplate".equals(fieldName)) { + return instanceTemplate; + } + if ("name".equals(fieldName)) { + return name; + } + if ("targetSize".equals(fieldName)) { + return targetSize; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + public List getFieldMask() { + return null; + } + + public String getInstanceTemplate() { + return instanceTemplate; + } + + public String getName() { + return name; + } + + public FixedOrPercent getTargetSize() { + return targetSize; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(InstanceGroupManagerVersion prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static InstanceGroupManagerVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final InstanceGroupManagerVersion DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new InstanceGroupManagerVersion(); + } + + public static class Builder { + private String instanceTemplate; + private String name; + private FixedOrPercent targetSize; + + Builder() {} + + public Builder mergeFrom(InstanceGroupManagerVersion other) { + if (other == InstanceGroupManagerVersion.getDefaultInstance()) return this; + if (other.getInstanceTemplate() != null) { + this.instanceTemplate = other.instanceTemplate; + } + if (other.getName() != null) { + this.name = other.name; + } + if (other.getTargetSize() != null) { + this.targetSize = other.targetSize; + } + return this; + } + + Builder(InstanceGroupManagerVersion source) { + this.instanceTemplate = source.instanceTemplate; + this.name = source.name; + this.targetSize = source.targetSize; + } + + public String getInstanceTemplate() { + return instanceTemplate; + } + + public Builder setInstanceTemplate(String instanceTemplate) { + this.instanceTemplate = instanceTemplate; + return this; + } + + public String getName() { + return name; + } + + public Builder setName(String name) { + this.name = name; + return this; + } + + public FixedOrPercent getTargetSize() { + return targetSize; + } + + public Builder setTargetSize(FixedOrPercent targetSize) { + this.targetSize = targetSize; + return this; + } + + public InstanceGroupManagerVersion build() { + + return new InstanceGroupManagerVersion(instanceTemplate, name, targetSize); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setInstanceTemplate(this.instanceTemplate); + newBuilder.setName(this.name); + newBuilder.setTargetSize(this.targetSize); + return newBuilder; + } + } + + @Override + public String toString() { + return "InstanceGroupManagerVersion{" + + "instanceTemplate=" + + instanceTemplate + + ", " + + "name=" + + name + + ", " + + "targetSize=" + + targetSize + + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof InstanceGroupManagerVersion) { + InstanceGroupManagerVersion that = (InstanceGroupManagerVersion) o; + return Objects.equals(this.instanceTemplate, that.getInstanceTemplate()) + && Objects.equals(this.name, that.getName()) + && Objects.equals(this.targetSize, that.getTargetSize()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(instanceTemplate, name, targetSize); + } +} diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java index 7bcb49353645..88f0b6f50da5 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRuleClientTest.java @@ -261,6 +261,8 @@ public void getForwardingRuleTest() { String portRange = "portRange217518079"; ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]"); String selfLink = "selfLink-1691268851"; + String serviceLabel = "serviceLabel-1730474774"; + String serviceName = "serviceName359880149"; ProjectRegionSubnetworkName subnetwork = ProjectRegionSubnetworkName.of("[PROJECT]", "[REGION]", "[SUBNETWORK]"); String target = "target-880905839"; @@ -281,6 +283,8 @@ public void getForwardingRuleTest() { .setPortRange(portRange) .setRegion(region.toString()) .setSelfLink(selfLink) + .setServiceLabel(serviceLabel) + .setServiceName(serviceName) .setSubnetwork(subnetwork.toString()) .setTarget(target) .build(); diff --git a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java index eb92bfd76e83..88896124384b 100644 --- a/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java +++ b/google-cloud-clients/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRuleClientTest.java @@ -194,6 +194,8 @@ public void getGlobalForwardingRuleTest() { String portRange = "portRange217518079"; ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]"); String selfLink = "selfLink-1691268851"; + String serviceLabel = "serviceLabel-1730474774"; + String serviceName = "serviceName359880149"; ProjectRegionSubnetworkName subnetwork = ProjectRegionSubnetworkName.of("[PROJECT]", "[REGION]", "[SUBNETWORK]"); String target = "target-880905839"; @@ -214,6 +216,8 @@ public void getGlobalForwardingRuleTest() { .setPortRange(portRange) .setRegion(region.toString()) .setSelfLink(selfLink) + .setServiceLabel(serviceLabel) + .setServiceName(serviceName) .setSubnetwork(subnetwork.toString()) .setTarget(target) .build(); diff --git a/google-cloud-clients/google-cloud-compute/synth.metadata b/google-cloud-clients/google-cloud-compute/synth.metadata index 431ce8724ba7..125576c991f8 100644 --- a/google-cloud-clients/google-cloud-compute/synth.metadata +++ b/google-cloud-clients/google-cloud-compute/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2019-01-17T08:37:47.445365Z", + "updateTime": "2019-01-23T08:36:51.719159Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "01b82d5d2308f7e0f342d9303e173bd6381607e4" + "sha": "3f68e5a1583e709ebb03a492e9f54953fa9ea522" } }, { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" } } ] From b6b61afaa72fa806ad8f462468aa7bdc21469c89 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 07:17:19 -0800 Subject: [PATCH 55/90] Regenerate compute client (#4444) --- ...tancesInstanceGroupManagerHttpRequest.java | 15 +++++++++++++ ...RegionInstanceGroupManagerHttpRequest.java | 15 +++++++++++++ .../AddAccessConfigInstanceHttpRequest.java | 4 ++++ .../AddHealthCheckTargetPoolHttpRequest.java | 4 ++++ .../v1/AddInstanceTargetPoolHttpRequest.java | 1 + .../AddInstancesInstanceGroupHttpRequest.java | 5 +++++ .../v1/AddNodesNodeGroupHttpRequest.java | 4 ++++ .../v1/AddPeeringNetworkHttpRequest.java | 3 +++ .../v1/AddRuleSecurityPolicyHttpRequest.java | 4 ++++ ...dSignedUrlKeyBackendBucketHttpRequest.java | 4 ++++ ...SignedUrlKeyBackendServiceHttpRequest.java | 4 ++++ ...egatedListAcceleratorTypesHttpRequest.java | 4 ++++ .../AggregatedListAddressesHttpRequest.java | 4 ++++ .../AggregatedListAutoscalersHttpRequest.java | 4 ++++ ...regatedListBackendServicesHttpRequest.java | 4 ++++ .../AggregatedListDiskTypesHttpRequest.java | 4 ++++ .../v1/AggregatedListDisksHttpRequest.java | 4 ++++ ...regatedListForwardingRulesHttpRequest.java | 4 ++++ ...egatedListGlobalOperationsHttpRequest.java | 4 ++++ ...dListInstanceGroupManagersHttpRequest.java | 4 ++++ ...gregatedListInstanceGroupsHttpRequest.java | 4 ++++ .../AggregatedListInstancesHttpRequest.java | 4 ++++ ...istInterconnectAttachmentsHttpRequest.java | 4 ++++ ...AggregatedListMachineTypesHttpRequest.java | 4 ++++ .../AggregatedListNodeGroupsHttpRequest.java | 4 ++++ ...ggregatedListNodeTemplatesHttpRequest.java | 4 ++++ .../AggregatedListNodeTypesHttpRequest.java | 4 ++++ ...gatedListRegionCommitmentsHttpRequest.java | 4 ++++ .../v1/AggregatedListRoutersHttpRequest.java | 4 ++++ .../AggregatedListSubnetworksHttpRequest.java | 4 ++++ ...regatedListTargetInstancesHttpRequest.java | 4 ++++ .../AggregatedListTargetPoolsHttpRequest.java | 4 ++++ ...gatedListTargetVpnGatewaysHttpRequest.java | 4 ++++ .../AggregatedListVpnTunnelsHttpRequest.java | 4 ++++ .../v1/AttachDiskInstanceHttpRequest.java | 6 ++++++ .../v1/CreateSnapshotDiskHttpRequest.java | 4 ++++ .../CreateSnapshotRegionDiskHttpRequest.java | 4 ++++ ...DeleteAccessConfigInstanceHttpRequest.java | 4 ++++ .../compute/v1/DeleteAddressHttpRequest.java | 1 + .../v1/DeleteAutoscalerHttpRequest.java | 1 + .../v1/DeleteBackendBucketHttpRequest.java | 4 ++++ .../v1/DeleteBackendServiceHttpRequest.java | 4 ++++ .../compute/v1/DeleteDiskHttpRequest.java | 5 +++++ .../compute/v1/DeleteFirewallHttpRequest.java | 1 + .../v1/DeleteForwardingRuleHttpRequest.java | 4 ++++ .../v1/DeleteGlobalAddressHttpRequest.java | 3 +++ ...DeleteGlobalForwardingRuleHttpRequest.java | 4 ++++ .../v1/DeleteGlobalOperationHttpRequest.java | 4 ++++ .../v1/DeleteHealthCheckHttpRequest.java | 4 ++++ .../v1/DeleteHttpHealthCheckHttpRequest.java | 4 ++++ .../v1/DeleteHttpsHealthCheckHttpRequest.java | 4 ++++ .../compute/v1/DeleteImageHttpRequest.java | 1 + .../v1/DeleteInstanceGroupHttpRequest.java | 5 +++++ ...DeleteInstanceGroupManagerHttpRequest.java | 5 +++++ .../compute/v1/DeleteInstanceHttpRequest.java | 4 ++++ .../v1/DeleteInstanceTemplateHttpRequest.java | 5 +++++ ...tancesInstanceGroupManagerHttpRequest.java | 14 +++++++++++++ ...RegionInstanceGroupManagerHttpRequest.java | 15 +++++++++++++ ...leteInterconnectAttachmentHttpRequest.java | 4 ++++ .../v1/DeleteInterconnectHttpRequest.java | 1 + .../compute/v1/DeleteLicenseHttpRequest.java | 1 + .../compute/v1/DeleteNetworkHttpRequest.java | 1 + .../v1/DeleteNodeGroupHttpRequest.java | 3 +++ .../v1/DeleteNodeTemplateHttpRequest.java | 4 ++++ .../v1/DeleteNodesNodeGroupHttpRequest.java | 4 ++++ .../v1/DeleteRegionAutoscalerHttpRequest.java | 1 + ...DeleteRegionBackendServiceHttpRequest.java | 4 ++++ .../v1/DeleteRegionDiskHttpRequest.java | 6 ++++++ ...RegionInstanceGroupManagerHttpRequest.java | 4 ++++ .../v1/DeleteRegionOperationHttpRequest.java | 4 ++++ .../compute/v1/DeleteRouteHttpRequest.java | 1 + .../compute/v1/DeleteRouterHttpRequest.java | 1 + .../v1/DeleteSecurityPolicyHttpRequest.java | 1 + ...eSignedUrlKeyBackendBucketHttpRequest.java | 4 ++++ ...SignedUrlKeyBackendServiceHttpRequest.java | 4 ++++ .../compute/v1/DeleteSnapshotHttpRequest.java | 8 +++++++ .../v1/DeleteSslCertificateHttpRequest.java | 4 ++++ .../v1/DeleteSslPolicyHttpRequest.java | 5 +++++ .../v1/DeleteSubnetworkHttpRequest.java | 1 + .../v1/DeleteTargetHttpProxyHttpRequest.java | 4 ++++ .../v1/DeleteTargetHttpsProxyHttpRequest.java | 4 ++++ .../v1/DeleteTargetInstanceHttpRequest.java | 4 ++++ .../v1/DeleteTargetPoolHttpRequest.java | 1 + .../v1/DeleteTargetSslProxyHttpRequest.java | 4 ++++ .../v1/DeleteTargetTcpProxyHttpRequest.java | 4 ++++ .../v1/DeleteTargetVpnGatewayHttpRequest.java | 4 ++++ .../compute/v1/DeleteUrlMapHttpRequest.java | 1 + .../v1/DeleteVpnTunnelHttpRequest.java | 3 +++ .../v1/DeleteZoneOperationHttpRequest.java | 4 ++++ .../compute/v1/DeprecateImageHttpRequest.java | 5 +++++ .../v1/DetachDiskInstanceHttpRequest.java | 1 + .../v1/DisableXpnHostProjectHttpRequest.java | 4 ++++ .../DisableXpnResourceProjectHttpRequest.java | 4 ++++ .../v1/EnableXpnHostProjectHttpRequest.java | 4 ++++ .../EnableXpnResourceProjectHttpRequest.java | 5 +++++ ...xpandIpCidrRangeSubnetworkHttpRequest.java | 4 ++++ .../v1/GetAcceleratorTypeHttpRequest.java | 3 +++ .../compute/v1/GetAddressHttpRequest.java | 1 + .../compute/v1/GetAutoscalerHttpRequest.java | 4 ++++ .../v1/GetBackendBucketHttpRequest.java | 4 ++++ .../v1/GetBackendServiceHttpRequest.java | 4 ++++ ...GetDiagnosticsInterconnectHttpRequest.java | 4 ++++ .../cloud/compute/v1/GetDiskHttpRequest.java | 4 ++++ .../compute/v1/GetDiskTypeHttpRequest.java | 4 ++++ .../compute/v1/GetFirewallHttpRequest.java | 1 + .../v1/GetForwardingRuleHttpRequest.java | 4 ++++ .../v1/GetFromFamilyImageHttpRequest.java | 4 ++++ .../v1/GetGlobalAddressHttpRequest.java | 4 ++++ .../GetGlobalForwardingRuleHttpRequest.java | 5 +++++ .../v1/GetGlobalOperationHttpRequest.java | 4 ++++ .../GetHealthBackendServiceHttpRequest.java | 4 ++++ .../compute/v1/GetHealthCheckHttpRequest.java | 4 ++++ ...HealthRegionBackendServiceHttpRequest.java | 4 ++++ .../v1/GetHealthTargetPoolHttpRequest.java | 4 ++++ .../v1/GetHttpHealthCheckHttpRequest.java | 4 ++++ .../v1/GetHttpsHealthCheckHttpRequest.java | 4 ++++ .../v1/GetIamPolicyDiskHttpRequest.java | 4 ++++ .../v1/GetIamPolicyImageHttpRequest.java | 4 ++++ .../v1/GetIamPolicyInstanceHttpRequest.java | 4 ++++ ...tIamPolicyInstanceTemplateHttpRequest.java | 4 ++++ .../v1/GetIamPolicyLicenseHttpRequest.java | 4 ++++ .../v1/GetIamPolicyNodeGroupHttpRequest.java | 4 ++++ .../GetIamPolicyNodeTemplateHttpRequest.java | 4 ++++ .../v1/GetIamPolicySnapshotHttpRequest.java | 4 ++++ .../v1/GetIamPolicySubnetworkHttpRequest.java | 4 ++++ .../cloud/compute/v1/GetImageHttpRequest.java | 4 ++++ .../v1/GetInstanceGroupHttpRequest.java | 4 ++++ .../GetInstanceGroupManagerHttpRequest.java | 5 +++++ .../compute/v1/GetInstanceHttpRequest.java | 4 ++++ .../v1/GetInstanceTemplateHttpRequest.java | 4 ++++ .../GetInterconnectAttachmentHttpRequest.java | 4 ++++ .../v1/GetInterconnectHttpRequest.java | 4 ++++ .../GetInterconnectLocationHttpRequest.java | 5 +++++ .../compute/v1/GetLicenseCodeHttpRequest.java | 4 ++++ .../compute/v1/GetLicenseHttpRequest.java | 1 + .../compute/v1/GetMachineTypeHttpRequest.java | 4 ++++ .../GetNatMappingInfoRoutersHttpRequest.java | 4 ++++ .../compute/v1/GetNetworkHttpRequest.java | 4 ++++ .../compute/v1/GetNodeGroupHttpRequest.java | 5 +++++ .../v1/GetNodeTemplateHttpRequest.java | 4 ++++ .../compute/v1/GetNodeTypeHttpRequest.java | 4 ++++ .../compute/v1/GetProjectHttpRequest.java | 1 + .../v1/GetRegionAutoscalerHttpRequest.java | 1 + .../GetRegionBackendServiceHttpRequest.java | 4 ++++ .../v1/GetRegionCommitmentHttpRequest.java | 4 ++++ .../compute/v1/GetRegionDiskHttpRequest.java | 3 +++ .../v1/GetRegionDiskTypeHttpRequest.java | 4 ++++ .../compute/v1/GetRegionHttpRequest.java | 4 ++++ .../v1/GetRegionInstanceGroupHttpRequest.java | 4 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 4 ++++ .../v1/GetRegionOperationHttpRequest.java | 4 ++++ .../cloud/compute/v1/GetRouteHttpRequest.java | 4 ++++ .../compute/v1/GetRouterHttpRequest.java | 4 ++++ .../v1/GetRouterStatusRouterHttpRequest.java | 4 ++++ .../v1/GetRuleSecurityPolicyHttpRequest.java | 4 ++++ .../v1/GetSecurityPolicyHttpRequest.java | 4 ++++ ...etSerialPortOutputInstanceHttpRequest.java | 4 ++++ .../compute/v1/GetSnapshotHttpRequest.java | 4 ++++ .../v1/GetSslCertificateHttpRequest.java | 4 ++++ .../compute/v1/GetSslPolicyHttpRequest.java | 4 ++++ .../compute/v1/GetSubnetworkHttpRequest.java | 4 ++++ .../v1/GetTargetHttpProxyHttpRequest.java | 4 ++++ .../v1/GetTargetHttpsProxyHttpRequest.java | 4 ++++ .../v1/GetTargetInstanceHttpRequest.java | 4 ++++ .../compute/v1/GetTargetPoolHttpRequest.java | 4 ++++ .../v1/GetTargetSslProxyHttpRequest.java | 4 ++++ .../v1/GetTargetTcpProxyHttpRequest.java | 4 ++++ .../v1/GetTargetVpnGatewayHttpRequest.java | 4 ++++ .../compute/v1/GetUrlMapHttpRequest.java | 4 ++++ .../compute/v1/GetVpnTunnelHttpRequest.java | 4 ++++ .../v1/GetXpnHostProjectHttpRequest.java | 4 ++++ .../GetXpnResourcesProjectsHttpRequest.java | 4 ++++ .../cloud/compute/v1/GetZoneHttpRequest.java | 4 ++++ .../v1/GetZoneOperationHttpRequest.java | 4 ++++ .../compute/v1/InsertAddressHttpRequest.java | 4 ++++ .../v1/InsertAutoscalerHttpRequest.java | 4 ++++ .../v1/InsertBackendBucketHttpRequest.java | 4 ++++ .../v1/InsertBackendServiceHttpRequest.java | 6 ++++++ .../compute/v1/InsertDiskHttpRequest.java | 6 ++++++ .../compute/v1/InsertFirewallHttpRequest.java | 4 ++++ .../v1/InsertForwardingRuleHttpRequest.java | 4 ++++ .../v1/InsertGlobalAddressHttpRequest.java | 4 ++++ ...InsertGlobalForwardingRuleHttpRequest.java | 4 ++++ .../v1/InsertHealthCheckHttpRequest.java | 4 ++++ .../v1/InsertHttpHealthCheckHttpRequest.java | 4 ++++ .../v1/InsertHttpsHealthCheckHttpRequest.java | 4 ++++ .../compute/v1/InsertImageHttpRequest.java | 4 ++++ .../v1/InsertInstanceGroupHttpRequest.java | 4 ++++ ...InsertInstanceGroupManagerHttpRequest.java | 10 +++++++++ .../compute/v1/InsertInstanceHttpRequest.java | 4 ++++ .../v1/InsertInstanceTemplateHttpRequest.java | 6 ++++++ ...sertInterconnectAttachmentHttpRequest.java | 4 ++++ .../v1/InsertInterconnectHttpRequest.java | 4 ++++ .../compute/v1/InsertLicenseHttpRequest.java | 4 ++++ .../compute/v1/InsertNetworkHttpRequest.java | 4 ++++ .../v1/InsertNodeGroupHttpRequest.java | 4 ++++ .../v1/InsertNodeTemplateHttpRequest.java | 4 ++++ .../v1/InsertRegionAutoscalerHttpRequest.java | 4 ++++ ...InsertRegionBackendServiceHttpRequest.java | 6 ++++++ .../v1/InsertRegionCommitmentHttpRequest.java | 4 ++++ .../v1/InsertRegionDiskHttpRequest.java | 4 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 10 +++++++++ .../compute/v1/InsertRouteHttpRequest.java | 4 ++++ .../compute/v1/InsertRouterHttpRequest.java | 4 ++++ .../v1/InsertSecurityPolicyHttpRequest.java | 4 ++++ .../v1/InsertSslCertificateHttpRequest.java | 4 ++++ .../v1/InsertSslPolicyHttpRequest.java | 4 ++++ .../v1/InsertSubnetworkHttpRequest.java | 4 ++++ .../v1/InsertTargetHttpProxyHttpRequest.java | 4 ++++ .../v1/InsertTargetHttpsProxyHttpRequest.java | 4 ++++ .../v1/InsertTargetInstanceHttpRequest.java | 4 ++++ .../v1/InsertTargetPoolHttpRequest.java | 4 ++++ .../v1/InsertTargetSslProxyHttpRequest.java | 4 ++++ .../v1/InsertTargetTcpProxyHttpRequest.java | 4 ++++ .../v1/InsertTargetVpnGatewayHttpRequest.java | 4 ++++ .../compute/v1/InsertUrlMapHttpRequest.java | 4 ++++ .../v1/InsertVpnTunnelHttpRequest.java | 4 ++++ .../v1/InvalidateCacheUrlMapHttpRequest.java | 4 ++++ .../v1/ListAcceleratorTypesHttpRequest.java | 4 ++++ .../compute/v1/ListAddressesHttpRequest.java | 4 ++++ .../v1/ListAutoscalersHttpRequest.java | 4 ++++ ...ailableFeaturesSslPoliciesHttpRequest.java | 4 ++++ .../v1/ListBackendBucketsHttpRequest.java | 4 ++++ .../v1/ListBackendServicesHttpRequest.java | 4 ++++ .../compute/v1/ListDiskTypesHttpRequest.java | 4 ++++ .../compute/v1/ListDisksHttpRequest.java | 4 ++++ .../compute/v1/ListFirewallsHttpRequest.java | 4 ++++ .../v1/ListForwardingRulesHttpRequest.java | 4 ++++ .../v1/ListGlobalAddressesHttpRequest.java | 1 + .../ListGlobalForwardingRulesHttpRequest.java | 4 ++++ .../v1/ListGlobalOperationsHttpRequest.java | 4 ++++ .../v1/ListHealthChecksHttpRequest.java | 4 ++++ .../v1/ListHttpHealthChecksHttpRequest.java | 4 ++++ .../v1/ListHttpsHealthChecksHttpRequest.java | 4 ++++ .../compute/v1/ListImagesHttpRequest.java | 7 +++++++ .../ListInstanceGroupManagersHttpRequest.java | 4 ++++ .../v1/ListInstanceGroupsHttpRequest.java | 4 ++++ .../v1/ListInstanceTemplatesHttpRequest.java | 4 ++++ .../compute/v1/ListInstancesHttpRequest.java | 4 ++++ ...istInstancesInstanceGroupsHttpRequest.java | 4 ++++ ...tancesRegionInstanceGroupsHttpRequest.java | 5 +++++ ...istInterconnectAttachmentsHttpRequest.java | 4 ++++ .../ListInterconnectLocationsHttpRequest.java | 4 ++++ .../v1/ListInterconnectsHttpRequest.java | 4 ++++ .../compute/v1/ListLicensesHttpRequest.java | 7 +++++++ .../v1/ListMachineTypesHttpRequest.java | 4 ++++ ...ancesInstanceGroupManagersHttpRequest.java | 7 +++++++ ...egionInstanceGroupManagersHttpRequest.java | 5 +++++ .../compute/v1/ListNetworksHttpRequest.java | 4 ++++ .../compute/v1/ListNodeGroupsHttpRequest.java | 4 ++++ .../v1/ListNodeTemplatesHttpRequest.java | 4 ++++ .../compute/v1/ListNodeTypesHttpRequest.java | 4 ++++ .../v1/ListNodesNodeGroupsHttpRequest.java | 1 + .../v1/ListReferrersInstancesHttpRequest.java | 5 +++++ .../v1/ListRegionAutoscalersHttpRequest.java | 4 ++++ .../ListRegionBackendServicesHttpRequest.java | 4 ++++ .../v1/ListRegionCommitmentsHttpRequest.java | 4 ++++ .../v1/ListRegionDiskTypesHttpRequest.java | 4 ++++ .../v1/ListRegionDisksHttpRequest.java | 4 ++++ ...egionInstanceGroupManagersHttpRequest.java | 4 ++++ .../ListRegionInstanceGroupsHttpRequest.java | 4 ++++ .../v1/ListRegionOperationsHttpRequest.java | 4 ++++ .../compute/v1/ListRegionsHttpRequest.java | 4 ++++ .../compute/v1/ListRoutersHttpRequest.java | 4 ++++ .../compute/v1/ListRoutesHttpRequest.java | 4 ++++ .../v1/ListSecurityPoliciesHttpRequest.java | 4 ++++ .../compute/v1/ListSnapshotsHttpRequest.java | 4 ++++ .../v1/ListSslCertificatesHttpRequest.java | 4 ++++ .../v1/ListSslPoliciesHttpRequest.java | 4 ++++ .../v1/ListSubnetworksHttpRequest.java | 4 ++++ .../v1/ListTargetHttpProxiesHttpRequest.java | 4 ++++ .../v1/ListTargetHttpsProxiesHttpRequest.java | 4 ++++ .../v1/ListTargetInstancesHttpRequest.java | 4 ++++ .../v1/ListTargetPoolsHttpRequest.java | 4 ++++ .../v1/ListTargetSslProxiesHttpRequest.java | 4 ++++ .../v1/ListTargetTcpProxiesHttpRequest.java | 4 ++++ .../v1/ListTargetVpnGatewaysHttpRequest.java | 4 ++++ .../compute/v1/ListUrlMapsHttpRequest.java | 4 ++++ .../v1/ListUsableSubnetworksHttpRequest.java | 4 ++++ .../compute/v1/ListVpnTunnelsHttpRequest.java | 4 ++++ .../v1/ListXpnHostsProjectsHttpRequest.java | 4 ++++ .../v1/ListZoneOperationsHttpRequest.java | 4 ++++ .../compute/v1/ListZonesHttpRequest.java | 4 ++++ .../v1/MoveDiskProjectHttpRequest.java | 4 ++++ .../v1/MoveInstanceProjectHttpRequest.java | 4 ++++ .../v1/PatchAutoscalerHttpRequest.java | 5 +++++ .../v1/PatchBackendBucketHttpRequest.java | 5 +++++ .../v1/PatchBackendServiceHttpRequest.java | 7 +++++++ .../compute/v1/PatchFirewallHttpRequest.java | 5 +++++ .../v1/PatchHealthCheckHttpRequest.java | 5 +++++ .../v1/PatchHttpHealthCheckHttpRequest.java | 5 +++++ .../v1/PatchHttpsHealthCheckHttpRequest.java | 5 +++++ .../PatchInstanceGroupManagerHttpRequest.java | 8 +++++++ ...atchInterconnectAttachmentHttpRequest.java | 5 +++++ .../v1/PatchInterconnectHttpRequest.java | 5 +++++ .../compute/v1/PatchNetworkHttpRequest.java | 4 ++++ .../v1/PatchRegionAutoscalerHttpRequest.java | 5 +++++ .../PatchRegionBackendServiceHttpRequest.java | 7 +++++++ ...RegionInstanceGroupManagerHttpRequest.java | 8 +++++++ .../compute/v1/PatchRouterHttpRequest.java | 5 +++++ .../PatchRuleSecurityPolicyHttpRequest.java | 4 ++++ .../v1/PatchSecurityPolicyHttpRequest.java | 4 ++++ .../compute/v1/PatchSslPolicyHttpRequest.java | 4 ++++ .../v1/PatchSubnetworkHttpRequest.java | 6 ++++++ .../compute/v1/PatchUrlMapHttpRequest.java | 5 +++++ .../compute/v1/PreviewRouterHttpRequest.java | 4 ++++ .../compute/v1/ProjectGlobalAddressName.java | 7 ++++--- .../v1/ProjectGlobalBackendBucketName.java | 7 ++++--- .../v1/ProjectGlobalBackendServiceName.java | 7 ++++--- .../compute/v1/ProjectGlobalFirewallName.java | 7 ++++--- .../v1/ProjectGlobalForwardingRuleName.java | 7 ++++--- .../v1/ProjectGlobalHealthCheckName.java | 7 ++++--- .../v1/ProjectGlobalHttpHealthCheckName.java | 7 ++++--- .../v1/ProjectGlobalHttpsHealthCheckName.java | 7 ++++--- .../v1/ProjectGlobalImageFamilyName.java | 7 ++++--- .../compute/v1/ProjectGlobalImageName.java | 7 ++++--- .../v1/ProjectGlobalImageResourceName.java | 7 ++++--- .../v1/ProjectGlobalInstanceTemplateName.java | 7 ++++--- ...ectGlobalInstanceTemplateResourceName.java | 7 ++++--- ...ProjectGlobalInterconnectLocationName.java | 7 ++++--- .../v1/ProjectGlobalInterconnectName.java | 7 ++++--- .../v1/ProjectGlobalLicenseCodeName.java | 7 ++++--- .../ProjectGlobalLicenseCodeResourceName.java | 7 ++++--- .../compute/v1/ProjectGlobalLicenseName.java | 7 ++++--- .../v1/ProjectGlobalLicenseResourceName.java | 7 ++++--- .../compute/v1/ProjectGlobalNetworkName.java | 7 ++++--- .../v1/ProjectGlobalOperationName.java | 7 ++++--- .../compute/v1/ProjectGlobalRouteName.java | 7 ++++--- .../v1/ProjectGlobalSecurityPolicyName.java | 7 ++++--- .../compute/v1/ProjectGlobalSnapshotName.java | 7 ++++--- .../v1/ProjectGlobalSnapshotResourceName.java | 7 ++++--- .../v1/ProjectGlobalSslCertificateName.java | 7 ++++--- .../v1/ProjectGlobalSslPolicyName.java | 7 ++++--- .../v1/ProjectGlobalTargetHttpProxyName.java | 7 ++++--- .../v1/ProjectGlobalTargetHttpsProxyName.java | 7 ++++--- .../v1/ProjectGlobalTargetSslProxyName.java | 7 ++++--- .../v1/ProjectGlobalTargetTcpProxyName.java | 7 ++++--- .../compute/v1/ProjectGlobalUrlMapName.java | 7 ++++--- .../google/cloud/compute/v1/ProjectName.java | 2 +- .../compute/v1/ProjectRegionAddressName.java | 9 ++++---- .../v1/ProjectRegionAutoscalerName.java | 9 ++++---- .../v1/ProjectRegionBackendServiceName.java | 9 ++++---- .../v1/ProjectRegionCommitmentName.java | 9 ++++---- .../compute/v1/ProjectRegionDiskName.java | 9 ++++---- .../v1/ProjectRegionDiskResourceName.java | 9 ++++---- .../compute/v1/ProjectRegionDiskTypeName.java | 9 ++++---- .../v1/ProjectRegionForwardingRuleName.java | 9 ++++---- ...ProjectRegionInstanceGroupManagerName.java | 9 ++++---- .../v1/ProjectRegionInstanceGroupName.java | 9 ++++---- ...ojectRegionInterconnectAttachmentName.java | 9 ++++---- .../cloud/compute/v1/ProjectRegionName.java | 7 ++++--- .../v1/ProjectRegionNodeTemplateName.java | 9 ++++---- ...ProjectRegionNodeTemplateResourceName.java | 9 ++++---- .../v1/ProjectRegionOperationName.java | 9 ++++---- .../compute/v1/ProjectRegionRouterName.java | 9 ++++---- .../v1/ProjectRegionSubnetworkName.java | 9 ++++---- .../ProjectRegionSubnetworkResourceName.java | 9 ++++---- .../v1/ProjectRegionTargetPoolName.java | 9 ++++---- .../v1/ProjectRegionTargetVpnGatewayName.java | 9 ++++---- .../v1/ProjectRegionVpnTunnelName.java | 9 ++++---- .../v1/ProjectTargetHttpProxyName.java | 7 ++++--- .../v1/ProjectTargetHttpsProxyName.java | 7 ++++--- .../v1/ProjectZoneAcceleratorTypeName.java | 9 ++++---- .../compute/v1/ProjectZoneAutoscalerName.java | 9 ++++---- .../cloud/compute/v1/ProjectZoneDiskName.java | 9 ++++---- .../v1/ProjectZoneDiskResourceName.java | 9 ++++---- .../compute/v1/ProjectZoneDiskTypeName.java | 9 ++++---- .../ProjectZoneInstanceGroupManagerName.java | 9 ++++---- .../v1/ProjectZoneInstanceGroupName.java | 9 ++++---- .../compute/v1/ProjectZoneInstanceName.java | 9 ++++---- .../v1/ProjectZoneInstanceResourceName.java | 9 ++++---- .../v1/ProjectZoneMachineTypeName.java | 9 ++++---- .../cloud/compute/v1/ProjectZoneName.java | 7 ++++--- .../compute/v1/ProjectZoneNodeGroupName.java | 9 ++++---- .../v1/ProjectZoneNodeGroupResourceName.java | 9 ++++---- .../compute/v1/ProjectZoneNodeTypeName.java | 9 ++++---- .../compute/v1/ProjectZoneOperationName.java | 9 ++++---- .../v1/ProjectZoneTargetInstanceName.java | 9 ++++---- ...tancesInstanceGroupManagerHttpRequest.java | 13 ++++++++++++ ...RegionInstanceGroupManagerHttpRequest.java | 14 +++++++++++++ ...emoveHealthCheckTargetPoolHttpRequest.java | 4 ++++ .../RemoveInstanceTargetPoolHttpRequest.java | 4 ++++ ...moveInstancesInstanceGroupHttpRequest.java | 8 +++++++ .../v1/RemovePeeringNetworkHttpRequest.java | 4 ++++ .../RemoveRuleSecurityPolicyHttpRequest.java | 4 ++++ .../compute/v1/ResetInstanceHttpRequest.java | 5 +++++ .../compute/v1/ResizeDiskHttpRequest.java | 4 ++++ ...ResizeInstanceGroupManagerHttpRequest.java | 21 +++++++++++++++++++ .../v1/ResizeRegionDiskHttpRequest.java | 4 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 13 ++++++++++++ ...ckendServiceTargetSslProxyHttpRequest.java | 4 ++++ ...ckendServiceTargetTcpProxyHttpRequest.java | 4 ++++ .../v1/SetBackupTargetPoolHttpRequest.java | 4 ++++ ...monInstanceMetadataProjectHttpRequest.java | 4 ++++ ...tDefaultNetworkTierProjectHttpRequest.java | 5 +++++ ...DeletionProtectionInstanceHttpRequest.java | 4 ++++ .../SetDiskAutoDeleteInstanceHttpRequest.java | 4 ++++ .../v1/SetIamPolicyDiskHttpRequest.java | 4 ++++ .../v1/SetIamPolicyImageHttpRequest.java | 4 ++++ .../v1/SetIamPolicyInstanceHttpRequest.java | 4 ++++ ...tIamPolicyInstanceTemplateHttpRequest.java | 4 ++++ .../v1/SetIamPolicyLicenseHttpRequest.java | 4 ++++ .../v1/SetIamPolicyNodeGroupHttpRequest.java | 4 ++++ .../SetIamPolicyNodeTemplateHttpRequest.java | 4 ++++ .../v1/SetIamPolicySnapshotHttpRequest.java | 4 ++++ .../v1/SetIamPolicySubnetworkHttpRequest.java | 4 ++++ ...mplateInstanceGroupManagerHttpRequest.java | 5 +++++ ...RegionInstanceGroupManagerHttpRequest.java | 5 +++++ .../compute/v1/SetLabelsDiskHttpRequest.java | 4 ++++ .../compute/v1/SetLabelsImageHttpRequest.java | 4 ++++ .../v1/SetLabelsInstanceHttpRequest.java | 4 ++++ .../v1/SetLabelsRegionDiskHttpRequest.java | 4 ++++ .../v1/SetLabelsSnapshotHttpRequest.java | 4 ++++ ...etMachineResourcesInstanceHttpRequest.java | 4 ++++ .../v1/SetMachineTypeInstanceHttpRequest.java | 4 ++++ .../v1/SetMetadataInstanceHttpRequest.java | 4 ++++ .../SetMinCpuPlatformInstanceHttpRequest.java | 5 +++++ ...SetNamedPortsInstanceGroupHttpRequest.java | 4 ++++ ...edPortsRegionInstanceGroupHttpRequest.java | 4 ++++ .../SetNodeTemplateNodeGroupHttpRequest.java | 4 ++++ ...teIpGoogleAccessSubnetworkHttpRequest.java | 5 +++++ ...tProxyHeaderTargetSslProxyHttpRequest.java | 4 ++++ ...tProxyHeaderTargetTcpProxyHttpRequest.java | 4 ++++ ...icOverrideTargetHttpsProxyHttpRequest.java | 4 ++++ .../v1/SetSchedulingInstanceHttpRequest.java | 3 +++ ...curityPolicyBackendServiceHttpRequest.java | 4 ++++ .../SetServiceAccountInstanceHttpRequest.java | 5 +++++ ...rtificatesTargetHttpsProxyHttpRequest.java | 4 ++++ ...CertificatesTargetSslProxyHttpRequest.java | 4 ++++ ...tSslPolicyTargetHttpsProxyHttpRequest.java | 6 ++++++ ...SetSslPolicyTargetSslProxyHttpRequest.java | 6 ++++++ .../v1/SetTagsInstanceHttpRequest.java | 4 ++++ .../SetTargetForwardingRuleHttpRequest.java | 4 ++++ ...TargetGlobalForwardingRuleHttpRequest.java | 4 ++++ ...tPoolsInstanceGroupManagerHttpRequest.java | 8 +++++++ ...RegionInstanceGroupManagerHttpRequest.java | 5 +++++ .../SetUrlMapTargetHttpProxyHttpRequest.java | 4 ++++ .../SetUrlMapTargetHttpsProxyHttpRequest.java | 4 ++++ ...etUsageExportBucketProjectHttpRequest.java | 5 +++++ ...teMaintenanceEventInstanceHttpRequest.java | 4 ++++ .../compute/v1/StartInstanceHttpRequest.java | 4 ++++ ...tWithEncryptionKeyInstanceHttpRequest.java | 4 ++++ .../compute/v1/StopInstanceHttpRequest.java | 7 +++++++ .../SwitchToCustomModeNetworkHttpRequest.java | 4 ++++ .../v1/TestIamPermissionsDiskHttpRequest.java | 4 ++++ .../TestIamPermissionsImageHttpRequest.java | 4 ++++ ...TestIamPermissionsInstanceHttpRequest.java | 4 ++++ ...ermissionsInstanceTemplateHttpRequest.java | 4 ++++ ...tIamPermissionsLicenseCodeHttpRequest.java | 4 ++++ .../TestIamPermissionsLicenseHttpRequest.java | 4 ++++ ...estIamPermissionsNodeGroupHttpRequest.java | 4 ++++ ...IamPermissionsNodeTemplateHttpRequest.java | 4 ++++ ...stIamPermissionsRegionDiskHttpRequest.java | 4 ++++ ...TestIamPermissionsSnapshotHttpRequest.java | 4 ++++ ...stIamPermissionsSubnetworkHttpRequest.java | 4 ++++ ...UpdateAccessConfigInstanceHttpRequest.java | 5 +++++ .../v1/UpdateAutoscalerHttpRequest.java | 4 ++++ .../v1/UpdateBackendBucketHttpRequest.java | 4 ++++ .../v1/UpdateBackendServiceHttpRequest.java | 6 ++++++ .../compute/v1/UpdateFirewallHttpRequest.java | 5 +++++ .../v1/UpdateHealthCheckHttpRequest.java | 4 ++++ .../v1/UpdateHttpHealthCheckHttpRequest.java | 4 ++++ .../v1/UpdateHttpsHealthCheckHttpRequest.java | 4 ++++ ...teNetworkInterfaceInstanceHttpRequest.java | 4 ++++ .../v1/UpdateRegionAutoscalerHttpRequest.java | 4 ++++ ...UpdateRegionBackendServiceHttpRequest.java | 6 ++++++ .../compute/v1/UpdateRouterHttpRequest.java | 4 ++++ .../compute/v1/UpdateUrlMapHttpRequest.java | 4 ++++ .../compute/v1/ValidateUrlMapHttpRequest.java | 5 +++++ .../google-cloud-compute/synth.metadata | 8 +++---- 470 files changed, 2034 insertions(+), 253 deletions(-) diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java index 0b20d10e1177..c6fc33039714 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java @@ -24,6 +24,21 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.abandonInstances. Flags the specified + * instances to be removed from the managed instance group. Abandoning an instance does not delete + * the instance, but it does remove the instance from any target pools that are applied by the + * managed instance group. This method reduces the targetSize of the managed instance group by the + * number of instances that you abandon. This operation is marked as DONE when the action is + * scheduled even if the instances have not yet been removed from the group. You must separately + * verify the status of the abandoning action with the listmanagedinstances method. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + * + *

You can specify a maximum of 1000 instances with this method per request. + */ public final class AbandonInstancesInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java index 0f1c462a0be7..e0d1337587c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,21 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.abandonInstances. Flags the + * specified instances to be immediately removed from the managed instance group. Abandoning an + * instance does not delete the instance, but it does remove the instance from any target pools that + * are applied by the managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is marked as DONE when + * the action is scheduled even if the instances have not yet been removed from the group. You must + * separately verify the status of the abandoning action with the listmanagedinstances method. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + * + *

You can specify a maximum of 1000 instances with this method per request. + */ public final class AbandonInstancesRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java index 54db1db40a48..e4257f9c3c08 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.addAccessConfig. Adds an access config to an + * instance's network interface. + */ public final class AddAccessConfigInstanceHttpRequest implements ApiMessage { private final AccessConfig accessConfigResource; private final String access_token; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java index 176d18ea025c..9613d257130b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.addHealthCheck. Adds health check URLs to a target + * pool. + */ public final class AddHealthCheckTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java index 59b848c07f17..baf8e5d74038 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.targetPools.addInstance. Adds an instance to a target pool. */ public final class AddInstanceTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java index 7211f82d23aa..59e69d50d30b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.addInstances. Adds a list of instances to the + * specified instance group. All of the instances in the instance group must be in the same + * network/subnetwork. Read Adding instances for more information. + */ public final class AddInstancesInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java index f49b64c70bdf..bc5e682659a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.addNodes. Adds specified number of nodes to the node + * group. + */ public final class AddNodesNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java index e10f6ecd65d7..b586f6737067 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java @@ -24,6 +24,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.networks.addPeering. Adds a peering to the specified network. + */ public final class AddPeeringNetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java index 5604fc58db8a..137239ad3fc5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.addRule. Inserts a rule into a security + * policy. + */ public final class AddRuleSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java index ae1fc0467c7a..6171d9e41f23 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.addSignedUrlKey. Adds a key for validating + * requests with signed URLs for this backend bucket. + */ public final class AddSignedUrlKeyBackendBucketHttpRequest implements ApiMessage { private final String access_token; private final String backendBucket; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java index 7e62d6d72745..ca5c05a39bc8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.addSignedUrlKey. Adds a key for validating + * requests with signed URLs for this backend service. + */ public final class AddSignedUrlKeyBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java index 13d0fe9c4839..906f9edd4dcd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.acceleratorTypes.aggregatedList. Retrieves an aggregated list + * of accelerator types. + */ public final class AggregatedListAcceleratorTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java index 48b28c02f43d..6ab2dc38a4d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.addresses.aggregatedList. Retrieves an aggregated list of + * addresses. + */ public final class AggregatedListAddressesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java index aec4e81669a9..9db2e13f90e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.autoscalers.aggregatedList. Retrieves an aggregated list of + * autoscalers. + */ public final class AggregatedListAutoscalersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java index 8900ad1c74eb..c169b4299136 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.aggregatedList. Retrieves the list of all + * BackendService resources, regional and global, available to the specified project. + */ public final class AggregatedListBackendServicesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java index e656d5cf0998..9b377d025b82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.diskTypes.aggregatedList. Retrieves an aggregated list of disk + * types. + */ public final class AggregatedListDiskTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java index ede91bdbe9b3..f4eee9c6f165 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.aggregatedList. Retrieves an aggregated list of + * persistent disks. + */ public final class AggregatedListDisksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java index 702585332522..cebb0ed23ea5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.forwardingRules.aggregatedList. Retrieves an aggregated list of + * forwarding rules. + */ public final class AggregatedListForwardingRulesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java index 4e10d95aac05..b8f4a733d935 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalOperations.aggregatedList. Retrieves an aggregated list + * of all operations. + */ public final class AggregatedListGlobalOperationsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java index 47572d97ef92..156dec1ce26e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.aggregatedList. Retrieves the list of + * managed instance groups and groups them by zone. + */ public final class AggregatedListInstanceGroupManagersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java index 7af83158b8da..75b1ff3b6538 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.aggregatedList. Retrieves the list of instance + * groups and sorts them by zone. + */ public final class AggregatedListInstanceGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java index cb9fde072cba..5037fee732ab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.aggregatedList. Retrieves aggregated list of all of + * the instances in your project across all regions and zones. + */ public final class AggregatedListInstancesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java index e588f777df49..0a6a934e9eaf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectAttachments.aggregatedList. Retrieves an aggregated + * list of interconnect attachments. + */ public final class AggregatedListInterconnectAttachmentsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java index d77c805422ed..b75a7f9a6287 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.machineTypes.aggregatedList. Retrieves an aggregated list of + * machine types. + */ public final class AggregatedListMachineTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java index 11696ae80e54..4fb6ea4b73e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.aggregatedList. Retrieves an aggregated list of node + * groups. Note: use nodeGroups.listNodes for more details about each group. + */ public final class AggregatedListNodeGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java index d29e155e5320..90b8ba36247a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.aggregatedList. Retrieves an aggregated list of + * node templates. + */ public final class AggregatedListNodeTemplatesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java index 793315c05ef1..5d672175e560 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTypes.aggregatedList. Retrieves an aggregated list of node + * types. + */ public final class AggregatedListNodeTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java index c24d642b477f..64ec813c0735 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionCommitments.aggregatedList. Retrieves an aggregated list + * of commitments. + */ public final class AggregatedListRegionCommitmentsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java index 3c1d9797d1fe..e0086b6e3e99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.aggregatedList. Retrieves an aggregated list of + * routers. + */ public final class AggregatedListRoutersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java index e69b80a72128..09b116c2d2ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.aggregatedList. Retrieves an aggregated list of + * subnetworks. + */ public final class AggregatedListSubnetworksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java index c98a764bb660..1dde3b84d105 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetInstances.aggregatedList. Retrieves an aggregated list of + * target instances. + */ public final class AggregatedListTargetInstancesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java index 03594abb15d1..ea342bd11e06 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.aggregatedList. Retrieves an aggregated list of + * target pools. + */ public final class AggregatedListTargetPoolsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java index 9c2d2ef98f4f..2bf2bb74b5ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetVpnGateways.aggregatedList. Retrieves an aggregated list + * of target VPN gateways. + */ public final class AggregatedListTargetVpnGatewaysHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java index d97a3b1e0328..9377cf1be20a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.vpnTunnels.aggregatedList. Retrieves an aggregated list of VPN + * tunnels. + */ public final class AggregatedListVpnTunnelsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java index 43aabc929cc5..67ce0f6d70e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.attachDisk. Attaches an existing Disk resource to an + * instance. You must first create the disk before you can attach it. It is not possible to create + * and attach a disk at the same time. For more information, read Adding a persistent disk to your + * instance. + */ public final class AttachDiskInstanceHttpRequest implements ApiMessage { private final String access_token; private final AttachedDisk attachedDiskResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java index 3cf1db077eec..82206440d3dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.createSnapshot. Creates a snapshot of a specified + * persistent disk. + */ public final class CreateSnapshotDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java index 48ed8140ee2b..019d7d2e2209 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.createSnapshot. Creates a snapshot of this regional + * disk. + */ public final class CreateSnapshotRegionDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java index 6d5b502ced55..a725d1e7f52c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.deleteAccessConfig. Deletes an access config from an + * instance's network interface. + */ public final class DeleteAccessConfigInstanceHttpRequest implements ApiMessage { private final String accessConfig; private final String access_token; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java index 053bfc71206a..c999fb426daf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.addresses.delete. Deletes the specified address resource. */ public final class DeleteAddressHttpRequest implements ApiMessage { private final String access_token; private final String address; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java index 5ed38ffb1a90..231160aaaf7c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.autoscalers.delete. Deletes the specified autoscaler. */ public final class DeleteAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java index 416fa8083589..03dff1339cb6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.delete. Deletes the specified BackendBucket + * resource. + */ public final class DeleteBackendBucketHttpRequest implements ApiMessage { private final String access_token; private final String backendBucket; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java index 6ba314eaa2fb..2b37d8267458 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.delete. Deletes the specified BackendService + * resource. + */ public final class DeleteBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java index 07f181745823..1b5087eb5d57 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.delete. Deletes the specified persistent disk. Deleting a + * disk removes its data permanently and is irreversible. However, deleting a disk does not delete + * any snapshots previously made from the disk. You must separately delete snapshots. + */ public final class DeleteDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java index e9ea6bd696dd..b55acb6adc5f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.firewalls.delete. Deletes the specified firewall. */ public final class DeleteFirewallHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java index 38db0d5b0fa8..a45d02d4fa5c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.forwardingRules.delete. Deletes the specified ForwardingRule + * resource. + */ public final class DeleteForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java index b0931b74ac99..acead5b9ec76 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java @@ -24,6 +24,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalAddresses.delete. Deletes the specified address resource. + */ public final class DeleteGlobalAddressHttpRequest implements ApiMessage { private final String access_token; private final String address; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java index eeba4f8b3fb9..fed99c0259f8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalForwardingRules.delete. Deletes the specified + * GlobalForwardingRule resource. + */ public final class DeleteGlobalForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java index 842577680fec..b650de11de8c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalOperations.delete. Deletes the specified Operations + * resource. + */ public final class DeleteGlobalOperationHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java index 8c0f7a334628..e59a6199663c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.healthChecks.delete. Deletes the specified HealthCheck + * resource. + */ public final class DeleteHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java index 144afb9fa5dc..0bce25fe6135 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpHealthChecks.delete. Deletes the specified HttpHealthCheck + * resource. + */ public final class DeleteHttpHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java index 4593c8bb10fc..a848c0bd58fc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpsHealthChecks.delete. Deletes the specified + * HttpsHealthCheck resource. + */ public final class DeleteHttpsHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java index 4fb9487f10ac..a463271b73f5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.images.delete. Deletes the specified image. */ public final class DeleteImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java index a29efa1c8513..1bbf14c704d1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.delete. Deletes the specified instance group. + * The instances in the group are not deleted. Note that instance group must not belong to a backend + * service. Read Deleting an instance group for more information. + */ public final class DeleteInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java index 75ac048b923e..df466e3e20c4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.delete. Deletes the specified managed + * instance group and all of the instances in that group. Note that the instance group must not + * belong to a backend service. Read Deleting an instance group for more information. + */ public final class DeleteInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java index 76448ade6b12..59d69f99805e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.delete. Deletes the specified Instance resource. For + * more information, see Stopping or Deleting an Instance. + */ public final class DeleteInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java index a121eb70cb50..03b3132cc693 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceTemplates.delete. Deletes the specified instance + * template. Deleting an instance template is permanent and cannot be undone. It is not possible to + * delete templates that are already in use by a managed instance group. + */ public final class DeleteInstanceTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java index 3b8e3790405b..14a1aea27254 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java @@ -24,6 +24,20 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.deleteInstances. Flags the specified + * instances in the managed instance group for immediate deletion. The instances are also removed + * from any target pools of which they were a member. This method reduces the targetSize of the + * managed instance group by the number of instances that you delete. This operation is marked as + * DONE when the action is scheduled even if the instances are still being deleted. You must + * separately verify the status of the deleting action with the listmanagedinstances method. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + * + *

You can specify a maximum of 1000 instances with this method per request. + */ public final class DeleteInstancesInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java index e9b255410f0b..c8c96ca9739f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,21 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.deleteInstances. Flags the + * specified instances in the managed instance group to be immediately deleted. The instances are + * also removed from any target pools of which they were a member. This method reduces the + * targetSize of the managed instance group by the number of instances that you delete. The + * deleteInstances operation is marked DONE if the deleteInstances request is successful. The + * underlying actions take additional time. You must separately verify the status of the deleting + * action with the listmanagedinstances method. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + * + *

You can specify a maximum of 1000 instances with this method per request. + */ public final class DeleteInstancesRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java index e868eab4a693..3473225c3abe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectAttachments.delete. Deletes the specified + * interconnect attachment. + */ public final class DeleteInterconnectAttachmentHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java index d3af7424f844..ff4a2ec306dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.interconnects.delete. Deletes the specified interconnect. */ public final class DeleteInterconnectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java index 953e9340b231..57d00f0879af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.licenses.delete. Deletes the specified license. */ public final class DeleteLicenseHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java index b3b0eddcd174..0fb9bd5f0601 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.networks.delete. Deletes the specified network. */ public final class DeleteNetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java index 99968d1ec00d..b243876a8c54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java @@ -24,6 +24,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.delete. Deletes the specified NodeGroup resource. + */ public final class DeleteNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java index 09b05488cdc8..9e434709bca2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.delete. Deletes the specified NodeTemplate + * resource. + */ public final class DeleteNodeTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java index 255c1f1df81c..801a88b48e04 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.deleteNodes. Deletes specified nodes from the node + * group. + */ public final class DeleteNodesNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java index a957091f06bf..9e54379d24cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.regionAutoscalers.delete. Deletes the specified autoscaler. */ public final class DeleteRegionAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java index 5cf4de350a8e..c6b45afe02aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionBackendServices.delete. Deletes the specified regional + * BackendService resource. + */ public final class DeleteRegionBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java index fd6abf1f2f7b..b7e75be9c8d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.delete. Deletes the specified regional persistent + * disk. Deleting a regional disk removes all the replicas of its data permanently and is + * irreversible. However, deleting a disk does not delete any snapshots previously made from the + * disk. You must separately delete snapshots. + */ public final class DeleteRegionDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java index 05409d533f0b..c0f9d367c77a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.delete. Deletes the specified + * managed instance group and all of the instances in that group. + */ public final class DeleteRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java index 88d533fe3b4a..f9c52bb839de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionOperations.delete. Deletes the specified region-specific + * Operations resource. + */ public final class DeleteRegionOperationHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java index 37ab862ef318..b0fe4a969771 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.routes.delete. Deletes the specified Route resource. */ public final class DeleteRouteHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java index 166f6f59e912..a7cf2d64f92d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.routers.delete. Deletes the specified Router resource. */ public final class DeleteRouterHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java index 8a186a16cdd6..5d72a2e56e8e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.securityPolicies.delete. Deletes the specified policy. */ public final class DeleteSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java index e9f68994e525..bab809d53ac8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.deleteSignedUrlKey. Deletes a key for validating + * requests with signed URLs for this backend bucket. + */ public final class DeleteSignedUrlKeyBackendBucketHttpRequest implements ApiMessage { private final String access_token; private final String backendBucket; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java index a4d7835de840..263d5d91f175 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.deleteSignedUrlKey. Deletes a key for + * validating requests with signed URLs for this backend service. + */ public final class DeleteSignedUrlKeyBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java index 32718d72114d..f734335e4a8f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java @@ -24,6 +24,14 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.snapshots.delete. Deletes the specified Snapshot resource. Keep + * in mind that deleting a single snapshot might not necessarily delete all the data on that + * snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent + * snapshots, the data will be moved to the next corresponding snapshot. + * + *

For more information, see Deleting snapshots. + */ public final class DeleteSnapshotHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java index 68a7f314b03f..bed120b9e539 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslCertificates.delete. Deletes the specified SslCertificate + * resource. + */ public final class DeleteSslCertificateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java index 71b392c695b9..fa1297a48124 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslPolicies.delete. Deletes the specified SSL policy. The SSL + * policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy + * resources. + */ public final class DeleteSslPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java index 5b75f18fd09b..7cd370bf797f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.subnetworks.delete. Deletes the specified subnetwork. */ public final class DeleteSubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java index 79f5fa11d010..74530d578f08 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpProxies.delete. Deletes the specified TargetHttpProxy + * resource. + */ public final class DeleteTargetHttpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java index bdb745de5f3f..9b09e8905895 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.delete. Deletes the specified + * TargetHttpsProxy resource. + */ public final class DeleteTargetHttpsProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java index 24e68c75c562..20ec5e0814cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetInstances.delete. Deletes the specified TargetInstance + * resource. + */ public final class DeleteTargetInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java index 7aa7989d6333..c51955499fb3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.targetPools.delete. Deletes the specified target pool. */ public final class DeleteTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java index cf2315ce1472..42821e54aa89 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.delete. Deletes the specified TargetSslProxy + * resource. + */ public final class DeleteTargetSslProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java index a73464205466..d4a052ba478e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetTcpProxies.delete. Deletes the specified TargetTcpProxy + * resource. + */ public final class DeleteTargetTcpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java index c04e88ecfd81..b76ba1446179 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetVpnGateways.delete. Deletes the specified target VPN + * gateway. + */ public final class DeleteTargetVpnGatewayHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java index 72bb8683b016..162961988a9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.urlMaps.delete. Deletes the specified UrlMap resource. */ public final class DeleteUrlMapHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java index d651b065c852..5d5f9321b6c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java @@ -24,6 +24,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.vpnTunnels.delete. Deletes the specified VpnTunnel resource. + */ public final class DeleteVpnTunnelHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java index 68a5ae431259..269179474c9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.zoneOperations.delete. Deletes the specified zone-specific + * Operations resource. + */ public final class DeleteZoneOperationHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java index 548f3a46e0c6..433be180e81d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.deprecate. Sets the deprecation status of an image. + * + *

If an empty request body is given, clears the deprecation status instead. + */ public final class DeprecateImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java index 886585951594..05c959b4c351 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.instances.detachDisk. Detaches a disk from an instance. */ public final class DetachDiskInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java index 59728dd8dfc3..45d338bd2a80 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.disableXpnHost. Disable this project as a shared VPC + * host project. + */ public final class DisableXpnHostProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java index 3f7ce8a87118..314e5e51d479 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.disableXpnResource. Disable a serivce resource (a.k.a + * service project) associated with this host project. + */ public final class DisableXpnResourceProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java index 40a782796495..542b7920a9bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.enableXpnHost. Enable this project as a shared VPC + * host project. + */ public final class EnableXpnHostProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java index 066285d79bdc..3bde2f3b2aad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.enableXpnResource. Enable service resource (a.k.a + * service project) for a host project, so that subnets in the host project can be used by instances + * in the service project. + */ public final class EnableXpnResourceProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java index 553f2219cd29..058f8e3d6f56 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.expandIpCidrRange. Expands the IP CIDR range of the + * subnetwork to a specified value. + */ public final class ExpandIpCidrRangeSubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java index c1585f3bffa9..4264e0dab754 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java @@ -24,6 +24,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.acceleratorTypes.get. Returns the specified accelerator type. + */ public final class GetAcceleratorTypeHttpRequest implements ApiMessage { private final String acceleratorType; private final String access_token; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java index 3f0837a9be09..a7ee035478b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.addresses.get. Returns the specified address resource. */ public final class GetAddressHttpRequest implements ApiMessage { private final String access_token; private final String address; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java index af2eb6d962a9..9c967c21109f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.autoscalers.get. Returns the specified autoscaler resource. + * Gets a list of available autoscalers by making a list() request. + */ public final class GetAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java index 5e36f4713a97..c64e2f28031c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.get. Returns the specified BackendBucket + * resource. Gets a list of available backend buckets by making a list() request. + */ public final class GetBackendBucketHttpRequest implements ApiMessage { private final String access_token; private final String backendBucket; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java index 9bc1e5f77472..6f9e0cf15143 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.get. Returns the specified BackendService + * resource. Gets a list of available backend services. + */ public final class GetBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java index 05a1191ae80a..8edb6a4cbc36 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnects.getDiagnostics. Returns the + * interconnectDiagnostics for the specified interconnect. + */ public final class GetDiagnosticsInterconnectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java index 15250e1250b7..793c09c60b48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.get. Returns a specified persistent disk. Gets a list of + * available persistent disks by making a list() request. + */ public final class GetDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java index 0a347fe62256..8456395c88e0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.diskTypes.get. Returns the specified disk type. Gets a list of + * available disk types by making a list() request. + */ public final class GetDiskTypeHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java index b57bf274bcd3..9e75c3540675 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.firewalls.get. Returns the specified firewall. */ public final class GetFirewallHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java index f5070391b2cb..51c823aea92a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.forwardingRules.get. Returns the specified ForwardingRule + * resource. + */ public final class GetForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java index 3a543d978e75..94608fe06e57 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.getFromFamily. Returns the latest image that is part of + * an image family and is not deprecated. + */ public final class GetFromFamilyImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java index 96a846e987b5..1850c814653d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalAddresses.get. Returns the specified address resource. + * Gets a list of available addresses by making a list() request. + */ public final class GetGlobalAddressHttpRequest implements ApiMessage { private final String access_token; private final String address; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java index d0585449f90f..fa21c8497cf0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalForwardingRules.get. Returns the specified + * GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() + * request. + */ public final class GetGlobalForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java index b40509de7a07..f4fe008506e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalOperations.get. Retrieves the specified Operations + * resource. Gets a list of operations by making a list() request. + */ public final class GetGlobalOperationHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java index 2a6de76bd93e..3e3f8db74f5f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.getHealth. Gets the most recent health check + * results for this BackendService. + */ public final class GetHealthBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java index c081e1b1237d..764c9a78da21 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.healthChecks.get. Returns the specified HealthCheck resource. + * Gets a list of available health checks by making a list() request. + */ public final class GetHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java index 40b1ec25a24c..6c9d1aafb613 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionBackendServices.getHealth. Gets the most recent health + * check results for this regional BackendService. + */ public final class GetHealthRegionBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java index c681471d36e7..d3700cfbdd9e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.getHealth. Gets the most recent health check + * results for each IP for the instance that is referenced by the given target pool. + */ public final class GetHealthTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java index 4de821dd4aa9..f510156f1bba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpHealthChecks.get. Returns the specified HttpHealthCheck + * resource. Gets a list of available HTTP health checks by making a list() request. + */ public final class GetHttpHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java index a8db326a99bf..3a4d582457be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpsHealthChecks.get. Returns the specified HttpsHealthCheck + * resource. Gets a list of available HTTPS health checks by making a list() request. + */ public final class GetHttpsHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java index 7d7ba440c071..ec954adda104 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.getIamPolicy. Gets the access control policy for a + * resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicyDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java index a50154c6cef0..bdc3b767e990 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.getIamPolicy. Gets the access control policy for a + * resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicyImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java index 0fa39a3be8cf..d8a8e345b9ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.getIamPolicy. Gets the access control policy for a + * resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicyInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java index 39258fea86bf..23767076f913 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceTemplates.getIamPolicy. Gets the access control policy + * for a resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicyInstanceTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java index fc4c05f38f8a..090d0dd16f33 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.licenses.getIamPolicy. Gets the access control policy for a + * resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicyLicenseHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java index 4ac7649ac465..88efabc8eb35 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.getIamPolicy. Gets the access control policy for a + * resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicyNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java index adddbed4f1d0..5ac13556ee4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.getIamPolicy. Gets the access control policy for + * a resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicyNodeTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java index f5243465e9fb..c4973a316426 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.snapshots.getIamPolicy. Gets the access control policy for a + * resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicySnapshotHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java index f6f99fabe30f..57c10b855ae2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.getIamPolicy. Gets the access control policy for a + * resource. May be empty if no such policy or resource exists. + */ public final class GetIamPolicySubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java index bae98d7f0454..9dce888268bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.get. Returns the specified image. Gets a list of + * available images by making a list() request. + */ public final class GetImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java index 4eb437c42cab..e503bf5590db 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.get. Returns the specified instance group. Gets + * a list of available instance groups by making a list() request. + */ public final class GetInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java index 69357fd9d89d..4afa03097f9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.get. Returns all of the details about the + * specified managed instance group. Gets a list of available managed instance groups by making a + * list() request. + */ public final class GetInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java index 3eecd260044c..512b3a1fd135 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.get. Returns the specified Instance resource. Gets a + * list of available instances by making a list() request. + */ public final class GetInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java index dc0ed484b345..3eb189bd7ba3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceTemplates.get. Returns the specified instance template. + * Gets a list of available instance templates by making a list() request. + */ public final class GetInstanceTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java index 4aacd06109c0..a42205c6a79d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectAttachments.get. Returns the specified interconnect + * attachment. + */ public final class GetInterconnectAttachmentHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java index e484c90727a7..0b115aa2a5b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnects.get. Returns the specified interconnect. Get a + * list of available interconnects by making a list() request. + */ public final class GetInterconnectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java index c96548dd6df8..e0f1a4a5a0cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectLocations.get. Returns the details for the + * specified interconnect location. Gets a list of available interconnect locations by making a + * list() request. + */ public final class GetInterconnectLocationHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java index e8a243e1733c..4990f56aa23e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.licenseCodes.get. Return a specified license code. License + * codes are mirrored across all projects that have permissions to read the License Code. + */ public final class GetLicenseCodeHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java index 636a7f85093e..1a82820f90e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.licenses.get. Returns the specified License resource. */ public final class GetLicenseHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java index d80387613493..d938c1ba1c55 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.machineTypes.get. Returns the specified machine type. Gets a + * list of available machine types by making a list() request. + */ public final class GetMachineTypeHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java index d3bafeb45daa..57d5b63889fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.getNatMappingInfo. Retrieves runtime Nat mapping + * information of VM endpoints. + */ public final class GetNatMappingInfoRoutersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java index 48bcd15628f3..8f15aace5180 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.networks.get. Returns the specified network. Gets a list of + * available networks by making a list() request. + */ public final class GetNetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java index 19287cd7526b..59ba74eb31ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.get. Returns the specified NodeGroup. Get a list of + * available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use + * nodeGroups.listNodes instead. + */ public final class GetNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java index 4b575036388f..fe86ff9c2a3d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.get. Returns the specified node template. Gets a + * list of available node templates by making a list() request. + */ public final class GetNodeTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java index 921ef687d465..510205c5d946 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTypes.get. Returns the specified node type. Gets a list of + * available node types by making a list() request. + */ public final class GetNodeTypeHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java index 5aecf28b5a51..468242cccd8e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.projects.get. Returns the specified Project resource. */ public final class GetProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java index 12fcd849bd8e..e98fcff1281f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.regionAutoscalers.get. Returns the specified autoscaler. */ public final class GetRegionAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java index 8898b3d31586..e7d64adb2e05 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionBackendServices.get. Returns the specified regional + * BackendService resource. + */ public final class GetRegionBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java index d0043b2886ae..a1f0781e51c1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionCommitments.get. Returns the specified commitment + * resource. Gets a list of available commitments by making a list() request. + */ public final class GetRegionCommitmentHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java index 6076d7b29f22..67eb9139d2f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java @@ -24,6 +24,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.get. Returns a specified regional persistent disk. + */ public final class GetRegionDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java index 9b255eebbde5..f6ded4308cab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDiskTypes.get. Returns the specified regional disk type. + * Gets a list of available disk types by making a list() request. + */ public final class GetRegionDiskTypeHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java index 0320a396bb3f..6064f84949a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regions.get. Returns the specified Region resource. Gets a list + * of available regions by making a list() request. + */ public final class GetRegionHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java index 6ab9ae30d81b..7bce0948f53a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroups.get. Returns the specified instance group + * resource. + */ public final class GetRegionInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java index 6afbb31d2072..89c959aec24b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.get. Returns all of the details + * about the specified managed instance group. + */ public final class GetRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java index 049172581b7e..3a1d85a414bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionOperations.get. Retrieves the specified region-specific + * Operations resource. + */ public final class GetRegionOperationHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java index 9aa1a8b472dc..1970d62d5912 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routes.get. Returns the specified Route resource. Gets a list + * of available routes by making a list() request. + */ public final class GetRouteHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java index f0ff7add5784..17bc0b1689ab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.get. Returns the specified Router resource. Gets a list + * of available routers by making a list() request. + */ public final class GetRouterHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java index 6132f4f002db..d143d3482ec5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.getRouterStatus. Retrieves runtime information of the + * specified router. + */ public final class GetRouterStatusRouterHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java index 09384704b119..70d0b7b25425 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.getRule. Gets a rule at the specified + * priority. + */ public final class GetRuleSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java index d7d259959f59..7dafc9f892a0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.get. List all of the ordered rules present in + * a single specified policy. + */ public final class GetSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java index d877d31d9de8..c7d58394ea06 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.getSerialPortOutput. Returns the last 1 MB of serial + * port output from the specified instance. + */ public final class GetSerialPortOutputInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java index ab1e701ee575..7160f58338a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.snapshots.get. Returns the specified Snapshot resource. Gets a + * list of available snapshots by making a list() request. + */ public final class GetSnapshotHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java index 714ab4125e71..b52da1ff1d6b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslCertificates.get. Returns the specified SslCertificate + * resource. Gets a list of available SSL certificates by making a list() request. + */ public final class GetSslCertificateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java index c394c0639f8e..e4c07b4d58e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslPolicies.get. Lists all of the ordered rules present in a + * single specified policy. + */ public final class GetSslPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java index bb20e29642e5..f25fbe154efa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.get. Returns the specified subnetwork. Gets a list + * of available subnetworks list() request. + */ public final class GetSubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java index d0edf3f0b656..b1b69608e688 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpProxies.get. Returns the specified TargetHttpProxy + * resource. Gets a list of available target HTTP proxies by making a list() request. + */ public final class GetTargetHttpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java index 5dfabe44903d..9f5b7fa18e68 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.get. Returns the specified TargetHttpsProxy + * resource. Gets a list of available target HTTPS proxies by making a list() request. + */ public final class GetTargetHttpsProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java index 275dbcc382ca..fb0c6b17b50c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetInstances.get. Returns the specified TargetInstance + * resource. Gets a list of available target instances by making a list() request. + */ public final class GetTargetInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java index 1401a9e66244..dff189b9c777 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.get. Returns the specified target pool. Gets a list + * of available target pools by making a list() request. + */ public final class GetTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java index ea27cc513178..78baa22e9e50 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.get. Returns the specified TargetSslProxy + * resource. Gets a list of available target SSL proxies by making a list() request. + */ public final class GetTargetSslProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java index 9c96dad7caac..6e6613388a5c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetTcpProxies.get. Returns the specified TargetTcpProxy + * resource. Gets a list of available target TCP proxies by making a list() request. + */ public final class GetTargetTcpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java index 0e75356b7c3f..bf80297dba15 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetVpnGateways.get. Returns the specified target VPN + * gateway. Gets a list of available target VPN gateways by making a list() request. + */ public final class GetTargetVpnGatewayHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java index cda2e7ed55a0..650e80179950 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.urlMaps.get. Returns the specified UrlMap resource. Gets a list + * of available URL maps by making a list() request. + */ public final class GetUrlMapHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java index 6f3d3b2ac117..ac7d7c144ff6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.vpnTunnels.get. Returns the specified VpnTunnel resource. Gets + * a list of available VPN tunnels by making a list() request. + */ public final class GetVpnTunnelHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java index 027557d2f483..e3d93ef43744 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.getXpnHost. Gets the shared VPC host project that this + * project links to. May be empty if no link exists. + */ public final class GetXpnHostProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java index a0fccd66726e..eebab2bb66b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.getXpnResources. Gets service resources (a.k.a service + * project) associated with this host project. + */ public final class GetXpnResourcesProjectsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java index 3b66616396a7..bef4a1561495 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.zones.get. Returns the specified Zone resource. Gets a list of + * available zones by making a list() request. + */ public final class GetZoneHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java index 5fb4da909532..84c8c56fb868 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.zoneOperations.get. Retrieves the specified zone-specific + * Operations resource. + */ public final class GetZoneOperationHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java index a6ec5c61ee10..35f2ff5002dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.addresses.insert. Creates an address resource in the specified + * project using the data included in the request. + */ public final class InsertAddressHttpRequest implements ApiMessage { private final String access_token; private final Address addressResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java index 85b3005a13bb..af1eb0c97be1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.autoscalers.insert. Creates an autoscaler in the specified + * project using the data included in the request. + */ public final class InsertAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final Autoscaler autoscalerResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java index 3d1012ced19d..a1bf2b1cff6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.insert. Creates a BackendBucket resource in the + * specified project using the data included in the request. + */ public final class InsertBackendBucketHttpRequest implements ApiMessage { private final String access_token; private final BackendBucket backendBucketResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java index fb70928c65ec..5e7f48117022 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.insert. Creates a BackendService resource in + * the specified project using the data included in the request. There are several restrictions and + * guidelines to keep in mind when creating a backend service. Read Restrictions and Guidelines for + * more information. + */ public final class InsertBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final BackendService backendServiceResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java index ca190c47a3d8..c44317739566 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.insert. Creates a persistent disk in the specified + * project using the data in the request. You can create a disk with a sourceImage, a + * sourceSnapshot, or create an empty 500 GB data disk by omitting all properties. You can also + * create a disk that is larger than the default size by specifying the sizeGb property. + */ public final class InsertDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java index 402cace30083..312ccfdb7fd2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.firewalls.insert. Creates a firewall rule in the specified + * project using the data included in the request. + */ public final class InsertFirewallHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java index 40d6fea574e3..b22919421644 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.forwardingRules.insert. Creates a ForwardingRule resource in + * the specified project and region using the data included in the request. + */ public final class InsertForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java index 7583e38333a6..3fdc13f5950e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalAddresses.insert. Creates an address resource in the + * specified project using the data included in the request. + */ public final class InsertGlobalAddressHttpRequest implements ApiMessage { private final String access_token; private final Address addressResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java index 0ceec79abbf7..4a5228b656d4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalForwardingRules.insert. Creates a GlobalForwardingRule + * resource in the specified project using the data included in the request. + */ public final class InsertGlobalForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java index a845e0069b4b..dab103a1b6d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.healthChecks.insert. Creates a HealthCheck resource in the + * specified project using the data included in the request. + */ public final class InsertHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java index c965469abbbf..39487c2b7868 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpHealthChecks.insert. Creates a HttpHealthCheck resource in + * the specified project using the data included in the request. + */ public final class InsertHttpHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java index a687c406c39e..ea20f4221c7f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpsHealthChecks.insert. Creates a HttpsHealthCheck resource + * in the specified project using the data included in the request. + */ public final class InsertHttpsHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java index a17a51409f3b..acb72a578bbf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.insert. Creates an image in the specified project using + * the data included in the request. + */ public final class InsertImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java index 9c1cab08ead3..a012333eb927 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.insert. Creates an instance group in the + * specified project using the parameters that are included in the request. + */ public final class InsertInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java index 86fcda59cf89..105a1f5bfe06 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java @@ -24,6 +24,16 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.insert. Creates a managed instance group + * using the information that you specify in the request. After the group is created, instances in + * the group are created using the specified instance template. This operation is marked as DONE + * when the group is created even if the instances in the group have not yet been created. You must + * separately verify the status of the individual instances with the listmanagedinstances method. + * + *

A managed instance group can have up to 1000 VM instances per group. Please contact Cloud + * Support if you need an increase in this limit. + */ public final class InsertInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java index f9f808784e33..288f7b2a313f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.insert. Creates an instance resource in the specified + * project using the data included in the request. + */ public final class InsertInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java index 28dd14624a82..e963ef2d8725 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceTemplates.insert. Creates an instance template in the + * specified project using the data that is included in the request. If you are creating a new + * template to update an existing instance group, your new instance template must use the same + * network or, if applicable, the same subnetwork as the original template. + */ public final class InsertInstanceTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java index 583c8c608787..c594442995ff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectAttachments.insert. Creates an + * InterconnectAttachment in the specified project using the data included in the request. + */ public final class InsertInterconnectAttachmentHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java index 9f59164733df..45e1cbfe1bef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnects.insert. Creates a Interconnect in the specified + * project using the data included in the request. + */ public final class InsertInterconnectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java index a7995286a44c..5a4f7db4a16e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.licenses.insert. Create a License resource in the specified + * project. + */ public final class InsertLicenseHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java index 73e4a50b9046..2d41e23d9809 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.networks.insert. Creates a network in the specified project + * using the data included in the request. + */ public final class InsertNetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java index b13ac7ded318..14c90ffd92bc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.insert. Creates a NodeGroup resource in the + * specified project using the data included in the request. + */ public final class InsertNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java index 2e2acc6796d7..fe55b9cfc639 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.insert. Creates a NodeTemplate resource in the + * specified project using the data included in the request. + */ public final class InsertNodeTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java index 0a0f64331b7b..9a48adaf454a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionAutoscalers.insert. Creates an autoscaler in the + * specified project using the data included in the request. + */ public final class InsertRegionAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final Autoscaler autoscalerResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java index 19d28c1dbee2..42c735be0b17 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionBackendServices.insert. Creates a regional BackendService + * resource in the specified project using the data included in the request. There are several + * restrictions and guidelines to keep in mind when creating a regional backend service. Read + * Restrictions and Guidelines for more information. + */ public final class InsertRegionBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final BackendService backendServiceResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java index b3d980f99255..f4bd839b2cb0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionCommitments.insert. Creates a commitment in the specified + * project using the data included in the request. + */ public final class InsertRegionCommitmentHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java index d5c93e66cfd2..cb9916dbec47 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.insert. Creates a persistent regional disk in the + * specified project using the data included in the request. + */ public final class InsertRegionDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java index 1b36ab601a10..29db4b632cf0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,16 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.insert. Creates a managed instance + * group using the information that you specify in the request. After the group is created, + * instances in the group are created using the specified instance template. This operation is + * marked as DONE when the group is created even if the instances in the group have not yet been + * created. You must separately verify the status of the individual instances with the + * listmanagedinstances method. + * + *

A regional managed instance group can contain up to 2000 instances. + */ public final class InsertRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java index 67a746f01bc8..98a76a32c41b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routes.insert. Creates a Route resource in the specified + * project using the data included in the request. + */ public final class InsertRouteHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java index c59278b8aa9c..dc808e68f8de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.insert. Creates a Router resource in the specified + * project and region using the data included in the request. + */ public final class InsertRouterHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java index 2e17f2bfe875..2259dab50928 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.insert. Creates a new policy in the specified + * project using the data included in the request. + */ public final class InsertSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java index 6d98b3ce2a2a..88fa6ecfeb94 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslCertificates.insert. Creates a SslCertificate resource in + * the specified project using the data included in the request. + */ public final class InsertSslCertificateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java index f2a9523226d5..8ea59b8c7c2a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslPolicies.insert. Returns the specified SSL policy resource. + * Gets a list of available SSL policies by making a list() request. + */ public final class InsertSslPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java index 0739b50e13a7..bc93872ad7d4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.insert. Creates a subnetwork in the specified + * project using the data included in the request. + */ public final class InsertSubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java index 1f7814a7db18..5c0753ddc09e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpProxies.insert. Creates a TargetHttpProxy resource in + * the specified project using the data included in the request. + */ public final class InsertTargetHttpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java index 28e102ae6a04..5eeb61bd936b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.insert. Creates a TargetHttpsProxy resource + * in the specified project using the data included in the request. + */ public final class InsertTargetHttpsProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java index 63189ef89174..d3cd13452314 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetInstances.insert. Creates a TargetInstance resource in + * the specified project and zone using the data included in the request. + */ public final class InsertTargetInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java index 9f3a8738bea6..55a8edade7d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.insert. Creates a target pool in the specified + * project and region using the data included in the request. + */ public final class InsertTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java index 8597dc538c76..ce84c442a3a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.insert. Creates a TargetSslProxy resource in + * the specified project using the data included in the request. + */ public final class InsertTargetSslProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java index 0aefd24e2803..273f8f7ce515 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetTcpProxies.insert. Creates a TargetTcpProxy resource in + * the specified project using the data included in the request. + */ public final class InsertTargetTcpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java index 027d5cb0cc67..a563a6c3cdc1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetVpnGateways.insert. Creates a target VPN gateway in the + * specified project and region using the data included in the request. + */ public final class InsertTargetVpnGatewayHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java index 471c6b1af6ba..f69feea502e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.urlMaps.insert. Creates a UrlMap resource in the specified + * project using the data included in the request. + */ public final class InsertUrlMapHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java index 1b213e7b6486..b134700d739a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.vpnTunnels.insert. Creates a VpnTunnel resource in the + * specified project and region using the data included in the request. + */ public final class InsertVpnTunnelHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java index 2d9cfc0af5f4..d66056287e2f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.urlMaps.invalidateCache. Initiates a cache invalidation + * operation, invalidating the specified path, scoped to the specified UrlMap. + */ public final class InvalidateCacheUrlMapHttpRequest implements ApiMessage { private final String access_token; private final CacheInvalidationRule cacheInvalidationRuleResource; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java index 55ab9c34702f..b56b714a1633 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.acceleratorTypes.list. Retrieves a list of accelerator types + * available to the specified project. + */ public final class ListAcceleratorTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java index ce9e0340a2ef..f1c6e576b9ff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.addresses.list. Retrieves a list of addresses contained within + * the specified region. + */ public final class ListAddressesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java index 4acffbec77fe..42c7c5edc111 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.autoscalers.list. Retrieves a list of autoscalers contained + * within the specified zone. + */ public final class ListAutoscalersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java index 874529e5971d..bfd26660c907 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslPolicies.listAvailableFeatures. Lists all features that can + * be specified in the SSL policy when using custom profile. + */ public final class ListAvailableFeaturesSslPoliciesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java index ac844739dafc..d9258bd41024 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.list. Retrieves the list of BackendBucket + * resources available to the specified project. + */ public final class ListBackendBucketsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java index 2fcf4a9d9909..60b3d29b4c31 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.list. Retrieves the list of BackendService + * resources available to the specified project. + */ public final class ListBackendServicesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java index c649afdbc817..c5fe5454c941 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.diskTypes.list. Retrieves a list of disk types available to the + * specified project. + */ public final class ListDiskTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java index ed4e6ca9d2e9..b7d56982fd2d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.list. Retrieves a list of persistent disks contained + * within the specified zone. + */ public final class ListDisksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java index 6a10a8ad74c1..bacaf8cddc4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.firewalls.list. Retrieves the list of firewall rules available + * to the specified project. + */ public final class ListFirewallsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java index c7a79abf3ef9..ee107e2dfc70 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.forwardingRules.list. Retrieves a list of ForwardingRule + * resources available to the specified project and region. + */ public final class ListForwardingRulesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java index a3c3a45c3daa..09487640441c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.globalAddresses.list. Retrieves a list of global addresses. */ public final class ListGlobalAddressesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java index 3d96a53aa6fd..49a586bbf039 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalForwardingRules.list. Retrieves a list of + * GlobalForwardingRule resources available to the specified project. + */ public final class ListGlobalForwardingRulesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java index 9a01336db1c2..6704ac58a9da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalOperations.list. Retrieves a list of Operation resources + * contained within the specified project. + */ public final class ListGlobalOperationsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java index 75b03f92fa57..b25b8a8389be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.healthChecks.list. Retrieves the list of HealthCheck resources + * available to the specified project. + */ public final class ListHealthChecksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java index ae1e1091dd03..70706b6763ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpHealthChecks.list. Retrieves the list of HttpHealthCheck + * resources available to the specified project. + */ public final class ListHttpHealthChecksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java index dbd6fd122c50..2a9b053fff04 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpsHealthChecks.list. Retrieves the list of HttpsHealthCheck + * resources available to the specified project. + */ public final class ListHttpsHealthChecksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java index f6b27c89345e..cb169b2ebd81 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java @@ -24,6 +24,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.list. Retrieves the list of custom images available to + * the specified project. Custom images are images you create that belong to your project. This + * method does not get any images that belong to other projects, including publicly-available + * images, like Debian 8. If you want to get a list of publicly-available images, use this method to + * make a request to the respective image project, such as debian-cloud or windows-cloud. + */ public final class ListImagesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java index 1d3697bf5fbc..a38a4b8807bd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.list. Retrieves a list of managed + * instance groups that are contained within the specified project and zone. + */ public final class ListInstanceGroupManagersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java index 5f0095436ddf..427572002881 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.list. Retrieves the list of instance groups that + * are located in the specified project and zone. + */ public final class ListInstanceGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java index 0cff86e08198..29cb5b61de76 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceTemplates.list. Retrieves a list of instance templates + * that are contained within the specified project. + */ public final class ListInstanceTemplatesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java index 5e518d8e0a71..5eedfd77b595 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.list. Retrieves the list of instances contained + * within the specified zone. + */ public final class ListInstancesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java index 67c0a8f01642..b3dc4a186a11 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.listInstances. Lists the instances in the + * specified instance group. + */ public final class ListInstancesInstanceGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java index a978a2651813..ebdaa54e544b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroups.listInstances. Lists the instances in the + * specified instance group and displays information about the named ports. Depending on the + * specified options, this method can list all instances or only the instances that are running. + */ public final class ListInstancesRegionInstanceGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java index 124536d5d895..aa23c9eac909 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectAttachments.list. Retrieves the list of + * interconnect attachments contained within the specified region. + */ public final class ListInterconnectAttachmentsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java index c544a863ce83..ed5d42e41ff4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectLocations.list. Retrieves the list of interconnect + * locations available to the specified project. + */ public final class ListInterconnectLocationsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java index af3ed0f3f07c..94dd7fc2fe99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnects.list. Retrieves the list of interconnect + * available to the specified project. + */ public final class ListInterconnectsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java index ba5d35db04a0..8df955ad34dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java @@ -24,6 +24,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.licenses.list. Retrieves the list of licenses available in the + * specified project. This method does not get any licenses that belong to other projects, including + * licenses attached to publicly-available images, like Debian 9. If you want to get a list of + * publicly-available licenses, use this method to make a request to the respective image project, + * such as debian-cloud or windows-cloud. + */ public final class ListLicensesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java index d10a46ebf6ed..65cae5edf9ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.machineTypes.list. Retrieves a list of machine types available + * to the specified project. + */ public final class ListMachineTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java index 493d43b2a71c..081150476a5e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java @@ -24,6 +24,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.listManagedInstances. Lists all of the + * instances in the managed instance group. Each instance in the list has a currentAction, which + * indicates the action that the managed instance group is performing on the instance. For example, + * if the group is still creating an instance, the currentAction is CREATING. If a previous action + * failed, the list displays the errors for that failed action. + */ public final class ListManagedInstancesInstanceGroupManagersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java index 30016d72043e..a9be54f0cf1b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.listManagedInstances. Lists the + * instances in the managed instance group and instances that are scheduled to be created. The list + * includes any current actions that the group has scheduled for its instances. + */ public final class ListManagedInstancesRegionInstanceGroupManagersHttpRequest implements ApiMessage { private final String access_token; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java index 2276d3ac2e74..7b6ce593c2e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.networks.list. Retrieves the list of networks available to the + * specified project. + */ public final class ListNetworksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java index c59bdda0adad..848a9f712462 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.list. Retrieves a list of node groups available to + * the specified project. Note: use nodeGroups.listNodes for more details about each group. + */ public final class ListNodeGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java index 4af4754c8d48..63cb37aaed69 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.list. Retrieves a list of node templates + * available to the specified project. + */ public final class ListNodeTemplatesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java index 19d3511d61d5..094f29c3138b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTypes.list. Retrieves a list of node types available to the + * specified project. + */ public final class ListNodeTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java index 435979b1d4ce..aeeeb0fba945 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Request object for method compute.nodeGroups.listNodes. Lists nodes in the node group. */ public final class ListNodesNodeGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java index 2e9f74558a7b..c1070107d252 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.listReferrers. Retrieves the list of referrers to + * instances contained within the specified zone. For more information, read Viewing Referrers to VM + * Instances. + */ public final class ListReferrersInstancesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java index 69f478db378d..ff379f5d4558 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionAutoscalers.list. Retrieves a list of autoscalers + * contained within the specified region. + */ public final class ListRegionAutoscalersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java index 3d5e18ab067e..02ae11353f2e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionBackendServices.list. Retrieves the list of regional + * BackendService resources available to the specified project in the given region. + */ public final class ListRegionBackendServicesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java index b04cd045fa0c..895cd686f051 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionCommitments.list. Retrieves a list of commitments + * contained within the specified region. + */ public final class ListRegionCommitmentsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java index 1cc1c507fabd..6dbb8c8b3087 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDiskTypes.list. Retrieves a list of regional disk types + * available to the specified project. + */ public final class ListRegionDiskTypesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java index 4dc733d82b65..15291887109a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.list. Retrieves the list of persistent disks + * contained within the specified region. + */ public final class ListRegionDisksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java index 7174ed202fc1..ae41e3edbe7e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.list. Retrieves the list of managed + * instance groups that are contained within the specified region. + */ public final class ListRegionInstanceGroupManagersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java index 5b866f74d1c3..9e0d20ae82a1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroups.list. Retrieves the list of instance group + * resources contained within the specified region. + */ public final class ListRegionInstanceGroupsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java index a7c691b40dc3..ea3c117e7c11 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionOperations.list. Retrieves a list of Operation resources + * contained within the specified region. + */ public final class ListRegionOperationsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java index 26d9f861a3d9..4a3e8f5b946c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regions.list. Retrieves the list of region resources available + * to the specified project. + */ public final class ListRegionsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java index 0aa6def64d23..3fcd7fd3aa77 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.list. Retrieves a list of Router resources available to + * the specified project. + */ public final class ListRoutersHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java index 0f25449a8ebb..d8811d0f85b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routes.list. Retrieves the list of Route resources available to + * the specified project. + */ public final class ListRoutesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java index 31929e406112..145a5e90d3b3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.list. List all the policies that have been + * configured for the specified project. + */ public final class ListSecurityPoliciesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java index 021f6f6ebf3f..9e4b0bb9bc39 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.snapshots.list. Retrieves the list of Snapshot resources + * contained within the specified project. + */ public final class ListSnapshotsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java index fa046cf2da44..abb59269f89e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslCertificates.list. Retrieves the list of SslCertificate + * resources available to the specified project. + */ public final class ListSslCertificatesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java index 3bfb28a7d8ec..c47f52d1fb6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslPolicies.list. Lists all the SSL policies that have been + * configured for the specified project. + */ public final class ListSslPoliciesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java index f2b79729c3bc..f925ee238f08 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.list. Retrieves a list of subnetworks available to + * the specified project. + */ public final class ListSubnetworksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java index ef1c0491ae9a..c380d2b91eff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpProxies.list. Retrieves the list of TargetHttpProxy + * resources available to the specified project. + */ public final class ListTargetHttpProxiesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java index 2d116ce1cc29..f908babf7cd1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.list. Retrieves the list of TargetHttpsProxy + * resources available to the specified project. + */ public final class ListTargetHttpsProxiesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java index 07da3a355f19..8a52860e2b48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetInstances.list. Retrieves a list of TargetInstance + * resources available to the specified project and zone. + */ public final class ListTargetInstancesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java index 2e143551faae..d157b6dea9f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.list. Retrieves a list of target pools available to + * the specified project and region. + */ public final class ListTargetPoolsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java index 9c75ea0e102a..3be909a5c568 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.list. Retrieves the list of TargetSslProxy + * resources available to the specified project. + */ public final class ListTargetSslProxiesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java index d54645da53bb..2bf81c72b473 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetTcpProxies.list. Retrieves the list of TargetTcpProxy + * resources available to the specified project. + */ public final class ListTargetTcpProxiesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java index 41cbf3d3a8f6..84593cb99562 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetVpnGateways.list. Retrieves a list of target VPN gateways + * available to the specified project and region. + */ public final class ListTargetVpnGatewaysHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java index 98262e61d10f..9a5785bc27f1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.urlMaps.list. Retrieves the list of UrlMap resources available + * to the specified project. + */ public final class ListUrlMapsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java index 90b009960857..e9c26c93580f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.listUsable. Retrieves an aggregated list of usable + * subnetworks. + */ public final class ListUsableSubnetworksHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java index 8347fa2e531a..ebd68176083e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.vpnTunnels.list. Retrieves a list of VpnTunnel resources + * contained in the specified project and region. + */ public final class ListVpnTunnelsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java index 0b58a961821b..073568154310 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.listXpnHosts. Lists all shared VPC host projects + * visible to the user in an organization. + */ public final class ListXpnHostsProjectsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java index 49b11b6fed43..8547ad66ca72 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.zoneOperations.list. Retrieves a list of Operation resources + * contained within the specified zone. + */ public final class ListZoneOperationsHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java index 7477f724c038..17ac6f0a7e2b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.zones.list. Retrieves the list of Zone resources available to + * the specified project. + */ public final class ListZonesHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java index a49b8b982ae6..9830089aff94 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.moveDisk. Moves a persistent disk from one zone to + * another. + */ public final class MoveDiskProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java index 83935a87432d..8a1019cf2604 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.moveInstance. Moves an instance and its attached + * persistent disks from one zone to another. + */ public final class MoveInstanceProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java index 41200d3b2f7f..eefaf6902d24 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.autoscalers.patch. Updates an autoscaler in the specified + * project using the data included in the request. This method supports PATCH semantics and uses the + * JSON merge patch format and processing rules. + */ public final class PatchAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java index b8580a08a209..c23f101141a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.patch. Updates the specified BackendBucket + * resource with the data included in the request. This method supports PATCH semantics and uses the + * JSON merge patch format and processing rules. + */ public final class PatchBackendBucketHttpRequest implements ApiMessage { private final String access_token; private final String backendBucket; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java index 2fde051d8b92..d333e0ff07bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java @@ -25,6 +25,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.patch. Patches the specified BackendService + * resource with the data included in the request. There are several restrictions and guidelines to + * keep in mind when updating a backend service. Read Restrictions and Guidelines for more + * information. This method supports PATCH semantics and uses the JSON merge patch format and + * processing rules. + */ public final class PatchBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java index db6967de5d5a..864493a1116b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.firewalls.patch. Updates the specified firewall rule with the + * data included in the request. This method supports PATCH semantics and uses the JSON merge patch + * format and processing rules. + */ public final class PatchFirewallHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java index 5fba02ae3e2d..d13357696846 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.healthChecks.patch. Updates a HealthCheck resource in the + * specified project using the data included in the request. This method supports PATCH semantics + * and uses the JSON merge patch format and processing rules. + */ public final class PatchHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java index f24aaf7f1346..a62374c01e7e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpHealthChecks.patch. Updates a HttpHealthCheck resource in + * the specified project using the data included in the request. This method supports PATCH + * semantics and uses the JSON merge patch format and processing rules. + */ public final class PatchHttpHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java index e514278892c1..821c62fbb74d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpsHealthChecks.patch. Updates a HttpsHealthCheck resource in + * the specified project using the data included in the request. This method supports PATCH + * semantics and uses the JSON merge patch format and processing rules. + */ public final class PatchHttpsHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java index 5ed775ae3b76..93dd9fb8a8e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java @@ -25,6 +25,14 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.patch. Updates a managed instance group + * using the information that you specify in the request. This operation is marked as DONE when the + * group is patched even if the instances in the group are still in the process of being patched. + * You must separately verify the status of the individual instances with the listManagedInstances + * method. This method supports PATCH semantics and uses the JSON merge patch format and processing + * rules. + */ public final class PatchInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java index 32a2ee8c9b3d..aacd15969f0e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnectAttachments.patch. Updates the specified + * interconnect attachment with the data included in the request. This method supports PATCH + * semantics and uses the JSON merge patch format and processing rules. + */ public final class PatchInterconnectAttachmentHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java index 0d22d5809668..c45f072a105b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.interconnects.patch. Updates the specified interconnect with + * the data included in the request. This method supports PATCH semantics and uses the JSON merge + * patch format and processing rules. + */ public final class PatchInterconnectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java index e5a79745593a..426ae1dee514 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.networks.patch. Patches the specified network with the data + * included in the request. Only the following fields can be modified: routingConfig.routingMode. + */ public final class PatchNetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java index 31ff8b580be5..14893b8e3947 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionAutoscalers.patch. Updates an autoscaler in the specified + * project using the data included in the request. This method supports PATCH semantics and uses the + * JSON merge patch format and processing rules. + */ public final class PatchRegionAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java index 9c08f8d657e2..fe8abff3d087 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java @@ -25,6 +25,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionBackendServices.patch. Updates the specified regional + * BackendService resource with the data included in the request. There are several restrictions and + * guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for + * more information. This method supports PATCH semantics and uses the JSON merge patch format and + * processing rules. + */ public final class PatchRegionBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java index 94ec44de135c..bdade87a5ad2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java @@ -25,6 +25,14 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.patch. Updates a managed instance + * group using the information that you specify in the request. This operation is marked as DONE + * when the group is patched even if the instances in the group are still in the process of being + * patched. You must separately verify the status of the individual instances with the + * listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch + * format and processing rules. + */ public final class PatchRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java index 24168c528cfd..2f8a755aae33 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.patch. Patches the specified Router resource with the + * data included in the request. This method supports PATCH semantics and uses JSON merge patch + * format and processing rules. + */ public final class PatchRouterHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java index 8314f98c852e..4a41bf75bac7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.patchRule. Patches a rule at the specified + * priority. + */ public final class PatchRuleSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java index 517557b93afc..3458421c20e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.patch. Patches the specified policy with the + * data included in the request. + */ public final class PatchSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java index 237f64d2c66c..3bd32129a714 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.sslPolicies.patch. Patches the specified SSL policy with the + * data included in the request. + */ public final class PatchSslPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java index 7b5bfd0c2e91..40eb539e986e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.patch. Patches the specified subnetwork with the + * data included in the request. Only certain fields can up updated with a patch request as + * indicated in the field descriptions. You must specify the current fingeprint of the subnetwork + * resource being patched. + */ public final class PatchSubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java index 8fb5fcbdf89a..1fad01a27fb6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.urlMaps.patch. Patches the specified UrlMap resource with the + * data included in the request. This method supports PATCH semantics and uses the JSON merge patch + * format and processing rules. + */ public final class PatchUrlMapHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java index fe7864dd42b1..33071629675e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.preview. Preview fields auto-generated during router + * create and update operations. Calling this method does NOT create or update the router. + */ public final class PreviewRouterHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java index 4cd40826d853..8b82c39da963 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalAddressName.java @@ -148,9 +148,10 @@ public ProjectGlobalAddressName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "address", address, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "address", address, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java index f67572ede419..5737310e82ab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendBucketName.java @@ -149,9 +149,10 @@ public ProjectGlobalBackendBucketName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "backendBucket", backendBucket, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "backendBucket", backendBucket, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java index 663631a85229..00eada1256d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalBackendServiceName.java @@ -149,9 +149,10 @@ public ProjectGlobalBackendServiceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "backendService", backendService, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "backendService", backendService, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java index 298b4902d879..967fdd64897c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalFirewallName.java @@ -148,9 +148,10 @@ public ProjectGlobalFirewallName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "firewall", firewall, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "firewall", firewall, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java index f75e6424337a..eb655021c985 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalForwardingRuleName.java @@ -149,9 +149,10 @@ public ProjectGlobalForwardingRuleName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "forwardingRule", forwardingRule, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "forwardingRule", forwardingRule, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java index 29fd87d3a730..a550003ac666 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHealthCheckName.java @@ -149,9 +149,10 @@ public ProjectGlobalHealthCheckName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "healthCheck", healthCheck, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "healthCheck", healthCheck, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java index 46b809891828..2304e9d22fa5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpHealthCheckName.java @@ -149,9 +149,10 @@ public ProjectGlobalHttpHealthCheckName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "httpHealthCheck", httpHealthCheck, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "httpHealthCheck", httpHealthCheck, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java index 865efe7f514f..1f0dbfd08559 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalHttpsHealthCheckName.java @@ -150,9 +150,10 @@ public ProjectGlobalHttpsHealthCheckName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "httpsHealthCheck", httpsHealthCheck, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "httpsHealthCheck", httpsHealthCheck, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java index 54d815687808..dc6c0bc3869f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageFamilyName.java @@ -149,9 +149,10 @@ public ProjectGlobalImageFamilyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "family", family, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "family", family, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java index c3b90748c934..b99c4e11216e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageName.java @@ -148,9 +148,10 @@ public ProjectGlobalImageName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "image", image, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "image", image, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java index ea20f7471a05..5f554fb31b38 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalImageResourceName.java @@ -149,9 +149,10 @@ public ProjectGlobalImageResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java index b1d5409a00d6..eff7f48c8d7b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateName.java @@ -150,9 +150,10 @@ public ProjectGlobalInstanceTemplateName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "instanceTemplate", instanceTemplate, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "instanceTemplate", instanceTemplate, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java index b2a992851d6e..a0e6780e23c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInstanceTemplateResourceName.java @@ -150,9 +150,10 @@ public ProjectGlobalInstanceTemplateResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java index 65acb787d2d5..1bd434e36246 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectLocationName.java @@ -151,9 +151,10 @@ public ProjectGlobalInterconnectLocationName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "interconnectLocation", interconnectLocation, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "interconnectLocation", interconnectLocation, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java index 7d979de6f966..e39f4c6e0799 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalInterconnectName.java @@ -149,9 +149,10 @@ public ProjectGlobalInterconnectName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "interconnect", interconnect, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "interconnect", interconnect, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java index dad26f01d15a..f7ef1782e0cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeName.java @@ -149,9 +149,10 @@ public ProjectGlobalLicenseCodeName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "licenseCode", licenseCode, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "licenseCode", licenseCode, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java index 5e289286803a..6025b1b36a82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseCodeResourceName.java @@ -149,9 +149,10 @@ public ProjectGlobalLicenseCodeResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java index ba73fc169236..d233a7730561 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseName.java @@ -148,9 +148,10 @@ public ProjectGlobalLicenseName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "license", license, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "license", license, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java index 5f4a9655c2d7..1871dc54afea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalLicenseResourceName.java @@ -149,9 +149,10 @@ public ProjectGlobalLicenseResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java index 065e29e30d1a..40e3ead3b184 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalNetworkName.java @@ -148,9 +148,10 @@ public ProjectGlobalNetworkName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "network", network, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "network", network, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java index 3f1278168f9e..360c1e89b169 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalOperationName.java @@ -148,9 +148,10 @@ public ProjectGlobalOperationName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "operation", operation, - "project", project); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "operation", operation, + "project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java index 29dd54c51979..f7da7284eea3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalRouteName.java @@ -148,9 +148,10 @@ public ProjectGlobalRouteName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "route", route); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "route", route); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java index 39d1498237ff..2acceeddcff6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSecurityPolicyName.java @@ -149,9 +149,10 @@ public ProjectGlobalSecurityPolicyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "securityPolicy", securityPolicy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "securityPolicy", securityPolicy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java index b84c06c559ec..5273bdfd7430 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotName.java @@ -148,9 +148,10 @@ public ProjectGlobalSnapshotName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "snapshot", snapshot); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "snapshot", snapshot); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java index dca1abf33397..9d3275b81581 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSnapshotResourceName.java @@ -149,9 +149,10 @@ public ProjectGlobalSnapshotResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java index f45814fff509..fb2b7f40a314 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslCertificateName.java @@ -149,9 +149,10 @@ public ProjectGlobalSslCertificateName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "sslCertificate", sslCertificate); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "sslCertificate", sslCertificate); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java index b7c70c6d96c6..64e709f022e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalSslPolicyName.java @@ -148,9 +148,10 @@ public ProjectGlobalSslPolicyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "sslPolicy", sslPolicy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "sslPolicy", sslPolicy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java index 580c12220fb4..e898a2891ddc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpProxyName.java @@ -149,9 +149,10 @@ public ProjectGlobalTargetHttpProxyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "targetHttpProxy", targetHttpProxy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "targetHttpProxy", targetHttpProxy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java index 7a7e908917fa..27e5a19fe9a8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetHttpsProxyName.java @@ -150,9 +150,10 @@ public ProjectGlobalTargetHttpsProxyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "targetHttpsProxy", targetHttpsProxy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "targetHttpsProxy", targetHttpsProxy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java index c59623a36085..11624f0fff46 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetSslProxyName.java @@ -149,9 +149,10 @@ public ProjectGlobalTargetSslProxyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "targetSslProxy", targetSslProxy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "targetSslProxy", targetSslProxy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java index 30acb16c57ad..ab0e576dca92 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalTargetTcpProxyName.java @@ -149,9 +149,10 @@ public ProjectGlobalTargetTcpProxyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "targetTcpProxy", targetTcpProxy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "targetTcpProxy", targetTcpProxy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java index 5c5f545321a7..8b42bb97a655 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectGlobalUrlMapName.java @@ -148,9 +148,10 @@ public ProjectGlobalUrlMapName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "urlMap", urlMap); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "urlMap", urlMap); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java index db75e9f56663..422bb4ae32c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectName.java @@ -130,7 +130,7 @@ public ProjectName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate("project", project); + return SERVICE_ADDRESS + PATH_TEMPLATE.instantiate("project", project); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java index 50f4d4b9b908..95a56dad9725 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAddressName.java @@ -166,10 +166,11 @@ public ProjectRegionAddressName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "address", address, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "address", address, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java index bd3bb3175b86..4ffeaffdf5ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionAutoscalerName.java @@ -166,10 +166,11 @@ public ProjectRegionAutoscalerName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "autoscaler", autoscaler, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "autoscaler", autoscaler, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java index 10320d79b68c..335b7edbf2bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionBackendServiceName.java @@ -173,10 +173,11 @@ public ProjectRegionBackendServiceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "backendService", backendService, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "backendService", backendService, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java index 8241017701af..a966d1f8f56d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionCommitmentName.java @@ -166,10 +166,11 @@ public ProjectRegionCommitmentName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "commitment", commitment, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "commitment", commitment, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java index 5324a46c347e..4c9725ad9868 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskName.java @@ -166,10 +166,11 @@ public ProjectRegionDiskName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "disk", disk, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "disk", disk, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java index 844d987d3f67..260b21c74e6b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskResourceName.java @@ -167,10 +167,11 @@ public ProjectRegionDiskResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java index 6f93fe6ec974..8a69f0dd5d9b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionDiskTypeName.java @@ -166,10 +166,11 @@ public ProjectRegionDiskTypeName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "diskType", diskType, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "diskType", diskType, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java index eab18028da7e..435ccf025f68 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionForwardingRuleName.java @@ -173,10 +173,11 @@ public ProjectRegionForwardingRuleName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "forwardingRule", forwardingRule, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "forwardingRule", forwardingRule, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java index 85aa88bc554b..fe6a650fbce0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupManagerName.java @@ -174,10 +174,11 @@ public ProjectRegionInstanceGroupManagerName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "instanceGroupManager", instanceGroupManager, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "instanceGroupManager", instanceGroupManager, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java index 0bfe5ef6d37a..b85d3bcd6c63 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInstanceGroupName.java @@ -173,10 +173,11 @@ public ProjectRegionInstanceGroupName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "instanceGroup", instanceGroup, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "instanceGroup", instanceGroup, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java index c2cbebdd5103..e11203a14c1e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionInterconnectAttachmentName.java @@ -175,10 +175,11 @@ public ProjectRegionInterconnectAttachmentName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "interconnectAttachment", interconnectAttachment, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "interconnectAttachment", interconnectAttachment, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java index ef10e8356b0c..7b8fb7eb1fdd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionName.java @@ -148,9 +148,10 @@ public ProjectRegionName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java index ba78d5784bea..e875b42529e3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateName.java @@ -169,10 +169,11 @@ public ProjectRegionNodeTemplateName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "nodeTemplate", nodeTemplate, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "nodeTemplate", nodeTemplate, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java index 88eeb95e3048..cda9649e6d55 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionNodeTemplateResourceName.java @@ -168,10 +168,11 @@ public ProjectRegionNodeTemplateResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java index 88e1f00e825d..d8736166d454 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionOperationName.java @@ -166,10 +166,11 @@ public ProjectRegionOperationName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "operation", operation, - "project", project, - "region", region); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "operation", operation, + "project", project, + "region", region); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java index 266845c81db6..4484fcc503a5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionRouterName.java @@ -166,10 +166,11 @@ public ProjectRegionRouterName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "router", router); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "router", router); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java index ec712fc549d2..02c04193bac4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkName.java @@ -166,10 +166,11 @@ public ProjectRegionSubnetworkName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "subnetwork", subnetwork); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "subnetwork", subnetwork); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java index b358e718a07f..fd228577fb07 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionSubnetworkResourceName.java @@ -168,10 +168,11 @@ public ProjectRegionSubnetworkResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "resource", resource); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "resource", resource); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java index 0b4ff5242040..1e8f59a2ce65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetPoolName.java @@ -166,10 +166,11 @@ public ProjectRegionTargetPoolName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "targetPool", targetPool); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "targetPool", targetPool); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java index c3482c6d46eb..05f9916b27de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionTargetVpnGatewayName.java @@ -173,10 +173,11 @@ public ProjectRegionTargetVpnGatewayName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "targetVpnGateway", targetVpnGateway); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "targetVpnGateway", targetVpnGateway); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java index 4ac5f1112092..250c2dcf4b1b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectRegionVpnTunnelName.java @@ -166,10 +166,11 @@ public ProjectRegionVpnTunnelName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "region", region, - "vpnTunnel", vpnTunnel); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "region", region, + "vpnTunnel", vpnTunnel); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java index 41472e8cf542..51e83bc30033 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpProxyName.java @@ -148,9 +148,10 @@ public ProjectTargetHttpProxyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "targetHttpProxy", targetHttpProxy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "targetHttpProxy", targetHttpProxy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java index a441c06a46ae..60cac52ee72c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectTargetHttpsProxyName.java @@ -148,9 +148,10 @@ public ProjectTargetHttpsProxyName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "targetHttpsProxy", targetHttpsProxy); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "targetHttpsProxy", targetHttpsProxy); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java index 25887a1f0e41..d7fb60242827 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAcceleratorTypeName.java @@ -173,10 +173,11 @@ public ProjectZoneAcceleratorTypeName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "acceleratorType", acceleratorType, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "acceleratorType", acceleratorType, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java index a7b201e671c6..f8315c9d3be8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneAutoscalerName.java @@ -166,10 +166,11 @@ public ProjectZoneAutoscalerName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "autoscaler", autoscaler, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "autoscaler", autoscaler, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java index 53f5c501d498..88f700a582f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskName.java @@ -166,10 +166,11 @@ public ProjectZoneDiskName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "disk", disk, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "disk", disk, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java index 47f148e6a831..d01e828aefe4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskResourceName.java @@ -166,10 +166,11 @@ public ProjectZoneDiskResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java index 668395f66b11..2d696e69668e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneDiskTypeName.java @@ -166,10 +166,11 @@ public ProjectZoneDiskTypeName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "diskType", diskType, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "diskType", diskType, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java index 2a19dbf53be0..7248ebf346ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupManagerName.java @@ -173,10 +173,11 @@ public ProjectZoneInstanceGroupManagerName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "instanceGroupManager", instanceGroupManager, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "instanceGroupManager", instanceGroupManager, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java index d39bcaae5f2a..cd64dd324817 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceGroupName.java @@ -168,10 +168,11 @@ public ProjectZoneInstanceGroupName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "instanceGroup", instanceGroup, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "instanceGroup", instanceGroup, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java index 558ee35622f7..9376a1770b07 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceName.java @@ -166,10 +166,11 @@ public ProjectZoneInstanceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "instance", instance, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "instance", instance, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java index d03c4fbdb020..909d9c8a9514 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneInstanceResourceName.java @@ -167,10 +167,11 @@ public ProjectZoneInstanceResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java index 0763ea92d02b..05155bb244d0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneMachineTypeName.java @@ -166,10 +166,11 @@ public ProjectZoneMachineTypeName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "machineType", machineType, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "machineType", machineType, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java index b75e0f35d735..9a9a94b1d8e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneName.java @@ -148,9 +148,10 @@ public ProjectZoneName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java index 80d72840960b..4d13a79029c3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupName.java @@ -166,10 +166,11 @@ public ProjectZoneNodeGroupName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "nodeGroup", nodeGroup, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "nodeGroup", nodeGroup, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java index e133e4db7dc1..0cff1a96e640 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeGroupResourceName.java @@ -167,10 +167,11 @@ public ProjectZoneNodeGroupResourceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "resource", resource, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "resource", resource, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java index af964b8ab13b..5a7d125e30b0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneNodeTypeName.java @@ -166,10 +166,11 @@ public ProjectZoneNodeTypeName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "nodeType", nodeType, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "nodeType", nodeType, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java index e3a12eb5147e..af62430e26ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneOperationName.java @@ -166,10 +166,11 @@ public ProjectZoneOperationName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "operation", operation, - "project", project, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "operation", operation, + "project", project, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java index 2f1088875950..a5c71ba17296 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectZoneTargetInstanceName.java @@ -169,10 +169,11 @@ public ProjectZoneTargetInstanceName build() { @Override public String toString() { - return PATH_TEMPLATE.instantiate( - "project", project, - "targetInstance", targetInstance, - "zone", zone); + return SERVICE_ADDRESS + + PATH_TEMPLATE.instantiate( + "project", project, + "targetInstance", targetInstance, + "zone", zone); } @Override diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java index 445b65f071de..5784a9e39884 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java @@ -24,6 +24,19 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.recreateInstances. Flags the specified + * instances in the managed instance group to be immediately recreated. The instances are deleted + * and recreated using the current instance template for the managed instance group. This operation + * is marked as DONE when the flag is set even if the instances have not yet been recreated. You + * must separately verify the status of the recreating action with the listmanagedinstances method. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + * + *

You can specify a maximum of 1000 instances with this method per request. + */ public final class RecreateInstancesInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java index 5b3d7e9a02d3..0032157ba538 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,20 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.recreateInstances. Flags the + * specified instances in the managed instance group to be immediately recreated. The instances are + * deleted and recreated using the current instance template for the managed instance group. This + * operation is marked as DONE when the flag is set even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action with the + * listmanagedinstances method. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + * + *

You can specify a maximum of 1000 instances with this method per request. + */ public final class RecreateInstancesRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java index 5bb5dd9dc50d..8690fbedd7f6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.removeHealthCheck. Removes health check URL from a + * target pool. + */ public final class RemoveHealthCheckTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java index bc158d346bea..d8b455eb35a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.removeInstance. Removes instance URL from a target + * pool. + */ public final class RemoveInstanceTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java index ca3228803b60..5dd1e09ac90a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java @@ -24,6 +24,14 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.removeInstances. Removes one or more instances + * from the specified instance group, but does not delete those instances. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration before the VM instance is removed or + * deleted. + */ public final class RemoveInstancesInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java index 06c6e2ed303c..45f43af540cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.networks.removePeering. Removes a peering from the specified + * network. + */ public final class RemovePeeringNetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java index 1b0acdb0eed7..040e18ba577e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.securityPolicies.removeRule. Deletes a rule at the specified + * priority. + */ public final class RemoveRuleSecurityPolicyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java index a6a721e0d280..0c10c912b8bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.reset. Performs a reset on the instance. This is a + * hard reset; the VM does not do a graceful shutdown. For more information, see Resetting an + * instance. + */ public final class ResetInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java index c5dfaebb24d6..96fee2db3a94 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.resize. Resizes the specified persistent disk. You can + * only increase the size of the disk. + */ public final class ResizeDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java index 00ed71dd5407..7cd34757e185 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java @@ -24,6 +24,27 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.resize. Resizes the managed instance + * group. If you increase the size, the group creates new instances using the current instance + * template. If you decrease the size, the group deletes instances. The resize operation is marked + * DONE when the resize actions are scheduled even if the group has not yet added or deleted any + * instances. You must separately verify the status of the creating or deleting actions with the + * listmanagedinstances method. + * + *

When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. + * The group takes into account some VM attributes when making the selection including: + * + *

+ The status of the VM instance. + The health of the VM instance. + The instance template + * version the VM is based on. + For regional managed instance groups, the location of the VM + * instance. + * + *

This list is subject to change. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + */ public final class ResizeInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java index b68a4142cac8..d8d1f5184bb0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.resize. Resizes the specified regional persistent + * disk. + */ public final class ResizeRegionDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java index 753b2bd9fceb..45db6dcc6bdb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,19 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.resize. Changes the intended size + * of the managed instance group. If you increase the size, the group creates new instances using + * the current instance template. If you decrease the size, the group deletes one or more instances. + * + *

The resize operation is marked DONE if the resize request is successful. The underlying + * actions take additional time. You must separately verify the status of the creating or deleting + * actions with the listmanagedinstances method. + * + *

If the group is part of a backend service that has enabled connection draining, it can take up + * to 60 seconds after the connection draining duration has elapsed before the VM instance is + * removed or deleted. + */ public final class ResizeRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java index a518047522dd..0ce4316396fd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.setBackendService. Changes the BackendService + * for TargetSslProxy. + */ public final class SetBackendServiceTargetSslProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java index 550b49e2e071..85034ed7e6ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetTcpProxies.setBackendService. Changes the BackendService + * for TargetTcpProxy. + */ public final class SetBackendServiceTargetTcpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java index 4588895aa6f3..4349094d696d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetPools.setBackup. Changes a backup target pool's + * configurations. + */ public final class SetBackupTargetPoolHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java index 2d361847e68f..0f0b359ec7af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.setCommonInstanceMetadata. Sets metadata common to all + * instances within the specified project using the data included in the request. + */ public final class SetCommonInstanceMetadataProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java index 6d87f83a842b..ee5ffff9c3c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.setDefaultNetworkTier. Sets the default network tier + * of the project. The default network tier is used when an address/forwardingRule/instance is + * created without specifying the network tier field. + */ public final class SetDefaultNetworkTierProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java index 6f932faff349..77adccebba48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setDeletionProtection. Sets deletion protection on + * the instance. + */ public final class SetDeletionProtectionInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java index 2311188e9237..afeb47affa27 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setDiskAutoDelete. Sets the auto-delete flag for a + * disk attached to an instance. + */ public final class SetDiskAutoDeleteInstanceHttpRequest implements ApiMessage { private final String access_token; private final Boolean autoDelete; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java index 10af32a97115..fc6bec6f1513 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.setIamPolicy. Sets the access control policy on the + * specified resource. Replaces any existing policy. + */ public final class SetIamPolicyDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java index e2e192c0106a..3ccbe9832390 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.setIamPolicy. Sets the access control policy on the + * specified resource. Replaces any existing policy. + */ public final class SetIamPolicyImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java index 9aba2b76b962..8b1786f3e114 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setIamPolicy. Sets the access control policy on the + * specified resource. Replaces any existing policy. + */ public final class SetIamPolicyInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java index c9d316719abf..4c72fb24abb3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceTemplates.setIamPolicy. Sets the access control policy + * on the specified resource. Replaces any existing policy. + */ public final class SetIamPolicyInstanceTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java index 1822476554cd..9d6ef101d6aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.licenses.setIamPolicy. Sets the access control policy on the + * specified resource. Replaces any existing policy. + */ public final class SetIamPolicyLicenseHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java index 48db2b9a1a10..3c7245d7fc98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.setIamPolicy. Sets the access control policy on the + * specified resource. Replaces any existing policy. + */ public final class SetIamPolicyNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java index f3dc81f87b7a..3aa770e48618 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.setIamPolicy. Sets the access control policy on + * the specified resource. Replaces any existing policy. + */ public final class SetIamPolicyNodeTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java index cf90c5c13f62..b0a9f9594ad0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.snapshots.setIamPolicy. Sets the access control policy on the + * specified resource. Replaces any existing policy. + */ public final class SetIamPolicySnapshotHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java index bc2f299b80ec..91ed0b363447 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.setIamPolicy. Sets the access control policy on the + * specified resource. Replaces any existing policy. + */ public final class SetIamPolicySubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java index e495ac09e259..9a968b2074c3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.setInstanceTemplate. Specifies the + * instance template to use when creating new instances in this group. The templates for existing + * instances in the group do not change unless you recreate them. + */ public final class SetInstanceTemplateInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java index 87684b667789..20091b1a5eeb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.setInstanceTemplate. Sets the + * instance template to use when creating new instances or recreating instances in this group. + * Existing instances are not affected. + */ public final class SetInstanceTemplateRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java index 164035f576eb..91942152f345 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.setLabels. Sets the labels on a disk. To learn more about + * labels, read the Labeling Resources documentation. + */ public final class SetLabelsDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java index 0285d1575cd8..cb70cf2ab498 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.setLabels. Sets the labels on an image. To learn more + * about labels, read the Labeling Resources documentation. + */ public final class SetLabelsImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java index f37f58266d16..b5288192189c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setLabels. Sets labels on an instance. To learn more + * about labels, read the Labeling Resources documentation. + */ public final class SetLabelsInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java index 63e671b07fad..9958d03e1165 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.setLabels. Sets the labels on the target regional + * disk. + */ public final class SetLabelsRegionDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java index 9ea6df3c5255..fd91cc000466 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.snapshots.setLabels. Sets the labels on a snapshot. To learn + * more about labels, read the Labeling Resources documentation. + */ public final class SetLabelsSnapshotHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java index 90476ce3c0a8..411a4dee21cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setMachineResources. Changes the number and/or type + * of accelerator for a stopped instance to the values specified in the request. + */ public final class SetMachineResourcesInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java index 1cb27fcb6c28..38bb690a4fb6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setMachineType. Changes the machine type for a + * stopped instance to the machine type specified in the request. + */ public final class SetMachineTypeInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java index f7548984acfe..5e783ea277e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setMetadata. Sets metadata for the specified instance + * to the data included in the request. + */ public final class SetMetadataInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java index 2399fdd1f890..defc35b6cc0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setMinCpuPlatform. Changes the minimum CPU platform + * that this instance should use. This method can only be called on a stopped instance. For more + * information, read Specifying a Minimum CPU Platform. + */ public final class SetMinCpuPlatformInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java index 911610220385..ecd8ae822738 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroups.setNamedPorts. Sets the named ports for the + * specified instance group. + */ public final class SetNamedPortsInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java index 13c5b7ae4fe5..9e4ef13e52ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroups.setNamedPorts. Sets the named ports for + * the specified regional instance group. + */ public final class SetNamedPortsRegionInstanceGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java index 1c6923418279..06d408eac47e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.setNodeTemplate. Updates the node template of the + * node group. + */ public final class SetNodeTemplateNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java index eb0fd0f85cd7..cf04d3fdc9b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.setPrivateIpGoogleAccess. Set whether VMs in this + * subnet can access Google services without assigning external IP addresses through Private Google + * Access. + */ public final class SetPrivateIpGoogleAccessSubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java index d520f3b46e88..961af60bb3dd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.setProxyHeader. Changes the ProxyHeaderType + * for TargetSslProxy. + */ public final class SetProxyHeaderTargetSslProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java index 61652defe23e..cdd50efd7e88 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetTcpProxies.setProxyHeader. Changes the ProxyHeaderType + * for TargetTcpProxy. + */ public final class SetProxyHeaderTargetTcpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java index 2eb3128ad707..d0a0ca5d7811 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.setQuicOverride. Sets the QUIC override + * policy for TargetHttpsProxy. + */ public final class SetQuicOverrideTargetHttpsProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java index 62fc7b210a46..76b9c7f89338 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java @@ -24,6 +24,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setScheduling. Sets an instance's scheduling options. + */ public final class SetSchedulingInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java index 898cf644218e..c006ba2cab42 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.setSecurityPolicy. Sets the security policy for + * the specified backend service. + */ public final class SetSecurityPolicyBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java index 19468526b42b..18f942840e15 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setServiceAccount. Sets the service account on the + * instance. For more information, read Changing the service account and access scopes for an + * instance. + */ public final class SetServiceAccountInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java index 64fa7aab5e6d..7132820584e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.setSslCertificates. Replaces SslCertificates + * for TargetHttpsProxy. + */ public final class SetSslCertificatesTargetHttpsProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java index cf40d2ccc5a2..fcfb14fa0f10 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.setSslCertificates. Changes SslCertificates + * for TargetSslProxy. + */ public final class SetSslCertificatesTargetSslProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java index 8127f41ac629..060fa8575df3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.setSslPolicy. Sets the SSL policy for + * TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects + * connections between clients and the HTTPS proxy load balancer. They do not affect the connection + * between the load balancer and the backends. + */ public final class SetSslPolicyTargetHttpsProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java index 3930f02ccffa..bc9bc50f33f8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetSslProxies.setSslPolicy. Sets the SSL policy for + * TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects + * connections between clients and the SSL proxy load balancer. They do not affect the connection + * between the load balancer and the backends. + */ public final class SetSslPolicyTargetSslProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java index bbbe05e0db31..595dc10969e0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.setTags. Sets network tags for the specified instance + * to the data included in the request. + */ public final class SetTagsInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java index 3092ca988bae..faf29660a5cc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.forwardingRules.setTarget. Changes target URL for forwarding + * rule. The new target should be of the same type as the old target. + */ public final class SetTargetForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java index ff8e33f634c8..3b8d9a67b432 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.globalForwardingRules.setTarget. Changes target URL for the + * GlobalForwardingRule resource. The new target should be of the same type as the old target. + */ public final class SetTargetGlobalForwardingRuleHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java index 6c7f04ee4297..59ce338c558b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java @@ -24,6 +24,14 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceGroupManagers.setTargetPools. Modifies the target pools + * to which all instances in this managed instance group are assigned. The target pools + * automatically apply to all of the instances in the managed instance group. This operation is + * marked DONE when you make the request even if the instances have not yet been added to their + * target pools. The change might take some time to apply to all of the instances in the group + * depending on the size of the group. + */ public final class SetTargetPoolsInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java index 299443fd38b9..69b16dc13f5d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionInstanceGroupManagers.setTargetPools. Modifies the target + * pools to which all new instances in this group are assigned. Existing instances in the group are + * not affected. + */ public final class SetTargetPoolsRegionInstanceGroupManagerHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java index 89c839ab126a..971207fe1b1d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpProxies.setUrlMap. Changes the URL map for + * TargetHttpProxy. + */ public final class SetUrlMapTargetHttpProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java index 087e2962f2a8..5d3834a4423d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.targetHttpsProxies.setUrlMap. Changes the URL map for + * TargetHttpsProxy. + */ public final class SetUrlMapTargetHttpsProxyHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java index 1f4c02bb44aa..5cf6bd3bcde0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.projects.setUsageExportBucket. Enables the usage export feature + * and sets the usage export bucket where reports are stored. If you provide an empty request body + * using this method, the usage export feature will be disabled. + */ public final class SetUsageExportBucketProjectHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java index b11e8b3fc92b..82828f961102 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.simulateMaintenanceEvent. Simulates a maintenance + * event on the instance. + */ public final class SimulateMaintenanceEventInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java index 8d9527bdd88f..6c94effd09f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.start. Starts an instance that was stopped using the + * instances().stop method. For more information, see Restart an instance. + */ public final class StartInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java index 54b7eebfe6f8..9ba13efab1a8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.startWithEncryptionKey. Starts an instance that was + * stopped using the instances().stop method. For more information, see Restart an instance. + */ public final class StartWithEncryptionKeyInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java index 17284af29623..77598eafd8ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java @@ -24,6 +24,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.stop. Stops a running instance, shutting it down + * cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur + * VM usage charges while they are stopped. However, resources that the VM is using, such as + * persistent disks and static IP addresses, will continue to be charged until they are deleted. For + * more information, see Stopping an instance. + */ public final class StopInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java index 857f65ef7c2d..7b107a367f29 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.networks.switchToCustomMode. Switches the network mode from + * auto subnet mode to custom subnet mode. + */ public final class SwitchToCustomModeNetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java index f6e6fad77924..27e222c494b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.disks.testIamPermissions. Returns permissions that a caller has + * on the specified resource. + */ public final class TestIamPermissionsDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java index ba767137fd1a..5a95f59e0cc6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.images.testIamPermissions. Returns permissions that a caller + * has on the specified resource. + */ public final class TestIamPermissionsImageHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java index cd6dccb1c123..18f8dbd025b0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.testIamPermissions. Returns permissions that a caller + * has on the specified resource. + */ public final class TestIamPermissionsInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java index dbe1e39ea93c..d2b2e628d070 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instanceTemplates.testIamPermissions. Returns permissions that + * a caller has on the specified resource. + */ public final class TestIamPermissionsInstanceTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java index aa00df192519..e78ea523c2b0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.licenseCodes.testIamPermissions. Returns permissions that a + * caller has on the specified resource. + */ public final class TestIamPermissionsLicenseCodeHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java index 765ab9ec32b9..c56335305e36 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.licenses.testIamPermissions. Returns permissions that a caller + * has on the specified resource. + */ public final class TestIamPermissionsLicenseHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java index 098b43515c04..3370a1859f52 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeGroups.testIamPermissions. Returns permissions that a + * caller has on the specified resource. + */ public final class TestIamPermissionsNodeGroupHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java index b24aec09af70..e0e867c2c64d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.nodeTemplates.testIamPermissions. Returns permissions that a + * caller has on the specified resource. + */ public final class TestIamPermissionsNodeTemplateHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java index 2cd718eff901..88b3c4008df4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionDisks.testIamPermissions. Returns permissions that a + * caller has on the specified resource. + */ public final class TestIamPermissionsRegionDiskHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java index 657b3a15c47e..3d2d38eee5db 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.snapshots.testIamPermissions. Returns permissions that a caller + * has on the specified resource. + */ public final class TestIamPermissionsSnapshotHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java index 2950a9cba818..71caa8254329 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.subnetworks.testIamPermissions. Returns permissions that a + * caller has on the specified resource. + */ public final class TestIamPermissionsSubnetworkHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java index f5ce946063aa..9c785944ecaa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.updateAccessConfig. Updates the specified access + * config from an instance's network interface with the data included in the request. This method + * supports PATCH semantics and uses the JSON merge patch format and processing rules. + */ public final class UpdateAccessConfigInstanceHttpRequest implements ApiMessage { private final AccessConfig accessConfigResource; private final String access_token; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java index a8ef43480449..fa85d9a893ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.autoscalers.update. Updates an autoscaler in the specified + * project using the data included in the request. + */ public final class UpdateAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java index 6eedd5e93192..6506eca1462f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendBuckets.update. Updates the specified BackendBucket + * resource with the data included in the request. + */ public final class UpdateBackendBucketHttpRequest implements ApiMessage { private final String access_token; private final String backendBucket; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java index 9ec11f4936d6..d1044c35f33b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.backendServices.update. Updates the specified BackendService + * resource with the data included in the request. There are several restrictions and guidelines to + * keep in mind when updating a backend service. Read Restrictions and Guidelines for more + * information. + */ public final class UpdateBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java index 977115f8342b..a941faaf745f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.firewalls.update. Updates the specified firewall rule with the + * data included in the request. The PUT method can only update the following fields of firewall + * rule: allowed, description, sourceRanges, sourceTags, targetTags. + */ public final class UpdateFirewallHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java index 4446016d90ed..8943b12d0575 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.healthChecks.update. Updates a HealthCheck resource in the + * specified project using the data included in the request. + */ public final class UpdateHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java index 489006ab9205..907a35c9e1c5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpHealthChecks.update. Updates a HttpHealthCheck resource in + * the specified project using the data included in the request. + */ public final class UpdateHttpHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java index 63b3f6fd399e..687086e43570 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.httpsHealthChecks.update. Updates a HttpsHealthCheck resource + * in the specified project using the data included in the request. + */ public final class UpdateHttpsHealthCheckHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java index 41cac2f9727b..adf2a8ddbadc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.instances.updateNetworkInterface. Updates an instance's network + * interface. This method follows PATCH semantics. + */ public final class UpdateNetworkInterfaceInstanceHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java index e38652a6576c..dfbad8583603 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionAutoscalers.update. Updates an autoscaler in the + * specified project using the data included in the request. + */ public final class UpdateRegionAutoscalerHttpRequest implements ApiMessage { private final String access_token; private final String autoscaler; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java index d31c6e483fa8..a0fbd5a162ff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.regionBackendServices.update. Updates the specified regional + * BackendService resource with the data included in the request. There are several restrictions and + * guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for + * more information. + */ public final class UpdateRegionBackendServiceHttpRequest implements ApiMessage { private final String access_token; private final String backendService; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java index ee9dad0a0f7f..30b61794acf4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.routers.update. Updates the specified Router resource with the + * data included in the request. + */ public final class UpdateRouterHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java index 81e50ca7714a..26e44eef3764 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.urlMaps.update. Updates the specified UrlMap resource with the + * data included in the request. + */ public final class UpdateUrlMapHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java index 0ae43e50fe1e..2cbced246f9a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Request object for method compute.urlMaps.validate. Runs static validation for the UrlMap. In + * particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the + * UrlMap. + */ public final class ValidateUrlMapHttpRequest implements ApiMessage { private final String access_token; private final String callback; diff --git a/google-cloud-clients/google-cloud-compute/synth.metadata b/google-cloud-clients/google-cloud-compute/synth.metadata index 125576c991f8..2cf8b3ea0ebc 100644 --- a/google-cloud-clients/google-cloud-compute/synth.metadata +++ b/google-cloud-clients/google-cloud-compute/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2019-01-23T08:36:51.719159Z", + "updateTime": "2019-02-05T08:35:33.921691Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "3f68e5a1583e709ebb03a492e9f54953fa9ea522" + "sha": "fc085434085ed98073f1cd84d0c8fc1d95c2731d" } }, { "generator": { "name": "artman", - "version": "0.16.7", - "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" + "version": "0.16.9", + "dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3" } } ] From e3c0cd73100b8fcf7b376cf95b8814711aa91641 Mon Sep 17 00:00:00 2001 From: Michael Lehenbauer Date: Tue, 5 Feb 2019 07:44:27 -0800 Subject: [PATCH 56/90] Firestore: Migrate client to use v1 gapic client / protos. (#4419) --- .../cloud/firestore/CollectionReference.java | 8 +- .../cloud/firestore/DocumentReference.java | 4 +- .../cloud/firestore/DocumentSnapshot.java | 6 +- .../cloud/firestore/DocumentTransform.java | 6 +- .../com/google/cloud/firestore/FieldMask.java | 6 +- .../google/cloud/firestore/FieldValue.java | 4 +- .../google/cloud/firestore/FirestoreImpl.java | 8 +- .../cloud/firestore/FirestoreOptions.java | 6 +- .../com/google/cloud/firestore/Order.java | 4 +- .../google/cloud/firestore/Precondition.java | 6 +- .../com/google/cloud/firestore/Query.java | 32 +- .../firestore/QueryDocumentSnapshot.java | 4 +- .../google/cloud/firestore/ResourcePath.java | 2 +- .../google/cloud/firestore/Transaction.java | 6 +- .../google/cloud/firestore/UpdateBuilder.java | 12 +- .../cloud/firestore/UserDataConverter.java | 6 +- .../com/google/cloud/firestore/Watch.java | 12 +- .../google/cloud/firestore/WriteResult.java | 3 +- .../spi/{v1beta1 => v1}/FirestoreRpc.java | 32 +- .../spi/{v1beta1 => v1}/GrpcFirestoreRpc.java | 42 +- .../firestore/CollectionReferenceTest.java | 6 +- .../cloud/firestore/ConformanceTest.java | 18 +- .../firestore/DocumentReferenceTest.java | 20 +- .../google/cloud/firestore/FirestoreTest.java | 6 +- .../cloud/firestore/LocalFirestoreHelper.java | 48 +- .../com/google/cloud/firestore/OrderTest.java | 6 +- .../com/google/cloud/firestore/QueryTest.java | 12 +- .../cloud/firestore/TransactionTest.java | 12 +- .../com/google/cloud/firestore/WatchTest.java | 22 +- .../cloud/firestore/WriteBatchTest.java | 22 +- .../firestore/conformance/TestDefinition.java | 1254 ++++++++--------- 31 files changed, 807 insertions(+), 828 deletions(-) rename google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/{v1beta1 => v1}/FirestoreRpc.java (69%) rename google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/{v1beta1 => v1}/GrpcFirestoreRpc.java (85%) diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/CollectionReference.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/CollectionReference.java index 87ba8c9394f9..f6d472a2aeb2 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/CollectionReference.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/CollectionReference.java @@ -21,11 +21,11 @@ import com.google.api.core.ApiFutures; import com.google.api.gax.rpc.ApiException; import com.google.api.gax.rpc.ApiExceptions; -import com.google.cloud.firestore.v1beta1.FirestoreClient.ListDocumentsPagedResponse; +import com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.DocumentMask; -import com.google.firestore.v1beta1.ListDocumentsRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.DocumentMask; +import com.google.firestore.v1.ListDocumentsRequest; import java.util.Iterator; import java.util.Map; import javax.annotation.Nonnull; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentReference.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentReference.java index f8fe3880371a..26ee1cfee022 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentReference.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentReference.java @@ -21,8 +21,8 @@ import com.google.api.core.ApiFutures; import com.google.api.gax.rpc.ApiException; import com.google.api.gax.rpc.ApiExceptions; -import com.google.cloud.firestore.v1beta1.FirestoreClient.ListCollectionIdsPagedResponse; -import com.google.firestore.v1beta1.ListCollectionIdsRequest; +import com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; +import com.google.firestore.v1.ListCollectionIdsRequest; import java.util.Iterator; import java.util.List; import java.util.Map; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentSnapshot.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentSnapshot.java index 295dc1d4b804..54b43af6b1b8 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentSnapshot.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentSnapshot.java @@ -19,9 +19,9 @@ import com.google.cloud.Timestamp; import com.google.cloud.firestore.UserDataConverter.EncodingOptions; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.Value; -import com.google.firestore.v1beta1.Write; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.Value; +import com.google.firestore.v1.Write; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentTransform.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentTransform.java index 000bbef1f3f3..a90b0ec5ecf4 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentTransform.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentTransform.java @@ -16,8 +16,8 @@ package com.google.cloud.firestore; -import com.google.firestore.v1beta1.DocumentTransform.FieldTransform; -import com.google.firestore.v1beta1.Write; +import com.google.firestore.v1.DocumentTransform.FieldTransform; +import com.google.firestore.v1.Write; import java.util.Collections; import java.util.List; import java.util.Map; @@ -118,7 +118,7 @@ Set getFields() { Write.Builder toPb() { Write.Builder write = Write.newBuilder(); - com.google.firestore.v1beta1.DocumentTransform.Builder transform = write.getTransformBuilder(); + com.google.firestore.v1.DocumentTransform.Builder transform = write.getTransformBuilder(); transform.addAllFieldTransforms(transforms.values()); transform.setDocument(documentReference.getName()); return write; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldMask.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldMask.java index 89aefce06f10..2bcfa252bd83 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldMask.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldMask.java @@ -91,9 +91,9 @@ private static List extractFromMap(Map values, FieldP return fieldPaths; } - com.google.firestore.v1beta1.DocumentMask toPb() { - com.google.firestore.v1beta1.DocumentMask.Builder updateMask = - com.google.firestore.v1beta1.DocumentMask.newBuilder(); + com.google.firestore.v1.DocumentMask toPb() { + com.google.firestore.v1.DocumentMask.Builder updateMask = + com.google.firestore.v1.DocumentMask.newBuilder(); for (FieldPath fieldPath : fieldPaths) { updateMask.addFieldPaths(fieldPath.getEncodedPath()); } diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldValue.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldValue.java index c7480ce653b4..395810a326fa 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldValue.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FieldValue.java @@ -17,8 +17,8 @@ package com.google.cloud.firestore; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.ArrayValue; -import com.google.firestore.v1beta1.DocumentTransform.FieldTransform; +import com.google.firestore.v1.ArrayValue; +import com.google.firestore.v1.DocumentTransform.FieldTransform; import java.util.Arrays; import java.util.List; import java.util.Objects; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java index fda247f81626..3a1c677aaccc 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java @@ -26,12 +26,12 @@ import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.Timestamp; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.BatchGetDocumentsResponse; -import com.google.firestore.v1beta1.DatabaseRootName; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.DatabaseRootName; import com.google.protobuf.ByteString; import io.grpc.Context; import io.grpc.Status; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java index 7bee4c05b871..d3815959fbe9 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreOptions.java @@ -24,9 +24,9 @@ import com.google.cloud.ServiceDefaults; import com.google.cloud.ServiceOptions; import com.google.cloud.TransportOptions; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; -import com.google.cloud.firestore.spi.v1beta1.GrpcFirestoreRpc; -import com.google.cloud.firestore.v1beta1.FirestoreSettings; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; +import com.google.cloud.firestore.spi.v1.GrpcFirestoreRpc; +import com.google.cloud.firestore.v1.FirestoreSettings; import com.google.cloud.grpc.GrpcTransportOptions; import com.google.common.collect.ImmutableSet; import java.io.IOException; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Order.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Order.java index b114d597e51e..46d1ffa7ce41 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Order.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Order.java @@ -16,8 +16,8 @@ package com.google.cloud.firestore; -import com.google.firestore.v1beta1.Value; -import com.google.firestore.v1beta1.Value.ValueTypeCase; +import com.google.firestore.v1.Value; +import com.google.firestore.v1.Value.ValueTypeCase; import com.google.protobuf.ByteString; import java.util.Comparator; import java.util.Iterator; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Precondition.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Precondition.java index e22900e9bf36..54b55b81884c 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Precondition.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Precondition.java @@ -66,9 +66,9 @@ boolean hasExists() { return exists != null; } - com.google.firestore.v1beta1.Precondition toPb() { - com.google.firestore.v1beta1.Precondition.Builder precondition = - com.google.firestore.v1beta1.Precondition.newBuilder(); + com.google.firestore.v1.Precondition toPb() { + com.google.firestore.v1.Precondition.Builder precondition = + com.google.firestore.v1.Precondition.newBuilder(); if (exists != null) { precondition.setExists(exists); diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java index 1f72da177ce4..739f57e14883 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java @@ -16,12 +16,12 @@ package com.google.cloud.firestore; -import static com.google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator.ARRAY_CONTAINS; -import static com.google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator.EQUAL; -import static com.google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator.GREATER_THAN; -import static com.google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator.GREATER_THAN_OR_EQUAL; -import static com.google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator.LESS_THAN; -import static com.google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator.LESS_THAN_OR_EQUAL; +import static com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.ARRAY_CONTAINS; +import static com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.EQUAL; +import static com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.GREATER_THAN; +import static com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.GREATER_THAN_OR_EQUAL; +import static com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.LESS_THAN; +import static com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.LESS_THAN_OR_EQUAL; import com.google.api.core.ApiFuture; import com.google.api.core.SettableApiFuture; @@ -29,16 +29,16 @@ import com.google.cloud.Timestamp; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; -import com.google.firestore.v1beta1.Cursor; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.RunQueryRequest; -import com.google.firestore.v1beta1.RunQueryResponse; -import com.google.firestore.v1beta1.StructuredQuery; -import com.google.firestore.v1beta1.StructuredQuery.CompositeFilter; -import com.google.firestore.v1beta1.StructuredQuery.FieldReference; -import com.google.firestore.v1beta1.StructuredQuery.Filter; -import com.google.firestore.v1beta1.StructuredQuery.Order; -import com.google.firestore.v1beta1.Value; +import com.google.firestore.v1.Cursor; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.StructuredQuery; +import com.google.firestore.v1.StructuredQuery.CompositeFilter; +import com.google.firestore.v1.StructuredQuery.FieldReference; +import com.google.firestore.v1.StructuredQuery.Filter; +import com.google.firestore.v1.StructuredQuery.Order; +import com.google.firestore.v1.Value; import com.google.protobuf.ByteString; import com.google.protobuf.Int32Value; import io.opencensus.trace.AttributeValue; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/QueryDocumentSnapshot.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/QueryDocumentSnapshot.java index 7a434f20c18f..899e5f160e77 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/QueryDocumentSnapshot.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/QueryDocumentSnapshot.java @@ -18,8 +18,8 @@ import com.google.cloud.Timestamp; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.Value; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.Value; import java.util.Map; import javax.annotation.Nonnull; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java index 6f6be76a9829..bc96e89bd722 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/ResourcePath.java @@ -18,7 +18,7 @@ import com.google.auto.value.AutoValue; import com.google.common.collect.ImmutableList; -import com.google.firestore.v1beta1.DatabaseRootName; +import com.google.firestore.v1.DatabaseRootName; import java.util.Arrays; import java.util.Comparator; import javax.annotation.Nonnull; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Transaction.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Transaction.java index 6954e83ecad1..5daf2ef89cc8 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Transaction.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Transaction.java @@ -20,9 +20,9 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.BeginTransactionRequest; -import com.google.firestore.v1beta1.BeginTransactionResponse; -import com.google.firestore.v1beta1.RollbackRequest; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.RollbackRequest; import com.google.protobuf.ByteString; import com.google.protobuf.Empty; import java.util.List; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UpdateBuilder.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UpdateBuilder.java index b5d0c0a7a6ce..3d7240211c50 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UpdateBuilder.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UpdateBuilder.java @@ -22,9 +22,9 @@ import com.google.cloud.firestore.UserDataConverter.EncodingOptions; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.CommitResponse; -import com.google.firestore.v1beta1.Write; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.Write; import com.google.protobuf.ByteString; import io.opencensus.trace.AttributeValue; import io.opencensus.trace.Tracing; @@ -48,7 +48,7 @@ public abstract class UpdateBuilder { private static class Mutation { Write.Builder document; Write.Builder transform; - com.google.firestore.v1beta1.Precondition precondition; + com.google.firestore.v1.Precondition precondition; } final FirestoreImpl firestore; @@ -625,7 +625,7 @@ ApiFuture> commit(@Nullable ByteString transactionId) { new ApiFunction>() { @Override public List apply(CommitResponse commitResponse) { - List writeResults = + List writeResults = commitResponse.getWriteResultsList(); List result = new ArrayList<>(); @@ -637,7 +637,7 @@ public List apply(CommitResponse commitResponse) { request.getWritesCount()); Iterator mutationIterator = mutations.iterator(); - Iterator responseIterator = + Iterator responseIterator = writeResults.iterator(); while (mutationIterator.hasNext()) { diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UserDataConverter.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UserDataConverter.java index bda5ad48f0f7..9bedd8b5d7ce 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UserDataConverter.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UserDataConverter.java @@ -18,9 +18,9 @@ import com.google.cloud.Timestamp; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.ArrayValue; -import com.google.firestore.v1beta1.MapValue; -import com.google.firestore.v1beta1.Value; +import com.google.firestore.v1.ArrayValue; +import com.google.firestore.v1.MapValue; +import com.google.firestore.v1.Value; import com.google.protobuf.NullValue; import java.util.Date; import java.util.List; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Watch.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Watch.java index cc7624bb25d9..6d937aa2306e 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Watch.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Watch.java @@ -26,12 +26,12 @@ import com.google.cloud.Timestamp; import com.google.cloud.firestore.DocumentChange.Type; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.ListenRequest; -import com.google.firestore.v1beta1.ListenResponse; -import com.google.firestore.v1beta1.Target; -import com.google.firestore.v1beta1.Target.QueryTarget; -import com.google.firestore.v1beta1.TargetChange; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.Target; +import com.google.firestore.v1.Target.QueryTarget; +import com.google.firestore.v1.TargetChange; import com.google.protobuf.ByteString; import io.grpc.Status; import io.grpc.Status.Code; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/WriteResult.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/WriteResult.java index 5e98804c8468..12106b835165 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/WriteResult.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/WriteResult.java @@ -40,8 +40,7 @@ public Timestamp getUpdateTime() { } static WriteResult fromProto( - com.google.firestore.v1beta1.WriteResult writeResult, - com.google.protobuf.Timestamp commitTime) { + com.google.firestore.v1.WriteResult writeResult, com.google.protobuf.Timestamp commitTime) { Timestamp timestamp = Timestamp.fromProto(writeResult.hasUpdateTime() ? writeResult.getUpdateTime() : commitTime); return new WriteResult(timestamp); diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1beta1/FirestoreRpc.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/FirestoreRpc.java similarity index 69% rename from google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1beta1/FirestoreRpc.java rename to google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/FirestoreRpc.java index 24ba05008fd7..2353e0138a26 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1beta1/FirestoreRpc.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/FirestoreRpc.java @@ -14,27 +14,27 @@ * limitations under the License. */ -package com.google.cloud.firestore.spi.v1beta1; +package com.google.cloud.firestore.spi.v1; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.ServiceRpc; -import com.google.cloud.firestore.v1beta1.FirestoreClient.ListCollectionIdsPagedResponse; -import com.google.cloud.firestore.v1beta1.FirestoreClient.ListDocumentsPagedResponse; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.BatchGetDocumentsResponse; -import com.google.firestore.v1beta1.BeginTransactionRequest; -import com.google.firestore.v1beta1.BeginTransactionResponse; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.CommitResponse; -import com.google.firestore.v1beta1.ListCollectionIdsRequest; -import com.google.firestore.v1beta1.ListDocumentsRequest; -import com.google.firestore.v1beta1.ListenRequest; -import com.google.firestore.v1beta1.ListenResponse; -import com.google.firestore.v1beta1.RollbackRequest; -import com.google.firestore.v1beta1.RunQueryRequest; -import com.google.firestore.v1beta1.RunQueryResponse; +import com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; +import com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; import com.google.protobuf.Empty; import java.util.concurrent.ScheduledExecutorService; diff --git a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1beta1/GrpcFirestoreRpc.java b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/GrpcFirestoreRpc.java similarity index 85% rename from google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1beta1/GrpcFirestoreRpc.java rename to google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/GrpcFirestoreRpc.java index f9103cb59fab..451eb6c8e593 100644 --- a/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1beta1/GrpcFirestoreRpc.java +++ b/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/GrpcFirestoreRpc.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.firestore.spi.v1beta1; +package com.google.cloud.firestore.spi.v1; import com.google.api.core.ApiFunction; import com.google.api.gax.core.BackgroundResource; @@ -33,28 +33,28 @@ import com.google.cloud.NoCredentials; import com.google.cloud.ServiceOptions; import com.google.cloud.firestore.FirestoreOptions; -import com.google.cloud.firestore.v1beta1.FirestoreClient.ListCollectionIdsPagedResponse; -import com.google.cloud.firestore.v1beta1.FirestoreClient.ListDocumentsPagedResponse; -import com.google.cloud.firestore.v1beta1.FirestoreSettings; -import com.google.cloud.firestore.v1beta1.stub.FirestoreStub; -import com.google.cloud.firestore.v1beta1.stub.FirestoreStubSettings; -import com.google.cloud.firestore.v1beta1.stub.GrpcFirestoreStub; +import com.google.cloud.firestore.v1.FirestoreClient.ListCollectionIdsPagedResponse; +import com.google.cloud.firestore.v1.FirestoreClient.ListDocumentsPagedResponse; +import com.google.cloud.firestore.v1.FirestoreSettings; +import com.google.cloud.firestore.v1.stub.FirestoreStub; +import com.google.cloud.firestore.v1.stub.FirestoreStubSettings; +import com.google.cloud.firestore.v1.stub.GrpcFirestoreStub; import com.google.cloud.grpc.GrpcTransportOptions; import com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.BatchGetDocumentsResponse; -import com.google.firestore.v1beta1.BeginTransactionRequest; -import com.google.firestore.v1beta1.BeginTransactionResponse; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.CommitResponse; -import com.google.firestore.v1beta1.DatabaseRootName; -import com.google.firestore.v1beta1.ListCollectionIdsRequest; -import com.google.firestore.v1beta1.ListDocumentsRequest; -import com.google.firestore.v1beta1.ListenRequest; -import com.google.firestore.v1beta1.ListenResponse; -import com.google.firestore.v1beta1.RollbackRequest; -import com.google.firestore.v1beta1.RunQueryRequest; -import com.google.firestore.v1beta1.RunQueryResponse; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.DatabaseRootName; +import com.google.firestore.v1.ListCollectionIdsRequest; +import com.google.firestore.v1.ListDocumentsRequest; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; import com.google.protobuf.Empty; import io.grpc.CallOptions; import io.grpc.ManagedChannel; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java index 47934c4d2890..f95882926b98 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/CollectionReferenceTest.java @@ -24,9 +24,9 @@ import com.google.api.core.ApiFuture; import com.google.api.gax.rpc.UnaryCallable; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.CommitResponse; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java index 64e97ac86cbd..cd85027b79b1 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/ConformanceTest.java @@ -47,16 +47,16 @@ import com.google.cloud.firestore.conformance.TestDefinition.UpdatePathsTest; import com.google.cloud.firestore.conformance.TestDefinition.UpdateTest; import com.google.cloud.firestore.conformance.TestDefinition.Where; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; import com.google.common.base.Preconditions; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.ListenRequest; -import com.google.firestore.v1beta1.ListenResponse; -import com.google.firestore.v1beta1.Precondition; -import com.google.firestore.v1beta1.RunQueryRequest; -import com.google.firestore.v1beta1.Value; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.Precondition; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.Value; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import com.google.protobuf.GeneratedMessageV3; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java index eb4a165b1732..a07dab86f326 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/DocumentReferenceTest.java @@ -65,13 +65,13 @@ import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.Timestamp; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; import com.google.common.collect.ImmutableList; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.BatchGetDocumentsResponse; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.CommitResponse; -import com.google.firestore.v1beta1.Value; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.Value; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; @@ -300,8 +300,8 @@ public void deleteDocument() throws Exception { List commitRequests = commitCapture.getAllValues(); assertCommitEquals(commit(delete()), commitRequests.get(0)); - com.google.firestore.v1beta1.Precondition.Builder precondition = - com.google.firestore.v1beta1.Precondition.newBuilder(); + com.google.firestore.v1.Precondition.Builder precondition = + com.google.firestore.v1.Precondition.newBuilder(); precondition.getUpdateTimeBuilder().setSeconds(479978400).setNanos(123000000); assertCommitEquals(commit(delete(precondition.build())), commitRequests.get(1)); } @@ -926,8 +926,8 @@ public void updateDocumentWithPreconditions() throws Exception { documentReference.update(SINGLE_FIELD_MAP, options).get(); documentReference.update(options, "foo", "bar").get(); - com.google.firestore.v1beta1.Precondition.Builder precondition = - com.google.firestore.v1beta1.Precondition.newBuilder(); + com.google.firestore.v1.Precondition.Builder precondition = + com.google.firestore.v1.Precondition.newBuilder(); precondition.getUpdateTimeBuilder().setSeconds(479978400).setNanos(123000000); CommitRequest expectedCommit = diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java index 2051b7b05939..42e4cd5e0407 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/FirestoreTest.java @@ -25,9 +25,9 @@ import com.google.api.gax.rpc.ApiStreamObserver; import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.ListCollectionIdsRequest; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.ListCollectionIdsRequest; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java index fe740c7cc476..718064bc5feb 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/LocalFirestoreHelper.java @@ -24,30 +24,30 @@ import com.google.cloud.Timestamp; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; -import com.google.firestore.v1beta1.ArrayValue; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.BatchGetDocumentsResponse; -import com.google.firestore.v1beta1.BeginTransactionRequest; -import com.google.firestore.v1beta1.BeginTransactionResponse; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.CommitResponse; -import com.google.firestore.v1beta1.Cursor; -import com.google.firestore.v1beta1.DatabaseRootName; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.DocumentMask; -import com.google.firestore.v1beta1.DocumentTransform; -import com.google.firestore.v1beta1.DocumentTransform.FieldTransform; -import com.google.firestore.v1beta1.MapValue; -import com.google.firestore.v1beta1.Precondition; -import com.google.firestore.v1beta1.RollbackRequest; -import com.google.firestore.v1beta1.RunQueryRequest; -import com.google.firestore.v1beta1.RunQueryResponse; -import com.google.firestore.v1beta1.StructuredQuery; -import com.google.firestore.v1beta1.StructuredQuery.CompositeFilter; -import com.google.firestore.v1beta1.StructuredQuery.FieldFilter; -import com.google.firestore.v1beta1.StructuredQuery.UnaryFilter; -import com.google.firestore.v1beta1.Value; -import com.google.firestore.v1beta1.Write; +import com.google.firestore.v1.ArrayValue; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.BatchGetDocumentsResponse; +import com.google.firestore.v1.BeginTransactionRequest; +import com.google.firestore.v1.BeginTransactionResponse; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.Cursor; +import com.google.firestore.v1.DatabaseRootName; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.DocumentMask; +import com.google.firestore.v1.DocumentTransform; +import com.google.firestore.v1.DocumentTransform.FieldTransform; +import com.google.firestore.v1.MapValue; +import com.google.firestore.v1.Precondition; +import com.google.firestore.v1.RollbackRequest; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.RunQueryResponse; +import com.google.firestore.v1.StructuredQuery; +import com.google.firestore.v1.StructuredQuery.CompositeFilter; +import com.google.firestore.v1.StructuredQuery.FieldFilter; +import com.google.firestore.v1.StructuredQuery.UnaryFilter; +import com.google.firestore.v1.Value; +import com.google.firestore.v1.Write; import com.google.protobuf.ByteString; import com.google.protobuf.Empty; import com.google.protobuf.NullValue; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/OrderTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/OrderTest.java index 716741cf80a9..7a43f331a48c 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/OrderTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/OrderTest.java @@ -18,9 +18,9 @@ import static org.junit.Assert.assertEquals; -import com.google.firestore.v1beta1.ArrayValue; -import com.google.firestore.v1beta1.MapValue; -import com.google.firestore.v1beta1.Value; +import com.google.firestore.v1.ArrayValue; +import com.google.firestore.v1.MapValue; +import com.google.firestore.v1.Value; import com.google.protobuf.ByteString; import com.google.protobuf.NullValue; import com.google.protobuf.Timestamp; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java index 564c1b335de3..770864f6ee31 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/QueryTest.java @@ -36,12 +36,12 @@ import com.google.api.gax.rpc.ApiStreamObserver; import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.cloud.Timestamp; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; -import com.google.firestore.v1beta1.RunQueryRequest; -import com.google.firestore.v1beta1.StructuredQuery; -import com.google.firestore.v1beta1.StructuredQuery.Direction; -import com.google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator; -import com.google.firestore.v1beta1.Value; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; +import com.google.firestore.v1.RunQueryRequest; +import com.google.firestore.v1.StructuredQuery; +import com.google.firestore.v1.StructuredQuery.Direction; +import com.google.firestore.v1.StructuredQuery.FieldFilter.Operator; +import com.google.firestore.v1.Value; import java.util.Arrays; import java.util.Iterator; import java.util.concurrent.Semaphore; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java index 528309195c9d..0a227af0bbbf 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/TransactionTest.java @@ -45,10 +45,10 @@ import com.google.api.gax.rpc.ServerStreamingCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.Timestamp; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; -import com.google.firestore.v1beta1.BatchGetDocumentsRequest; -import com.google.firestore.v1beta1.DocumentMask; -import com.google.firestore.v1beta1.Write; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; +import com.google.firestore.v1.BatchGetDocumentsRequest; +import com.google.firestore.v1.DocumentMask; +import com.google.firestore.v1.Write; import com.google.protobuf.ByteString; import com.google.protobuf.Message; import java.util.ArrayList; @@ -593,8 +593,8 @@ public String updateCallback(Transaction transaction) { List writes = new ArrayList<>(); writes.add(delete()); - com.google.firestore.v1beta1.Precondition.Builder precondition = - com.google.firestore.v1beta1.Precondition.newBuilder(); + com.google.firestore.v1.Precondition.Builder precondition = + com.google.firestore.v1.Precondition.newBuilder(); precondition.getUpdateTimeBuilder().setSeconds(1).setNanos(2); writes.add(delete(precondition.build())); diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java index 7d450e397f7c..2b71c28b05d4 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WatchTest.java @@ -36,17 +36,17 @@ import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.cloud.firestore.Query.Direction; import com.google.cloud.firestore.WatchTest.SnapshotDocument.ChangeType; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; -import com.google.firestore.v1beta1.Document; -import com.google.firestore.v1beta1.DocumentChange; -import com.google.firestore.v1beta1.DocumentDelete; -import com.google.firestore.v1beta1.DocumentRemove; -import com.google.firestore.v1beta1.ExistenceFilter; -import com.google.firestore.v1beta1.ListenRequest; -import com.google.firestore.v1beta1.ListenResponse; -import com.google.firestore.v1beta1.TargetChange; -import com.google.firestore.v1beta1.TargetChange.TargetChangeType; -import com.google.firestore.v1beta1.Value; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; +import com.google.firestore.v1.Document; +import com.google.firestore.v1.DocumentChange; +import com.google.firestore.v1.DocumentDelete; +import com.google.firestore.v1.DocumentRemove; +import com.google.firestore.v1.ExistenceFilter; +import com.google.firestore.v1.ListenRequest; +import com.google.firestore.v1.ListenResponse; +import com.google.firestore.v1.TargetChange; +import com.google.firestore.v1.TargetChange.TargetChangeType; +import com.google.firestore.v1.Value; import com.google.protobuf.ByteString; import com.google.protobuf.Timestamp; import com.google.rpc.Status; diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java index f29d87ca0948..7ac71a5cf137 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/WriteBatchTest.java @@ -28,10 +28,10 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.Timestamp; -import com.google.cloud.firestore.spi.v1beta1.FirestoreRpc; -import com.google.firestore.v1beta1.CommitRequest; -import com.google.firestore.v1beta1.CommitResponse; -import com.google.firestore.v1beta1.Write; +import com.google.cloud.firestore.spi.v1.FirestoreRpc; +import com.google.firestore.v1.CommitRequest; +import com.google.firestore.v1.CommitResponse; +import com.google.firestore.v1.Write; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; @@ -73,14 +73,14 @@ public void updateDocument() throws Exception { .sendRequest( commitCapture.capture(), Matchers.>any()); - List preconditions = + List preconditions = Arrays.asList( - com.google.firestore.v1beta1.Precondition.newBuilder().setExists(true).build(), - com.google.firestore.v1beta1.Precondition.newBuilder().setExists(true).build(), - com.google.firestore.v1beta1.Precondition.newBuilder() + com.google.firestore.v1.Precondition.newBuilder().setExists(true).build(), + com.google.firestore.v1.Precondition.newBuilder().setExists(true).build(), + com.google.firestore.v1.Precondition.newBuilder() .setUpdateTime(com.google.protobuf.Timestamp.getDefaultInstance()) .build(), - com.google.firestore.v1beta1.Precondition.newBuilder() + com.google.firestore.v1.Precondition.newBuilder() .setUpdateTime(com.google.protobuf.Timestamp.getDefaultInstance()) .build()); @@ -183,8 +183,8 @@ public void deleteDocument() throws Exception { writes.add(delete()); batch.delete(documentReference, Precondition.updatedAt(Timestamp.ofTimeSecondsAndNanos(1, 2))); - com.google.firestore.v1beta1.Precondition.Builder precondition = - com.google.firestore.v1beta1.Precondition.newBuilder(); + com.google.firestore.v1.Precondition.Builder precondition = + com.google.firestore.v1.Precondition.newBuilder(); precondition.getUpdateTimeBuilder().setSeconds(1).setNanos(2); writes.add(delete(precondition.build())); diff --git a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java index df955154c6d8..51a3af426e4b 100644 --- a/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java +++ b/google-cloud-clients/google-cloud-firestore/src/test/java/com/google/cloud/firestore/conformance/TestDefinition.java @@ -3271,7 +3271,7 @@ public interface GetTestOrBuilder * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ boolean hasRequest(); /** @@ -3281,9 +3281,9 @@ public interface GetTestOrBuilder * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - com.google.firestore.v1beta1.GetDocumentRequest getRequest(); + com.google.firestore.v1.GetDocumentRequest getRequest(); /** * * @@ -3291,9 +3291,9 @@ public interface GetTestOrBuilder * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - com.google.firestore.v1beta1.GetDocumentRequestOrBuilder getRequestOrBuilder(); + com.google.firestore.v1.GetDocumentRequestOrBuilder getRequestOrBuilder(); } /** * @@ -3358,14 +3358,13 @@ private GetTest( } case 18: { - com.google.firestore.v1beta1.GetDocumentRequest.Builder subBuilder = null; + com.google.firestore.v1.GetDocumentRequest.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage( - com.google.firestore.v1beta1.GetDocumentRequest.parser(), - extensionRegistry); + com.google.firestore.v1.GetDocumentRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); @@ -3443,7 +3442,7 @@ public com.google.protobuf.ByteString getDocRefPathBytes() { } public static final int REQUEST_FIELD_NUMBER = 2; - private com.google.firestore.v1beta1.GetDocumentRequest request_; + private com.google.firestore.v1.GetDocumentRequest request_; /** * * @@ -3451,7 +3450,7 @@ public com.google.protobuf.ByteString getDocRefPathBytes() { * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ public boolean hasRequest() { return request_ != null; @@ -3463,11 +3462,11 @@ public boolean hasRequest() { * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - public com.google.firestore.v1beta1.GetDocumentRequest getRequest() { + public com.google.firestore.v1.GetDocumentRequest getRequest() { return request_ == null - ? com.google.firestore.v1beta1.GetDocumentRequest.getDefaultInstance() + ? com.google.firestore.v1.GetDocumentRequest.getDefaultInstance() : request_; } /** @@ -3477,9 +3476,9 @@ public com.google.firestore.v1beta1.GetDocumentRequest getRequest() { * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - public com.google.firestore.v1beta1.GetDocumentRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.GetDocumentRequestOrBuilder getRequestOrBuilder() { return getRequest(); } @@ -3913,11 +3912,11 @@ public Builder setDocRefPathBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.GetDocumentRequest request_ = null; + private com.google.firestore.v1.GetDocumentRequest request_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.GetDocumentRequest, - com.google.firestore.v1beta1.GetDocumentRequest.Builder, - com.google.firestore.v1beta1.GetDocumentRequestOrBuilder> + com.google.firestore.v1.GetDocumentRequest, + com.google.firestore.v1.GetDocumentRequest.Builder, + com.google.firestore.v1.GetDocumentRequestOrBuilder> requestBuilder_; /** * @@ -3926,7 +3925,7 @@ public Builder setDocRefPathBytes(com.google.protobuf.ByteString value) { * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; @@ -3938,12 +3937,12 @@ public boolean hasRequest() { * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - public com.google.firestore.v1beta1.GetDocumentRequest getRequest() { + public com.google.firestore.v1.GetDocumentRequest getRequest() { if (requestBuilder_ == null) { return request_ == null - ? com.google.firestore.v1beta1.GetDocumentRequest.getDefaultInstance() + ? com.google.firestore.v1.GetDocumentRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); @@ -3956,9 +3955,9 @@ public com.google.firestore.v1beta1.GetDocumentRequest getRequest() { * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - public Builder setRequest(com.google.firestore.v1beta1.GetDocumentRequest value) { + public Builder setRequest(com.google.firestore.v1.GetDocumentRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3978,10 +3977,10 @@ public Builder setRequest(com.google.firestore.v1beta1.GetDocumentRequest value) * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ public Builder setRequest( - com.google.firestore.v1beta1.GetDocumentRequest.Builder builderForValue) { + com.google.firestore.v1.GetDocumentRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); @@ -3998,13 +3997,13 @@ public Builder setRequest( * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - public Builder mergeRequest(com.google.firestore.v1beta1.GetDocumentRequest value) { + public Builder mergeRequest(com.google.firestore.v1.GetDocumentRequest value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = - com.google.firestore.v1beta1.GetDocumentRequest.newBuilder(request_) + com.google.firestore.v1.GetDocumentRequest.newBuilder(request_) .mergeFrom(value) .buildPartial(); } else { @@ -4024,7 +4023,7 @@ public Builder mergeRequest(com.google.firestore.v1beta1.GetDocumentRequest valu * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ public Builder clearRequest() { if (requestBuilder_ == null) { @@ -4044,9 +4043,9 @@ public Builder clearRequest() { * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - public com.google.firestore.v1beta1.GetDocumentRequest.Builder getRequestBuilder() { + public com.google.firestore.v1.GetDocumentRequest.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); @@ -4058,14 +4057,14 @@ public com.google.firestore.v1beta1.GetDocumentRequest.Builder getRequestBuilder * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ - public com.google.firestore.v1beta1.GetDocumentRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.GetDocumentRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null - ? com.google.firestore.v1beta1.GetDocumentRequest.getDefaultInstance() + ? com.google.firestore.v1.GetDocumentRequest.getDefaultInstance() : request_; } } @@ -4076,19 +4075,19 @@ public com.google.firestore.v1beta1.GetDocumentRequestOrBuilder getRequestOrBuil * The request that the call should send to the Firestore service. * * - * .google.firestore.v1beta1.GetDocumentRequest request = 2; + * .google.firestore.v1.GetDocumentRequest request = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.GetDocumentRequest, - com.google.firestore.v1beta1.GetDocumentRequest.Builder, - com.google.firestore.v1beta1.GetDocumentRequestOrBuilder> + com.google.firestore.v1.GetDocumentRequest, + com.google.firestore.v1.GetDocumentRequest.Builder, + com.google.firestore.v1.GetDocumentRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.GetDocumentRequest, - com.google.firestore.v1beta1.GetDocumentRequest.Builder, - com.google.firestore.v1beta1.GetDocumentRequestOrBuilder>( + com.google.firestore.v1.GetDocumentRequest, + com.google.firestore.v1.GetDocumentRequest.Builder, + com.google.firestore.v1.GetDocumentRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } @@ -4204,7 +4203,7 @@ public interface CreateTestOrBuilder * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ boolean hasRequest(); /** @@ -4214,9 +4213,9 @@ public interface CreateTestOrBuilder * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - com.google.firestore.v1beta1.CommitRequest getRequest(); + com.google.firestore.v1.CommitRequest getRequest(); /** * * @@ -4224,9 +4223,9 @@ public interface CreateTestOrBuilder * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder(); + com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder(); /** * @@ -4312,13 +4311,13 @@ private CreateTest( } case 26: { - com.google.firestore.v1beta1.CommitRequest.Builder subBuilder = null; + com.google.firestore.v1.CommitRequest.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage( - com.google.firestore.v1beta1.CommitRequest.parser(), extensionRegistry); + com.google.firestore.v1.CommitRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); @@ -4448,7 +4447,7 @@ public com.google.protobuf.ByteString getJsonDataBytes() { } public static final int REQUEST_FIELD_NUMBER = 3; - private com.google.firestore.v1beta1.CommitRequest request_; + private com.google.firestore.v1.CommitRequest request_; /** * * @@ -4456,7 +4455,7 @@ public com.google.protobuf.ByteString getJsonDataBytes() { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ public boolean hasRequest() { return request_ != null; @@ -4468,11 +4467,11 @@ public boolean hasRequest() { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } /** @@ -4482,9 +4481,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { return getRequest(); } @@ -5073,11 +5072,11 @@ public Builder setJsonDataBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.CommitRequest request_ = null; + private com.google.firestore.v1.CommitRequest request_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> requestBuilder_; /** * @@ -5086,7 +5085,7 @@ public Builder setJsonDataBytes(com.google.protobuf.ByteString value) { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; @@ -5098,12 +5097,12 @@ public boolean hasRequest() { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { if (requestBuilder_ == null) { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); @@ -5116,9 +5115,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder setRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5138,10 +5137,9 @@ public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public Builder setRequest( - com.google.firestore.v1beta1.CommitRequest.Builder builderForValue) { + public Builder setRequest(com.google.firestore.v1.CommitRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); @@ -5158,13 +5156,13 @@ public Builder setRequest( * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder mergeRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = - com.google.firestore.v1beta1.CommitRequest.newBuilder(request_) + com.google.firestore.v1.CommitRequest.newBuilder(request_) .mergeFrom(value) .buildPartial(); } else { @@ -5184,7 +5182,7 @@ public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ public Builder clearRequest() { if (requestBuilder_ == null) { @@ -5204,9 +5202,9 @@ public Builder clearRequest() { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { + public com.google.firestore.v1.CommitRequest.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); @@ -5218,14 +5216,14 @@ public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } } @@ -5236,19 +5234,19 @@ public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() * The request that the call should generate. * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder>( + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } @@ -5438,7 +5436,7 @@ public interface SetTestOrBuilder * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ boolean hasRequest(); /** @@ -5448,9 +5446,9 @@ public interface SetTestOrBuilder * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - com.google.firestore.v1beta1.CommitRequest getRequest(); + com.google.firestore.v1.CommitRequest getRequest(); /** * * @@ -5458,9 +5456,9 @@ public interface SetTestOrBuilder * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder(); + com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder(); /** * @@ -5563,13 +5561,13 @@ private SetTest( } case 34: { - com.google.firestore.v1beta1.CommitRequest.Builder subBuilder = null; + com.google.firestore.v1.CommitRequest.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage( - com.google.firestore.v1beta1.CommitRequest.parser(), extensionRegistry); + com.google.firestore.v1.CommitRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); @@ -5737,7 +5735,7 @@ public com.google.protobuf.ByteString getJsonDataBytes() { } public static final int REQUEST_FIELD_NUMBER = 4; - private com.google.firestore.v1beta1.CommitRequest request_; + private com.google.firestore.v1.CommitRequest request_; /** * * @@ -5745,7 +5743,7 @@ public com.google.protobuf.ByteString getJsonDataBytes() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ public boolean hasRequest() { return request_ != null; @@ -5757,11 +5755,11 @@ public boolean hasRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } /** @@ -5771,9 +5769,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { return getRequest(); } @@ -6561,11 +6559,11 @@ public Builder setJsonDataBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.CommitRequest request_ = null; + private com.google.firestore.v1.CommitRequest request_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> requestBuilder_; /** * @@ -6574,7 +6572,7 @@ public Builder setJsonDataBytes(com.google.protobuf.ByteString value) { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; @@ -6586,12 +6584,12 @@ public boolean hasRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { if (requestBuilder_ == null) { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); @@ -6604,9 +6602,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder setRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6626,10 +6624,9 @@ public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public Builder setRequest( - com.google.firestore.v1beta1.CommitRequest.Builder builderForValue) { + public Builder setRequest(com.google.firestore.v1.CommitRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); @@ -6646,13 +6643,13 @@ public Builder setRequest( * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder mergeRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = - com.google.firestore.v1beta1.CommitRequest.newBuilder(request_) + com.google.firestore.v1.CommitRequest.newBuilder(request_) .mergeFrom(value) .buildPartial(); } else { @@ -6672,7 +6669,7 @@ public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ public Builder clearRequest() { if (requestBuilder_ == null) { @@ -6692,9 +6689,9 @@ public Builder clearRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { + public com.google.firestore.v1.CommitRequest.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); @@ -6706,14 +6703,14 @@ public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } } @@ -6724,19 +6721,19 @@ public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder>( + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } @@ -6871,7 +6868,7 @@ public interface UpdateTestOrBuilder * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ boolean hasPrecondition(); /** @@ -6881,9 +6878,9 @@ public interface UpdateTestOrBuilder * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - com.google.firestore.v1beta1.Precondition getPrecondition(); + com.google.firestore.v1.Precondition getPrecondition(); /** * * @@ -6891,9 +6888,9 @@ public interface UpdateTestOrBuilder * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder(); + com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder(); /** * @@ -6923,7 +6920,7 @@ public interface UpdateTestOrBuilder * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ boolean hasRequest(); /** @@ -6933,9 +6930,9 @@ public interface UpdateTestOrBuilder * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - com.google.firestore.v1beta1.CommitRequest getRequest(); + com.google.firestore.v1.CommitRequest getRequest(); /** * * @@ -6943,9 +6940,9 @@ public interface UpdateTestOrBuilder * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder(); + com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder(); /** * @@ -7024,13 +7021,13 @@ private UpdateTest( } case 18: { - com.google.firestore.v1beta1.Precondition.Builder subBuilder = null; + com.google.firestore.v1.Precondition.Builder subBuilder = null; if (precondition_ != null) { subBuilder = precondition_.toBuilder(); } precondition_ = input.readMessage( - com.google.firestore.v1beta1.Precondition.parser(), extensionRegistry); + com.google.firestore.v1.Precondition.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(precondition_); precondition_ = subBuilder.buildPartial(); @@ -7047,13 +7044,13 @@ private UpdateTest( } case 34: { - com.google.firestore.v1beta1.CommitRequest.Builder subBuilder = null; + com.google.firestore.v1.CommitRequest.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage( - com.google.firestore.v1beta1.CommitRequest.parser(), extensionRegistry); + com.google.firestore.v1.CommitRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); @@ -7136,7 +7133,7 @@ public com.google.protobuf.ByteString getDocRefPathBytes() { } public static final int PRECONDITION_FIELD_NUMBER = 2; - private com.google.firestore.v1beta1.Precondition precondition_; + private com.google.firestore.v1.Precondition precondition_; /** * * @@ -7144,7 +7141,7 @@ public com.google.protobuf.ByteString getDocRefPathBytes() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ public boolean hasPrecondition() { return precondition_ != null; @@ -7156,11 +7153,11 @@ public boolean hasPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition getPrecondition() { + public com.google.firestore.v1.Precondition getPrecondition() { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } /** @@ -7170,9 +7167,9 @@ public com.google.firestore.v1beta1.Precondition getPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder() { + public com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder() { return getPrecondition(); } @@ -7220,7 +7217,7 @@ public com.google.protobuf.ByteString getJsonDataBytes() { } public static final int REQUEST_FIELD_NUMBER = 4; - private com.google.firestore.v1beta1.CommitRequest request_; + private com.google.firestore.v1.CommitRequest request_; /** * * @@ -7228,7 +7225,7 @@ public com.google.protobuf.ByteString getJsonDataBytes() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ public boolean hasRequest() { return request_ != null; @@ -7240,11 +7237,11 @@ public boolean hasRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } /** @@ -7254,9 +7251,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { return getRequest(); } @@ -7769,11 +7766,11 @@ public Builder setDocRefPathBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.Precondition precondition_ = null; + private com.google.firestore.v1.Precondition precondition_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder> + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> preconditionBuilder_; /** * @@ -7782,7 +7779,7 @@ public Builder setDocRefPathBytes(com.google.protobuf.ByteString value) { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ public boolean hasPrecondition() { return preconditionBuilder_ != null || precondition_ != null; @@ -7794,12 +7791,12 @@ public boolean hasPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition getPrecondition() { + public com.google.firestore.v1.Precondition getPrecondition() { if (preconditionBuilder_ == null) { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } else { return preconditionBuilder_.getMessage(); @@ -7812,9 +7809,9 @@ public com.google.firestore.v1beta1.Precondition getPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public Builder setPrecondition(com.google.firestore.v1beta1.Precondition value) { + public Builder setPrecondition(com.google.firestore.v1.Precondition value) { if (preconditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7834,10 +7831,9 @@ public Builder setPrecondition(com.google.firestore.v1beta1.Precondition value) * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public Builder setPrecondition( - com.google.firestore.v1beta1.Precondition.Builder builderForValue) { + public Builder setPrecondition(com.google.firestore.v1.Precondition.Builder builderForValue) { if (preconditionBuilder_ == null) { precondition_ = builderForValue.build(); onChanged(); @@ -7854,13 +7850,13 @@ public Builder setPrecondition( * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public Builder mergePrecondition(com.google.firestore.v1beta1.Precondition value) { + public Builder mergePrecondition(com.google.firestore.v1.Precondition value) { if (preconditionBuilder_ == null) { if (precondition_ != null) { precondition_ = - com.google.firestore.v1beta1.Precondition.newBuilder(precondition_) + com.google.firestore.v1.Precondition.newBuilder(precondition_) .mergeFrom(value) .buildPartial(); } else { @@ -7880,7 +7876,7 @@ public Builder mergePrecondition(com.google.firestore.v1beta1.Precondition value * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ public Builder clearPrecondition() { if (preconditionBuilder_ == null) { @@ -7900,9 +7896,9 @@ public Builder clearPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition.Builder getPreconditionBuilder() { + public com.google.firestore.v1.Precondition.Builder getPreconditionBuilder() { onChanged(); return getPreconditionFieldBuilder().getBuilder(); @@ -7914,14 +7910,14 @@ public com.google.firestore.v1beta1.Precondition.Builder getPreconditionBuilder( * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder() { + public com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder() { if (preconditionBuilder_ != null) { return preconditionBuilder_.getMessageOrBuilder(); } else { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } } @@ -7932,19 +7928,19 @@ public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuild * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder> + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> getPreconditionFieldBuilder() { if (preconditionBuilder_ == null) { preconditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder>( + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder>( getPrecondition(), getParentForChildren(), isClean()); precondition_ = null; } @@ -8045,11 +8041,11 @@ public Builder setJsonDataBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.CommitRequest request_ = null; + private com.google.firestore.v1.CommitRequest request_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> requestBuilder_; /** * @@ -8058,7 +8054,7 @@ public Builder setJsonDataBytes(com.google.protobuf.ByteString value) { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; @@ -8070,12 +8066,12 @@ public boolean hasRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { if (requestBuilder_ == null) { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); @@ -8088,9 +8084,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder setRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8110,10 +8106,9 @@ public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public Builder setRequest( - com.google.firestore.v1beta1.CommitRequest.Builder builderForValue) { + public Builder setRequest(com.google.firestore.v1.CommitRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); @@ -8130,13 +8125,13 @@ public Builder setRequest( * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder mergeRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = - com.google.firestore.v1beta1.CommitRequest.newBuilder(request_) + com.google.firestore.v1.CommitRequest.newBuilder(request_) .mergeFrom(value) .buildPartial(); } else { @@ -8156,7 +8151,7 @@ public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ public Builder clearRequest() { if (requestBuilder_ == null) { @@ -8176,9 +8171,9 @@ public Builder clearRequest() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { + public com.google.firestore.v1.CommitRequest.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); @@ -8190,14 +8185,14 @@ public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } } @@ -8208,19 +8203,19 @@ public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() * expected request * * - * .google.firestore.v1beta1.CommitRequest request = 4; + * .google.firestore.v1.CommitRequest request = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder>( + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } @@ -8355,7 +8350,7 @@ public interface UpdatePathsTestOrBuilder * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ boolean hasPrecondition(); /** @@ -8365,9 +8360,9 @@ public interface UpdatePathsTestOrBuilder * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - com.google.firestore.v1beta1.Precondition getPrecondition(); + com.google.firestore.v1.Precondition getPrecondition(); /** * * @@ -8375,9 +8370,9 @@ public interface UpdatePathsTestOrBuilder * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder(); + com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder(); /** * @@ -8482,7 +8477,7 @@ com.google.cloud.firestore.conformance.TestDefinition.FieldPathOrBuilder getFiel * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ boolean hasRequest(); /** @@ -8492,9 +8487,9 @@ com.google.cloud.firestore.conformance.TestDefinition.FieldPathOrBuilder getFiel * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - com.google.firestore.v1beta1.CommitRequest getRequest(); + com.google.firestore.v1.CommitRequest getRequest(); /** * * @@ -8502,9 +8497,9 @@ com.google.cloud.firestore.conformance.TestDefinition.FieldPathOrBuilder getFiel * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder(); + com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder(); /** * @@ -8584,13 +8579,13 @@ private UpdatePathsTest( } case 18: { - com.google.firestore.v1beta1.Precondition.Builder subBuilder = null; + com.google.firestore.v1.Precondition.Builder subBuilder = null; if (precondition_ != null) { subBuilder = precondition_.toBuilder(); } precondition_ = input.readMessage( - com.google.firestore.v1beta1.Precondition.parser(), extensionRegistry); + com.google.firestore.v1.Precondition.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(precondition_); precondition_ = subBuilder.buildPartial(); @@ -8624,13 +8619,13 @@ private UpdatePathsTest( } case 42: { - com.google.firestore.v1beta1.CommitRequest.Builder subBuilder = null; + com.google.firestore.v1.CommitRequest.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage( - com.google.firestore.v1beta1.CommitRequest.parser(), extensionRegistry); + com.google.firestore.v1.CommitRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); @@ -8720,7 +8715,7 @@ public com.google.protobuf.ByteString getDocRefPathBytes() { } public static final int PRECONDITION_FIELD_NUMBER = 2; - private com.google.firestore.v1beta1.Precondition precondition_; + private com.google.firestore.v1.Precondition precondition_; /** * * @@ -8728,7 +8723,7 @@ public com.google.protobuf.ByteString getDocRefPathBytes() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ public boolean hasPrecondition() { return precondition_ != null; @@ -8740,11 +8735,11 @@ public boolean hasPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition getPrecondition() { + public com.google.firestore.v1.Precondition getPrecondition() { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } /** @@ -8754,9 +8749,9 @@ public com.google.firestore.v1beta1.Precondition getPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder() { + public com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder() { return getPrecondition(); } @@ -8881,7 +8876,7 @@ public com.google.protobuf.ByteString getJsonValuesBytes(int index) { } public static final int REQUEST_FIELD_NUMBER = 5; - private com.google.firestore.v1beta1.CommitRequest request_; + private com.google.firestore.v1.CommitRequest request_; /** * * @@ -8889,7 +8884,7 @@ public com.google.protobuf.ByteString getJsonValuesBytes(int index) { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ public boolean hasRequest() { return request_ != null; @@ -8901,11 +8896,11 @@ public boolean hasRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } /** @@ -8915,9 +8910,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { return getRequest(); } @@ -9510,11 +9505,11 @@ public Builder setDocRefPathBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.Precondition precondition_ = null; + private com.google.firestore.v1.Precondition precondition_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder> + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> preconditionBuilder_; /** * @@ -9523,7 +9518,7 @@ public Builder setDocRefPathBytes(com.google.protobuf.ByteString value) { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ public boolean hasPrecondition() { return preconditionBuilder_ != null || precondition_ != null; @@ -9535,12 +9530,12 @@ public boolean hasPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition getPrecondition() { + public com.google.firestore.v1.Precondition getPrecondition() { if (preconditionBuilder_ == null) { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } else { return preconditionBuilder_.getMessage(); @@ -9553,9 +9548,9 @@ public com.google.firestore.v1beta1.Precondition getPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public Builder setPrecondition(com.google.firestore.v1beta1.Precondition value) { + public Builder setPrecondition(com.google.firestore.v1.Precondition value) { if (preconditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9575,10 +9570,9 @@ public Builder setPrecondition(com.google.firestore.v1beta1.Precondition value) * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public Builder setPrecondition( - com.google.firestore.v1beta1.Precondition.Builder builderForValue) { + public Builder setPrecondition(com.google.firestore.v1.Precondition.Builder builderForValue) { if (preconditionBuilder_ == null) { precondition_ = builderForValue.build(); onChanged(); @@ -9595,13 +9589,13 @@ public Builder setPrecondition( * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public Builder mergePrecondition(com.google.firestore.v1beta1.Precondition value) { + public Builder mergePrecondition(com.google.firestore.v1.Precondition value) { if (preconditionBuilder_ == null) { if (precondition_ != null) { precondition_ = - com.google.firestore.v1beta1.Precondition.newBuilder(precondition_) + com.google.firestore.v1.Precondition.newBuilder(precondition_) .mergeFrom(value) .buildPartial(); } else { @@ -9621,7 +9615,7 @@ public Builder mergePrecondition(com.google.firestore.v1beta1.Precondition value * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ public Builder clearPrecondition() { if (preconditionBuilder_ == null) { @@ -9641,9 +9635,9 @@ public Builder clearPrecondition() { * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition.Builder getPreconditionBuilder() { + public com.google.firestore.v1.Precondition.Builder getPreconditionBuilder() { onChanged(); return getPreconditionFieldBuilder().getBuilder(); @@ -9655,14 +9649,14 @@ public com.google.firestore.v1beta1.Precondition.Builder getPreconditionBuilder( * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder() { + public com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder() { if (preconditionBuilder_ != null) { return preconditionBuilder_.getMessageOrBuilder(); } else { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } } @@ -9673,19 +9667,19 @@ public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuild * precondition in call, if any * * - * .google.firestore.v1beta1.Precondition precondition = 2; + * .google.firestore.v1.Precondition precondition = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder> + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> getPreconditionFieldBuilder() { if (preconditionBuilder_ == null) { preconditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder>( + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder>( getPrecondition(), getParentForChildren(), isClean()); precondition_ = null; } @@ -10209,11 +10203,11 @@ public Builder addJsonValuesBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.CommitRequest request_ = null; + private com.google.firestore.v1.CommitRequest request_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> requestBuilder_; /** * @@ -10222,7 +10216,7 @@ public Builder addJsonValuesBytes(com.google.protobuf.ByteString value) { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; @@ -10234,12 +10228,12 @@ public boolean hasRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { if (requestBuilder_ == null) { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); @@ -10252,9 +10246,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder setRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10274,10 +10268,9 @@ public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public Builder setRequest( - com.google.firestore.v1beta1.CommitRequest.Builder builderForValue) { + public Builder setRequest(com.google.firestore.v1.CommitRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); @@ -10294,13 +10287,13 @@ public Builder setRequest( * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder mergeRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = - com.google.firestore.v1beta1.CommitRequest.newBuilder(request_) + com.google.firestore.v1.CommitRequest.newBuilder(request_) .mergeFrom(value) .buildPartial(); } else { @@ -10320,7 +10313,7 @@ public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ public Builder clearRequest() { if (requestBuilder_ == null) { @@ -10340,9 +10333,9 @@ public Builder clearRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { + public com.google.firestore.v1.CommitRequest.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); @@ -10354,14 +10347,14 @@ public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } } @@ -10372,19 +10365,19 @@ public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 5; + * .google.firestore.v1.CommitRequest request = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder>( + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } @@ -10513,12 +10506,12 @@ public interface DeleteTestOrBuilder */ com.google.protobuf.ByteString getDocRefPathBytes(); - /** .google.firestore.v1beta1.Precondition precondition = 2; */ + /** .google.firestore.v1.Precondition precondition = 2; */ boolean hasPrecondition(); - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - com.google.firestore.v1beta1.Precondition getPrecondition(); - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder(); + /** .google.firestore.v1.Precondition precondition = 2; */ + com.google.firestore.v1.Precondition getPrecondition(); + /** .google.firestore.v1.Precondition precondition = 2; */ + com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder(); /** * @@ -10527,7 +10520,7 @@ public interface DeleteTestOrBuilder * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ boolean hasRequest(); /** @@ -10537,9 +10530,9 @@ public interface DeleteTestOrBuilder * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - com.google.firestore.v1beta1.CommitRequest getRequest(); + com.google.firestore.v1.CommitRequest getRequest(); /** * * @@ -10547,9 +10540,9 @@ public interface DeleteTestOrBuilder * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder(); + com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder(); /** * @@ -10626,13 +10619,13 @@ private DeleteTest( } case 18: { - com.google.firestore.v1beta1.Precondition.Builder subBuilder = null; + com.google.firestore.v1.Precondition.Builder subBuilder = null; if (precondition_ != null) { subBuilder = precondition_.toBuilder(); } precondition_ = input.readMessage( - com.google.firestore.v1beta1.Precondition.parser(), extensionRegistry); + com.google.firestore.v1.Precondition.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(precondition_); precondition_ = subBuilder.buildPartial(); @@ -10642,13 +10635,13 @@ private DeleteTest( } case 26: { - com.google.firestore.v1beta1.CommitRequest.Builder subBuilder = null; + com.google.firestore.v1.CommitRequest.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage( - com.google.firestore.v1beta1.CommitRequest.parser(), extensionRegistry); + com.google.firestore.v1.CommitRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); @@ -10731,24 +10724,24 @@ public com.google.protobuf.ByteString getDocRefPathBytes() { } public static final int PRECONDITION_FIELD_NUMBER = 2; - private com.google.firestore.v1beta1.Precondition precondition_; - /** .google.firestore.v1beta1.Precondition precondition = 2; */ + private com.google.firestore.v1.Precondition precondition_; + /** .google.firestore.v1.Precondition precondition = 2; */ public boolean hasPrecondition() { return precondition_ != null; } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition getPrecondition() { + /** .google.firestore.v1.Precondition precondition = 2; */ + public com.google.firestore.v1.Precondition getPrecondition() { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder() { + /** .google.firestore.v1.Precondition precondition = 2; */ + public com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder() { return getPrecondition(); } public static final int REQUEST_FIELD_NUMBER = 3; - private com.google.firestore.v1beta1.CommitRequest request_; + private com.google.firestore.v1.CommitRequest request_; /** * * @@ -10756,7 +10749,7 @@ public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuild * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ public boolean hasRequest() { return request_ != null; @@ -10768,11 +10761,11 @@ public boolean hasRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } /** @@ -10782,9 +10775,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { return getRequest(); } @@ -11280,28 +11273,28 @@ public Builder setDocRefPathBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.firestore.v1beta1.Precondition precondition_ = null; + private com.google.firestore.v1.Precondition precondition_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder> + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> preconditionBuilder_; - /** .google.firestore.v1beta1.Precondition precondition = 2; */ + /** .google.firestore.v1.Precondition precondition = 2; */ public boolean hasPrecondition() { return preconditionBuilder_ != null || precondition_ != null; } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition getPrecondition() { + /** .google.firestore.v1.Precondition precondition = 2; */ + public com.google.firestore.v1.Precondition getPrecondition() { if (preconditionBuilder_ == null) { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } else { return preconditionBuilder_.getMessage(); } } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public Builder setPrecondition(com.google.firestore.v1beta1.Precondition value) { + /** .google.firestore.v1.Precondition precondition = 2; */ + public Builder setPrecondition(com.google.firestore.v1.Precondition value) { if (preconditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11314,9 +11307,8 @@ public Builder setPrecondition(com.google.firestore.v1beta1.Precondition value) return this; } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public Builder setPrecondition( - com.google.firestore.v1beta1.Precondition.Builder builderForValue) { + /** .google.firestore.v1.Precondition precondition = 2; */ + public Builder setPrecondition(com.google.firestore.v1.Precondition.Builder builderForValue) { if (preconditionBuilder_ == null) { precondition_ = builderForValue.build(); onChanged(); @@ -11326,12 +11318,12 @@ public Builder setPrecondition( return this; } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public Builder mergePrecondition(com.google.firestore.v1beta1.Precondition value) { + /** .google.firestore.v1.Precondition precondition = 2; */ + public Builder mergePrecondition(com.google.firestore.v1.Precondition value) { if (preconditionBuilder_ == null) { if (precondition_ != null) { precondition_ = - com.google.firestore.v1beta1.Precondition.newBuilder(precondition_) + com.google.firestore.v1.Precondition.newBuilder(precondition_) .mergeFrom(value) .buildPartial(); } else { @@ -11344,7 +11336,7 @@ public Builder mergePrecondition(com.google.firestore.v1beta1.Precondition value return this; } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ + /** .google.firestore.v1.Precondition precondition = 2; */ public Builder clearPrecondition() { if (preconditionBuilder_ == null) { precondition_ = null; @@ -11356,45 +11348,45 @@ public Builder clearPrecondition() { return this; } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.Precondition.Builder getPreconditionBuilder() { + /** .google.firestore.v1.Precondition precondition = 2; */ + public com.google.firestore.v1.Precondition.Builder getPreconditionBuilder() { onChanged(); return getPreconditionFieldBuilder().getBuilder(); } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ - public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuilder() { + /** .google.firestore.v1.Precondition precondition = 2; */ + public com.google.firestore.v1.PreconditionOrBuilder getPreconditionOrBuilder() { if (preconditionBuilder_ != null) { return preconditionBuilder_.getMessageOrBuilder(); } else { return precondition_ == null - ? com.google.firestore.v1beta1.Precondition.getDefaultInstance() + ? com.google.firestore.v1.Precondition.getDefaultInstance() : precondition_; } } - /** .google.firestore.v1beta1.Precondition precondition = 2; */ + /** .google.firestore.v1.Precondition precondition = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder> + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> getPreconditionFieldBuilder() { if (preconditionBuilder_ == null) { preconditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Precondition, - com.google.firestore.v1beta1.Precondition.Builder, - com.google.firestore.v1beta1.PreconditionOrBuilder>( + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder>( getPrecondition(), getParentForChildren(), isClean()); precondition_ = null; } return preconditionBuilder_; } - private com.google.firestore.v1beta1.CommitRequest request_ = null; + private com.google.firestore.v1.CommitRequest request_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> requestBuilder_; /** * @@ -11403,7 +11395,7 @@ public com.google.firestore.v1beta1.PreconditionOrBuilder getPreconditionOrBuild * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; @@ -11415,12 +11407,12 @@ public boolean hasRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequest getRequest() { + public com.google.firestore.v1.CommitRequest getRequest() { if (requestBuilder_ == null) { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); @@ -11433,9 +11425,9 @@ public com.google.firestore.v1beta1.CommitRequest getRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder setRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11455,10 +11447,9 @@ public Builder setRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public Builder setRequest( - com.google.firestore.v1beta1.CommitRequest.Builder builderForValue) { + public Builder setRequest(com.google.firestore.v1.CommitRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); @@ -11475,13 +11466,13 @@ public Builder setRequest( * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { + public Builder mergeRequest(com.google.firestore.v1.CommitRequest value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = - com.google.firestore.v1beta1.CommitRequest.newBuilder(request_) + com.google.firestore.v1.CommitRequest.newBuilder(request_) .mergeFrom(value) .buildPartial(); } else { @@ -11501,7 +11492,7 @@ public Builder mergeRequest(com.google.firestore.v1beta1.CommitRequest value) { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ public Builder clearRequest() { if (requestBuilder_ == null) { @@ -11521,9 +11512,9 @@ public Builder clearRequest() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { + public com.google.firestore.v1.CommitRequest.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); @@ -11535,14 +11526,14 @@ public com.google.firestore.v1beta1.CommitRequest.Builder getRequestBuilder() { * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ - public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() { + public com.google.firestore.v1.CommitRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null - ? com.google.firestore.v1beta1.CommitRequest.getDefaultInstance() + ? com.google.firestore.v1.CommitRequest.getDefaultInstance() : request_; } } @@ -11553,19 +11544,19 @@ public com.google.firestore.v1beta1.CommitRequestOrBuilder getRequestOrBuilder() * expected rquest * * - * .google.firestore.v1beta1.CommitRequest request = 3; + * .google.firestore.v1.CommitRequest request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder> + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.CommitRequest, - com.google.firestore.v1beta1.CommitRequest.Builder, - com.google.firestore.v1beta1.CommitRequestOrBuilder>( + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitRequest.Builder, + com.google.firestore.v1.CommitRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } @@ -12799,12 +12790,12 @@ public interface QueryTestOrBuilder com.google.cloud.firestore.conformance.TestDefinition.ClauseOrBuilder getClausesOrBuilder( int index); - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ + /** .google.firestore.v1.StructuredQuery query = 3; */ boolean hasQuery(); - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - com.google.firestore.v1beta1.StructuredQuery getQuery(); - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - com.google.firestore.v1beta1.StructuredQueryOrBuilder getQueryOrBuilder(); + /** .google.firestore.v1.StructuredQuery query = 3; */ + com.google.firestore.v1.StructuredQuery getQuery(); + /** .google.firestore.v1.StructuredQuery query = 3; */ + com.google.firestore.v1.StructuredQueryOrBuilder getQueryOrBuilder(); /** bool is_error = 4; */ boolean getIsError(); @@ -12880,13 +12871,13 @@ private QueryTest( } case 26: { - com.google.firestore.v1beta1.StructuredQuery.Builder subBuilder = null; + com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; if (query_ != null) { subBuilder = query_.toBuilder(); } query_ = input.readMessage( - com.google.firestore.v1beta1.StructuredQuery.parser(), extensionRegistry); + com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(query_); query_ = subBuilder.buildPartial(); @@ -13000,19 +12991,17 @@ public com.google.cloud.firestore.conformance.TestDefinition.Clause getClauses(i } public static final int QUERY_FIELD_NUMBER = 3; - private com.google.firestore.v1beta1.StructuredQuery query_; - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ + private com.google.firestore.v1.StructuredQuery query_; + /** .google.firestore.v1.StructuredQuery query = 3; */ public boolean hasQuery() { return query_ != null; } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public com.google.firestore.v1beta1.StructuredQuery getQuery() { - return query_ == null - ? com.google.firestore.v1beta1.StructuredQuery.getDefaultInstance() - : query_; + /** .google.firestore.v1.StructuredQuery query = 3; */ + public com.google.firestore.v1.StructuredQuery getQuery() { + return query_ == null ? com.google.firestore.v1.StructuredQuery.getDefaultInstance() : query_; } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public com.google.firestore.v1beta1.StructuredQueryOrBuilder getQueryOrBuilder() { + /** .google.firestore.v1.StructuredQuery query = 3; */ + public com.google.firestore.v1.StructuredQueryOrBuilder getQueryOrBuilder() { return getQuery(); } @@ -13748,28 +13737,28 @@ public com.google.cloud.firestore.conformance.TestDefinition.Clause.Builder addC return clausesBuilder_; } - private com.google.firestore.v1beta1.StructuredQuery query_ = null; + private com.google.firestore.v1.StructuredQuery query_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery, - com.google.firestore.v1beta1.StructuredQuery.Builder, - com.google.firestore.v1beta1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> queryBuilder_; - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ + /** .google.firestore.v1.StructuredQuery query = 3; */ public boolean hasQuery() { return queryBuilder_ != null || query_ != null; } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public com.google.firestore.v1beta1.StructuredQuery getQuery() { + /** .google.firestore.v1.StructuredQuery query = 3; */ + public com.google.firestore.v1.StructuredQuery getQuery() { if (queryBuilder_ == null) { return query_ == null - ? com.google.firestore.v1beta1.StructuredQuery.getDefaultInstance() + ? com.google.firestore.v1.StructuredQuery.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public Builder setQuery(com.google.firestore.v1beta1.StructuredQuery value) { + /** .google.firestore.v1.StructuredQuery query = 3; */ + public Builder setQuery(com.google.firestore.v1.StructuredQuery value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13782,9 +13771,8 @@ public Builder setQuery(com.google.firestore.v1beta1.StructuredQuery value) { return this; } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public Builder setQuery( - com.google.firestore.v1beta1.StructuredQuery.Builder builderForValue) { + /** .google.firestore.v1.StructuredQuery query = 3; */ + public Builder setQuery(com.google.firestore.v1.StructuredQuery.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); onChanged(); @@ -13794,12 +13782,12 @@ public Builder setQuery( return this; } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public Builder mergeQuery(com.google.firestore.v1beta1.StructuredQuery value) { + /** .google.firestore.v1.StructuredQuery query = 3; */ + public Builder mergeQuery(com.google.firestore.v1.StructuredQuery value) { if (queryBuilder_ == null) { if (query_ != null) { query_ = - com.google.firestore.v1beta1.StructuredQuery.newBuilder(query_) + com.google.firestore.v1.StructuredQuery.newBuilder(query_) .mergeFrom(value) .buildPartial(); } else { @@ -13812,7 +13800,7 @@ public Builder mergeQuery(com.google.firestore.v1beta1.StructuredQuery value) { return this; } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ + /** .google.firestore.v1.StructuredQuery query = 3; */ public Builder clearQuery() { if (queryBuilder_ == null) { query_ = null; @@ -13824,34 +13812,34 @@ public Builder clearQuery() { return this; } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public com.google.firestore.v1beta1.StructuredQuery.Builder getQueryBuilder() { + /** .google.firestore.v1.StructuredQuery query = 3; */ + public com.google.firestore.v1.StructuredQuery.Builder getQueryBuilder() { onChanged(); return getQueryFieldBuilder().getBuilder(); } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ - public com.google.firestore.v1beta1.StructuredQueryOrBuilder getQueryOrBuilder() { + /** .google.firestore.v1.StructuredQuery query = 3; */ + public com.google.firestore.v1.StructuredQueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { return query_ == null - ? com.google.firestore.v1beta1.StructuredQuery.getDefaultInstance() + ? com.google.firestore.v1.StructuredQuery.getDefaultInstance() : query_; } } - /** .google.firestore.v1beta1.StructuredQuery query = 3; */ + /** .google.firestore.v1.StructuredQuery query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery, - com.google.firestore.v1beta1.StructuredQuery.Builder, - com.google.firestore.v1beta1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery, - com.google.firestore.v1beta1.StructuredQuery.Builder, - com.google.firestore.v1beta1.StructuredQueryOrBuilder>( + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder>( getQuery(), getParentForChildren(), isClean()); query_ = null; } @@ -20478,17 +20466,17 @@ public interface ListenTestOrBuilder // @@protoc_insertion_point(interface_extends:tests.ListenTest) com.google.protobuf.MessageOrBuilder { - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - java.util.List getResponsesList(); - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - com.google.firestore.v1beta1.ListenResponse getResponses(int index); - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + java.util.List getResponsesList(); + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + com.google.firestore.v1.ListenResponse getResponses(int index); + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ int getResponsesCount(); - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - java.util.List + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + java.util.List getResponsesOrBuilderList(); - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - com.google.firestore.v1beta1.ListenResponseOrBuilder getResponsesOrBuilder(int index); + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + com.google.firestore.v1.ListenResponseOrBuilder getResponsesOrBuilder(int index); /** repeated .tests.Snapshot snapshots = 2; */ java.util.List @@ -20575,13 +20563,12 @@ private ListenTest( case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - responses_ = - new java.util.ArrayList(); + responses_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } responses_.add( input.readMessage( - com.google.firestore.v1beta1.ListenResponse.parser(), extensionRegistry)); + com.google.firestore.v1.ListenResponse.parser(), extensionRegistry)); break; } case 18: @@ -20637,26 +20624,26 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int bitField0_; public static final int RESPONSES_FIELD_NUMBER = 1; - private java.util.List responses_; - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public java.util.List getResponsesList() { + private java.util.List responses_; + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public java.util.List getResponsesList() { return responses_; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public java.util.List + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public java.util.List getResponsesOrBuilderList() { return responses_; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ public int getResponsesCount() { return responses_.size(); } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public com.google.firestore.v1beta1.ListenResponse getResponses(int index) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public com.google.firestore.v1.ListenResponse getResponses(int index) { return responses_.get(index); } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public com.google.firestore.v1beta1.ListenResponseOrBuilder getResponsesOrBuilder(int index) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public com.google.firestore.v1.ListenResponseOrBuilder getResponsesOrBuilder(int index) { return responses_.get(index); } @@ -21128,32 +21115,31 @@ public Builder mergeFrom( private int bitField0_; - private java.util.List responses_ = + private java.util.List responses_ = java.util.Collections.emptyList(); private void ensureResponsesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - responses_ = - new java.util.ArrayList(responses_); + responses_ = new java.util.ArrayList(responses_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.ListenResponse, - com.google.firestore.v1beta1.ListenResponse.Builder, - com.google.firestore.v1beta1.ListenResponseOrBuilder> + com.google.firestore.v1.ListenResponse, + com.google.firestore.v1.ListenResponse.Builder, + com.google.firestore.v1.ListenResponseOrBuilder> responsesBuilder_; - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public java.util.List getResponsesList() { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public java.util.List getResponsesList() { if (responsesBuilder_ == null) { return java.util.Collections.unmodifiableList(responses_); } else { return responsesBuilder_.getMessageList(); } } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ public int getResponsesCount() { if (responsesBuilder_ == null) { return responses_.size(); @@ -21161,16 +21147,16 @@ public int getResponsesCount() { return responsesBuilder_.getCount(); } } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public com.google.firestore.v1beta1.ListenResponse getResponses(int index) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public com.google.firestore.v1.ListenResponse getResponses(int index) { if (responsesBuilder_ == null) { return responses_.get(index); } else { return responsesBuilder_.getMessage(index); } } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public Builder setResponses(int index, com.google.firestore.v1beta1.ListenResponse value) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public Builder setResponses(int index, com.google.firestore.v1.ListenResponse value) { if (responsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21183,9 +21169,9 @@ public Builder setResponses(int index, com.google.firestore.v1beta1.ListenRespon } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ public Builder setResponses( - int index, com.google.firestore.v1beta1.ListenResponse.Builder builderForValue) { + int index, com.google.firestore.v1.ListenResponse.Builder builderForValue) { if (responsesBuilder_ == null) { ensureResponsesIsMutable(); responses_.set(index, builderForValue.build()); @@ -21195,8 +21181,8 @@ public Builder setResponses( } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public Builder addResponses(com.google.firestore.v1beta1.ListenResponse value) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public Builder addResponses(com.google.firestore.v1.ListenResponse value) { if (responsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21209,8 +21195,8 @@ public Builder addResponses(com.google.firestore.v1beta1.ListenResponse value) { } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public Builder addResponses(int index, com.google.firestore.v1beta1.ListenResponse value) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public Builder addResponses(int index, com.google.firestore.v1.ListenResponse value) { if (responsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21223,9 +21209,8 @@ public Builder addResponses(int index, com.google.firestore.v1beta1.ListenRespon } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public Builder addResponses( - com.google.firestore.v1beta1.ListenResponse.Builder builderForValue) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public Builder addResponses(com.google.firestore.v1.ListenResponse.Builder builderForValue) { if (responsesBuilder_ == null) { ensureResponsesIsMutable(); responses_.add(builderForValue.build()); @@ -21235,9 +21220,9 @@ public Builder addResponses( } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ public Builder addResponses( - int index, com.google.firestore.v1beta1.ListenResponse.Builder builderForValue) { + int index, com.google.firestore.v1.ListenResponse.Builder builderForValue) { if (responsesBuilder_ == null) { ensureResponsesIsMutable(); responses_.add(index, builderForValue.build()); @@ -21247,9 +21232,9 @@ public Builder addResponses( } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ public Builder addAllResponses( - java.lang.Iterable values) { + java.lang.Iterable values) { if (responsesBuilder_ == null) { ensureResponsesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responses_); @@ -21259,7 +21244,7 @@ public Builder addAllResponses( } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ public Builder clearResponses() { if (responsesBuilder_ == null) { responses_ = java.util.Collections.emptyList(); @@ -21270,7 +21255,7 @@ public Builder clearResponses() { } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ public Builder removeResponses(int index) { if (responsesBuilder_ == null) { ensureResponsesIsMutable(); @@ -21281,20 +21266,20 @@ public Builder removeResponses(int index) { } return this; } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public com.google.firestore.v1beta1.ListenResponse.Builder getResponsesBuilder(int index) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public com.google.firestore.v1.ListenResponse.Builder getResponsesBuilder(int index) { return getResponsesFieldBuilder().getBuilder(index); } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public com.google.firestore.v1beta1.ListenResponseOrBuilder getResponsesOrBuilder(int index) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public com.google.firestore.v1.ListenResponseOrBuilder getResponsesOrBuilder(int index) { if (responsesBuilder_ == null) { return responses_.get(index); } else { return responsesBuilder_.getMessageOrBuilder(index); } } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public java.util.List + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public java.util.List getResponsesOrBuilderList() { if (responsesBuilder_ != null) { return responsesBuilder_.getMessageOrBuilderList(); @@ -21302,33 +21287,33 @@ public com.google.firestore.v1beta1.ListenResponseOrBuilder getResponsesOrBuilde return java.util.Collections.unmodifiableList(responses_); } } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public com.google.firestore.v1beta1.ListenResponse.Builder addResponsesBuilder() { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public com.google.firestore.v1.ListenResponse.Builder addResponsesBuilder() { return getResponsesFieldBuilder() - .addBuilder(com.google.firestore.v1beta1.ListenResponse.getDefaultInstance()); + .addBuilder(com.google.firestore.v1.ListenResponse.getDefaultInstance()); } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public com.google.firestore.v1beta1.ListenResponse.Builder addResponsesBuilder(int index) { + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public com.google.firestore.v1.ListenResponse.Builder addResponsesBuilder(int index) { return getResponsesFieldBuilder() - .addBuilder(index, com.google.firestore.v1beta1.ListenResponse.getDefaultInstance()); + .addBuilder(index, com.google.firestore.v1.ListenResponse.getDefaultInstance()); } - /** repeated .google.firestore.v1beta1.ListenResponse responses = 1; */ - public java.util.List + /** repeated .google.firestore.v1.ListenResponse responses = 1; */ + public java.util.List getResponsesBuilderList() { return getResponsesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.ListenResponse, - com.google.firestore.v1beta1.ListenResponse.Builder, - com.google.firestore.v1beta1.ListenResponseOrBuilder> + com.google.firestore.v1.ListenResponse, + com.google.firestore.v1.ListenResponse.Builder, + com.google.firestore.v1.ListenResponseOrBuilder> getResponsesFieldBuilder() { if (responsesBuilder_ == null) { responsesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.ListenResponse, - com.google.firestore.v1beta1.ListenResponse.Builder, - com.google.firestore.v1beta1.ListenResponseOrBuilder>( + com.google.firestore.v1.ListenResponse, + com.google.firestore.v1.ListenResponse.Builder, + com.google.firestore.v1.ListenResponseOrBuilder>( responses_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -21644,16 +21629,16 @@ public interface SnapshotOrBuilder // @@protoc_insertion_point(interface_extends:tests.Snapshot) com.google.protobuf.MessageOrBuilder { - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - java.util.List getDocsList(); - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - com.google.firestore.v1beta1.Document getDocs(int index); - /** repeated .google.firestore.v1beta1.Document docs = 1; */ + /** repeated .google.firestore.v1.Document docs = 1; */ + java.util.List getDocsList(); + /** repeated .google.firestore.v1.Document docs = 1; */ + com.google.firestore.v1.Document getDocs(int index); + /** repeated .google.firestore.v1.Document docs = 1; */ int getDocsCount(); - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - java.util.List getDocsOrBuilderList(); - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - com.google.firestore.v1beta1.DocumentOrBuilder getDocsOrBuilder(int index); + /** repeated .google.firestore.v1.Document docs = 1; */ + java.util.List getDocsOrBuilderList(); + /** repeated .google.firestore.v1.Document docs = 1; */ + com.google.firestore.v1.DocumentOrBuilder getDocsOrBuilder(int index); /** repeated .tests.DocChange changes = 2; */ java.util.List @@ -21727,12 +21712,12 @@ private Snapshot( case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - docs_ = new java.util.ArrayList(); + docs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } docs_.add( input.readMessage( - com.google.firestore.v1beta1.Document.parser(), extensionRegistry)); + com.google.firestore.v1.Document.parser(), extensionRegistry)); break; } case 18: @@ -21798,26 +21783,26 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int bitField0_; public static final int DOCS_FIELD_NUMBER = 1; - private java.util.List docs_; - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public java.util.List getDocsList() { + private java.util.List docs_; + /** repeated .google.firestore.v1.Document docs = 1; */ + public java.util.List getDocsList() { return docs_; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public java.util.List + /** repeated .google.firestore.v1.Document docs = 1; */ + public java.util.List getDocsOrBuilderList() { return docs_; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ + /** repeated .google.firestore.v1.Document docs = 1; */ public int getDocsCount() { return docs_.size(); } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public com.google.firestore.v1beta1.Document getDocs(int index) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public com.google.firestore.v1.Document getDocs(int index) { return docs_.get(index); } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public com.google.firestore.v1beta1.DocumentOrBuilder getDocsOrBuilder(int index) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public com.google.firestore.v1.DocumentOrBuilder getDocsOrBuilder(int index) { return docs_.get(index); } @@ -22290,31 +22275,31 @@ public Builder mergeFrom( private int bitField0_; - private java.util.List docs_ = + private java.util.List docs_ = java.util.Collections.emptyList(); private void ensureDocsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - docs_ = new java.util.ArrayList(docs_); + docs_ = new java.util.ArrayList(docs_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.Document, - com.google.firestore.v1beta1.Document.Builder, - com.google.firestore.v1beta1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> docsBuilder_; - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public java.util.List getDocsList() { + /** repeated .google.firestore.v1.Document docs = 1; */ + public java.util.List getDocsList() { if (docsBuilder_ == null) { return java.util.Collections.unmodifiableList(docs_); } else { return docsBuilder_.getMessageList(); } } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ + /** repeated .google.firestore.v1.Document docs = 1; */ public int getDocsCount() { if (docsBuilder_ == null) { return docs_.size(); @@ -22322,16 +22307,16 @@ public int getDocsCount() { return docsBuilder_.getCount(); } } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public com.google.firestore.v1beta1.Document getDocs(int index) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public com.google.firestore.v1.Document getDocs(int index) { if (docsBuilder_ == null) { return docs_.get(index); } else { return docsBuilder_.getMessage(index); } } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public Builder setDocs(int index, com.google.firestore.v1beta1.Document value) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public Builder setDocs(int index, com.google.firestore.v1.Document value) { if (docsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22344,9 +22329,8 @@ public Builder setDocs(int index, com.google.firestore.v1beta1.Document value) { } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public Builder setDocs( - int index, com.google.firestore.v1beta1.Document.Builder builderForValue) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public Builder setDocs(int index, com.google.firestore.v1.Document.Builder builderForValue) { if (docsBuilder_ == null) { ensureDocsIsMutable(); docs_.set(index, builderForValue.build()); @@ -22356,8 +22340,8 @@ public Builder setDocs( } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public Builder addDocs(com.google.firestore.v1beta1.Document value) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public Builder addDocs(com.google.firestore.v1.Document value) { if (docsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22370,8 +22354,8 @@ public Builder addDocs(com.google.firestore.v1beta1.Document value) { } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public Builder addDocs(int index, com.google.firestore.v1beta1.Document value) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public Builder addDocs(int index, com.google.firestore.v1.Document value) { if (docsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -22384,8 +22368,8 @@ public Builder addDocs(int index, com.google.firestore.v1beta1.Document value) { } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public Builder addDocs(com.google.firestore.v1beta1.Document.Builder builderForValue) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public Builder addDocs(com.google.firestore.v1.Document.Builder builderForValue) { if (docsBuilder_ == null) { ensureDocsIsMutable(); docs_.add(builderForValue.build()); @@ -22395,9 +22379,8 @@ public Builder addDocs(com.google.firestore.v1beta1.Document.Builder builderForV } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public Builder addDocs( - int index, com.google.firestore.v1beta1.Document.Builder builderForValue) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public Builder addDocs(int index, com.google.firestore.v1.Document.Builder builderForValue) { if (docsBuilder_ == null) { ensureDocsIsMutable(); docs_.add(index, builderForValue.build()); @@ -22407,9 +22390,9 @@ public Builder addDocs( } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ + /** repeated .google.firestore.v1.Document docs = 1; */ public Builder addAllDocs( - java.lang.Iterable values) { + java.lang.Iterable values) { if (docsBuilder_ == null) { ensureDocsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, docs_); @@ -22419,7 +22402,7 @@ public Builder addAllDocs( } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ + /** repeated .google.firestore.v1.Document docs = 1; */ public Builder clearDocs() { if (docsBuilder_ == null) { docs_ = java.util.Collections.emptyList(); @@ -22430,7 +22413,7 @@ public Builder clearDocs() { } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ + /** repeated .google.firestore.v1.Document docs = 1; */ public Builder removeDocs(int index) { if (docsBuilder_ == null) { ensureDocsIsMutable(); @@ -22441,20 +22424,20 @@ public Builder removeDocs(int index) { } return this; } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public com.google.firestore.v1beta1.Document.Builder getDocsBuilder(int index) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public com.google.firestore.v1.Document.Builder getDocsBuilder(int index) { return getDocsFieldBuilder().getBuilder(index); } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public com.google.firestore.v1beta1.DocumentOrBuilder getDocsOrBuilder(int index) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public com.google.firestore.v1.DocumentOrBuilder getDocsOrBuilder(int index) { if (docsBuilder_ == null) { return docs_.get(index); } else { return docsBuilder_.getMessageOrBuilder(index); } } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public java.util.List + /** repeated .google.firestore.v1.Document docs = 1; */ + public java.util.List getDocsOrBuilderList() { if (docsBuilder_ != null) { return docsBuilder_.getMessageOrBuilderList(); @@ -22462,32 +22445,32 @@ public com.google.firestore.v1beta1.DocumentOrBuilder getDocsOrBuilder(int index return java.util.Collections.unmodifiableList(docs_); } } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public com.google.firestore.v1beta1.Document.Builder addDocsBuilder() { + /** repeated .google.firestore.v1.Document docs = 1; */ + public com.google.firestore.v1.Document.Builder addDocsBuilder() { return getDocsFieldBuilder() - .addBuilder(com.google.firestore.v1beta1.Document.getDefaultInstance()); + .addBuilder(com.google.firestore.v1.Document.getDefaultInstance()); } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public com.google.firestore.v1beta1.Document.Builder addDocsBuilder(int index) { + /** repeated .google.firestore.v1.Document docs = 1; */ + public com.google.firestore.v1.Document.Builder addDocsBuilder(int index) { return getDocsFieldBuilder() - .addBuilder(index, com.google.firestore.v1beta1.Document.getDefaultInstance()); + .addBuilder(index, com.google.firestore.v1.Document.getDefaultInstance()); } - /** repeated .google.firestore.v1beta1.Document docs = 1; */ - public java.util.List getDocsBuilderList() { + /** repeated .google.firestore.v1.Document docs = 1; */ + public java.util.List getDocsBuilderList() { return getDocsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.Document, - com.google.firestore.v1beta1.Document.Builder, - com.google.firestore.v1beta1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getDocsFieldBuilder() { if (docsBuilder_ == null) { docsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.Document, - com.google.firestore.v1beta1.Document.Builder, - com.google.firestore.v1beta1.DocumentOrBuilder>( + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( docs_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -22890,12 +22873,12 @@ public interface DocChangeOrBuilder /** .tests.DocChange.Kind kind = 1; */ com.google.cloud.firestore.conformance.TestDefinition.DocChange.Kind getKind(); - /** .google.firestore.v1beta1.Document doc = 2; */ + /** .google.firestore.v1.Document doc = 2; */ boolean hasDoc(); - /** .google.firestore.v1beta1.Document doc = 2; */ - com.google.firestore.v1beta1.Document getDoc(); - /** .google.firestore.v1beta1.Document doc = 2; */ - com.google.firestore.v1beta1.DocumentOrBuilder getDocOrBuilder(); + /** .google.firestore.v1.Document doc = 2; */ + com.google.firestore.v1.Document getDoc(); + /** .google.firestore.v1.Document doc = 2; */ + com.google.firestore.v1.DocumentOrBuilder getDocOrBuilder(); /** int32 old_index = 3; */ int getOldIndex(); @@ -22960,13 +22943,12 @@ private DocChange( } case 18: { - com.google.firestore.v1beta1.Document.Builder subBuilder = null; + com.google.firestore.v1.Document.Builder subBuilder = null; if (doc_ != null) { subBuilder = doc_.toBuilder(); } doc_ = - input.readMessage( - com.google.firestore.v1beta1.Document.parser(), extensionRegistry); + input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(doc_); doc_ = subBuilder.buildPartial(); @@ -23123,17 +23105,17 @@ public com.google.cloud.firestore.conformance.TestDefinition.DocChange.Kind getK } public static final int DOC_FIELD_NUMBER = 2; - private com.google.firestore.v1beta1.Document doc_; - /** .google.firestore.v1beta1.Document doc = 2; */ + private com.google.firestore.v1.Document doc_; + /** .google.firestore.v1.Document doc = 2; */ public boolean hasDoc() { return doc_ != null; } - /** .google.firestore.v1beta1.Document doc = 2; */ - public com.google.firestore.v1beta1.Document getDoc() { - return doc_ == null ? com.google.firestore.v1beta1.Document.getDefaultInstance() : doc_; + /** .google.firestore.v1.Document doc = 2; */ + public com.google.firestore.v1.Document getDoc() { + return doc_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : doc_; } - /** .google.firestore.v1beta1.Document doc = 2; */ - public com.google.firestore.v1beta1.DocumentOrBuilder getDocOrBuilder() { + /** .google.firestore.v1.Document doc = 2; */ + public com.google.firestore.v1.DocumentOrBuilder getDocOrBuilder() { return getDoc(); } @@ -23552,26 +23534,26 @@ public Builder clearKind() { return this; } - private com.google.firestore.v1beta1.Document doc_ = null; + private com.google.firestore.v1.Document doc_ = null; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Document, - com.google.firestore.v1beta1.Document.Builder, - com.google.firestore.v1beta1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> docBuilder_; - /** .google.firestore.v1beta1.Document doc = 2; */ + /** .google.firestore.v1.Document doc = 2; */ public boolean hasDoc() { return docBuilder_ != null || doc_ != null; } - /** .google.firestore.v1beta1.Document doc = 2; */ - public com.google.firestore.v1beta1.Document getDoc() { + /** .google.firestore.v1.Document doc = 2; */ + public com.google.firestore.v1.Document getDoc() { if (docBuilder_ == null) { - return doc_ == null ? com.google.firestore.v1beta1.Document.getDefaultInstance() : doc_; + return doc_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : doc_; } else { return docBuilder_.getMessage(); } } - /** .google.firestore.v1beta1.Document doc = 2; */ - public Builder setDoc(com.google.firestore.v1beta1.Document value) { + /** .google.firestore.v1.Document doc = 2; */ + public Builder setDoc(com.google.firestore.v1.Document value) { if (docBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -23584,8 +23566,8 @@ public Builder setDoc(com.google.firestore.v1beta1.Document value) { return this; } - /** .google.firestore.v1beta1.Document doc = 2; */ - public Builder setDoc(com.google.firestore.v1beta1.Document.Builder builderForValue) { + /** .google.firestore.v1.Document doc = 2; */ + public Builder setDoc(com.google.firestore.v1.Document.Builder builderForValue) { if (docBuilder_ == null) { doc_ = builderForValue.build(); onChanged(); @@ -23595,14 +23577,12 @@ public Builder setDoc(com.google.firestore.v1beta1.Document.Builder builderForVa return this; } - /** .google.firestore.v1beta1.Document doc = 2; */ - public Builder mergeDoc(com.google.firestore.v1beta1.Document value) { + /** .google.firestore.v1.Document doc = 2; */ + public Builder mergeDoc(com.google.firestore.v1.Document value) { if (docBuilder_ == null) { if (doc_ != null) { doc_ = - com.google.firestore.v1beta1.Document.newBuilder(doc_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.Document.newBuilder(doc_).mergeFrom(value).buildPartial(); } else { doc_ = value; } @@ -23613,7 +23593,7 @@ public Builder mergeDoc(com.google.firestore.v1beta1.Document value) { return this; } - /** .google.firestore.v1beta1.Document doc = 2; */ + /** .google.firestore.v1.Document doc = 2; */ public Builder clearDoc() { if (docBuilder_ == null) { doc_ = null; @@ -23625,32 +23605,32 @@ public Builder clearDoc() { return this; } - /** .google.firestore.v1beta1.Document doc = 2; */ - public com.google.firestore.v1beta1.Document.Builder getDocBuilder() { + /** .google.firestore.v1.Document doc = 2; */ + public com.google.firestore.v1.Document.Builder getDocBuilder() { onChanged(); return getDocFieldBuilder().getBuilder(); } - /** .google.firestore.v1beta1.Document doc = 2; */ - public com.google.firestore.v1beta1.DocumentOrBuilder getDocOrBuilder() { + /** .google.firestore.v1.Document doc = 2; */ + public com.google.firestore.v1.DocumentOrBuilder getDocOrBuilder() { if (docBuilder_ != null) { return docBuilder_.getMessageOrBuilder(); } else { - return doc_ == null ? com.google.firestore.v1beta1.Document.getDefaultInstance() : doc_; + return doc_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : doc_; } } - /** .google.firestore.v1beta1.Document doc = 2; */ + /** .google.firestore.v1.Document doc = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Document, - com.google.firestore.v1beta1.Document.Builder, - com.google.firestore.v1beta1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getDocFieldBuilder() { if (docBuilder_ == null) { docBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.Document, - com.google.firestore.v1beta1.Document.Builder, - com.google.firestore.v1beta1.DocumentOrBuilder>( + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( getDoc(), getParentForChildren(), isClean()); doc_ = null; } @@ -23838,10 +23818,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\025test-definition.proto\022\005tests\032%google/f" - + "irestore/v1beta1/common.proto\032\'google/fi" - + "restore/v1beta1/document.proto\032(google/f" - + "irestore/v1beta1/firestore.proto\032$google" - + "/firestore/v1beta1/query.proto\032\037google/p" + + "irestore/v1/common.proto\032\'google/fi" + + "restore/v1/document.proto\032(google/f" + + "irestore/v1/firestore.proto\032$google" + + "/firestore/v1/query.proto\032\037google/p" + "rotobuf/timestamp.proto\"\'\n\tTestSuite\022\032\n\005" + "tests\030\001 \003(\0132\013.tests.Test\"\310\002\n\004Test\022\023\n\013des" + "cription\030\001 \001(\t\022\035\n\003get\030\002 \001(\0132\016.tests.GetT" @@ -23853,28 +23833,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "uery\030\010 \001(\0132\020.tests.QueryTestH\000\022#\n\006listen" + "\030\t \001(\0132\021.tests.ListenTestH\000B\006\n\004test\"^\n\007G" + "etTest\022\024\n\014doc_ref_path\030\001 \001(\t\022=\n\007request\030" - + "\002 \001(\0132,.google.firestore.v1beta1.GetDocu" + + "\002 \001(\0132,.google.firestore.v1.GetDocu" + "mentRequest\"\201\001\n\nCreateTest\022\024\n\014doc_ref_pa" + "th\030\001 \001(\t\022\021\n\tjson_data\030\002 \001(\t\0228\n\007request\030\003" - + " \001(\0132\'.google.firestore.v1beta1.CommitRe" + + " \001(\0132\'.google.firestore.v1.CommitRe" + "quest\022\020\n\010is_error\030\004 \001(\010\"\240\001\n\007SetTest\022\024\n\014d" + "oc_ref_path\030\001 \001(\t\022 \n\006option\030\002 \001(\0132\020.test" + "s.SetOption\022\021\n\tjson_data\030\003 \001(\t\0228\n\007reques" - + "t\030\004 \001(\0132\'.google.firestore.v1beta1.Commi" + + "t\030\004 \001(\0132\'.google.firestore.v1.Commi" + "tRequest\022\020\n\010is_error\030\005 \001(\010\"\277\001\n\nUpdateTes" + "t\022\024\n\014doc_ref_path\030\001 \001(\t\022<\n\014precondition\030" - + "\002 \001(\0132&.google.firestore.v1beta1.Precond" + + "\002 \001(\0132&.google.firestore.v1.Precond" + "ition\022\021\n\tjson_data\030\003 \001(\t\0228\n\007request\030\004 \001(" - + "\0132\'.google.firestore.v1beta1.CommitReque" + + "\0132\'.google.firestore.v1.CommitReque" + "st\022\020\n\010is_error\030\005 \001(\010\"\355\001\n\017UpdatePathsTest" + "\022\024\n\014doc_ref_path\030\001 \001(\t\022<\n\014precondition\030\002" - + " \001(\0132&.google.firestore.v1beta1.Precondi" + + " \001(\0132&.google.firestore.v1.Precondi" + "tion\022%\n\013field_paths\030\003 \003(\0132\020.tests.FieldP" + "ath\022\023\n\013json_values\030\004 \003(\t\0228\n\007request\030\005 \001(" - + "\0132\'.google.firestore.v1beta1.CommitReque" + + "\0132\'.google.firestore.v1.CommitReque" + "st\022\020\n\010is_error\030\006 \001(\010\"\254\001\n\nDeleteTest\022\024\n\014d" + "oc_ref_path\030\001 \001(\t\022<\n\014precondition\030\002 \001(\0132" - + "&.google.firestore.v1beta1.Precondition\022" + + "&.google.firestore.v1.Precondition\022" + "8\n\007request\030\003 \001(\0132\'.google.firestore.v1be" + "ta1.CommitRequest\022\020\n\010is_error\030\004 \001(\010\":\n\tS" + "etOption\022\013\n\003all\030\001 \001(\010\022 \n\006fields\030\002 \003(\0132\020." @@ -23906,7 +23886,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".DocChange\022-\n\tread_time\030\003 \001(\0132\032.google.p" + "rotobuf.Timestamp\"\313\001\n\tDocChange\022#\n\004kind\030" + "\001 \001(\0162\025.tests.DocChange.Kind\022/\n\003doc\030\002 \001(" - + "\0132\".google.firestore.v1beta1.Document\022\021\n" + + "\0132\".google.firestore.v1.Document\022\021\n" + "\told_index\030\003 \001(\005\022\021\n\tnew_index\030\004 \001(\005\"B\n\004K" + "ind\022\024\n\020KIND_UNSPECIFIED\020\000\022\t\n\005ADDED\020\001\022\013\n\007" + "REMOVED\020\002\022\014\n\010MODIFIED\020\003Bx\n&com.google.cl" @@ -23925,10 +23905,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.v1beta1.CommonProto.getDescriptor(), - com.google.firestore.v1beta1.DocumentProto.getDescriptor(), - com.google.firestore.v1beta1.FirestoreProto.getDescriptor(), - com.google.firestore.v1beta1.QueryProto.getDescriptor(), + com.google.firestore.v1.CommonProto.getDescriptor(), + com.google.firestore.v1.DocumentProto.getDescriptor(), + com.google.firestore.v1.FirestoreProto.getDescriptor(), + com.google.firestore.v1.QueryProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }, assigner); @@ -24090,10 +24070,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Kind", "Doc", "OldIndex", "NewIndex", }); - com.google.firestore.v1beta1.CommonProto.getDescriptor(); - com.google.firestore.v1beta1.DocumentProto.getDescriptor(); - com.google.firestore.v1beta1.FirestoreProto.getDescriptor(); - com.google.firestore.v1beta1.QueryProto.getDescriptor(); + com.google.firestore.v1.CommonProto.getDescriptor(); + com.google.firestore.v1.DocumentProto.getDescriptor(); + com.google.firestore.v1.FirestoreProto.getDescriptor(); + com.google.firestore.v1.QueryProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } From cfac767a5c20f8ae1c0e493b647cf33cf8df93ab Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 07:49:38 -0800 Subject: [PATCH 57/90] Regenerate asset client (#4426) --- .../google/cloud/asset/v1beta1/AssetServiceClient.java | 2 +- google-cloud-clients/google-cloud-asset/synth.metadata | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java index c5bf8602a493..5398e743793c 100644 --- a/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java +++ b/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java @@ -215,7 +215,7 @@ public final OperationFuture exportAs * .setParent(parent.toString()) * .setOutputConfig(outputConfig) * .build(); - * OperationFuture<Operation> future = assetServiceClient.exportAssetsOperationCallable().futureCall(request); + * OperationFuture<ExportAssetsResponse, ExportAssetsRequest> future = assetServiceClient.exportAssetsOperationCallable().futureCall(request); * // Do something * ExportAssetsResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-asset/synth.metadata b/google-cloud-clients/google-cloud-asset/synth.metadata index 536e87aa7375..251ef9536892 100644 --- a/google-cloud-clients/google-cloud-asset/synth.metadata +++ b/google-cloud-clients/google-cloud-asset/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-19T08:33:18.886065Z", + "updateTime": "2019-02-02T08:32:59.368699Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.7", - "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "96adaf6de4fa2cabbdd5de560a367bb488e0639b", - "internalRef": "229998977" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From 0fcbc59d24bd4663f64d257fd48585eb9729b649 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 08:02:35 -0800 Subject: [PATCH 58/90] Regenerate bigtable client (#4427) --- .../admin/v2/BaseBigtableInstanceAdminClient.java | 10 +++++----- .../admin/v2/BaseBigtableTableAdminClient.java | 4 ++-- .../google-cloud-bigtable/synth.metadata | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java index bb51e111379d..45dc3b20eb15 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java @@ -345,7 +345,7 @@ public final OperationFuture createInstanceAsy * .setInstance(instance) * .putAllClusters(clusters) * .build(); - * OperationFuture<Operation> future = baseBigtableInstanceAdminClient.createInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, CreateInstanceMetadata> future = baseBigtableInstanceAdminClient.createInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -645,7 +645,7 @@ public final OperationFuture partialUpdateInst * .setInstance(instance) * .setUpdateMask(updateMask) * .build(); - * OperationFuture<Operation> future = baseBigtableInstanceAdminClient.partialUpdateInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, UpdateInstanceMetadata> future = baseBigtableInstanceAdminClient.partialUpdateInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -892,7 +892,7 @@ public final OperationFuture createClusterAsync( * .setClusterId(clusterId) * .setCluster(cluster) * .build(); - * OperationFuture<Operation> future = baseBigtableInstanceAdminClient.createClusterOperationCallable().futureCall(request); + * OperationFuture<Cluster, CreateClusterMetadata> future = baseBigtableInstanceAdminClient.createClusterOperationCallable().futureCall(request); * // Do something * Cluster response = future.get(); * } @@ -1161,7 +1161,7 @@ public final OperationFuture updateClusterAsync( * .setName(name.toString()) * .setServeNodes(serveNodes) * .build(); - * OperationFuture<Operation> future = baseBigtableInstanceAdminClient.updateClusterOperationCallable().futureCall(request); + * OperationFuture<Cluster, UpdateClusterMetadata> future = baseBigtableInstanceAdminClient.updateClusterOperationCallable().futureCall(request); * // Do something * Cluster response = future.get(); * } @@ -1715,7 +1715,7 @@ public final OperationFuture updateAppProf * .setAppProfile(appProfile) * .setUpdateMask(updateMask) * .build(); - * OperationFuture<Operation> future = baseBigtableInstanceAdminClient.updateAppProfileOperationCallable().futureCall(request); + * OperationFuture<AppProfile, UpdateAppProfileMetadata> future = baseBigtableInstanceAdminClient.updateAppProfileOperationCallable().futureCall(request); * // Do something * AppProfile response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index cab11901a522..25ba1c283c43 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -470,7 +470,7 @@ public final OperationFuture createTable * .setTableId(tableId) * .setSourceSnapshot(sourceSnapshot.toString()) * .build(); - * OperationFuture<Operation> future = baseBigtableTableAdminClient.createTableFromSnapshotOperationCallable().futureCall(request); + * OperationFuture<Table, CreateTableFromSnapshotMetadata> future = baseBigtableTableAdminClient.createTableFromSnapshotOperationCallable().futureCall(request); * // Do something * Table response = future.get(); * } @@ -1370,7 +1370,7 @@ public final OperationFuture snapshotTableAsync * .setSnapshotId(snapshotId.toString()) * .setDescription(description) * .build(); - * OperationFuture<Operation> future = baseBigtableTableAdminClient.snapshotTableOperationCallable().futureCall(request); + * OperationFuture<Snapshot, SnapshotTableMetadata> future = baseBigtableTableAdminClient.snapshotTableOperationCallable().futureCall(request); * // Do something * Snapshot response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-bigtable/synth.metadata b/google-cloud-clients/google-cloud-bigtable/synth.metadata index 1530c0474e8d..3699533b24e3 100644 --- a/google-cloud-clients/google-cloud-bigtable/synth.metadata +++ b/google-cloud-clients/google-cloud-bigtable/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:36:21.634857Z", + "updateTime": "2019-02-02T08:34:53.521732Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From c59395e14da6981181a91d520ea3245c7c349c1b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 08:13:44 -0800 Subject: [PATCH 59/90] Regenerate dataproc client (#4428) --- .../dataproc/v1/ClusterControllerClient.java | 20 ++++++++--------- .../v1/WorkflowTemplateServiceClient.java | 22 +++++++++---------- .../v1beta2/ClusterControllerClient.java | 20 ++++++++--------- .../WorkflowTemplateServiceClient.java | 20 ++++++++--------- .../google-cloud-dataproc/synth.metadata | 10 ++++----- 5 files changed, 46 insertions(+), 46 deletions(-) diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java index 6d587ca289d9..e070013923ad 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java @@ -256,7 +256,7 @@ public final OperationFuture createClusterAsy * .setRegion(region) * .setCluster(cluster) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.createClusterOperationCallable().futureCall(request); + * OperationFuture<Cluster, ClusterOperationMetadata> future = clusterControllerClient.createClusterOperationCallable().futureCall(request); * // Do something * Cluster response = future.get(); * } @@ -407,7 +407,7 @@ public final OperationFuture updateClusterAsy * .setCluster(cluster) * .setUpdateMask(updateMask) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.updateClusterOperationCallable().futureCall(request); + * OperationFuture<Cluster, ClusterOperationMetadata> future = clusterControllerClient.updateClusterOperationCallable().futureCall(request); * // Do something * Cluster response = future.get(); * } @@ -460,7 +460,7 @@ public final UnaryCallable updateClusterCallabl * String projectId = ""; * String region = ""; * String clusterName = ""; - * Empty response = clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get(); + * clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get(); * } * * @@ -500,7 +500,7 @@ public final OperationFuture deleteClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * Empty response = clusterControllerClient.deleteClusterAsync(request).get(); + * clusterControllerClient.deleteClusterAsync(request).get(); * } * * @@ -530,9 +530,9 @@ public final OperationFuture deleteClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request); + * OperationFuture<Empty, ClusterOperationMetadata> future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -826,7 +826,7 @@ public final UnaryCallable listCluste * String projectId = ""; * String region = ""; * String clusterName = ""; - * Empty response = clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get(); + * clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get(); * } * * @@ -867,7 +867,7 @@ public final OperationFuture diagnoseClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * Empty response = clusterControllerClient.diagnoseClusterAsync(request).get(); + * clusterControllerClient.diagnoseClusterAsync(request).get(); * } * * @@ -898,9 +898,9 @@ public final OperationFuture diagnoseClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.diagnoseClusterOperationCallable().futureCall(request); + * OperationFuture<Empty, DiagnoseClusterResults> future = clusterControllerClient.diagnoseClusterOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java index c46ff24c11d2..56410542d18e 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java @@ -411,7 +411,7 @@ public final WorkflowTemplate getWorkflowTemplate(GetWorkflowTemplateRequest req *


    * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
    *   WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
-   *   Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
+   *   workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
    * }
    * 
* @@ -455,7 +455,7 @@ public final OperationFuture instantiateWorkflowTemplat *

    * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
    *   WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
-   *   Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
+   *   workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
    * }
    * 
* @@ -498,7 +498,7 @@ public final OperationFuture instantiateWorkflowTemplat * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) { * WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]"); * Map<String, String> parameters = new HashMap<>(); - * Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name, parameters).get(); + * workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name, parameters).get(); * } * * @@ -546,7 +546,7 @@ public final OperationFuture instantiateWorkflowTemplat * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) { * WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]"); * Map<String, String> parameters = new HashMap<>(); - * Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString(), parameters).get(); + * workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString(), parameters).get(); * } * * @@ -596,7 +596,7 @@ public final OperationFuture instantiateWorkflowTemplat * InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get(); + * workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get(); * } * * @@ -636,9 +636,9 @@ public final OperationFuture instantiateWorkflowTemplat * InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request); + * OperationFuture<Empty, WorkflowMetadata> future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -714,7 +714,7 @@ public final OperationFuture instantiateWorkflowTemplat * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) { * String formattedParent = RegionName.format("[PROJECT]", "[REGION]"); * WorkflowTemplate template = WorkflowTemplate.newBuilder().build(); - * Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get(); + * workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get(); * } * * @@ -770,7 +770,7 @@ public final OperationFuture instantiateInlineWorkflowT * .setParent(formattedParent) * .setTemplate(template) * .build(); - * Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get(); + * workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get(); * } * * @@ -817,9 +817,9 @@ public final OperationFuture instantiateInlineWorkflowT * .setParent(formattedParent) * .setTemplate(template) * .build(); - * OperationFuture<Operation> future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().futureCall(request); + * OperationFuture<Empty, WorkflowMetadata> future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java index 553b012148be..693bd46f35c2 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java @@ -256,7 +256,7 @@ public final OperationFuture createClusterAsy * .setRegion(region) * .setCluster(cluster) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.createClusterOperationCallable().futureCall(request); + * OperationFuture<Cluster, ClusterOperationMetadata> future = clusterControllerClient.createClusterOperationCallable().futureCall(request); * // Do something * Cluster response = future.get(); * } @@ -411,7 +411,7 @@ public final OperationFuture updateClusterAsy * .setCluster(cluster) * .setUpdateMask(updateMask) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.updateClusterOperationCallable().futureCall(request); + * OperationFuture<Cluster, ClusterOperationMetadata> future = clusterControllerClient.updateClusterOperationCallable().futureCall(request); * // Do something * Cluster response = future.get(); * } @@ -464,7 +464,7 @@ public final UnaryCallable updateClusterCallabl * String projectId = ""; * String region = ""; * String clusterName = ""; - * Empty response = clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get(); + * clusterControllerClient.deleteClusterAsync(projectId, region, clusterName).get(); * } * * @@ -504,7 +504,7 @@ public final OperationFuture deleteClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * Empty response = clusterControllerClient.deleteClusterAsync(request).get(); + * clusterControllerClient.deleteClusterAsync(request).get(); * } * * @@ -534,9 +534,9 @@ public final OperationFuture deleteClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request); + * OperationFuture<Empty, ClusterOperationMetadata> future = clusterControllerClient.deleteClusterOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -830,7 +830,7 @@ public final UnaryCallable listCluste * String projectId = ""; * String region = ""; * String clusterName = ""; - * Empty response = clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get(); + * clusterControllerClient.diagnoseClusterAsync(projectId, region, clusterName).get(); * } * * @@ -871,7 +871,7 @@ public final OperationFuture diagnoseClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * Empty response = clusterControllerClient.diagnoseClusterAsync(request).get(); + * clusterControllerClient.diagnoseClusterAsync(request).get(); * } * * @@ -902,9 +902,9 @@ public final OperationFuture diagnoseClusterAsync * .setRegion(region) * .setClusterName(clusterName) * .build(); - * OperationFuture<Operation> future = clusterControllerClient.diagnoseClusterOperationCallable().futureCall(request); + * OperationFuture<Empty, DiagnoseClusterResults> future = clusterControllerClient.diagnoseClusterOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java index 7729ba206df3..64f9c5801c80 100644 --- a/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java +++ b/google-cloud-clients/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java @@ -411,7 +411,7 @@ public final WorkflowTemplate getWorkflowTemplate(GetWorkflowTemplateRequest req *

    * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
    *   WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
-   *   Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
+   *   workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name).get();
    * }
    * 
* @@ -455,7 +455,7 @@ public final OperationFuture instantiateWorkflowTemplat *

    * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
    *   WorkflowTemplateName name = WorkflowTemplateName.of("[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]");
-   *   Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
+   *   workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(name.toString()).get();
    * }
    * 
* @@ -497,7 +497,7 @@ public final OperationFuture instantiateWorkflowTemplat *

    * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) {
    *   Map<String, String> parameters = new HashMap<>();
-   *   Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(parameters).get();
+   *   workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(parameters).get();
    * }
    * 
* @@ -541,7 +541,7 @@ public final OperationFuture instantiateWorkflowTemplat * InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get(); + * workflowTemplateServiceClient.instantiateWorkflowTemplateAsync(request).get(); * } * * @@ -581,9 +581,9 @@ public final OperationFuture instantiateWorkflowTemplat * InstantiateWorkflowTemplateRequest request = InstantiateWorkflowTemplateRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request); + * OperationFuture<Empty, WorkflowMetadata> future = workflowTemplateServiceClient.instantiateWorkflowTemplateOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -659,7 +659,7 @@ public final OperationFuture instantiateWorkflowTemplat * try (WorkflowTemplateServiceClient workflowTemplateServiceClient = WorkflowTemplateServiceClient.create()) { * String formattedParent = RegionName.format("[PROJECT]", "[REGION]"); * WorkflowTemplate template = WorkflowTemplate.newBuilder().build(); - * Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get(); + * workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(formattedParent, template).get(); * } * * @@ -715,7 +715,7 @@ public final OperationFuture instantiateInlineWorkflowT * .setParent(formattedParent) * .setTemplate(template) * .build(); - * Empty response = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get(); + * workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(request).get(); * } * * @@ -762,9 +762,9 @@ public final OperationFuture instantiateInlineWorkflowT * .setParent(formattedParent) * .setTemplate(template) * .build(); - * OperationFuture<Operation> future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().futureCall(request); + * OperationFuture<Empty, WorkflowMetadata> future = workflowTemplateServiceClient.instantiateInlineWorkflowTemplateOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dataproc/synth.metadata b/google-cloud-clients/google-cloud-dataproc/synth.metadata index 1375739b900c..b64d33c0853d 100644 --- a/google-cloud-clients/google-cloud-dataproc/synth.metadata +++ b/google-cloud-clients/google-cloud-dataproc/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:40:33.945540Z", + "updateTime": "2019-02-02T08:37:20.101142Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From cb58c4d9eac784bd821efe3d0014b5d619d3c6c6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 08:24:51 -0800 Subject: [PATCH 60/90] Regenerate speech client (#4422) --- .../cloud/speech/v1/RecognitionConfig.java | 136 ++++++++++++++++-- .../speech/v1/RecognitionConfigOrBuilder.java | 19 +++ .../google/cloud/speech/v1/SpeechProto.java | 120 ++++++++-------- .../google/cloud/speech/v1/cloud_speech.proto | 11 ++ .../google-cloud-speech/synth.metadata | 10 +- 5 files changed, 220 insertions(+), 76 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java index 12f86d28f193..6904737bf13a 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java @@ -26,6 +26,7 @@ private RecognitionConfig(com.google.protobuf.GeneratedMessageV3.Builder buil private RecognitionConfig() { encoding_ = 0; sampleRateHertz_ = 0; + audioChannelCount_ = 0; enableSeparateRecognitionPerChannel_ = false; languageCode_ = ""; maxAlternatives_ = 0; @@ -92,16 +93,21 @@ private RecognitionConfig( } case 50: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000080; } speechContexts_.add( input.readMessage( com.google.cloud.speech.v1.SpeechContext.parser(), extensionRegistry)); break; } + case 56: + { + audioChannelCount_ = input.readInt32(); + break; + } case 64: { enableWordTimeOffsets_ = input.readBool(); @@ -143,7 +149,7 @@ private RecognitionConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); } this.unknownFields = unknownFields.build(); @@ -533,6 +539,29 @@ public int getSampleRateHertz() { return sampleRateHertz_; } + public static final int AUDIO_CHANNEL_COUNT_FIELD_NUMBER = 7; + private int audioChannelCount_; + /** + * + * + *
+   * *Optional* The number of channels in the input audio data.
+   * ONLY set this for MULTI-CHANNEL recognition.
+   * Valid values for LINEAR16 and FLAC are `1`-`8`.
+   * Valid values for OGG_OPUS are '1'-'254'.
+   * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
+   * If `0` or omitted, defaults to one channel (mono).
+   * Note: We only recognize the first channel by default.
+   * To perform independent recognition on each channel set
+   * `enable_separate_recognition_per_channel` to 'true'.
+   * 
+ * + * int32 audio_channel_count = 7; + */ + public int getAudioChannelCount() { + return audioChannelCount_; + } + public static final int ENABLE_SEPARATE_RECOGNITION_PER_CHANNEL_FIELD_NUMBER = 12; private boolean enableSeparateRecognitionPerChannel_; /** @@ -921,6 +950,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < speechContexts_.size(); i++) { output.writeMessage(6, speechContexts_.get(i)); } + if (audioChannelCount_ != 0) { + output.writeInt32(7, audioChannelCount_); + } if (enableWordTimeOffsets_ != false) { output.writeBool(8, enableWordTimeOffsets_); } @@ -965,6 +997,9 @@ public int getSerializedSize() { for (int i = 0; i < speechContexts_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, speechContexts_.get(i)); } + if (audioChannelCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, audioChannelCount_); + } if (enableWordTimeOffsets_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, enableWordTimeOffsets_); } @@ -1002,6 +1037,7 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && encoding_ == other.encoding_; result = result && (getSampleRateHertz() == other.getSampleRateHertz()); + result = result && (getAudioChannelCount() == other.getAudioChannelCount()); result = result && (getEnableSeparateRecognitionPerChannel() @@ -1029,6 +1065,8 @@ public int hashCode() { hash = (53 * hash) + encoding_; hash = (37 * hash) + SAMPLE_RATE_HERTZ_FIELD_NUMBER; hash = (53 * hash) + getSampleRateHertz(); + hash = (37 * hash) + AUDIO_CHANNEL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getAudioChannelCount(); hash = (37 * hash) + ENABLE_SEPARATE_RECOGNITION_PER_CHANNEL_FIELD_NUMBER; hash = (53 * hash) @@ -1203,6 +1241,8 @@ public Builder clear() { sampleRateHertz_ = 0; + audioChannelCount_ = 0; + enableSeparateRecognitionPerChannel_ = false; languageCode_ = ""; @@ -1213,7 +1253,7 @@ public Builder clear() { if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); } else { speechContextsBuilder_.clear(); } @@ -1256,14 +1296,15 @@ public com.google.cloud.speech.v1.RecognitionConfig buildPartial() { int to_bitField0_ = 0; result.encoding_ = encoding_; result.sampleRateHertz_ = sampleRateHertz_; + result.audioChannelCount_ = audioChannelCount_; result.enableSeparateRecognitionPerChannel_ = enableSeparateRecognitionPerChannel_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; result.profanityFilter_ = profanityFilter_; if (speechContextsBuilder_ == null) { - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000080) == 0x00000080)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); } result.speechContexts_ = speechContexts_; } else { @@ -1329,6 +1370,9 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { if (other.getSampleRateHertz() != 0) { setSampleRateHertz(other.getSampleRateHertz()); } + if (other.getAudioChannelCount() != 0) { + setAudioChannelCount(other.getAudioChannelCount()); + } if (other.getEnableSeparateRecognitionPerChannel() != false) { setEnableSeparateRecognitionPerChannel(other.getEnableSeparateRecognitionPerChannel()); } @@ -1346,7 +1390,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { if (!other.speechContexts_.isEmpty()) { if (speechContexts_.isEmpty()) { speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); } else { ensureSpeechContextsIsMutable(); speechContexts_.addAll(other.speechContexts_); @@ -1359,7 +1403,7 @@ public Builder mergeFrom(com.google.cloud.speech.v1.RecognitionConfig other) { speechContextsBuilder_.dispose(); speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); speechContextsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpeechContextsFieldBuilder() @@ -1563,6 +1607,74 @@ public Builder clearSampleRateHertz() { return this; } + private int audioChannelCount_; + /** + * + * + *
+     * *Optional* The number of channels in the input audio data.
+     * ONLY set this for MULTI-CHANNEL recognition.
+     * Valid values for LINEAR16 and FLAC are `1`-`8`.
+     * Valid values for OGG_OPUS are '1'-'254'.
+     * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
+     * If `0` or omitted, defaults to one channel (mono).
+     * Note: We only recognize the first channel by default.
+     * To perform independent recognition on each channel set
+     * `enable_separate_recognition_per_channel` to 'true'.
+     * 
+ * + * int32 audio_channel_count = 7; + */ + public int getAudioChannelCount() { + return audioChannelCount_; + } + /** + * + * + *
+     * *Optional* The number of channels in the input audio data.
+     * ONLY set this for MULTI-CHANNEL recognition.
+     * Valid values for LINEAR16 and FLAC are `1`-`8`.
+     * Valid values for OGG_OPUS are '1'-'254'.
+     * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
+     * If `0` or omitted, defaults to one channel (mono).
+     * Note: We only recognize the first channel by default.
+     * To perform independent recognition on each channel set
+     * `enable_separate_recognition_per_channel` to 'true'.
+     * 
+ * + * int32 audio_channel_count = 7; + */ + public Builder setAudioChannelCount(int value) { + + audioChannelCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * *Optional* The number of channels in the input audio data.
+     * ONLY set this for MULTI-CHANNEL recognition.
+     * Valid values for LINEAR16 and FLAC are `1`-`8`.
+     * Valid values for OGG_OPUS are '1'-'254'.
+     * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
+     * If `0` or omitted, defaults to one channel (mono).
+     * Note: We only recognize the first channel by default.
+     * To perform independent recognition on each channel set
+     * `enable_separate_recognition_per_channel` to 'true'.
+     * 
+ * + * int32 audio_channel_count = 7; + */ + public Builder clearAudioChannelCount() { + + audioChannelCount_ = 0; + onChanged(); + return this; + } + private boolean enableSeparateRecognitionPerChannel_; /** * @@ -1852,10 +1964,10 @@ public Builder clearProfanityFilter() { java.util.Collections.emptyList(); private void ensureSpeechContextsIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { + if (!((bitField0_ & 0x00000080) == 0x00000080)) { speechContexts_ = new java.util.ArrayList(speechContexts_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; } } @@ -2093,7 +2205,7 @@ public Builder addAllSpeechContexts( public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { speechContexts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { speechContextsBuilder_.clear(); @@ -2230,7 +2342,7 @@ public com.google.cloud.speech.v1.SpeechContext.Builder addSpeechContextsBuilder com.google.cloud.speech.v1.SpeechContext.Builder, com.google.cloud.speech.v1.SpeechContextOrBuilder>( speechContexts_, - ((bitField0_ & 0x00000040) == 0x00000040), + ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); speechContexts_ = null; diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java index 52da3c26b3dd..43532b9f87e9 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfigOrBuilder.java @@ -50,6 +50,25 @@ public interface RecognitionConfigOrBuilder */ int getSampleRateHertz(); + /** + * + * + *
+   * *Optional* The number of channels in the input audio data.
+   * ONLY set this for MULTI-CHANNEL recognition.
+   * Valid values for LINEAR16 and FLAC are `1`-`8`.
+   * Valid values for OGG_OPUS are '1'-'254'.
+   * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
+   * If `0` or omitted, defaults to one channel (mono).
+   * Note: We only recognize the first channel by default.
+   * To perform independent recognition on each channel set
+   * `enable_separate_recognition_per_channel` to 'true'.
+   * 
+ * + * int32 audio_channel_count = 7; + */ + int getAudioChannelCount(); + /** * * diff --git a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java index 3dac3ed10b25..73fe98c9ee00 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java +++ b/google-api-grpc/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechProto.java @@ -102,67 +102,68 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t\"\212\001\n\032StreamingRecognitionConfig\0229\n\006conf" + "ig\030\001 \001(\0132).google.cloud.speech.v1.Recogn" + "itionConfig\022\030\n\020single_utterance\030\002 \001(\010\022\027\n" - + "\017interim_results\030\003 \001(\010\"\260\004\n\021RecognitionCo" + + "\017interim_results\030\003 \001(\010\"\315\004\n\021RecognitionCo" + "nfig\022I\n\010encoding\030\001 \001(\01627.google.cloud.sp" + "eech.v1.RecognitionConfig.AudioEncoding\022" - + "\031\n\021sample_rate_hertz\030\002 \001(\005\022/\n\'enable_sep" - + "arate_recognition_per_channel\030\014 \001(\010\022\025\n\rl" - + "anguage_code\030\003 \001(\t\022\030\n\020max_alternatives\030\004" - + " \001(\005\022\030\n\020profanity_filter\030\005 \001(\010\022>\n\017speech" - + "_contexts\030\006 \003(\0132%.google.cloud.speech.v1" - + ".SpeechContext\022 \n\030enable_word_time_offse" - + "ts\030\010 \001(\010\022$\n\034enable_automatic_punctuation" - + "\030\013 \001(\010\022\r\n\005model\030\r \001(\t\022\024\n\014use_enhanced\030\016 " - + "\001(\010\"\213\001\n\rAudioEncoding\022\030\n\024ENCODING_UNSPEC" - + "IFIED\020\000\022\014\n\010LINEAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW" - + "\020\003\022\007\n\003AMR\020\004\022\n\n\006AMR_WB\020\005\022\014\n\010OGG_OPUS\020\006\022\032\n" - + "\026SPEEX_WITH_HEADER_BYTE\020\007\" \n\rSpeechConte" - + "xt\022\017\n\007phrases\030\001 \003(\t\"D\n\020RecognitionAudio\022" - + "\021\n\007content\030\001 \001(\014H\000\022\r\n\003uri\030\002 \001(\tH\000B\016\n\014aud" - + "io_source\"U\n\021RecognizeResponse\022@\n\007result" - + "s\030\002 \003(\0132/.google.cloud.speech.v1.SpeechR" - + "ecognitionResult\"`\n\034LongRunningRecognize" - + "Response\022@\n\007results\030\002 \003(\0132/.google.cloud" - + ".speech.v1.SpeechRecognitionResult\"\236\001\n\034L" - + "ongRunningRecognizeMetadata\022\030\n\020progress_" - + "percent\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.goog" - + "le.protobuf.Timestamp\0224\n\020last_update_tim" - + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"\261\002\n\032" - + "StreamingRecognizeResponse\022!\n\005error\030\001 \001(" - + "\0132\022.google.rpc.Status\022C\n\007results\030\002 \003(\01322" - + ".google.cloud.speech.v1.StreamingRecogni" - + "tionResult\022]\n\021speech_event_type\030\004 \001(\0162B." - + "google.cloud.speech.v1.StreamingRecogniz" - + "eResponse.SpeechEventType\"L\n\017SpeechEvent" - + "Type\022\034\n\030SPEECH_EVENT_UNSPECIFIED\020\000\022\033\n\027EN" - + "D_OF_SINGLE_UTTERANCE\020\001\"\242\001\n\032StreamingRec" - + "ognitionResult\022J\n\014alternatives\030\001 \003(\01324.g" - + "oogle.cloud.speech.v1.SpeechRecognitionA" - + "lternative\022\020\n\010is_final\030\002 \001(\010\022\021\n\tstabilit" - + "y\030\003 \001(\002\022\023\n\013channel_tag\030\005 \001(\005\"z\n\027SpeechRe" - + "cognitionResult\022J\n\014alternatives\030\001 \003(\01324." - + "google.cloud.speech.v1.SpeechRecognition" - + "Alternative\022\023\n\013channel_tag\030\002 \001(\005\"w\n\034Spee" - + "chRecognitionAlternative\022\022\n\ntranscript\030\001" - + " \001(\t\022\022\n\nconfidence\030\002 \001(\002\022/\n\005words\030\003 \003(\0132" - + " .google.cloud.speech.v1.WordInfo\"t\n\010Wor" - + "dInfo\022-\n\nstart_time\030\001 \001(\0132\031.google.proto" - + "buf.Duration\022+\n\010end_time\030\002 \001(\0132\031.google." - + "protobuf.Duration\022\014\n\004word\030\003 \001(\t2\251\003\n\006Spee" - + "ch\022\201\001\n\tRecognize\022(.google.cloud.speech.v" - + "1.RecognizeRequest\032).google.cloud.speech" - + ".v1.RecognizeResponse\"\037\202\323\344\223\002\031\"\024/v1/speec" - + "h:recognize:\001*\022\226\001\n\024LongRunningRecognize\022" - + "3.google.cloud.speech.v1.LongRunningReco" - + "gnizeRequest\032\035.google.longrunning.Operat" - + "ion\"*\202\323\344\223\002$\"\037/v1/speech:longrunningrecog" - + "nize:\001*\022\201\001\n\022StreamingRecognize\0221.google." - + "cloud.speech.v1.StreamingRecognizeReques" - + "t\0322.google.cloud.speech.v1.StreamingReco" - + "gnizeResponse\"\000(\0010\001Bl\n\032com.google.cloud." - + "speech.v1B\013SpeechProtoP\001Z\n\017speech_contexts\030\006" + + " \003(\0132%.google.cloud.speech.v1.SpeechCont" + + "ext\022 \n\030enable_word_time_offsets\030\010 \001(\010\022$\n" + + "\034enable_automatic_punctuation\030\013 \001(\010\022\r\n\005m" + + "odel\030\r \001(\t\022\024\n\014use_enhanced\030\016 \001(\010\"\213\001\n\rAud" + + "ioEncoding\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\014\n\010" + + "LINEAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW\020\003\022\007\n\003AMR\020\004" + + "\022\n\n\006AMR_WB\020\005\022\014\n\010OGG_OPUS\020\006\022\032\n\026SPEEX_WITH" + + "_HEADER_BYTE\020\007\" \n\rSpeechContext\022\017\n\007phras" + + "es\030\001 \003(\t\"D\n\020RecognitionAudio\022\021\n\007content\030" + + "\001 \001(\014H\000\022\r\n\003uri\030\002 \001(\tH\000B\016\n\014audio_source\"U" + + "\n\021RecognizeResponse\022@\n\007results\030\002 \003(\0132/.g" + + "oogle.cloud.speech.v1.SpeechRecognitionR" + + "esult\"`\n\034LongRunningRecognizeResponse\022@\n" + + "\007results\030\002 \003(\0132/.google.cloud.speech.v1." + + "SpeechRecognitionResult\"\236\001\n\034LongRunningR" + + "ecognizeMetadata\022\030\n\020progress_percent\030\001 \001" + + "(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\0224\n\020last_update_time\030\003 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\"\261\002\n\032StreamingRe" + + "cognizeResponse\022!\n\005error\030\001 \001(\0132\022.google." + + "rpc.Status\022C\n\007results\030\002 \003(\01322.google.clo" + + "ud.speech.v1.StreamingRecognitionResult\022" + + "]\n\021speech_event_type\030\004 \001(\0162B.google.clou" + + "d.speech.v1.StreamingRecognizeResponse.S" + + "peechEventType\"L\n\017SpeechEventType\022\034\n\030SPE" + + "ECH_EVENT_UNSPECIFIED\020\000\022\033\n\027END_OF_SINGLE" + + "_UTTERANCE\020\001\"\242\001\n\032StreamingRecognitionRes" + + "ult\022J\n\014alternatives\030\001 \003(\01324.google.cloud" + + ".speech.v1.SpeechRecognitionAlternative\022" + + "\020\n\010is_final\030\002 \001(\010\022\021\n\tstability\030\003 \001(\002\022\023\n\013" + + "channel_tag\030\005 \001(\005\"z\n\027SpeechRecognitionRe" + + "sult\022J\n\014alternatives\030\001 \003(\01324.google.clou" + + "d.speech.v1.SpeechRecognitionAlternative" + + "\022\023\n\013channel_tag\030\002 \001(\005\"w\n\034SpeechRecogniti" + + "onAlternative\022\022\n\ntranscript\030\001 \001(\t\022\022\n\ncon" + + "fidence\030\002 \001(\002\022/\n\005words\030\003 \003(\0132 .google.cl" + + "oud.speech.v1.WordInfo\"t\n\010WordInfo\022-\n\nst" + + "art_time\030\001 \001(\0132\031.google.protobuf.Duratio" + + "n\022+\n\010end_time\030\002 \001(\0132\031.google.protobuf.Du" + + "ration\022\014\n\004word\030\003 \001(\t2\251\003\n\006Speech\022\201\001\n\tReco" + + "gnize\022(.google.cloud.speech.v1.Recognize" + + "Request\032).google.cloud.speech.v1.Recogni" + + "zeResponse\"\037\202\323\344\223\002\031\"\024/v1/speech:recognize" + + ":\001*\022\226\001\n\024LongRunningRecognize\0223.google.cl" + + "oud.speech.v1.LongRunningRecognizeReques" + + "t\032\035.google.longrunning.Operation\"*\202\323\344\223\002$" + + "\"\037/v1/speech:longrunningrecognize:\001*\022\201\001\n" + + "\022StreamingRecognize\0221.google.cloud.speec" + + "h.v1.StreamingRecognizeRequest\0322.google." + + "cloud.speech.v1.StreamingRecognizeRespon" + + "se\"\000(\0010\001Bl\n\032com.google.cloud.speech.v1B\013" + + "SpeechProtoP\001Z 1 // to get each channel recognized separately. The recognition result will // contain a `channel_tag` field to state which channel that result belongs diff --git a/google-cloud-clients/google-cloud-speech/synth.metadata b/google-cloud-clients/google-cloud-speech/synth.metadata index f16c7066f21e..77ee6a1fa435 100644 --- a/google-cloud-clients/google-cloud-speech/synth.metadata +++ b/google-cloud-clients/google-cloud-speech/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:50:59.718229Z", + "updateTime": "2019-02-01T08:47:48.673490Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "acb5253cd11cd43cab93eb153d6e48ba0fa5303d", + "internalRef": "231786007" } } ], From 95a098e58ad7c5dd74a8cb3da0c772cd89d1fb0a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 08:30:30 -0800 Subject: [PATCH 61/90] Regenerate dialogflow client (#4429) --- .../cloud/dialogflow/v2/AgentsClient.java | 24 ++++----- .../dialogflow/v2/EntityTypesClient.java | 54 +++++++++---------- .../cloud/dialogflow/v2/IntentsClient.java | 12 ++--- .../dialogflow/v2beta1/AgentsClient.java | 24 ++++----- .../dialogflow/v2beta1/DocumentsClient.java | 12 ++--- .../dialogflow/v2beta1/EntityTypesClient.java | 54 +++++++++---------- .../dialogflow/v2beta1/IntentsClient.java | 12 ++--- .../google-cloud-dialogflow/synth.metadata | 10 ++-- 8 files changed, 101 insertions(+), 101 deletions(-) diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java index a56877e47544..86078ed10397 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java @@ -452,7 +452,7 @@ public final UnaryCallable searchAgen *

    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   Empty response = agentsClient.trainAgentAsync(parent).get();
+   *   agentsClient.trainAgentAsync(parent).get();
    * }
    * 
* @@ -481,7 +481,7 @@ public final OperationFuture trainAgentAsync(ProjectName parent) *

    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   Empty response = agentsClient.trainAgentAsync(parent.toString()).get();
+   *   agentsClient.trainAgentAsync(parent.toString()).get();
    * }
    * 
* @@ -512,7 +512,7 @@ public final OperationFuture trainAgentAsync(String parent) { * TrainAgentRequest request = TrainAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * Empty response = agentsClient.trainAgentAsync(request).get(); + * agentsClient.trainAgentAsync(request).get(); * } * * @@ -540,9 +540,9 @@ public final OperationFuture trainAgentAsync(TrainAgentRequest re * TrainAgentRequest request = TrainAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.trainAgentOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = agentsClient.trainAgentOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -683,7 +683,7 @@ public final OperationFuture exportAgentAsync( * ExportAgentRequest request = ExportAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.exportAgentOperationCallable().futureCall(request); + * OperationFuture<ExportAgentResponse, Struct> future = agentsClient.exportAgentOperationCallable().futureCall(request); * // Do something * ExportAgentResponse response = future.get(); * } @@ -739,7 +739,7 @@ public final UnaryCallable exportAgentCallable() * ImportAgentRequest request = ImportAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * Empty response = agentsClient.importAgentAsync(request).get(); + * agentsClient.importAgentAsync(request).get(); * } * * @@ -770,9 +770,9 @@ public final OperationFuture importAgentAsync(ImportAgentRequest * ImportAgentRequest request = ImportAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.importAgentOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = agentsClient.importAgentOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -827,7 +827,7 @@ public final UnaryCallable importAgentCallable() * RestoreAgentRequest request = RestoreAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * Empty response = agentsClient.restoreAgentAsync(request).get(); + * agentsClient.restoreAgentAsync(request).get(); * } * * @@ -858,9 +858,9 @@ public final OperationFuture restoreAgentAsync(RestoreAgentReques * RestoreAgentRequest request = RestoreAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.restoreAgentOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = agentsClient.restoreAgentOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java index 2ce9d286272d..3f56b68bd5dc 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java @@ -959,7 +959,7 @@ public final OperationFuture batchUpdate * BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request); + * OperationFuture<BatchUpdateEntityTypesResponse, Struct> future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request); * // Do something * BatchUpdateEntityTypesResponse response = future.get(); * } @@ -1012,7 +1012,7 @@ public final OperationFuture batchUpdate * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<String> entityTypeNames = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); + * entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); * } * * @@ -1048,7 +1048,7 @@ public final OperationFuture batchDeleteEntityTypesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<String> entityTypeNames = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get(); + * entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get(); * } * * @@ -1088,7 +1088,7 @@ public final OperationFuture batchDeleteEntityTypesAsync( * .setParent(parent.toString()) * .addAllEntityTypeNames(entityTypeNames) * .build(); - * Empty response = entityTypesClient.batchDeleteEntityTypesAsync(request).get(); + * entityTypesClient.batchDeleteEntityTypesAsync(request).get(); * } * * @@ -1119,9 +1119,9 @@ public final OperationFuture batchDeleteEntityTypesAsync( * .setParent(parent.toString()) * .addAllEntityTypeNames(entityTypeNames) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1172,7 +1172,7 @@ public final OperationFuture batchDeleteEntityTypesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent, entities).get(); * } * * @@ -1207,7 +1207,7 @@ public final OperationFuture batchCreateEntitiesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get(); * } * * @@ -1240,7 +1240,7 @@ public final OperationFuture batchCreateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get(); * } * * @@ -1281,7 +1281,7 @@ public final OperationFuture batchCreateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get(); * } * * @@ -1325,7 +1325,7 @@ public final OperationFuture batchCreateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * Empty response = entityTypesClient.batchCreateEntitiesAsync(request).get(); + * entityTypesClient.batchCreateEntitiesAsync(request).get(); * } * * @@ -1356,9 +1356,9 @@ public final OperationFuture batchCreateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1408,7 +1408,7 @@ public final UnaryCallable batchCreateEnt * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get(); * } * * @@ -1443,7 +1443,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get(); * } * * @@ -1476,7 +1476,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get(); * } * * @@ -1517,7 +1517,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get(); * } * * @@ -1561,7 +1561,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(request).get(); + * entityTypesClient.batchUpdateEntitiesAsync(request).get(); * } * * @@ -1592,9 +1592,9 @@ public final OperationFuture batchUpdateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1644,7 +1644,7 @@ public final UnaryCallable batchUpdateEnt * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get(); * } * * @@ -1680,7 +1680,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get(); * } * * @@ -1717,7 +1717,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); * } * * @@ -1759,7 +1759,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get(); * } * * @@ -1804,7 +1804,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * .setParent(parent.toString()) * .addAllEntityValues(entityValues) * .build(); - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(request).get(); + * entityTypesClient.batchDeleteEntitiesAsync(request).get(); * } * * @@ -1835,9 +1835,9 @@ public final OperationFuture batchDeleteEntitiesAsync( * .setParent(parent.toString()) * .addAllEntityValues(entityValues) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index dd9b3589b95a..2a8b9095b7b1 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java @@ -971,7 +971,7 @@ public final OperationFuture batchUpdateInte * .setParent(parent.toString()) * .setLanguageCode(languageCode) * .build(); - * OperationFuture<Operation> future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request); + * OperationFuture<BatchUpdateIntentsResponse, Struct> future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request); * // Do something * BatchUpdateIntentsResponse response = future.get(); * } @@ -1022,7 +1022,7 @@ public final UnaryCallable batchUpdateInte * try (IntentsClient intentsClient = IntentsClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<Intent> intents = new ArrayList<>(); - * Empty response = intentsClient.batchDeleteIntentsAsync(parent, intents).get(); + * intentsClient.batchDeleteIntentsAsync(parent, intents).get(); * } * * @@ -1057,7 +1057,7 @@ public final OperationFuture batchDeleteIntentsAsync( * try (IntentsClient intentsClient = IntentsClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<Intent> intents = new ArrayList<>(); - * Empty response = intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get(); + * intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get(); * } * * @@ -1093,7 +1093,7 @@ public final OperationFuture batchDeleteIntentsAsync( * .setParent(parent.toString()) * .addAllIntents(intents) * .build(); - * Empty response = intentsClient.batchDeleteIntentsAsync(request).get(); + * intentsClient.batchDeleteIntentsAsync(request).get(); * } * * @@ -1123,9 +1123,9 @@ public final OperationFuture batchDeleteIntentsAsync( * .setParent(parent.toString()) * .addAllIntents(intents) * .build(); - * OperationFuture<Operation> future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java index 39034a5ffaf8..3a605f5f5cf0 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java @@ -453,7 +453,7 @@ public final UnaryCallable searchAgen *

    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   Empty response = agentsClient.trainAgentAsync(parent).get();
+   *   agentsClient.trainAgentAsync(parent).get();
    * }
    * 
* @@ -482,7 +482,7 @@ public final OperationFuture trainAgentAsync(ProjectName parent) *

    * try (AgentsClient agentsClient = AgentsClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
-   *   Empty response = agentsClient.trainAgentAsync(parent.toString()).get();
+   *   agentsClient.trainAgentAsync(parent.toString()).get();
    * }
    * 
* @@ -513,7 +513,7 @@ public final OperationFuture trainAgentAsync(String parent) { * TrainAgentRequest request = TrainAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * Empty response = agentsClient.trainAgentAsync(request).get(); + * agentsClient.trainAgentAsync(request).get(); * } * * @@ -541,9 +541,9 @@ public final OperationFuture trainAgentAsync(TrainAgentRequest re * TrainAgentRequest request = TrainAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.trainAgentOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = agentsClient.trainAgentOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -684,7 +684,7 @@ public final OperationFuture exportAgentAsync( * ExportAgentRequest request = ExportAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.exportAgentOperationCallable().futureCall(request); + * OperationFuture<ExportAgentResponse, Struct> future = agentsClient.exportAgentOperationCallable().futureCall(request); * // Do something * ExportAgentResponse response = future.get(); * } @@ -740,7 +740,7 @@ public final UnaryCallable exportAgentCallable() * ImportAgentRequest request = ImportAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * Empty response = agentsClient.importAgentAsync(request).get(); + * agentsClient.importAgentAsync(request).get(); * } * * @@ -771,9 +771,9 @@ public final OperationFuture importAgentAsync(ImportAgentRequest * ImportAgentRequest request = ImportAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.importAgentOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = agentsClient.importAgentOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -828,7 +828,7 @@ public final UnaryCallable importAgentCallable() * RestoreAgentRequest request = RestoreAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * Empty response = agentsClient.restoreAgentAsync(request).get(); + * agentsClient.restoreAgentAsync(request).get(); * } * * @@ -859,9 +859,9 @@ public final OperationFuture restoreAgentAsync(RestoreAgentReques * RestoreAgentRequest request = RestoreAgentRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = agentsClient.restoreAgentOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = agentsClient.restoreAgentOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java index 4ea829873915..ba2638bb9e9b 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java @@ -507,7 +507,7 @@ public final OperationFuture createDocumen * .setParent(parent.toString()) * .setDocument(document) * .build(); - * OperationFuture<Operation> future = documentsClient.createDocumentOperationCallable().futureCall(request); + * OperationFuture<Document, KnowledgeOperationMetadata> future = documentsClient.createDocumentOperationCallable().futureCall(request); * // Do something * Document response = future.get(); * } @@ -558,7 +558,7 @@ public final UnaryCallable createDocumentCalla *

    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   DocumentName name = DocumentName.of("[PROJECT]", "[KNOWLEDGE_BASE]", "[DOCUMENT]");
-   *   Empty response = documentsClient.deleteDocumentAsync(name).get();
+   *   documentsClient.deleteDocumentAsync(name).get();
    * }
    * 
* @@ -588,7 +588,7 @@ public final OperationFuture deleteDocumentAs *

    * try (DocumentsClient documentsClient = DocumentsClient.create()) {
    *   DocumentName name = DocumentName.of("[PROJECT]", "[KNOWLEDGE_BASE]", "[DOCUMENT]");
-   *   Empty response = documentsClient.deleteDocumentAsync(name.toString()).get();
+   *   documentsClient.deleteDocumentAsync(name.toString()).get();
    * }
    * 
* @@ -619,7 +619,7 @@ public final OperationFuture deleteDocumentAs * DeleteDocumentRequest request = DeleteDocumentRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = documentsClient.deleteDocumentAsync(request).get(); + * documentsClient.deleteDocumentAsync(request).get(); * } * * @@ -648,9 +648,9 @@ public final OperationFuture deleteDocumentAs * DeleteDocumentRequest request = DeleteDocumentRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = documentsClient.deleteDocumentOperationCallable().futureCall(request); + * OperationFuture<Empty, KnowledgeOperationMetadata> future = documentsClient.deleteDocumentOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java index 180d58a04f2b..797c5ea48bc0 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java @@ -959,7 +959,7 @@ public final OperationFuture batchUpdate * BatchUpdateEntityTypesRequest request = BatchUpdateEntityTypesRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request); + * OperationFuture<BatchUpdateEntityTypesResponse, Struct> future = entityTypesClient.batchUpdateEntityTypesOperationCallable().futureCall(request); * // Do something * BatchUpdateEntityTypesResponse response = future.get(); * } @@ -1012,7 +1012,7 @@ public final OperationFuture batchUpdate * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<String> entityTypeNames = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); + * entityTypesClient.batchDeleteEntityTypesAsync(parent, entityTypeNames).get(); * } * * @@ -1048,7 +1048,7 @@ public final OperationFuture batchDeleteEntityTypesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<String> entityTypeNames = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get(); + * entityTypesClient.batchDeleteEntityTypesAsync(parent.toString(), entityTypeNames).get(); * } * * @@ -1088,7 +1088,7 @@ public final OperationFuture batchDeleteEntityTypesAsync( * .setParent(parent.toString()) * .addAllEntityTypeNames(entityTypeNames) * .build(); - * Empty response = entityTypesClient.batchDeleteEntityTypesAsync(request).get(); + * entityTypesClient.batchDeleteEntityTypesAsync(request).get(); * } * * @@ -1119,9 +1119,9 @@ public final OperationFuture batchDeleteEntityTypesAsync( * .setParent(parent.toString()) * .addAllEntityTypeNames(entityTypeNames) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntityTypesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1172,7 +1172,7 @@ public final OperationFuture batchDeleteEntityTypesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent, entities).get(); * } * * @@ -1207,7 +1207,7 @@ public final OperationFuture batchCreateEntitiesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities).get(); * } * * @@ -1240,7 +1240,7 @@ public final OperationFuture batchCreateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent, entities, languageCode).get(); * } * * @@ -1281,7 +1281,7 @@ public final OperationFuture batchCreateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get(); + * entityTypesClient.batchCreateEntitiesAsync(parent.toString(), entities, languageCode).get(); * } * * @@ -1325,7 +1325,7 @@ public final OperationFuture batchCreateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * Empty response = entityTypesClient.batchCreateEntitiesAsync(request).get(); + * entityTypesClient.batchCreateEntitiesAsync(request).get(); * } * * @@ -1356,9 +1356,9 @@ public final OperationFuture batchCreateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchCreateEntitiesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1408,7 +1408,7 @@ public final UnaryCallable batchCreateEnt * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent, entities).get(); * } * * @@ -1443,7 +1443,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities).get(); * } * * @@ -1476,7 +1476,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent, entities, languageCode).get(); * } * * @@ -1517,7 +1517,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<EntityType.Entity> entities = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get(); + * entityTypesClient.batchUpdateEntitiesAsync(parent.toString(), entities, languageCode).get(); * } * * @@ -1561,7 +1561,7 @@ public final OperationFuture batchUpdateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * Empty response = entityTypesClient.batchUpdateEntitiesAsync(request).get(); + * entityTypesClient.batchUpdateEntitiesAsync(request).get(); * } * * @@ -1592,9 +1592,9 @@ public final OperationFuture batchUpdateEntitiesAsync( * .setParent(parent.toString()) * .addAllEntities(entities) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchUpdateEntitiesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1644,7 +1644,7 @@ public final UnaryCallable batchUpdateEnt * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues).get(); * } * * @@ -1680,7 +1680,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) { * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues).get(); * } * * @@ -1717,7 +1717,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent, entityValues, languageCode).get(); * } * * @@ -1759,7 +1759,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]"); * List<String> entityValues = new ArrayList<>(); * String languageCode = ""; - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get(); + * entityTypesClient.batchDeleteEntitiesAsync(parent.toString(), entityValues, languageCode).get(); * } * * @@ -1804,7 +1804,7 @@ public final OperationFuture batchDeleteEntitiesAsync( * .setParent(parent.toString()) * .addAllEntityValues(entityValues) * .build(); - * Empty response = entityTypesClient.batchDeleteEntitiesAsync(request).get(); + * entityTypesClient.batchDeleteEntitiesAsync(request).get(); * } * * @@ -1835,9 +1835,9 @@ public final OperationFuture batchDeleteEntitiesAsync( * .setParent(parent.toString()) * .addAllEntityValues(entityValues) * .build(); - * OperationFuture<Operation> future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = entityTypesClient.batchDeleteEntitiesOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java index 57a802c8d785..a944178880e1 100644 --- a/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java +++ b/google-cloud-clients/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java @@ -971,7 +971,7 @@ public final OperationFuture batchUpdateInte * .setParent(parent.toString()) * .setLanguageCode(languageCode) * .build(); - * OperationFuture<Operation> future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request); + * OperationFuture<BatchUpdateIntentsResponse, Struct> future = intentsClient.batchUpdateIntentsOperationCallable().futureCall(request); * // Do something * BatchUpdateIntentsResponse response = future.get(); * } @@ -1022,7 +1022,7 @@ public final UnaryCallable batchUpdateInte * try (IntentsClient intentsClient = IntentsClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<Intent> intents = new ArrayList<>(); - * Empty response = intentsClient.batchDeleteIntentsAsync(parent, intents).get(); + * intentsClient.batchDeleteIntentsAsync(parent, intents).get(); * } * * @@ -1057,7 +1057,7 @@ public final OperationFuture batchDeleteIntentsAsync( * try (IntentsClient intentsClient = IntentsClient.create()) { * ProjectAgentName parent = ProjectAgentName.of("[PROJECT]"); * List<Intent> intents = new ArrayList<>(); - * Empty response = intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get(); + * intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get(); * } * * @@ -1093,7 +1093,7 @@ public final OperationFuture batchDeleteIntentsAsync( * .setParent(parent.toString()) * .addAllIntents(intents) * .build(); - * Empty response = intentsClient.batchDeleteIntentsAsync(request).get(); + * intentsClient.batchDeleteIntentsAsync(request).get(); * } * * @@ -1123,9 +1123,9 @@ public final OperationFuture batchDeleteIntentsAsync( * .setParent(parent.toString()) * .addAllIntents(intents) * .build(); - * OperationFuture<Operation> future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request); + * OperationFuture<Empty, Struct> future = intentsClient.batchDeleteIntentsOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-dialogflow/synth.metadata b/google-cloud-clients/google-cloud-dialogflow/synth.metadata index 1833730c6840..ff26c85e702c 100644 --- a/google-cloud-clients/google-cloud-dialogflow/synth.metadata +++ b/google-cloud-clients/google-cloud-dialogflow/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:42:27.093781Z", + "updateTime": "2019-02-02T08:39:12.110087Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From 6e7ef816e569b274a5898dcb3406232526db95e6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 08:31:06 -0800 Subject: [PATCH 62/90] Regenerate redis client (#4431) --- .../google/cloud/redis/v1/CloudRedisClient.java | 14 +++++++------- .../cloud/redis/v1beta1/CloudRedisClient.java | 14 +++++++------- .../google-cloud-redis/synth.metadata | 10 +++++----- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java index efdf41c9d556..3b06a7d2c1e3 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java @@ -630,7 +630,7 @@ public final OperationFuture createInstanceAsync( * .setInstanceId(instanceId) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, OperationMetadata> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -799,7 +799,7 @@ public final OperationFuture updateInstanceAsync( * .setUpdateMask(updateMask) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, OperationMetadata> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -858,7 +858,7 @@ public final UnaryCallable updateInstanceCalla *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name).get();
+   *   cloudRedisClient.deleteInstanceAsync(name).get();
    * }
    * 
* @@ -885,7 +885,7 @@ public final OperationFuture deleteInstanceAsync(Insta *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name.toString()).get();
+   *   cloudRedisClient.deleteInstanceAsync(name.toString()).get();
    * }
    * 
* @@ -914,7 +914,7 @@ public final OperationFuture deleteInstanceAsync(Strin * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = cloudRedisClient.deleteInstanceAsync(request).get(); + * cloudRedisClient.deleteInstanceAsync(request).get(); * } * * @@ -940,9 +940,9 @@ public final OperationFuture deleteInstanceAsync( * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java index b731b850ce07..cc170adda598 100644 --- a/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java +++ b/google-cloud-clients/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java @@ -630,7 +630,7 @@ public final OperationFuture createInstanceAsync(CreateInstanceRe * .setInstanceId(instanceId) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, Any> future = cloudRedisClient.createInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -798,7 +798,7 @@ public final OperationFuture updateInstanceAsync(UpdateInstanceRe * .setUpdateMask(updateMask) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, Any> future = cloudRedisClient.updateInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -857,7 +857,7 @@ public final UnaryCallable updateInstanceCalla *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name).get();
+   *   cloudRedisClient.deleteInstanceAsync(name).get();
    * }
    * 
* @@ -884,7 +884,7 @@ public final OperationFuture deleteInstanceAsync(InstanceName name) *

    * try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
    *   InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
-   *   Empty response = cloudRedisClient.deleteInstanceAsync(name.toString()).get();
+   *   cloudRedisClient.deleteInstanceAsync(name.toString()).get();
    * }
    * 
* @@ -913,7 +913,7 @@ public final OperationFuture deleteInstanceAsync(String name) { * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = cloudRedisClient.deleteInstanceAsync(request).get(); + * cloudRedisClient.deleteInstanceAsync(request).get(); * } * * @@ -938,9 +938,9 @@ public final OperationFuture deleteInstanceAsync(DeleteInstanceReque * DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); + * OperationFuture<Empty, Any> future = cloudRedisClient.deleteInstanceOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-redis/synth.metadata b/google-cloud-clients/google-cloud-redis/synth.metadata index c4deaff1c724..e7d3f0f8159d 100644 --- a/google-cloud-clients/google-cloud-redis/synth.metadata +++ b/google-cloud-clients/google-cloud-redis/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:49:36.458402Z", + "updateTime": "2019-02-02T08:45:39.488575Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From 17ec9ac1d1a20bc00512dfab4ad1ca01fdc19e69 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 08:33:27 -0800 Subject: [PATCH 63/90] Regenerate securitycenter client (#4432) --- .../securitycenter/v1beta1/SecurityCenterClient.java | 10 +++++----- .../google-cloud-securitycenter/synth.metadata | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java index cf7e993da758..8812fdf6294e 100644 --- a/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java +++ b/google-cloud-clients/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java @@ -1261,7 +1261,7 @@ public final UnaryCallable listSourcesC *

    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
-   *   Empty response = securityCenterClient.runAssetDiscoveryAsync(parent).get();
+   *   securityCenterClient.runAssetDiscoveryAsync(parent).get();
    * }
    * 
* @@ -1292,7 +1292,7 @@ public final OperationFuture runAssetDiscoveryAsync(OrganizationNa *

    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
-   *   Empty response = securityCenterClient.runAssetDiscoveryAsync(parent.toString()).get();
+   *   securityCenterClient.runAssetDiscoveryAsync(parent.toString()).get();
    * }
    * 
* @@ -1324,7 +1324,7 @@ public final OperationFuture runAssetDiscoveryAsync(String parent) * RunAssetDiscoveryRequest request = RunAssetDiscoveryRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * Empty response = securityCenterClient.runAssetDiscoveryAsync(request).get(); + * securityCenterClient.runAssetDiscoveryAsync(request).get(); * } * * @@ -1353,9 +1353,9 @@ public final OperationFuture runAssetDiscoveryAsync( * RunAssetDiscoveryRequest request = RunAssetDiscoveryRequest.newBuilder() * .setParent(parent.toString()) * .build(); - * OperationFuture<Operation> future = securityCenterClient.runAssetDiscoveryOperationCallable().futureCall(request); + * OperationFuture<Empty, Empty> future = securityCenterClient.runAssetDiscoveryOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-securitycenter/synth.metadata b/google-cloud-clients/google-cloud-securitycenter/synth.metadata index 80499cd1a1e2..10eb16778d35 100644 --- a/google-cloud-clients/google-cloud-securitycenter/synth.metadata +++ b/google-cloud-clients/google-cloud-securitycenter/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:50:12.007255Z", + "updateTime": "2019-02-02T08:46:39.989912Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From dba084890ccccff94f6d97f9ceb0d7a9c8017a33 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 08:43:03 -0800 Subject: [PATCH 64/90] Regenerate tasks client (#4411) --- .../tasks/v2beta3/AppEngineHttpRequest.java | 24 + .../cloud/tasks/v2beta3/AppEngineRouting.java | 20 +- .../google/cloud/tasks/v2beta3/Attempt.java | 24 +- .../cloud/tasks/v2beta3/AttemptOrBuilder.java | 6 +- .../cloud/tasks/v2beta3/HttpMethod.java | 44 ++ .../com/google/cloud/tasks/v2beta3/Queue.java | 244 +++++--- .../cloud/tasks/v2beta3/QueueOrBuilder.java | 57 +- .../cloud/tasks/v2beta3/TargetProto.java | 11 +- .../com/google/cloud/tasks/v2beta3/Task.java | 589 ++++++++++++++++-- .../cloud/tasks/v2beta3/TaskOrBuilder.java | 112 +++- .../google/cloud/tasks/v2beta3/TaskProto.java | 51 +- .../google/cloud/tasks/v2beta3/queue.proto | 37 +- .../google/cloud/tasks/v2beta3/target.proto | 29 +- .../google/cloud/tasks/v2beta3/task.proto | 43 +- .../google-cloud-tasks/synth.metadata | 10 +- 15 files changed, 1047 insertions(+), 254 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java index adfd0c0d992a..b1db0a4dab61 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java @@ -22,6 +22,11 @@ * [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) * and how routing is affected by * [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). + * Traffic is encrypted during transport and never leaves Google datacenters. + * Because this traffic is carried over a communication mechanism internal to + * Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). + * The request to the handler, however, will appear to have used the HTTP + * protocol. * The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is * delivered to can be set at the queue-level or task-level: * * If set, @@ -32,6 +37,13 @@ * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` * [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] + * Tasks can be dispatched to secure app handlers, unsecure app handlers, and + * URIs restricted with + * [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). + * Because tasks are not run as any user, they cannot be dispatched to URIs + * restricted with + * [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) + * Task dispatches also do not follow redirects. * The task attempt has succeeded if the app's request handler returns * an HTTP response code in the range [`200` - `299`]. `503` is * considered an App Engine system error instead of an application @@ -790,6 +802,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) * and how routing is affected by * [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). + * Traffic is encrypted during transport and never leaves Google datacenters. + * Because this traffic is carried over a communication mechanism internal to + * Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). + * The request to the handler, however, will appear to have used the HTTP + * protocol. * The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is * delivered to can be set at the queue-level or task-level: * * If set, @@ -800,6 +817,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` * [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] + * Tasks can be dispatched to secure app handlers, unsecure app handlers, and + * URIs restricted with + * [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). + * Because tasks are not run as any user, they cannot be dispatched to URIs + * restricted with + * [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) + * Task dispatches also do not follow redirects. * The task attempt has succeeded if the app's request handler returns * an HTTP response code in the range [`200` - `299`]. `503` is * considered an App Engine system error instead of an application diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index 1121b453c742..c5a492f23e95 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -8,14 +8,8 @@ * *
  * App Engine Routing.
- * Specifies the target URI. Since this target type dispatches tasks to secure
- * app handlers, unsecure app handlers, and URIs restricted with
- * [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
- * the protocol (for example, HTTP or HTTPS) cannot be explictly specified.
- * Task dispatches do not follow redirects and cannot target URI paths
- * restricted with
- * [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
- * because tasks are not run as any user.
+ * Defines routing characteristics specific to App Engine - service, version,
+ * and instance.
  * For more information about services, versions, and instances see
  * [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
  * [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
@@ -572,14 +566,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * App Engine Routing.
-   * Specifies the target URI. Since this target type dispatches tasks to secure
-   * app handlers, unsecure app handlers, and URIs restricted with
-   * [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
-   * the protocol (for example, HTTP or HTTPS) cannot be explictly specified.
-   * Task dispatches do not follow redirects and cannot target URI paths
-   * restricted with
-   * [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
-   * because tasks are not run as any user.
+   * Defines routing characteristics specific to App Engine - service, version,
+   * and instance.
    * For more information about services, versions, and instances see
    * [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
    * [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java
index cf5f399eacfc..87ed99dc269f 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java
@@ -280,7 +280,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    *
    *
    * 
-   * Output only. The response from the target for this attempt.
+   * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
    * currently running and the `response_status` field is meaningless.
    * 
@@ -294,7 +294,7 @@ public boolean hasResponseStatus() { * * *
-   * Output only. The response from the target for this attempt.
+   * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
    * currently running and the `response_status` field is meaningless.
    * 
@@ -308,7 +308,7 @@ public com.google.rpc.Status getResponseStatus() { * * *
-   * Output only. The response from the target for this attempt.
+   * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
    * currently running and the `response_status` field is meaningless.
    * 
@@ -1309,7 +1309,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1323,7 +1323,7 @@ public boolean hasResponseStatus() { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1343,7 +1343,7 @@ public com.google.rpc.Status getResponseStatus() { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1367,7 +1367,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1388,7 +1388,7 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1414,7 +1414,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1436,7 +1436,7 @@ public Builder clearResponseStatus() { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1452,7 +1452,7 @@ public com.google.rpc.Status.Builder getResponseStatusBuilder() { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
@@ -1472,7 +1472,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() { * * *
-     * Output only. The response from the target for this attempt.
+     * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
      * currently running and the `response_status` field is meaningless.
      * 
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java index 163787e92915..cd572113f6a9 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java @@ -114,7 +114,7 @@ public interface AttemptOrBuilder * * *
-   * Output only. The response from the target for this attempt.
+   * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
    * currently running and the `response_status` field is meaningless.
    * 
@@ -126,7 +126,7 @@ public interface AttemptOrBuilder * * *
-   * Output only. The response from the target for this attempt.
+   * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
    * currently running and the `response_status` field is meaningless.
    * 
@@ -138,7 +138,7 @@ public interface AttemptOrBuilder * * *
-   * Output only. The response from the target for this attempt.
+   * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
    * currently running and the `response_status` field is meaningless.
    * 
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java index e51b5f95602d..cae522cc6cce 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java @@ -73,6 +73,26 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { * DELETE = 5; */ DELETE(5), + /** + * + * + *
+   * HTTP PATCH
+   * 
+ * + * PATCH = 6; + */ + PATCH(6), + /** + * + * + *
+   * HTTP OPTIONS
+   * 
+ * + * OPTIONS = 7; + */ + OPTIONS(7), UNRECOGNIZED(-1), ; @@ -136,6 +156,26 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { * DELETE = 5; */ public static final int DELETE_VALUE = 5; + /** + * + * + *
+   * HTTP PATCH
+   * 
+ * + * PATCH = 6; + */ + public static final int PATCH_VALUE = 6; + /** + * + * + *
+   * HTTP OPTIONS
+   * 
+ * + * OPTIONS = 7; + */ + public static final int OPTIONS_VALUE = 7; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -165,6 +205,10 @@ public static HttpMethod forNumber(int value) { return PUT; case 5: return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; default: return null; } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index f2a2da25fa21..7e6dbbc8336b 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java @@ -221,9 +221,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { *
      * The queue is disabled.
      * A queue becomes `DISABLED` when
-     * [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) or
-     * [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded
-     * which does not contain the queue. You cannot directly disable a queue.
+     * [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref)
+     * or
+     * [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref)
+     * is uploaded which does not contain the queue. You cannot directly disable
+     * a queue.
      * When a queue is disabled, tasks can still be added to a queue
      * but the tasks are not dispatched.
      * To permanently delete this queue and all of its tasks, call
@@ -280,9 +282,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
-     * [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) or
-     * [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded
-     * which does not contain the queue. You cannot directly disable a queue.
+     * [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref)
+     * or
+     * [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref)
+     * is uploaded which does not contain the queue. You cannot directly disable
+     * a queue.
      * When a queue is disabled, tasks can still be added to a queue
      * but the tasks are not dispatched.
      * To permanently delete this queue and all of its tasks, call
@@ -479,8 +483,8 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    *
    * 
-   * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -492,8 +496,8 @@ public boolean hasAppEngineHttpQueue() { * * *
-   * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -508,8 +512,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() * * *
-   * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -529,10 +533,9 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-   * control task attempts however they control how tasks are
-   * attempted in different ways:
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
    * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
@@ -541,6 +544,14 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    *   particular a task after its first attempt fails. That is,
    *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
    *   second attempt, third attempt, etc).
+   * The queue's actual dispatch rate is the result of:
+   * * Number of tasks in the queue
+   * * User-specified throttling: [rate limits][Queue.RateLimits]
+   *   [retry configuration][Queue.RetryConfig], and the
+   *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+   * * System throttling due to `429` (Too Many Requests) or `503` (Service
+   *   Unavailable) responses from the worker, high error rates, or to smooth
+   *   sudden large traffic spikes.
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -553,10 +564,9 @@ public boolean hasRateLimits() { * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-   * control task attempts however they control how tasks are
-   * attempted in different ways:
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
    * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
@@ -565,6 +575,14 @@ public boolean hasRateLimits() {
    *   particular a task after its first attempt fails. That is,
    *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
    *   second attempt, third attempt, etc).
+   * The queue's actual dispatch rate is the result of:
+   * * Number of tasks in the queue
+   * * User-specified throttling: [rate limits][Queue.RateLimits]
+   *   [retry configuration][Queue.RetryConfig], and the
+   *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+   * * System throttling due to `429` (Too Many Requests) or `503` (Service
+   *   Unavailable) responses from the worker, high error rates, or to smooth
+   *   sudden large traffic spikes.
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -579,10 +597,9 @@ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-   * control task attempts however they control how tasks are
-   * attempted in different ways:
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
    * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
@@ -591,6 +608,14 @@ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() {
    *   particular a task after its first attempt fails. That is,
    *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
    *   second attempt, third attempt, etc).
+   * The queue's actual dispatch rate is the result of:
+   * * Number of tasks in the queue
+   * * User-specified throttling: [rate limits][Queue.RateLimits]
+   *   [retry configuration][Queue.RetryConfig], and the
+   *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+   * * System throttling due to `429` (Too Many Requests) or `503` (Service
+   *   Unavailable) responses from the worker, high error rates, or to smooth
+   *   sudden large traffic spikes.
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1406,8 +1431,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1419,8 +1444,8 @@ public boolean hasAppEngineHttpQueue() { * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1442,8 +1467,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1465,8 +1490,8 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1486,8 +1511,8 @@ public Builder setAppEngineHttpQueue( * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1520,8 +1545,8 @@ public Builder mergeAppEngineHttpQueue( * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1546,8 +1571,8 @@ public Builder clearAppEngineHttpQueue() { * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1560,8 +1585,8 @@ public Builder clearAppEngineHttpQueue() { * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1581,8 +1606,8 @@ public Builder clearAppEngineHttpQueue() { * * *
-     * App Engine HTTP queue.
-     * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1623,10 +1648,9 @@ public Builder clearAppEngineHttpQueue() { * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1635,6 +1659,14 @@ public Builder clearAppEngineHttpQueue() {
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1647,10 +1679,9 @@ public boolean hasRateLimits() { * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1659,6 +1690,14 @@ public boolean hasRateLimits() {
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1677,10 +1716,9 @@ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1689,6 +1727,14 @@ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() {
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1711,10 +1757,9 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) { * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1723,6 +1768,14 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1743,10 +1796,9 @@ public Builder setRateLimits( * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1755,6 +1807,14 @@ public Builder setRateLimits(
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1781,10 +1841,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1793,6 +1852,14 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1813,10 +1880,9 @@ public Builder clearRateLimits() { * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1825,6 +1891,14 @@ public Builder clearRateLimits() {
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1839,10 +1913,9 @@ public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder() * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1851,6 +1924,14 @@ public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder()
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -1869,10 +1950,9 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-     * control task attempts however they control how tasks are
-     * attempted in different ways:
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
      * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
@@ -1881,6 +1961,14 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      *   particular a task after its first attempt fails. That is,
      *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
      *   second attempt, third attempt, etc).
+     * The queue's actual dispatch rate is the result of:
+     * * Number of tasks in the queue
+     * * User-specified throttling: [rate limits][Queue.RateLimits]
+     *   [retry configuration][Queue.RetryConfig], and the
+     *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+     * * System throttling due to `429` (Too Many Requests) or `503` (Service
+     *   Unavailable) responses from the worker, high error rates, or to smooth
+     *   sudden large traffic spikes.
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index 13288cd55ef9..8cbc8f4e289a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java @@ -61,8 +61,8 @@ public interface QueueOrBuilder * * *
-   * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -72,8 +72,8 @@ public interface QueueOrBuilder * * *
-   * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -83,8 +83,8 @@ public interface QueueOrBuilder * * *
-   * App Engine HTTP queue.
-   * An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -96,10 +96,9 @@ public interface QueueOrBuilder * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-   * control task attempts however they control how tasks are
-   * attempted in different ways:
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
    * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
@@ -108,6 +107,14 @@ public interface QueueOrBuilder
    *   particular a task after its first attempt fails. That is,
    *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
    *   second attempt, third attempt, etc).
+   * The queue's actual dispatch rate is the result of:
+   * * Number of tasks in the queue
+   * * User-specified throttling: [rate limits][Queue.RateLimits]
+   *   [retry configuration][Queue.RetryConfig], and the
+   *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+   * * System throttling due to `429` (Too Many Requests) or `503` (Service
+   *   Unavailable) responses from the worker, high error rates, or to smooth
+   *   sudden large traffic spikes.
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -118,10 +125,9 @@ public interface QueueOrBuilder * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-   * control task attempts however they control how tasks are
-   * attempted in different ways:
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
    * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
@@ -130,6 +136,14 @@ public interface QueueOrBuilder
    *   particular a task after its first attempt fails. That is,
    *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
    *   second attempt, third attempt, etc).
+   * The queue's actual dispatch rate is the result of:
+   * * Number of tasks in the queue
+   * * User-specified throttling: [rate limits][Queue.RateLimits]
+   *   [retry configuration][Queue.RetryConfig], and the
+   *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+   * * System throttling due to `429` (Too Many Requests) or `503` (Service
+   *   Unavailable) responses from the worker, high error rates, or to smooth
+   *   sudden large traffic spikes.
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; @@ -140,10 +154,9 @@ public interface QueueOrBuilder * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both
-   * control task attempts however they control how tasks are
-   * attempted in different ways:
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
    * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
@@ -152,6 +165,14 @@ public interface QueueOrBuilder
    *   particular a task after its first attempt fails. That is,
    *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
    *   second attempt, third attempt, etc).
+   * The queue's actual dispatch rate is the result of:
+   * * Number of tasks in the queue
+   * * User-specified throttling: [rate limits][Queue.RateLimits]
+   *   [retry configuration][Queue.RetryConfig], and the
+   *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+   * * System throttling due to `429` (Too Many Requests) or `503` (Service
+   *   Unavailable) responses from the worker, high error rates, or to smooth
+   *   sudden large traffic spikes.
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java index e7eb5748e789..5648bc9c4cab 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -52,12 +52,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + " \001(\t:\0028\001\"T\n\020AppEngineRouting\022\017\n\007service\030" + "\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t" - + "\022\014\n\004host\030\004 \001(\t*[\n\nHttpMethod\022\033\n\027HTTP_MET" + + "\022\014\n\004host\030\004 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_MET" + "HOD_UNSPECIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004" - + "HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE\020\005Bp\n\036com.googl" - + "e.cloud.tasks.v2beta3B\013TargetProtoP\001Z?go" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/tasks/v2beta3;tasksb\006proto3" + + "HEAD\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\007Bp\n\036com.google.cloud.tasks.v2" + + "beta3B\013TargetProtoP\001Z?google.golang.org/" + + "genproto/googleapis/cloud/tasks/v2beta3;" + + "tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index fc23cf782ecd..bb1e6a303427 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java @@ -157,6 +157,21 @@ private Task( int rawValue = input.readEnum(); view_ = rawValue; + break; + } + case 98: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); + } + break; } default: @@ -476,10 +491,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * App Engine HTTP request that is sent to the task's target. Can
-   * be set only if
-   * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-   * on the queue.
+   * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* @@ -492,10 +504,7 @@ public boolean hasAppEngineHttpRequest() { * * *
-   * App Engine HTTP request that is sent to the task's target. Can
-   * be set only if
-   * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-   * on the queue.
+   * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* @@ -511,10 +520,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque * * *
-   * App Engine HTTP request that is sent to the task's target. Can
-   * be set only if
-   * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-   * on the queue.
+   * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* @@ -617,6 +623,113 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return getCreateTime(); } + public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 12; + private com.google.protobuf.Duration dispatchDeadline_; + /** + * + * + *
+   * The deadline for requests sent to the worker. If the worker does not
+   * respond by this deadline then the request is cancelled and the attempt
+   * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+   * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+   * Note that when the request is cancelled, Cloud Tasks will stop listing for
+   * the response, but whether the worker stops processing depends on the
+   * worker. For example, if the worker is stuck, it may not react to cancelled
+   * requests.
+   * The default and maximum values depend on the type of request:
+   * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+   *   request has the default deadline. The default deadline depends on the
+   *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+   *   of the service: 10 minutes for standard apps with automatic scaling, 24
+   *   hours for standard apps with manual and basic scaling, and 60 minutes for
+   *   flex apps. If the request deadline is set, it must be in the interval [15
+   *   seconds, 24 hours 15 seconds]. Regardless of the task's
+   *   `dispatch_deadline`, the app handler will not run for longer than than
+   *   the service's timeout. We recommend setting the `dispatch_deadline` to
+   *   at most a few seconds more than the app handler's timeout. For more
+   *   information see
+   *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+   * `dispatch_deadline` will be truncated to the nearest millisecond. The
+   * deadline is an approximate deadline.
+   * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public boolean hasDispatchDeadline() { + return dispatchDeadline_ != null; + } + /** + * + * + *
+   * The deadline for requests sent to the worker. If the worker does not
+   * respond by this deadline then the request is cancelled and the attempt
+   * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+   * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+   * Note that when the request is cancelled, Cloud Tasks will stop listing for
+   * the response, but whether the worker stops processing depends on the
+   * worker. For example, if the worker is stuck, it may not react to cancelled
+   * requests.
+   * The default and maximum values depend on the type of request:
+   * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+   *   request has the default deadline. The default deadline depends on the
+   *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+   *   of the service: 10 minutes for standard apps with automatic scaling, 24
+   *   hours for standard apps with manual and basic scaling, and 60 minutes for
+   *   flex apps. If the request deadline is set, it must be in the interval [15
+   *   seconds, 24 hours 15 seconds]. Regardless of the task's
+   *   `dispatch_deadline`, the app handler will not run for longer than than
+   *   the service's timeout. We recommend setting the `dispatch_deadline` to
+   *   at most a few seconds more than the app handler's timeout. For more
+   *   information see
+   *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+   * `dispatch_deadline` will be truncated to the nearest millisecond. The
+   * deadline is an approximate deadline.
+   * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public com.google.protobuf.Duration getDispatchDeadline() { + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; + } + /** + * + * + *
+   * The deadline for requests sent to the worker. If the worker does not
+   * respond by this deadline then the request is cancelled and the attempt
+   * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+   * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+   * Note that when the request is cancelled, Cloud Tasks will stop listing for
+   * the response, but whether the worker stops processing depends on the
+   * worker. For example, if the worker is stuck, it may not react to cancelled
+   * requests.
+   * The default and maximum values depend on the type of request:
+   * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+   *   request has the default deadline. The default deadline depends on the
+   *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+   *   of the service: 10 minutes for standard apps with automatic scaling, 24
+   *   hours for standard apps with manual and basic scaling, and 60 minutes for
+   *   flex apps. If the request deadline is set, it must be in the interval [15
+   *   seconds, 24 hours 15 seconds]. Regardless of the task's
+   *   `dispatch_deadline`, the app handler will not run for longer than than
+   *   the service's timeout. We recommend setting the `dispatch_deadline` to
+   *   at most a few seconds more than the app handler's timeout. For more
+   *   information see
+   *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+   * `dispatch_deadline` will be truncated to the nearest millisecond. The
+   * deadline is an approximate deadline.
+   * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() { + return getDispatchDeadline(); + } + public static final int DISPATCH_COUNT_FIELD_NUMBER = 6; private int dispatchCount_; /** @@ -810,6 +923,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(10, view_); } + if (dispatchDeadline_ != null) { + output.writeMessage(12, getDispatchDeadline()); + } unknownFields.writeTo(output); } @@ -848,6 +964,9 @@ public int getSerializedSize() { if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, view_); } + if (dispatchDeadline_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDispatchDeadline()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -873,6 +992,10 @@ public boolean equals(final java.lang.Object obj) { if (hasCreateTime()) { result = result && getCreateTime().equals(other.getCreateTime()); } + result = result && (hasDispatchDeadline() == other.hasDispatchDeadline()); + if (hasDispatchDeadline()) { + result = result && getDispatchDeadline().equals(other.getDispatchDeadline()); + } result = result && (getDispatchCount() == other.getDispatchCount()); result = result && (getResponseCount() == other.getResponseCount()); result = result && (hasFirstAttempt() == other.hasFirstAttempt()); @@ -914,6 +1037,10 @@ public int hashCode() { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } + if (hasDispatchDeadline()) { + hash = (37 * hash) + DISPATCH_DEADLINE_FIELD_NUMBER; + hash = (53 * hash) + getDispatchDeadline().hashCode(); + } hash = (37 * hash) + DISPATCH_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDispatchCount(); hash = (37 * hash) + RESPONSE_COUNT_FIELD_NUMBER; @@ -1094,6 +1221,12 @@ public Builder clear() { createTime_ = null; createTimeBuilder_ = null; } + if (dispatchDeadlineBuilder_ == null) { + dispatchDeadline_ = null; + } else { + dispatchDeadline_ = null; + dispatchDeadlineBuilder_ = null; + } dispatchCount_ = 0; responseCount_ = 0; @@ -1158,6 +1291,11 @@ public com.google.cloud.tasks.v2beta3.Task buildPartial() { } else { result.createTime_ = createTimeBuilder_.build(); } + if (dispatchDeadlineBuilder_ == null) { + result.dispatchDeadline_ = dispatchDeadline_; + } else { + result.dispatchDeadline_ = dispatchDeadlineBuilder_.build(); + } result.dispatchCount_ = dispatchCount_; result.responseCount_ = responseCount_; if (firstAttemptBuilder_ == null) { @@ -1231,6 +1369,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Task other) { if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } + if (other.hasDispatchDeadline()) { + mergeDispatchDeadline(other.getDispatchDeadline()); + } if (other.getDispatchCount() != 0) { setDispatchCount(other.getDispatchCount()); } @@ -1478,10 +1619,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1494,10 +1632,7 @@ public boolean hasAppEngineHttpRequest() { * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1520,10 +1655,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1547,10 +1679,7 @@ public Builder setAppEngineHttpRequest( * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1571,10 +1700,7 @@ public Builder setAppEngineHttpRequest( * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1608,10 +1734,7 @@ public Builder mergeAppEngineHttpRequest( * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1637,10 +1760,7 @@ public Builder clearAppEngineHttpRequest() { * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1654,10 +1774,7 @@ public Builder clearAppEngineHttpRequest() { * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -1678,10 +1795,7 @@ public Builder clearAppEngineHttpRequest() { * * *
-     * App Engine HTTP request that is sent to the task's target. Can
-     * be set only if
-     * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-     * on the queue.
+     * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* @@ -2099,6 +2213,385 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } + private com.google.protobuf.Duration dispatchDeadline_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + dispatchDeadlineBuilder_; + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public boolean hasDispatchDeadline() { + return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public com.google.protobuf.Duration getDispatchDeadline() { + if (dispatchDeadlineBuilder_ == null) { + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; + } else { + return dispatchDeadlineBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public Builder setDispatchDeadline(com.google.protobuf.Duration value) { + if (dispatchDeadlineBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dispatchDeadline_ = value; + onChanged(); + } else { + dispatchDeadlineBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) { + if (dispatchDeadlineBuilder_ == null) { + dispatchDeadline_ = builderForValue.build(); + onChanged(); + } else { + dispatchDeadlineBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) { + if (dispatchDeadlineBuilder_ == null) { + if (dispatchDeadline_ != null) { + dispatchDeadline_ = + com.google.protobuf.Duration.newBuilder(dispatchDeadline_) + .mergeFrom(value) + .buildPartial(); + } else { + dispatchDeadline_ = value; + } + onChanged(); + } else { + dispatchDeadlineBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public Builder clearDispatchDeadline() { + if (dispatchDeadlineBuilder_ == null) { + dispatchDeadline_ = null; + onChanged(); + } else { + dispatchDeadline_ = null; + dispatchDeadlineBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() { + + onChanged(); + return getDispatchDeadlineFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() { + if (dispatchDeadlineBuilder_ != null) { + return dispatchDeadlineBuilder_.getMessageOrBuilder(); + } else { + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; + } + } + /** + * + * + *
+     * The deadline for requests sent to the worker. If the worker does not
+     * respond by this deadline then the request is cancelled and the attempt
+     * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+     * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * Note that when the request is cancelled, Cloud Tasks will stop listing for
+     * the response, but whether the worker stops processing depends on the
+     * worker. For example, if the worker is stuck, it may not react to cancelled
+     * requests.
+     * The default and maximum values depend on the type of request:
+     * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+     *   request has the default deadline. The default deadline depends on the
+     *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+     *   of the service: 10 minutes for standard apps with automatic scaling, 24
+     *   hours for standard apps with manual and basic scaling, and 60 minutes for
+     *   flex apps. If the request deadline is set, it must be in the interval [15
+     *   seconds, 24 hours 15 seconds]. Regardless of the task's
+     *   `dispatch_deadline`, the app handler will not run for longer than than
+     *   the service's timeout. We recommend setting the `dispatch_deadline` to
+     *   at most a few seconds more than the app handler's timeout. For more
+     *   information see
+     *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+     * `dispatch_deadline` will be truncated to the nearest millisecond. The
+     * deadline is an approximate deadline.
+     * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getDispatchDeadlineFieldBuilder() { + if (dispatchDeadlineBuilder_ == null) { + dispatchDeadlineBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDispatchDeadline(), getParentForChildren(), isClean()); + dispatchDeadline_ = null; + } + return dispatchDeadlineBuilder_; + } + private int dispatchCount_; /** * diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 1bc1624d989a..e4a3d509d648 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java @@ -63,10 +63,7 @@ public interface TaskOrBuilder * * *
-   * App Engine HTTP request that is sent to the task's target. Can
-   * be set only if
-   * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-   * on the queue.
+   * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* @@ -77,10 +74,7 @@ public interface TaskOrBuilder * * *
-   * App Engine HTTP request that is sent to the task's target. Can
-   * be set only if
-   * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-   * on the queue.
+   * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* @@ -91,10 +85,7 @@ public interface TaskOrBuilder * * *
-   * App Engine HTTP request that is sent to the task's target. Can
-   * be set only if
-   * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set
-   * on the queue.
+   * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* @@ -173,6 +164,103 @@ public interface TaskOrBuilder */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + /** + * + * + *
+   * The deadline for requests sent to the worker. If the worker does not
+   * respond by this deadline then the request is cancelled and the attempt
+   * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+   * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+   * Note that when the request is cancelled, Cloud Tasks will stop listing for
+   * the response, but whether the worker stops processing depends on the
+   * worker. For example, if the worker is stuck, it may not react to cancelled
+   * requests.
+   * The default and maximum values depend on the type of request:
+   * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+   *   request has the default deadline. The default deadline depends on the
+   *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+   *   of the service: 10 minutes for standard apps with automatic scaling, 24
+   *   hours for standard apps with manual and basic scaling, and 60 minutes for
+   *   flex apps. If the request deadline is set, it must be in the interval [15
+   *   seconds, 24 hours 15 seconds]. Regardless of the task's
+   *   `dispatch_deadline`, the app handler will not run for longer than than
+   *   the service's timeout. We recommend setting the `dispatch_deadline` to
+   *   at most a few seconds more than the app handler's timeout. For more
+   *   information see
+   *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+   * `dispatch_deadline` will be truncated to the nearest millisecond. The
+   * deadline is an approximate deadline.
+   * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + boolean hasDispatchDeadline(); + /** + * + * + *
+   * The deadline for requests sent to the worker. If the worker does not
+   * respond by this deadline then the request is cancelled and the attempt
+   * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+   * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+   * Note that when the request is cancelled, Cloud Tasks will stop listing for
+   * the response, but whether the worker stops processing depends on the
+   * worker. For example, if the worker is stuck, it may not react to cancelled
+   * requests.
+   * The default and maximum values depend on the type of request:
+   * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+   *   request has the default deadline. The default deadline depends on the
+   *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+   *   of the service: 10 minutes for standard apps with automatic scaling, 24
+   *   hours for standard apps with manual and basic scaling, and 60 minutes for
+   *   flex apps. If the request deadline is set, it must be in the interval [15
+   *   seconds, 24 hours 15 seconds]. Regardless of the task's
+   *   `dispatch_deadline`, the app handler will not run for longer than than
+   *   the service's timeout. We recommend setting the `dispatch_deadline` to
+   *   at most a few seconds more than the app handler's timeout. For more
+   *   information see
+   *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+   * `dispatch_deadline` will be truncated to the nearest millisecond. The
+   * deadline is an approximate deadline.
+   * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + com.google.protobuf.Duration getDispatchDeadline(); + /** + * + * + *
+   * The deadline for requests sent to the worker. If the worker does not
+   * respond by this deadline then the request is cancelled and the attempt
+   * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+   * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+   * Note that when the request is cancelled, Cloud Tasks will stop listing for
+   * the response, but whether the worker stops processing depends on the
+   * worker. For example, if the worker is stuck, it may not react to cancelled
+   * requests.
+   * The default and maximum values depend on the type of request:
+   * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+   *   request has the default deadline. The default deadline depends on the
+   *   [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+   *   of the service: 10 minutes for standard apps with automatic scaling, 24
+   *   hours for standard apps with manual and basic scaling, and 60 minutes for
+   *   flex apps. If the request deadline is set, it must be in the interval [15
+   *   seconds, 24 hours 15 seconds]. Regardless of the task's
+   *   `dispatch_deadline`, the app handler will not run for longer than than
+   *   the service's timeout. We recommend setting the `dispatch_deadline` to
+   *   at most a few seconds more than the app handler's timeout. For more
+   *   information see
+   *   [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+   * `dispatch_deadline` will be truncated to the nearest millisecond. The
+   * deadline is an approximate deadline.
+   * 
+ * + * .google.protobuf.Duration dispatch_deadline = 12; + */ + com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder(); + /** * * diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java index fbffa013bcd0..4626a02162e9 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -32,29 +32,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n%google/cloud/tasks/v2beta3/task.proto\022" + "\032google.cloud.tasks.v2beta3\032\034google/api/" + "annotations.proto\032\'google/cloud/tasks/v2" - + "beta3/target.proto\032\037google/protobuf/time" - + "stamp.proto\032\027google/rpc/status.proto\"\354\003\n" - + "\004Task\022\014\n\004name\030\001 \001(\t\022S\n\027app_engine_http_r" - + "equest\030\003 \001(\01320.google.cloud.tasks.v2beta" - + "3.AppEngineHttpRequestH\000\0221\n\rschedule_tim" - + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n\013c" - + "reate_time\030\005 \001(\0132\032.google.protobuf.Times" - + "tamp\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016response" - + "_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#.go" - + "ogle.cloud.tasks.v2beta3.Attempt\0229\n\014last" - + "_attempt\030\t \001(\0132#.google.cloud.tasks.v2be" - + "ta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cloud" - + ".tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020VIEW" - + "_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\016\n\014p" - + "ayload_type\"\317\001\n\007Attempt\0221\n\rschedule_time" - + "\030\001 \001(\0132\032.google.protobuf.Timestamp\0221\n\rdi" - + "spatch_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stamp\0221\n\rresponse_time\030\003 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022+\n\017response_status\030\004 \001(" - + "\0132\022.google.rpc.StatusBn\n\036com.google.clou" - + "d.tasks.v2beta3B\tTaskProtoP\001Z?google.gol" - + "ang.org/genproto/googleapis/cloud/tasks/" - + "v2beta3;tasksb\006proto3" + + "beta3/target.proto\032\036google/protobuf/dura" + + "tion.proto\032\037google/protobuf/timestamp.pr" + + "oto\032\027google/rpc/status.proto\"\242\004\n\004Task\022\014\n" + + "\004name\030\001 \001(\t\022S\n\027app_engine_http_request\030\003" + + " \001(\01320.google.cloud.tasks.v2beta3.AppEng" + + "ineHttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132" + + "\032.google.protobuf.Timestamp\022/\n\013create_ti" + + "me\030\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021" + + "dispatch_deadline\030\014 \001(\0132\031.google.protobu" + + "f.Duration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016re" + + "sponse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(" + + "\0132#.google.cloud.tasks.v2beta3.Attempt\0229" + + "\n\014last_attempt\030\t \001(\0132#.google.cloud.task" + + "s.v2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google" + + ".cloud.tasks.v2beta3.Task.View\"1\n\004View\022\024" + + "\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020" + + "\002B\016\n\014payload_type\"\317\001\n\007Attempt\0221\n\rschedul" + + "e_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "\0221\n\rdispatch_time\030\002 \001(\0132\032.google.protobu" + + "f.Timestamp\0221\n\rresponse_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022+\n\017response_statu" + + "s\030\004 \001(\0132\022.google.rpc.StatusBn\n\036com.googl" + + "e.cloud.tasks.v2beta3B\tTaskProtoP\001Z?goog" + + "le.golang.org/genproto/googleapis/cloud/" + + "tasks/v2beta3;tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -69,6 +71,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), }, @@ -83,6 +86,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "AppEngineHttpRequest", "ScheduleTime", "CreateTime", + "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", @@ -100,6 +104,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto index 5448e85d4fe9..4b6b92663651 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto @@ -55,9 +55,11 @@ message Queue { // The queue is disabled. // // A queue becomes `DISABLED` when - // [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) or - // [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded - // which does not contain the queue. You cannot directly disable a queue. + // [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) + // or + // [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) + // is uploaded which does not contain the queue. You cannot directly disable + // a queue. // // When a queue is disabled, tasks can still be added to a queue // but the tasks are not dispatched. @@ -87,26 +89,17 @@ message Queue { // hyphens (-). The maximum length is 100 characters. string name = 1; - // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue][], - // after which the queue config type becomes output only, though fields within - // the config are mutable. - // - // The queue's type. - // - // The type applies to all tasks in the queue. oneof queue_type { - // App Engine HTTP queue. - // - // An App Engine queue is a queue that has an [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] type. + // [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to + // [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue. AppEngineHttpQueue app_engine_http_queue = 3; } // Rate limits for task dispatches. // - // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and - // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related because they both - // control task attempts however they control how tasks are - // attempted in different ways: + // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are + // related because they both control task attempts. However they control task + // attempts in different ways: // // * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of // dispatches from a queue (i.e. all traffic dispatched from the @@ -116,6 +109,16 @@ message Queue { // particular a task after its first attempt fails. That is, // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the // second attempt, third attempt, etc). + // + // The queue's actual dispatch rate is the result of: + // + // * Number of tasks in the queue + // * User-specified throttling: [rate limits][Queue.RateLimits] + // [retry configuration][Queue.RetryConfig], and the + // [queue's state][google.cloud.tasks.v2beta3.Queue.state]. + // * System throttling due to `429` (Too Many Requests) or `503` (Service + // Unavailable) responses from the worker, high error rates, or to smooth + // sudden large traffic spikes. RateLimits rate_limits = 4; // Settings that determine the retry behavior. diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto index 58092ed8bf30..087249f93d2c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto @@ -68,6 +68,11 @@ message AppEngineHttpQueue { // [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) // and how routing is affected by // [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). +// Traffic is encrypted during transport and never leaves Google datacenters. +// Because this traffic is carried over a communication mechanism internal to +// Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). +// The request to the handler, however, will appear to have used the HTTP +// protocol. // // The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is // delivered to can be set at the queue-level or task-level: @@ -84,6 +89,14 @@ message AppEngineHttpQueue { // * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` // [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] // +// Tasks can be dispatched to secure app handlers, unsecure app handlers, and +// URIs restricted with +// [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). +// Because tasks are not run as any user, they cannot be dispatched to URIs +// restricted with +// [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) +// Task dispatches also do not follow redirects. +// // The task attempt has succeeded if the app's request handler returns // an HTTP response code in the range [`200` - `299`]. `503` is // considered an App Engine system error instead of an application @@ -171,14 +184,8 @@ message AppEngineHttpRequest { // App Engine Routing. // -// Specifies the target URI. Since this target type dispatches tasks to secure -// app handlers, unsecure app handlers, and URIs restricted with -// [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref) -// the protocol (for example, HTTP or HTTPS) cannot be explictly specified. -// Task dispatches do not follow redirects and cannot target URI paths -// restricted with -// [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) -// because tasks are not run as any user. +// Defines routing characteristics specific to App Engine - service, version, +// and instance. // // For more information about services, versions, and instances see // [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), @@ -266,4 +273,10 @@ enum HttpMethod { // HTTP DELETE DELETE = 5; + + // HTTP PATCH + PATCH = 6; + + // HTTP OPTIONS + OPTIONS = 7; } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto index 2a7de02b9995..46026f70e62f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto @@ -19,6 +19,7 @@ package google.cloud.tasks.v2beta3; import "google/api/annotations.proto"; import "google/cloud/tasks/v2beta3/target.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; @@ -80,15 +81,9 @@ message Task { // hyphens (-), or underscores (_). The maximum length is 500 characters. string name = 1; - // Required. - // - // The task's payload is used by the task's target to process the task. - // A payload is valid only if it is compatible with the queue's target. + // Required. The message to send to the worker. oneof payload_type { - // App Engine HTTP request that is sent to the task's target. Can - // be set only if - // [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] is set - // on the queue. + // HTTP request that is sent to the App Engine app handler. // // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set. AppEngineHttpRequest app_engine_http_request = 3; @@ -106,6 +101,36 @@ message Task { // `create_time` will be truncated to the nearest second. google.protobuf.Timestamp create_time = 5; + // The deadline for requests sent to the worker. If the worker does not + // respond by this deadline then the request is cancelled and the attempt + // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the + // task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + // + // Note that when the request is cancelled, Cloud Tasks will stop listing for + // the response, but whether the worker stops processing depends on the + // worker. For example, if the worker is stuck, it may not react to cancelled + // requests. + // + // The default and maximum values depend on the type of request: + // + // + // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the + // request has the default deadline. The default deadline depends on the + // [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) + // of the service: 10 minutes for standard apps with automatic scaling, 24 + // hours for standard apps with manual and basic scaling, and 60 minutes for + // flex apps. If the request deadline is set, it must be in the interval [15 + // seconds, 24 hours 15 seconds]. Regardless of the task's + // `dispatch_deadline`, the app handler will not run for longer than than + // the service's timeout. We recommend setting the `dispatch_deadline` to + // at most a few seconds more than the app handler's timeout. For more + // information see + // [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). + // + // `dispatch_deadline` will be truncated to the nearest millisecond. The + // deadline is an approximate deadline. + google.protobuf.Duration dispatch_deadline = 12; + // Output only. The number of attempts dispatched. // // This count includes tasks which have been dispatched but haven't @@ -146,7 +171,7 @@ message Attempt { // `response_time` will be truncated to the nearest microsecond. google.protobuf.Timestamp response_time = 3; - // Output only. The response from the target for this attempt. + // Output only. The response from the worker for this attempt. // // If `response_time` is unset, then the task has not been attempted or is // currently running and the `response_status` field is meaningless. diff --git a/google-cloud-clients/google-cloud-tasks/synth.metadata b/google-cloud-clients/google-cloud-tasks/synth.metadata index cd7ae9e69070..f64d2446efe3 100644 --- a/google-cloud-clients/google-cloud-tasks/synth.metadata +++ b/google-cloud-clients/google-cloud-tasks/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:51:59.668739Z", + "updateTime": "2019-01-26T08:48:51.639044Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "a6b4398490269577fc511f297b85763ba4701403", + "internalRef": "230969086" } } ], From ea2c8e4b507be93db613b393031e387f0e487f9d Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Tue, 5 Feb 2019 19:23:27 +0000 Subject: [PATCH 65/90] Fix usages of any(.class) matchers (#4453) In Mockito 2, if a method expects a primitive type, but an any(.class) matcher is used in its place, it will throw an error. To prepare for this upcoming breakage, change all existing any(.class) matchers to use the correct any() matcher. --- .../java/com/google/cloud/spanner/BaseSessionPoolTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/BaseSessionPoolTest.java b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/BaseSessionPoolTest.java index 0b96be56d005..8209fe2fd3a9 100644 --- a/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/BaseSessionPoolTest.java +++ b/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/BaseSessionPoolTest.java @@ -17,6 +17,7 @@ package com.google.cloud.spanner; import static org.mockito.Mockito.any; +import static org.mockito.Mockito.anyLong; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; @@ -45,8 +46,7 @@ public ScheduledExecutorService get() { // To prevent maintenance loop from running. doReturn(mockFuture) .when(mockExecutor) - .scheduleAtFixedRate( - any(Runnable.class), any(Long.class), any(Long.class), any(TimeUnit.class)); + .scheduleAtFixedRate(any(Runnable.class), anyLong(), anyLong(), any(TimeUnit.class)); return mockExecutor; } From eb650c5ba8ea0789a668a19714391c8de09355bf Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 11:39:35 -0800 Subject: [PATCH 66/90] Regenerate video-intelligence client (#4434) --- .../v1/VideoIntelligenceServiceClient.java | 2 +- .../v1beta1/VideoIntelligenceServiceClient.java | 2 +- .../v1beta2/VideoIntelligenceServiceClient.java | 2 +- .../v1p1beta1/VideoIntelligenceServiceClient.java | 2 +- .../v1p2beta1/VideoIntelligenceServiceClient.java | 2 +- .../google-cloud-video-intelligence/synth.metadata | 10 +++++----- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java index c65f6ab0d868..b7b7f6705528 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java @@ -256,7 +256,7 @@ public final OperationFuture annot * .setInputUri(inputUri) * .addAllFeatures(features) * .build(); - * OperationFuture<Operation> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + * OperationFuture<AnnotateVideoResponse, AnnotateVideoProgress> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); * // Do something * AnnotateVideoResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java index 7ced173837c2..a615569faf13 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta1/VideoIntelligenceServiceClient.java @@ -256,7 +256,7 @@ public final OperationFuture annot * .setInputUri(inputUri) * .addAllFeatures(features) * .build(); - * OperationFuture<Operation> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + * OperationFuture<AnnotateVideoResponse, AnnotateVideoProgress> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); * // Do something * AnnotateVideoResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java index 6cdeee193404..bdbd6beb7e3c 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java @@ -256,7 +256,7 @@ public final OperationFuture annot * .setInputUri(inputUri) * .addAllFeatures(features) * .build(); - * OperationFuture<Operation> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + * OperationFuture<AnnotateVideoResponse, AnnotateVideoProgress> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); * // Do something * AnnotateVideoResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java index 963e3f5b7e44..84debf39376d 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java @@ -256,7 +256,7 @@ public final OperationFuture annot * .setInputUri(inputUri) * .addAllFeatures(features) * .build(); - * OperationFuture<Operation> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + * OperationFuture<AnnotateVideoResponse, AnnotateVideoProgress> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); * // Do something * AnnotateVideoResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java index c6eae2b84afc..8da4a0da744a 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java @@ -256,7 +256,7 @@ public final OperationFuture annot * .setInputUri(inputUri) * .addAllFeatures(features) * .build(); - * OperationFuture<Operation> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + * OperationFuture<AnnotateVideoResponse, AnnotateVideoProgress> future = videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); * // Do something * AnnotateVideoResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-video-intelligence/synth.metadata b/google-cloud-clients/google-cloud-video-intelligence/synth.metadata index 92578b4e1965..f89f53c27529 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/synth.metadata +++ b/google-cloud-clients/google-cloud-video-intelligence/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:54:28.082730Z", + "updateTime": "2019-02-02T08:50:14.214660Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From 9e8bb322a55721a9c8619823534f5887a1b1f6dd Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 5 Feb 2019 11:40:24 -0800 Subject: [PATCH 67/90] Regenerate automl client (#4418) --- .../cloud/automl/v1beta1/package-info.java | 36 +++++++++---------- .../automl/v1beta1/AutoMlClientTest.java | 6 ++-- .../v1beta1/PredictionServiceClientTest.java | 6 ++-- .../google-cloud-automl/synth.metadata | 10 +++--- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java index 72e48b5ae17a..c66e591b5aeb 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/package-info.java @@ -19,24 +19,7 @@ * *

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

======================= PredictionServiceClient ======================= - * - *

Service Description: AutoML Prediction API. - * - *

Sample for PredictionServiceClient: - * - *

- * 
- * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
- *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
- *   ExamplePayload payload = ExamplePayload.newBuilder().build();
- *   Map<String, String> params = new HashMap<>();
- *   PredictResponse response = predictionServiceClient.predict(name, payload, params);
- * }
- * 
- * 
- * - * ============ AutoMlClient ============ + *

============ AutoMlClient ============ * *

Service Description: AutoML Server API. * @@ -58,5 +41,22 @@ * } * *

+ * + * ======================= PredictionServiceClient ======================= + * + *

Service Description: AutoML Prediction API. + * + *

Sample for PredictionServiceClient: + * + *

+ * 
+ * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
+ *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
+ *   ExamplePayload payload = ExamplePayload.newBuilder().build();
+ *   Map<String, String> params = new HashMap<>();
+ *   PredictResponse response = predictionServiceClient.predict(name, payload, params);
+ * }
+ * 
+ * 
*/ package com.google.cloud.automl.v1beta1; diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java index 68acdc4cd05d..027d500dc8a7 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java @@ -47,19 +47,19 @@ @javax.annotation.Generated("by GAPIC") public class AutoMlClientTest { - private static MockPredictionService mockPredictionService; private static MockAutoMl mockAutoMl; + private static MockPredictionService mockPredictionService; private static MockServiceHelper serviceHelper; private AutoMlClient client; private LocalChannelProvider channelProvider; @BeforeClass public static void startStaticServer() { - mockPredictionService = new MockPredictionService(); mockAutoMl = new MockAutoMl(); + mockPredictionService = new MockPredictionService(); serviceHelper = new MockServiceHelper( - "in-process-1", Arrays.asList(mockPredictionService, mockAutoMl)); + "in-process-1", Arrays.asList(mockAutoMl, mockPredictionService)); serviceHelper.start(); } diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java index 8bf0eb767503..95779ad96767 100644 --- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java +++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/PredictionServiceClientTest.java @@ -39,19 +39,19 @@ @javax.annotation.Generated("by GAPIC") public class PredictionServiceClientTest { - private static MockPredictionService mockPredictionService; private static MockAutoMl mockAutoMl; + private static MockPredictionService mockPredictionService; private static MockServiceHelper serviceHelper; private PredictionServiceClient client; private LocalChannelProvider channelProvider; @BeforeClass public static void startStaticServer() { - mockPredictionService = new MockPredictionService(); mockAutoMl = new MockAutoMl(); + mockPredictionService = new MockPredictionService(); serviceHelper = new MockServiceHelper( - "in-process-1", Arrays.asList(mockPredictionService, mockAutoMl)); + "in-process-1", Arrays.asList(mockAutoMl, mockPredictionService)); serviceHelper.start(); } diff --git a/google-cloud-clients/google-cloud-automl/synth.metadata b/google-cloud-clients/google-cloud-automl/synth.metadata index 4330c7f2264d..a2f6058d115a 100644 --- a/google-cloud-clients/google-cloud-automl/synth.metadata +++ b/google-cloud-clients/google-cloud-automl/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:34:13.304271Z", + "updateTime": "2019-01-30T08:34:37.857517Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "f0195b40fd5f5f412e6819ac01df08cedb8e5fd7", + "internalRef": "231440809" } } ], From ff0da74a443402535891ddb0d6644f6072b4393e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Wed, 6 Feb 2019 07:12:47 -0800 Subject: [PATCH 68/90] Regenerate automl client (#4455) --- .../cloud/automl/v1beta1/AutoMlClient.java | 42 +++++++++---------- .../google-cloud-automl/synth.metadata | 10 ++--- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java index 3ba4d60974fb..1bff23d0f233 100644 --- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java +++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java @@ -509,7 +509,7 @@ public final UnaryCallable listDatase *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
-   *   Empty response = autoMlClient.deleteDatasetAsync(name).get();
+   *   autoMlClient.deleteDatasetAsync(name).get();
    * }
    * 
* @@ -536,7 +536,7 @@ public final OperationFuture deleteDatasetAsync(Datase *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
-   *   Empty response = autoMlClient.deleteDatasetAsync(name.toString()).get();
+   *   autoMlClient.deleteDatasetAsync(name.toString()).get();
    * }
    * 
* @@ -565,7 +565,7 @@ public final OperationFuture deleteDatasetAsync(String * DeleteDatasetRequest request = DeleteDatasetRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = autoMlClient.deleteDatasetAsync(request).get(); + * autoMlClient.deleteDatasetAsync(request).get(); * } *
* @@ -593,9 +593,9 @@ public final OperationFuture deleteDatasetAsync( * DeleteDatasetRequest request = DeleteDatasetRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = autoMlClient.deleteDatasetOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.deleteDatasetOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } *
*/ @@ -640,7 +640,7 @@ public final UnaryCallable deleteDatasetCallabl * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * InputConfig inputConfig = InputConfig.newBuilder().build(); - * Empty response = autoMlClient.importDataAsync(name, inputConfig).get(); + * autoMlClient.importDataAsync(name, inputConfig).get(); * } *
* @@ -673,7 +673,7 @@ public final OperationFuture importDataAsync( * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * InputConfig inputConfig = InputConfig.newBuilder().build(); - * Empty response = autoMlClient.importDataAsync(name.toString(), inputConfig).get(); + * autoMlClient.importDataAsync(name.toString(), inputConfig).get(); * } * * @@ -707,7 +707,7 @@ public final OperationFuture importDataAsync( * .setName(name.toString()) * .setInputConfig(inputConfig) * .build(); - * Empty response = autoMlClient.importDataAsync(request).get(); + * autoMlClient.importDataAsync(request).get(); * } * * @@ -736,9 +736,9 @@ public final OperationFuture importDataAsync( * .setName(name.toString()) * .setInputConfig(inputConfig) * .build(); - * OperationFuture<Operation> future = autoMlClient.importDataOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.importDataOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -784,7 +784,7 @@ public final UnaryCallable importDataCallable() { * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * OutputConfig outputConfig = OutputConfig.newBuilder().build(); - * Empty response = autoMlClient.exportDataAsync(name, outputConfig).get(); + * autoMlClient.exportDataAsync(name, outputConfig).get(); * } * * @@ -816,7 +816,7 @@ public final OperationFuture exportDataAsync( * try (AutoMlClient autoMlClient = AutoMlClient.create()) { * DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]"); * OutputConfig outputConfig = OutputConfig.newBuilder().build(); - * Empty response = autoMlClient.exportDataAsync(name.toString(), outputConfig).get(); + * autoMlClient.exportDataAsync(name.toString(), outputConfig).get(); * } * * @@ -849,7 +849,7 @@ public final OperationFuture exportDataAsync( * .setName(name.toString()) * .setOutputConfig(outputConfig) * .build(); - * Empty response = autoMlClient.exportDataAsync(request).get(); + * autoMlClient.exportDataAsync(request).get(); * } * * @@ -878,9 +878,9 @@ public final OperationFuture exportDataAsync( * .setName(name.toString()) * .setOutputConfig(outputConfig) * .build(); - * OperationFuture<Operation> future = autoMlClient.exportDataOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.exportDataOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ @@ -1024,7 +1024,7 @@ public final OperationFuture createModelAsync( * .setParent(parent.toString()) * .setModel(model) * .build(); - * OperationFuture<Operation> future = autoMlClient.createModelOperationCallable().futureCall(request); + * OperationFuture<Model, OperationMetadata> future = autoMlClient.createModelOperationCallable().futureCall(request); * // Do something * Model response = future.get(); * } @@ -1291,7 +1291,7 @@ public final UnaryCallable listModelsCall *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
-   *   Empty response = autoMlClient.deleteModelAsync(name).get();
+   *   autoMlClient.deleteModelAsync(name).get();
    * }
    * 
* @@ -1319,7 +1319,7 @@ public final OperationFuture deleteModelAsync(ModelNam *

    * try (AutoMlClient autoMlClient = AutoMlClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
-   *   Empty response = autoMlClient.deleteModelAsync(name.toString()).get();
+   *   autoMlClient.deleteModelAsync(name.toString()).get();
    * }
    * 
* @@ -1349,7 +1349,7 @@ public final OperationFuture deleteModelAsync(String n * DeleteModelRequest request = DeleteModelRequest.newBuilder() * .setName(name.toString()) * .build(); - * Empty response = autoMlClient.deleteModelAsync(request).get(); + * autoMlClient.deleteModelAsync(request).get(); * } * * @@ -1378,9 +1378,9 @@ public final OperationFuture deleteModelAsync( * DeleteModelRequest request = DeleteModelRequest.newBuilder() * .setName(name.toString()) * .build(); - * OperationFuture<Operation> future = autoMlClient.deleteModelOperationCallable().futureCall(request); + * OperationFuture<Empty, OperationMetadata> future = autoMlClient.deleteModelOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-automl/synth.metadata b/google-cloud-clients/google-cloud-automl/synth.metadata index a2f6058d115a..3939a870d33c 100644 --- a/google-cloud-clients/google-cloud-automl/synth.metadata +++ b/google-cloud-clients/google-cloud-automl/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-30T08:34:37.857517Z", + "updateTime": "2019-02-06T08:33:43.321407Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.7", - "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" + "version": "0.16.9", + "dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "f0195b40fd5f5f412e6819ac01df08cedb8e5fd7", - "internalRef": "231440809" + "sha": "fb6037c65475bce990d8dcef955c66b0bdcb6e4a", + "internalRef": "232615156" } } ], From 329a0cdd36f0313cd5566d37df9215a810aaf21e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Wed, 6 Feb 2019 07:14:27 -0800 Subject: [PATCH 69/90] Regenerate speech client (#4456) --- .../java/com/google/cloud/speech/v1/SpeechClient.java | 2 +- .../google/cloud/speech/v1p1beta1/SpeechClient.java | 2 +- .../google-cloud-speech/synth.metadata | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java index da36a9936c52..2740614db5e9 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/SpeechClient.java @@ -386,7 +386,7 @@ public final UnaryCallable recognizeCallabl * .setConfig(config) * .setAudio(audio) * .build(); - * OperationFuture<Operation> future = speechClient.longRunningRecognizeOperationCallable().futureCall(request); + * OperationFuture<LongRunningRecognizeResponse, LongRunningRecognizeMetadata> future = speechClient.longRunningRecognizeOperationCallable().futureCall(request); * // Do something * LongRunningRecognizeResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java index ad8a97657024..76cbeedca660 100644 --- a/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java +++ b/google-cloud-clients/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechClient.java @@ -386,7 +386,7 @@ public final UnaryCallable recognizeCallabl * .setConfig(config) * .setAudio(audio) * .build(); - * OperationFuture<Operation> future = speechClient.longRunningRecognizeOperationCallable().futureCall(request); + * OperationFuture<LongRunningRecognizeResponse, LongRunningRecognizeMetadata> future = speechClient.longRunningRecognizeOperationCallable().futureCall(request); * // Do something * LongRunningRecognizeResponse response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-speech/synth.metadata b/google-cloud-clients/google-cloud-speech/synth.metadata index 77ee6a1fa435..9ec3da5b0a0f 100644 --- a/google-cloud-clients/google-cloud-speech/synth.metadata +++ b/google-cloud-clients/google-cloud-speech/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-02-01T08:47:48.673490Z", + "updateTime": "2019-02-06T08:43:50.557356Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.7", - "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" + "version": "0.16.9", + "dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "acb5253cd11cd43cab93eb153d6e48ba0fa5303d", - "internalRef": "231786007" + "sha": "fb6037c65475bce990d8dcef955c66b0bdcb6e4a", + "internalRef": "232615156" } } ], From 4a21c106d0951e0578386cf54d521dc798904404 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 6 Feb 2019 08:51:46 -0800 Subject: [PATCH 70/90] add comments (#4441) --- google-cloud-clients/pom.xml | 1 + google-cloud-testing/pom.xml | 1 + google-cloud-util/google-cloud-compat-checker/pom.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 4663faa0c1a3..ba7a0816b9fa 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -159,6 +159,7 @@ 1.7.0 0.12.0 1.17.1 + 26.0-android 1.27.0 1.27.0 diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index d2359b2d230a..aacbfe4d915f 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -57,6 +57,7 @@ com.google.guava guava-testlib + 26.0-android diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index eb1f430d4f0c..ac4801b12ada 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -38,6 +38,7 @@ com.google.guava guava + 26.0-android From 33202fb69f277dd788c8d30edee47c06d1eaf641 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Wed, 6 Feb 2019 10:57:02 -0800 Subject: [PATCH 71/90] Update some default retry setting values (#4425) Ref: https://github.com/googleapis/google-cloud-java/blob/ed7bc857a05b34eed6be182d4798a62bf09cd394/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java#L497 --- .../examples/pubsub/snippets/PublisherSnippets.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java index 32f438d0daba..4702a7603eab 100644 --- a/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java +++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java @@ -113,12 +113,12 @@ public Publisher getPublisherWithCustomRetrySettings(ProjectTopicName topicName) throws Exception { // [START pubsub_publisher_retry_settings] // Retry settings control how the publisher handles retryable failures - Duration retryDelay = Duration.ofMillis(100); // default : 1 ms - double retryDelayMultiplier = 2.0; // back off for repeated failures - Duration maxRetryDelay = Duration.ofSeconds(5); // default : 10 seconds - Duration totalTimeout = Duration.ofSeconds(1); // default: 0 - Duration initialRpcTimeout = Duration.ofSeconds(1); // default: 0 - Duration maxRpcTimeout = Duration.ofSeconds(10); // default: 0 + Duration retryDelay = Duration.ofMillis(5); // default: 5 ms + double retryDelayMultiplier = 2.0; // back off for repeated failures, default: 2.0 + Duration maxRetryDelay = Duration.ofSeconds(600); // default : Long.MAX_VALUE + Duration totalTimeout = Duration.ofSeconds(10); // default: 10 seconds + Duration initialRpcTimeout = Duration.ofSeconds(10); // default: 10 seconds + Duration maxRpcTimeout = Duration.ofSeconds(10); // default: 10 seconds RetrySettings retrySettings = RetrySettings.newBuilder() From f5f29bb287f1e673c09dc6fedfc30878b76dabcc Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Wed, 6 Feb 2019 13:04:14 -0800 Subject: [PATCH 72/90] Implement BucketPolicyOnly (#4404) * implement BucketPolicyOnly * [Storage] Bucket Policy Only samples (#4408) * Humble beginnings for BPO samples with tests * Update samples per client changes * Fix format issue * Lint fix --- .../java/com/google/cloud/storage/Bucket.java | 6 + .../com/google/cloud/storage/BucketInfo.java | 143 ++++++++++++++++++ .../com/google/cloud/storage/Storage.java | 15 +- .../cloud/storage/spi/v1/HttpStorageRpc.java | 17 ++- .../cloud/storage/spi/v1/StorageRpc.java | 1 + .../google/cloud/storage/BucketInfoTest.java | 23 +++ .../cloud/storage/it/ITStorageTest.java | 80 ++++++++++ google-cloud-clients/pom.xml | 2 +- .../storage/snippets/StorageSnippets.java | 65 ++++++++ .../storage/snippets/ITStorageSnippets.java | 15 ++ 10 files changed, 364 insertions(+), 3 deletions(-) diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java index b10f56194423..30f9ce61f1fc 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java @@ -655,6 +655,12 @@ public Builder setRetentionPeriod(Long retentionPeriod) { return this; } + @Override + public Builder setIamConfiguration(IamConfiguration iamConfiguration) { + infoBuilder.setIamConfiguration(iamConfiguration); + return this; + } + @Override public Bucket build() { return new Bucket(storage, infoBuilder); diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java index caceb2f19d2a..c8d1d07a274b 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java @@ -95,6 +95,118 @@ public com.google.api.services.storage.model.Bucket apply(BucketInfo bucketInfo) private final Long retentionEffectiveTime; private final Boolean retentionPolicyIsLocked; private final Long retentionPeriod; + private final IamConfiguration iamConfiguration; + + /** + * The Bucket's IAM Configuration. + * + * @see Bucket Policy Only + */ + public static class IamConfiguration implements Serializable { + private static final long serialVersionUID = -8671736104909424616L; + + private Boolean isBucketPolicyOnlyEnabled; + private Long bucketPolicyOnlyLockedTime; + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) { + return false; + } + IamConfiguration other = (IamConfiguration) o; + return Objects.equals(toPb(), other.toPb()); + } + + @Override + public int hashCode() { + return Objects.hash(isBucketPolicyOnlyEnabled, bucketPolicyOnlyLockedTime); + } + + private IamConfiguration(Builder builder) { + this.isBucketPolicyOnlyEnabled = builder.isBucketPolicyOnlyEnabled; + this.bucketPolicyOnlyLockedTime = builder.bucketPolicyOnlyLockedTime; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + Builder builder = new Builder(); + builder.isBucketPolicyOnlyEnabled = isBucketPolicyOnlyEnabled; + builder.bucketPolicyOnlyLockedTime = bucketPolicyOnlyLockedTime; + return builder; + } + + public Boolean isBucketPolicyOnlyEnabled() { + return isBucketPolicyOnlyEnabled; + } + + public Long getBucketPolicyOnlyLockedTime() { + return bucketPolicyOnlyLockedTime; + } + + Bucket.IamConfiguration toPb() { + Bucket.IamConfiguration iamConfiguration = new Bucket.IamConfiguration(); + + Bucket.IamConfiguration.BucketPolicyOnly bucketPolicyOnly = + new Bucket.IamConfiguration.BucketPolicyOnly(); + bucketPolicyOnly.setEnabled(isBucketPolicyOnlyEnabled); + bucketPolicyOnly.setLockedTime( + bucketPolicyOnlyLockedTime == null ? null : new DateTime(bucketPolicyOnlyLockedTime)); + + iamConfiguration.setBucketPolicyOnly(bucketPolicyOnly); + + return iamConfiguration; + } + + static IamConfiguration fromPb(Bucket.IamConfiguration iamConfiguration) { + Bucket.IamConfiguration.BucketPolicyOnly bucketPolicyOnly = + iamConfiguration.getBucketPolicyOnly(); + DateTime lockedTime = bucketPolicyOnly.getLockedTime(); + + return newBuilder() + .setIsBucketPolicyOnlyEnabled(bucketPolicyOnly.getEnabled()) + .setBucketPolicyOnlyLockedTime(lockedTime == null ? null : lockedTime.getValue()) + .build(); + } + + /** Builder for {@code IamConfiguration} */ + public static class Builder { + private Boolean isBucketPolicyOnlyEnabled; + private Long bucketPolicyOnlyLockedTime; + + /** + * Sets whether BucketPolicyOnly is enabled for this bucket. When this is enabled, access to + * the bucket will be configured through IAM, and legacy ACL policies will not work. When this + * is first enabled, {@code bucketPolicyOnly.lockedTime} will be set by the API automatically. + * This field can then be disabled until the time specified, after which it will become + * immutable and calls to change it will fail. If this is enabled, calls to access legacy ACL + * information will fail. + */ + public Builder setIsBucketPolicyOnlyEnabled(Boolean isBucketPolicyOnlyEnabled) { + this.isBucketPolicyOnlyEnabled = isBucketPolicyOnlyEnabled; + return this; + } + + /** + * Sets the deadline for switching {@code bucketPolicyOnly.enabled} back to false. After this + * time passes, calls to do so will fail. This is package-private, since in general this field + * should never be set by a user--it's automatically set by the backend when {@code enabled} + * is set to true. + */ + Builder setBucketPolicyOnlyLockedTime(Long bucketPolicyOnlyLockedTime) { + this.bucketPolicyOnlyLockedTime = bucketPolicyOnlyLockedTime; + return this; + } + + /** Builds an {@code IamConfiguration} object */ + public IamConfiguration build() { + return new IamConfiguration(this); + } + } + } /** * Lifecycle rule for a bucket. Allows supported Actions, such as deleting and changing storage @@ -786,6 +898,15 @@ public abstract static class Builder { @BetaApi public abstract Builder setRetentionPeriod(Long retentionPeriod); + /** + * Sets the IamConfiguration to specify whether IAM access should be enabled. + * + * @see Bucket Policy + * Only + */ + @BetaApi + public abstract Builder setIamConfiguration(IamConfiguration iamConfiguration); + /** Creates a {@code BucketInfo} object. */ public abstract BucketInfo build(); } @@ -816,6 +937,7 @@ static final class BuilderImpl extends Builder { private Long retentionEffectiveTime; private Boolean retentionPolicyIsLocked; private Long retentionPeriod; + private IamConfiguration iamConfiguration; BuilderImpl(String name) { this.name = name; @@ -846,6 +968,7 @@ static final class BuilderImpl extends Builder { retentionEffectiveTime = bucketInfo.retentionEffectiveTime; retentionPolicyIsLocked = bucketInfo.retentionPolicyIsLocked; retentionPeriod = bucketInfo.retentionPeriod; + iamConfiguration = bucketInfo.iamConfiguration; } @Override @@ -998,6 +1121,12 @@ public Builder setRetentionPeriod(Long retentionPeriod) { return this; } + @Override + public Builder setIamConfiguration(IamConfiguration iamConfiguration) { + this.iamConfiguration = iamConfiguration; + return this; + } + @Override public BucketInfo build() { checkNotNull(name); @@ -1030,6 +1159,7 @@ public BucketInfo build() { retentionEffectiveTime = builder.retentionEffectiveTime; retentionPolicyIsLocked = builder.retentionPolicyIsLocked; retentionPeriod = builder.retentionPeriod; + iamConfiguration = builder.iamConfiguration; } /** Returns the service-generated id for the bucket. */ @@ -1268,6 +1398,12 @@ public Long getRetentionPeriod() { return retentionPeriod; } + /** Returns the IAM configuration */ + @BetaApi + public IamConfiguration getIamConfiguration() { + return iamConfiguration; + } + /** Returns a builder for the current bucket. */ public Builder toBuilder() { return new BuilderImpl(this); @@ -1405,6 +1541,9 @@ public Rule apply(LifecycleRule lifecycleRule) { bucketPb.setRetentionPolicy(retentionPolicy); } } + if (iamConfiguration != null) { + bucketPb.setIamConfiguration(iamConfiguration.toPb()); + } return bucketPb; } @@ -1526,6 +1665,10 @@ public DeleteRule apply(Rule rule) { builder.setRetentionPeriod(retentionPolicy.getRetentionPeriod()); } } + Bucket.IamConfiguration iamConfiguration = bucketPb.getIamConfiguration(); + if (iamConfiguration != null) { + builder.setIamConfiguration(IamConfiguration.fromPb(iamConfiguration)); + } return builder.build(); } } diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java index 6ce9ca8c6e2a..534b1e0810aa 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java @@ -96,7 +96,8 @@ enum BucketField implements FieldSelector { ENCRYPTION("encryption"), BILLING("billing"), DEFAULT_EVENT_BASED_HOLD("defaultEventBasedHold"), - RETENTION_POLICY("retentionPolicy"); + RETENTION_POLICY("retentionPolicy"), + IAMCONFIGURATION("iamConfiguration"); static final List REQUIRED_FIELDS = ImmutableList.of(NAME); @@ -204,6 +205,18 @@ public static BucketTargetOption metagenerationNotMatch() { public static BucketTargetOption userProject(String userProject) { return new BucketTargetOption(StorageRpc.Option.USER_PROJECT, userProject); } + + /** + * Returns an option to define the projection in the API request. In some cases this option may + * be needed to be set to `noAcl` to omit ACL data from the response. The default value is + * `full` + * + * @see Buckets: + * patch + */ + public static BucketTargetOption projection(String projection) { + return new BucketTargetOption(StorageRpc.Option.PROJECTION, projection); + } } /** Class for specifying bucket source options. */ diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java index a10b4ef8a973..072b65227be8 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java @@ -85,6 +85,7 @@ public class HttpStorageRpc implements StorageRpc { public static final String DEFAULT_PROJECTION = "full"; + public static final String NO_ACL_PROJECTION = "noAcl"; private static final String ENCRYPTION_KEY_PREFIX = "x-goog-encryption-"; private static final String SOURCE_ENCRYPTION_KEY_PREFIX = "x-goog-copy-source-encryption-"; @@ -450,10 +451,24 @@ public Bucket patch(Bucket bucket, Map options) { Span span = startSpan(HttpStorageRpcSpans.SPAN_NAME_PATCH_BUCKET); Scope scope = tracer.withSpan(span); try { + String projection = Option.PROJECTION.getString(options); + + if (bucket.getIamConfiguration() != null + && bucket.getIamConfiguration().getBucketPolicyOnly() != null + && bucket.getIamConfiguration().getBucketPolicyOnly().getEnabled()) { + // If BucketPolicyOnly is enabled, patch calls will fail if ACL information is included in + // the request + bucket.setDefaultObjectAcl(null); + bucket.setAcl(null); + + if (projection == null) { + projection = NO_ACL_PROJECTION; + } + } return storage .buckets() .patch(bucket.getName(), bucket) - .setProjection(DEFAULT_PROJECTION) + .setProjection(projection == null ? DEFAULT_PROJECTION : projection) .setPredefinedAcl(Option.PREDEFINED_ACL.getString(options)) .setPredefinedDefaultObjectAcl(Option.PREDEFINED_DEFAULT_OBJECT_ACL.getString(options)) .setIfMetagenerationMatch(Option.IF_METAGENERATION_MATCH.getLong(options)) diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/StorageRpc.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/StorageRpc.java index 447643283d94..eecf311a7033 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/StorageRpc.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/StorageRpc.java @@ -50,6 +50,7 @@ enum Option { IF_SOURCE_GENERATION_NOT_MATCH("ifSourceGenerationNotMatch"), IF_DISABLE_GZIP_CONTENT("disableGzipContent"), PREFIX("prefix"), + PROJECTION("projection"), MAX_RESULTS("maxResults"), PAGE_TOKEN("pageToken"), DELIMITER("delimiter"), diff --git a/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/BucketInfoTest.java b/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/BucketInfoTest.java index d5bc87550385..919afeb0adea 100644 --- a/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/BucketInfoTest.java +++ b/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/BucketInfoTest.java @@ -18,8 +18,10 @@ import static com.google.cloud.storage.Acl.Project.ProjectRole.VIEWERS; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; +import com.google.api.services.storage.model.Bucket; import com.google.api.services.storage.model.Bucket.Lifecycle.Rule; import com.google.cloud.storage.Acl.Project; import com.google.cloud.storage.Acl.Role; @@ -64,6 +66,11 @@ public class BucketInfoTest { LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())); private static final String INDEX_PAGE = "index.html"; + private static final BucketInfo.IamConfiguration IAM_CONFIGURATION = + BucketInfo.IamConfiguration.newBuilder() + .setIsBucketPolicyOnlyEnabled(true) + .setBucketPolicyOnlyLockedTime(System.currentTimeMillis()) + .build(); private static final String NOT_FOUND_PAGE = "error.html"; private static final String LOCATION = "ASIA"; private static final StorageClass STORAGE_CLASS = StorageClass.STANDARD; @@ -90,6 +97,7 @@ public class BucketInfoTest { .setDeleteRules(DELETE_RULES) .setLifecycleRules(LIFECYCLE_RULES) .setIndexPage(INDEX_PAGE) + .setIamConfiguration(IAM_CONFIGURATION) .setNotFoundPage(NOT_FOUND_PAGE) .setLocation(LOCATION) .setStorageClass(STORAGE_CLASS) @@ -139,6 +147,7 @@ public void testBuilder() { assertEquals(DEFAULT_ACL, BUCKET_INFO.getDefaultAcl()); assertEquals(DELETE_RULES, BUCKET_INFO.getDeleteRules()); assertEquals(INDEX_PAGE, BUCKET_INFO.getIndexPage()); + assertEquals(IAM_CONFIGURATION, BUCKET_INFO.getIamConfiguration()); assertEquals(NOT_FOUND_PAGE, BUCKET_INFO.getNotFoundPage()); assertEquals(LOCATION, BUCKET_INFO.getLocation()); assertEquals(STORAGE_CLASS, BUCKET_INFO.getStorageClass()); @@ -174,6 +183,7 @@ private void compareBuckets(BucketInfo expected, BucketInfo value) { assertEquals(expected.getDeleteRules(), value.getDeleteRules()); assertEquals(expected.getLifecycleRules(), value.getLifecycleRules()); assertEquals(expected.getIndexPage(), value.getIndexPage()); + assertEquals(expected.getIamConfiguration(), value.getIamConfiguration()); assertEquals(expected.getNotFoundPage(), value.getNotFoundPage()); assertEquals(expected.getLocation(), value.getLocation()); assertEquals(expected.getStorageClass(), value.getStorageClass()); @@ -244,4 +254,17 @@ public void testLifecycleRules() { assertTrue(setStorageClassLifecycleRule.getCondition().getIsLive()); assertEquals(10, setStorageClassLifecycleRule.getCondition().getNumNewerVersions().intValue()); } + + @Test + public void testIamConfiguration() { + Bucket.IamConfiguration iamConfiguration = + BucketInfo.IamConfiguration.newBuilder() + .setIsBucketPolicyOnlyEnabled(true) + .setBucketPolicyOnlyLockedTime(System.currentTimeMillis()) + .build() + .toPb(); + + assertEquals(Boolean.TRUE, iamConfiguration.getBucketPolicyOnly().getEnabled()); + assertNotNull(iamConfiguration.getBucketPolicyOnly().getLockedTime()); + } } diff --git a/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java b/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java index 3a97dab2800d..114954d396b3 100644 --- a/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java +++ b/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java @@ -2442,4 +2442,84 @@ public void testGetServiceAccount() { assertNotNull(serviceAccount); assertTrue(serviceAccount.getEmail().endsWith(SERVICE_ACCOUNT_EMAIL_SUFFIX)); } + + @Test + public void testBucketWithBucketPolicyOnlyEnabled() throws Exception { + String bpoBucket = RemoteStorageHelper.generateBucketName(); + try { + storage.create( + Bucket.newBuilder(bpoBucket) + .setIamConfiguration( + BucketInfo.IamConfiguration.newBuilder() + .setIsBucketPolicyOnlyEnabled(true) + .build()) + .build()); + + Bucket remoteBucket = + storage.get(bpoBucket, Storage.BucketGetOption.fields(BucketField.IAMCONFIGURATION)); + + assertTrue(remoteBucket.getIamConfiguration().isBucketPolicyOnlyEnabled()); + assertNotNull(remoteBucket.getIamConfiguration().getBucketPolicyOnlyLockedTime()); + try { + remoteBucket.listAcls(); + fail("StorageException was expected."); + } catch (StorageException e) { + // Expected: Listing legacy ACLs should fail on a BPO enabled bucket + } + try { + remoteBucket.listDefaultAcls(); + fail("StorageException was expected"); + } catch (StorageException e) { + // Expected: Listing legacy ACLs should fail on a BPO enabled bucket + } + } finally { + RemoteStorageHelper.forceDelete(storage, bpoBucket, 1, TimeUnit.MINUTES); + } + } + + @Test + public void testEnableAndDisableBucketPolicyOnlyOnExistingBucket() throws Exception { + String bpoBucket = RemoteStorageHelper.generateBucketName(); + try { + BucketInfo.IamConfiguration bpoDisabledIamConfiguration = + BucketInfo.IamConfiguration.newBuilder().setIsBucketPolicyOnlyEnabled(false).build(); + Bucket bucket = + storage.create( + Bucket.newBuilder(bpoBucket) + .setIamConfiguration(bpoDisabledIamConfiguration) + .setAcl(ImmutableList.of(Acl.of(User.ofAllAuthenticatedUsers(), Role.READER))) + .setDefaultAcl( + ImmutableList.of(Acl.of(User.ofAllAuthenticatedUsers(), Role.READER))) + .build()); + + bucket + .toBuilder() + .setIamConfiguration( + bpoDisabledIamConfiguration.toBuilder().setIsBucketPolicyOnlyEnabled(true).build()) + .build() + .update(); + + Bucket remoteBucket = + storage.get(bpoBucket, Storage.BucketGetOption.fields(BucketField.IAMCONFIGURATION)); + + assertTrue(remoteBucket.getIamConfiguration().isBucketPolicyOnlyEnabled()); + assertNotNull(remoteBucket.getIamConfiguration().getBucketPolicyOnlyLockedTime()); + + bucket.toBuilder().setIamConfiguration(bpoDisabledIamConfiguration).build().update(); + + remoteBucket = + storage.get( + bpoBucket, + Storage.BucketGetOption.fields( + BucketField.IAMCONFIGURATION, BucketField.ACL, BucketField.DEFAULT_OBJECT_ACL)); + + assertFalse(remoteBucket.getIamConfiguration().isBucketPolicyOnlyEnabled()); + assertEquals(User.ofAllAuthenticatedUsers(), remoteBucket.getDefaultAcl().get(0).getEntity()); + assertEquals(Role.READER, remoteBucket.getDefaultAcl().get(0).getRole()); + assertEquals(User.ofAllAuthenticatedUsers(), remoteBucket.getAcl().get(0).getEntity()); + assertEquals(Role.READER, remoteBucket.getAcl().get(0).getRole()); + } finally { + RemoteStorageHelper.forceDelete(storage, bpoBucket, 1, TimeUnit.MINUTES); + } + } } diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index ba7a0816b9fa..65bf89456454 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -230,7 +230,7 @@ com.google.apis google-api-services-storage - v1-rev20181013-1.27.0 + v1-rev20181109-1.27.0 com.google.apis diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java index ab2ec4df8edf..ccec623a1812 100644 --- a/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java +++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java @@ -1393,4 +1393,69 @@ public Blob releaseTemporaryHold(String bucketName, String blobName) throws Stor // [END storage_release_temporary_hold] return blob; } + + /** Example of how to enable Bucket Policy Only for a bucket */ + public Bucket enableBucketPolicyOnly(String bucketName) throws StorageException { + // [START storage_enable_bucket_policy_only] + // Instantiate a Google Cloud Storage client + Storage storage = StorageOptions.getDefaultInstance().getService(); + + // The name of a bucket, e.g. "my-bucket" + // String bucketName = "my-bucket"; + + BucketInfo.IamConfiguration iamConfiguration = + BucketInfo.IamConfiguration.newBuilder().setIsBucketPolicyOnlyEnabled(true).build(); + Bucket bucket = + storage.update( + BucketInfo.newBuilder(bucketName).setIamConfiguration(iamConfiguration).build()); + + System.out.println("Bucket Policy Only was enabled for " + bucketName); + // [END storage_enable_bucket_policy_only] + return bucket; + } + + /** Example of how to disable Bucket Policy Only for a bucket */ + public Bucket disableBucketPolicyOnly(String bucketName) throws StorageException { + // [START storage_disable_bucket_policy_only] + // Instantiate a Google Cloud Storage client + Storage storage = StorageOptions.getDefaultInstance().getService(); + + // The name of a bucket, e.g. "my-bucket" + // String bucketName = "my-bucket"; + + BucketInfo.IamConfiguration iamConfiguration = + BucketInfo.IamConfiguration.newBuilder().setIsBucketPolicyOnlyEnabled(false).build(); + Bucket bucket = + storage.update( + BucketInfo.newBuilder(bucketName).setIamConfiguration(iamConfiguration).build()); + + System.out.println("Bucket Policy Only was disabled for " + bucketName); + // [END storage_disable_bucket_policy_only] + return bucket; + } + + /** Example of how to get Bucket Policy Only metadata for a bucket */ + public Bucket getBucketPolicyOnly(String bucketName) throws StorageException { + // [START storage_get_bucket_policy_only] + // Instantiate a Google Cloud Storage client + Storage storage = StorageOptions.getDefaultInstance().getService(); + + // The name of a bucket, e.g. "my-bucket" + // String bucketName = "my-bucket"; + + Bucket bucket = storage.get(bucketName, BucketGetOption.fields(BucketField.IAMCONFIGURATION)); + BucketInfo.IamConfiguration iamConfiguration = bucket.getIamConfiguration(); + + Boolean enabled = iamConfiguration.isBucketPolicyOnlyEnabled(); + Date lockedTime = new Date(iamConfiguration.getBucketPolicyOnlyLockedTime()); + + if (enabled != null && enabled) { + System.out.println("Bucket Policy Only is enabled for " + bucketName); + System.out.println("Bucket will be locked on " + lockedTime); + } else { + System.out.println("Bucket Policy Only is disabled for " + bucketName); + } + // [END storage_get_bucket_policy_only] + return bucket; + } } diff --git a/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java b/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java index 19db91dcf44b..fe618755d5cd 100644 --- a/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java +++ b/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java @@ -546,4 +546,19 @@ public void testLockRetentionPolicy() { bucket = storageSnippets.lockRetentionPolicy(tempBucket); assertTrue(bucket.retentionPolicyIsLocked()); } + + @Test + public void testBucketPolicyOnly() { + String tempBucket = RemoteStorageHelper.generateBucketName(); + Bucket bucket = storageSnippets.createBucket(tempBucket); + assertNotNull(bucket); + bucket = storageSnippets.enableBucketPolicyOnly(tempBucket); + assertTrue(bucket.getIamConfiguration().isBucketPolicyOnlyEnabled()); + assertNotNull(bucket.getIamConfiguration().getBucketPolicyOnlyLockedTime()); + bucket = storageSnippets.getBucketPolicyOnly(tempBucket); + assertTrue(bucket.getIamConfiguration().isBucketPolicyOnlyEnabled()); + assertNotNull(bucket.getIamConfiguration().getBucketPolicyOnlyLockedTime()); + bucket = storageSnippets.disableBucketPolicyOnly(tempBucket); + assertFalse(bucket.getIamConfiguration().isBucketPolicyOnlyEnabled()); + } } From f50968d69446a3ae7b59eda608d28f21fcefea0d Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Wed, 6 Feb 2019 16:13:36 -0500 Subject: [PATCH 73/90] Bigtable: make request context serializable (#4459) --- .../google/cloud/bigtable/data/v2/internal/RequestContext.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RequestContext.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RequestContext.java index dd90f5b35086..ad1a2d27e1c4 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RequestContext.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/RequestContext.java @@ -17,6 +17,7 @@ import com.google.api.core.InternalApi; import com.google.auto.value.AutoValue; +import java.io.Serializable; /** * Contains information necessary to construct Bigtable protobuf requests from user facing models. @@ -30,7 +31,7 @@ */ @InternalApi @AutoValue -public abstract class RequestContext { +public abstract class RequestContext implements Serializable { /** Creates a new instance of the {@link RequestContext}. */ public static RequestContext create(String projectId, String instanceId, String appProfileId) { From 5adffe8b96186c78663fa231fb1bff8692adf6ff Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Wed, 6 Feb 2019 17:03:17 -0500 Subject: [PATCH 74/90] Bigtable: expose helper to convert proto rows into model rows (#4458) This is needed for hbase adapter transition --- .../data/v2/models/DefaultRowAdapter.java | 32 +++++++++ .../v2/stub/ReadModifyWriteRowCallable.java | 28 +------- .../data/v2/models/DefaultRowAdapterTest.java | 65 +++++++++++++++++++ 3 files changed, 99 insertions(+), 26 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java index efe56dc4188f..18943265ce60 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapter.java @@ -15,6 +15,10 @@ */ package com.google.cloud.bigtable.data.v2.models; +import com.google.api.core.InternalApi; +import com.google.bigtable.v2.Cell; +import com.google.bigtable.v2.Column; +import com.google.bigtable.v2.Family; import com.google.common.collect.ImmutableList; import com.google.protobuf.ByteString; import java.util.List; @@ -43,6 +47,34 @@ public ByteString getKey(Row row) { return row.getKey(); } + /** + * Helper to convert a proto Row to a model Row. + * + *

For internal use only. + */ + @InternalApi + public Row createRowFromProto(com.google.bigtable.v2.Row row) { + RowBuilder builder = createRowBuilder(); + builder.startRow(row.getKey()); + + for (Family family : row.getFamiliesList()) { + for (Column column : family.getColumnsList()) { + for (Cell cell : column.getCellsList()) { + builder.startCell( + family.getName(), + column.getQualifier(), + cell.getTimestampMicros(), + cell.getLabelsList(), + cell.getValue().size()); + builder.cellValue(cell.getValue()); + builder.finishCell(); + } + } + } + + return builder.finishRow(); + } + /** {@inheritDoc} */ public class DefaultRowBuilder implements RowBuilder { private ByteString currentKey; diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java index f456f0202bfa..09e133678e6a 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/ReadModifyWriteRowCallable.java @@ -20,24 +20,19 @@ import com.google.api.core.ApiFutures; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.bigtable.v2.Cell; -import com.google.bigtable.v2.Column; -import com.google.bigtable.v2.Family; import com.google.bigtable.v2.ReadModifyWriteRowRequest; import com.google.bigtable.v2.ReadModifyWriteRowResponse; import com.google.cloud.bigtable.data.v2.internal.RequestContext; import com.google.cloud.bigtable.data.v2.models.DefaultRowAdapter; import com.google.cloud.bigtable.data.v2.models.ReadModifyWriteRow; import com.google.cloud.bigtable.data.v2.models.Row; -import com.google.cloud.bigtable.data.v2.models.RowAdapter; -import com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder; import com.google.common.util.concurrent.MoreExecutors; /** Simple wrapper for ReadModifyWriteRow to wrap the request and response protobufs. */ class ReadModifyWriteRowCallable extends UnaryCallable { private final UnaryCallable inner; private final RequestContext requestContext; - private final RowAdapter rowAdapter; + private final DefaultRowAdapter rowAdapter; ReadModifyWriteRowCallable( UnaryCallable inner, @@ -64,25 +59,6 @@ public Row apply(ReadModifyWriteRowResponse readModifyWriteRowResponse) { } private Row convertResponse(ReadModifyWriteRowResponse response) { - RowBuilder rowBuilder = rowAdapter.createRowBuilder(); - rowBuilder.startRow(response.getRow().getKey()); - - for (Family family : response.getRow().getFamiliesList()) { - for (Column column : family.getColumnsList()) { - for (Cell cell : column.getCellsList()) { - rowBuilder.startCell( - family.getName(), - column.getQualifier(), - cell.getTimestampMicros(), - cell.getLabelsList(), - cell.getValue().size()); - - rowBuilder.cellValue(cell.getValue()); - - rowBuilder.finishCell(); - } - } - } - return rowBuilder.finishRow(); + return rowAdapter.createRowFromProto(response.getRow()); } } diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java index 5adbfc40c158..21afab9edffc 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/DefaultRowAdapterTest.java @@ -171,4 +171,69 @@ public void sortFamiliesAreSorted() { RowCell.create("family2", col2, 1000, labels, value2))) .inOrder(); } + + @Test + public void protoTest() { + ByteString key = ByteString.copyFromUtf8("key"); + + String family1 = "family1"; + ByteString col1 = ByteString.copyFromUtf8("col1"); + ByteString value1 = ByteString.copyFromUtf8("value1"); + + String family2 = "family2"; + ByteString col2 = ByteString.copyFromUtf8("col2"); + ByteString value2 = ByteString.copyFromUtf8("value2"); + + List labels = ImmutableList.of(); + + com.google.bigtable.v2.Row proto = + com.google.bigtable.v2.Row.newBuilder() + .setKey(key) + .addFamilies( + com.google.bigtable.v2.Family.newBuilder() + .setName(family2) + .addColumns( + com.google.bigtable.v2.Column.newBuilder() + .setQualifier(col1) + .addCells( + com.google.bigtable.v2.Cell.newBuilder() + .setTimestampMicros(2_000) + .setValue(value2))) + .addColumns( + com.google.bigtable.v2.Column.newBuilder() + .setQualifier(col2) + .addCells( + com.google.bigtable.v2.Cell.newBuilder() + .setTimestampMicros(2_000) + .setValue(value2)))) + .addFamilies( + com.google.bigtable.v2.Family.newBuilder() + .setName(family1) + .addColumns( + com.google.bigtable.v2.Column.newBuilder() + .setQualifier(col1) + .addCells( + com.google.bigtable.v2.Cell.newBuilder() + .setTimestampMicros(1_000) + .setValue(value1))) + .addColumns( + com.google.bigtable.v2.Column.newBuilder() + .setQualifier(col2) + .addCells( + com.google.bigtable.v2.Cell.newBuilder() + .setTimestampMicros(1_000) + .setValue(value1)))) + .build(); + + Row row = adapter.createRowFromProto(proto); + assertThat(row) + .isEqualTo( + Row.create( + key, + ImmutableList.of( + RowCell.create(family1, col1, 1_000, labels, value1), + RowCell.create(family1, col2, 1_000, labels, value1), + RowCell.create(family2, col1, 2_000, labels, value2), + RowCell.create(family2, col2, 2_000, labels, value2)))); + } } From 7de46b4ce194f4c7d7094dd1d7dec4f4a85ad363 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Wed, 6 Feb 2019 14:09:47 -0800 Subject: [PATCH 75/90] Regenerate texttospeech client (#4333) --- .../v1/TextToSpeechSmokeTest.java | 68 +++++++++++++++++++ .../v1beta1/TextToSpeechSmokeTest.java | 68 +++++++++++++++++++ .../google-cloud-texttospeech/synth.metadata | 41 +++++++---- 3 files changed, 164 insertions(+), 13 deletions(-) create mode 100644 google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java create mode 100644 google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java new file mode 100644 index 000000000000..f2535f84fcce --- /dev/null +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java @@ -0,0 +1,68 @@ +/* + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.texttospeech.v1; + +import com.google.common.base.Preconditions; +import java.util.logging.Level; +import java.util.logging.Logger; +import org.junit.Test; + +@javax.annotation.Generated("by GAPIC") +public class TextToSpeechSmokeTest { + private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; + private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; + + @Test + public void run() { + main(null); + } + + public static void main(String args[]) { + Logger.getLogger("").setLevel(Level.WARNING); + try { + executeNoCatch(); + System.out.println("OK"); + } catch (Exception e) { + System.err.println("Failed with exception:"); + e.printStackTrace(System.err); + System.exit(1); + } + } + + public static void executeNoCatch() throws Exception { + try (TextToSpeechClient client = TextToSpeechClient.create()) { + String text = "test"; + SynthesisInput input = SynthesisInput.newBuilder().setText(text).build(); + String languageCode = "en-US"; + VoiceSelectionParams voice = + VoiceSelectionParams.newBuilder().setLanguageCode(languageCode).build(); + AudioEncoding audioEncoding = AudioEncoding.MP3; + AudioConfig audioConfig = AudioConfig.newBuilder().setAudioEncoding(audioEncoding).build(); + + SynthesizeSpeechResponse response = client.synthesizeSpeech(input, voice, audioConfig); + } + } + + private static String getProjectId() { + 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)); + } + Preconditions.checkArgument(projectId != null, "A project ID is required."); + return projectId; + } +} diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java new file mode 100644 index 000000000000..01db0aabf394 --- /dev/null +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java @@ -0,0 +1,68 @@ +/* + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.texttospeech.v1beta1; + +import com.google.common.base.Preconditions; +import java.util.logging.Level; +import java.util.logging.Logger; +import org.junit.Test; + +@javax.annotation.Generated("by GAPIC") +public class TextToSpeechSmokeTest { + private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; + private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; + + @Test + public void run() { + main(null); + } + + public static void main(String args[]) { + Logger.getLogger("").setLevel(Level.WARNING); + try { + executeNoCatch(); + System.out.println("OK"); + } catch (Exception e) { + System.err.println("Failed with exception:"); + e.printStackTrace(System.err); + System.exit(1); + } + } + + public static void executeNoCatch() throws Exception { + try (TextToSpeechClient client = TextToSpeechClient.create()) { + String text = "test"; + SynthesisInput input = SynthesisInput.newBuilder().setText(text).build(); + String languageCode = "en-US"; + VoiceSelectionParams voice = + VoiceSelectionParams.newBuilder().setLanguageCode(languageCode).build(); + AudioEncoding audioEncoding = AudioEncoding.MP3; + AudioConfig audioConfig = AudioConfig.newBuilder().setAudioEncoding(audioEncoding).build(); + + SynthesizeSpeechResponse response = client.synthesizeSpeech(input, voice, audioConfig); + } + } + + private static String getProjectId() { + 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)); + } + Preconditions.checkArgument(projectId != null, "A project ID is required."); + return projectId; + } +} diff --git a/google-cloud-clients/google-cloud-texttospeech/synth.metadata b/google-cloud-clients/google-cloud-texttospeech/synth.metadata index 2bd4f07a69a5..52a92b5f7558 100644 --- a/google-cloud-clients/google-cloud-texttospeech/synth.metadata +++ b/google-cloud-clients/google-cloud-texttospeech/synth.metadata @@ -1,27 +1,42 @@ { + "updateTime": "2019-01-12T08:51:17.352312Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "2156b3490f9fe4d79bcb34754a3aaed7ea52114d", + "internalRef": "228970571" } - }, + } + ], + "destinations": [ { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "client": { + "source": "googleapis", + "apiName": "texttospeech", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/texttospeech/artman_texttospeech_v1.yaml" } }, { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "texttospeech", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/cloud/texttospeech/artman_texttospeech_v1beta1.yaml" } } ] -} +} \ No newline at end of file From d889bb0d5635749c0bc818c3caf72a953d32410f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 7 Feb 2019 05:52:22 -0800 Subject: [PATCH 76/90] Regenerate compute client (#4462) --- ...tancesInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../cloud/compute/v1/AcceleratorConfig.java | 22 + .../cloud/compute/v1/AcceleratorType.java | 57 +++ .../v1/AcceleratorTypeAggregatedList.java | 51 ++ .../cloud/compute/v1/AcceleratorTypeList.java | 44 ++ .../v1/AcceleratorTypesScopedList.java | 13 + .../google/cloud/compute/v1/AccessConfig.java | 96 ++++ .../AddAccessConfigInstanceHttpRequest.java | 99 ++++ .../AddHealthCheckTargetPoolHttpRequest.java | 84 ++++ .../v1/AddInstanceTargetPoolHttpRequest.java | 84 ++++ .../AddInstancesInstanceGroupHttpRequest.java | 84 ++++ .../v1/AddNodesNodeGroupHttpRequest.java | 84 ++++ .../v1/AddPeeringNetworkHttpRequest.java | 81 ++++ .../v1/AddRuleSecurityPolicyHttpRequest.java | 57 +++ ...dSignedUrlKeyBackendBucketHttpRequest.java | 90 ++++ ...SignedUrlKeyBackendServiceHttpRequest.java | 90 ++++ .../com/google/cloud/compute/v1/Address.java | 178 +++++++ .../compute/v1/AddressAggregatedList.java | 51 ++ .../google/cloud/compute/v1/AddressList.java | 35 ++ .../cloud/compute/v1/AddressesScopedList.java | 16 + ...egatedListAcceleratorTypesHttpRequest.java | 164 +++++++ .../AggregatedListAddressesHttpRequest.java | 164 +++++++ .../AggregatedListAutoscalersHttpRequest.java | 164 +++++++ ...regatedListBackendServicesHttpRequest.java | 164 +++++++ .../AggregatedListDiskTypesHttpRequest.java | 164 +++++++ .../v1/AggregatedListDisksHttpRequest.java | 164 +++++++ ...regatedListForwardingRulesHttpRequest.java | 164 +++++++ ...egatedListGlobalOperationsHttpRequest.java | 164 +++++++ ...dListInstanceGroupManagersHttpRequest.java | 164 +++++++ ...gregatedListInstanceGroupsHttpRequest.java | 164 +++++++ .../AggregatedListInstancesHttpRequest.java | 164 +++++++ ...istInterconnectAttachmentsHttpRequest.java | 164 +++++++ ...AggregatedListMachineTypesHttpRequest.java | 164 +++++++ .../AggregatedListNodeGroupsHttpRequest.java | 164 +++++++ ...ggregatedListNodeTemplatesHttpRequest.java | 164 +++++++ .../AggregatedListNodeTypesHttpRequest.java | 164 +++++++ ...gatedListRegionCommitmentsHttpRequest.java | 164 +++++++ .../v1/AggregatedListRoutersHttpRequest.java | 164 +++++++ .../AggregatedListSubnetworksHttpRequest.java | 164 +++++++ ...regatedListTargetInstancesHttpRequest.java | 164 +++++++ .../AggregatedListTargetPoolsHttpRequest.java | 164 +++++++ ...gatedListTargetVpnGatewaysHttpRequest.java | 164 +++++++ .../AggregatedListVpnTunnelsHttpRequest.java | 164 +++++++ .../google/cloud/compute/v1/AliasIpRange.java | 34 ++ .../com/google/cloud/compute/v1/Allowed.java | 47 ++ .../v1/AttachDiskInstanceHttpRequest.java | 99 ++++ .../google/cloud/compute/v1/AttachedDisk.java | 240 +++++++++ .../v1/AttachedDiskInitializeParams.java | 158 ++++++ .../google/cloud/compute/v1/AuditConfig.java | 40 ++ .../cloud/compute/v1/AuditLogConfig.java | 28 ++ .../v1/AuthorizationLoggingOptions.java | 4 + .../google/cloud/compute/v1/Autoscaler.java | 131 +++++ .../compute/v1/AutoscalerAggregatedList.java | 51 ++ .../cloud/compute/v1/AutoscalerList.java | 35 ++ .../compute/v1/AutoscalerStatusDetails.java | 6 + .../compute/v1/AutoscalersScopedList.java | 16 + .../cloud/compute/v1/AutoscalingPolicy.java | 80 +++ .../v1/AutoscalingPolicyCpuUtilization.java | 37 ++ ...oscalingPolicyCustomMetricUtilization.java | 58 +++ ...scalingPolicyLoadBalancingUtilization.java | 15 + .../com/google/cloud/compute/v1/Backend.java | 217 +++++++++ .../cloud/compute/v1/BackendBucket.java | 55 +++ .../compute/v1/BackendBucketCdnPolicy.java | 29 ++ .../cloud/compute/v1/BackendBucketList.java | 35 ++ .../cloud/compute/v1/BackendService.java | 291 +++++++++++ .../v1/BackendServiceAggregatedList.java | 43 ++ .../compute/v1/BackendServiceCdnPolicy.java | 32 ++ .../compute/v1/BackendServiceGroupHealth.java | 28 ++ .../cloud/compute/v1/BackendServiceIAP.java | 4 + .../cloud/compute/v1/BackendServiceList.java | 44 ++ .../compute/v1/BackendServicesScopedList.java | 7 + .../com/google/cloud/compute/v1/Binding.java | 116 +++++ .../compute/v1/CacheInvalidationRule.java | 9 + .../cloud/compute/v1/CacheKeyPolicy.java | 62 +++ .../google/cloud/compute/v1/Commitment.java | 113 +++++ .../compute/v1/CommitmentAggregatedList.java | 51 ++ .../cloud/compute/v1/CommitmentList.java | 35 ++ .../compute/v1/CommitmentsScopedList.java | 16 + .../google/cloud/compute/v1/Condition.java | 29 ++ .../cloud/compute/v1/ConnectionDraining.java | 13 + .../v1/CreateSnapshotDiskHttpRequest.java | 95 ++++ .../CreateSnapshotRegionDiskHttpRequest.java | 95 ++++ .../compute/v1/CustomerEncryptionKey.java | 28 ++ .../CustomerEncryptionKeyProtectedDisk.java | 15 + .../com/google/cloud/compute/v1/Data.java | 31 ++ ...DeleteAccessConfigInstanceHttpRequest.java | 90 ++++ .../compute/v1/DeleteAddressHttpRequest.java | 81 ++++ .../v1/DeleteAutoscalerHttpRequest.java | 83 ++++ .../v1/DeleteBackendBucketHttpRequest.java | 84 ++++ .../v1/DeleteBackendServiceHttpRequest.java | 84 ++++ .../compute/v1/DeleteDiskHttpRequest.java | 81 ++++ .../compute/v1/DeleteFirewallHttpRequest.java | 81 ++++ .../v1/DeleteForwardingRuleHttpRequest.java | 84 ++++ .../v1/DeleteGlobalAddressHttpRequest.java | 81 ++++ ...DeleteGlobalForwardingRuleHttpRequest.java | 84 ++++ .../v1/DeleteGlobalOperationHttpRequest.java | 42 ++ .../v1/DeleteHealthCheckHttpRequest.java | 83 ++++ .../v1/DeleteHttpHealthCheckHttpRequest.java | 84 ++++ .../v1/DeleteHttpsHealthCheckHttpRequest.java | 84 ++++ .../compute/v1/DeleteImageHttpRequest.java | 81 ++++ .../v1/DeleteInstanceGroupHttpRequest.java | 84 ++++ ...DeleteInstanceGroupManagerHttpRequest.java | 84 ++++ .../compute/v1/DeleteInstanceHttpRequest.java | 81 ++++ .../v1/DeleteInstanceTemplateHttpRequest.java | 84 ++++ ...tancesInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ ...leteInterconnectAttachmentHttpRequest.java | 84 ++++ .../v1/DeleteInterconnectHttpRequest.java | 83 ++++ .../compute/v1/DeleteLicenseHttpRequest.java | 81 ++++ .../compute/v1/DeleteNetworkHttpRequest.java | 81 ++++ .../v1/DeleteNodeGroupHttpRequest.java | 83 ++++ .../v1/DeleteNodeTemplateHttpRequest.java | 84 ++++ .../v1/DeleteNodesNodeGroupHttpRequest.java | 84 ++++ .../v1/DeleteRegionAutoscalerHttpRequest.java | 84 ++++ ...DeleteRegionBackendServiceHttpRequest.java | 84 ++++ .../v1/DeleteRegionDiskHttpRequest.java | 81 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../v1/DeleteRegionOperationHttpRequest.java | 44 ++ .../compute/v1/DeleteRouteHttpRequest.java | 81 ++++ .../compute/v1/DeleteRouterHttpRequest.java | 81 ++++ .../v1/DeleteSecurityPolicyHttpRequest.java | 84 ++++ ...eSignedUrlKeyBackendBucketHttpRequest.java | 90 ++++ ...SignedUrlKeyBackendServiceHttpRequest.java | 90 ++++ .../compute/v1/DeleteSnapshotHttpRequest.java | 81 ++++ .../v1/DeleteSslCertificateHttpRequest.java | 84 ++++ .../v1/DeleteSslPolicyHttpRequest.java | 84 ++++ .../v1/DeleteSubnetworkHttpRequest.java | 84 ++++ .../v1/DeleteTargetHttpProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetHttpsProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetInstanceHttpRequest.java | 84 ++++ .../v1/DeleteTargetPoolHttpRequest.java | 84 ++++ .../v1/DeleteTargetSslProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetTcpProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetVpnGatewayHttpRequest.java | 84 ++++ .../compute/v1/DeleteUrlMapHttpRequest.java | 81 ++++ .../v1/DeleteVpnTunnelHttpRequest.java | 83 ++++ .../v1/DeleteZoneOperationHttpRequest.java | 44 ++ .../com/google/cloud/compute/v1/Denied.java | 47 ++ .../compute/v1/DeprecateImageHttpRequest.java | 84 ++++ .../cloud/compute/v1/DeprecationStatus.java | 76 +++ .../v1/DetachDiskInstanceHttpRequest.java | 96 ++++ .../v1/DisableXpnHostProjectHttpRequest.java | 81 ++++ .../DisableXpnResourceProjectHttpRequest.java | 81 ++++ .../com/google/cloud/compute/v1/Disk.java | 404 ++++++++++++++++ .../cloud/compute/v1/DiskAggregatedList.java | 51 ++ .../compute/v1/DiskInstantiationConfig.java | 64 +++ .../com/google/cloud/compute/v1/DiskList.java | 35 ++ .../cloud/compute/v1/DiskMoveRequest.java | 36 ++ .../com/google/cloud/compute/v1/DiskType.java | 67 +++ .../compute/v1/DiskTypeAggregatedList.java | 42 ++ .../google/cloud/compute/v1/DiskTypeList.java | 35 ++ .../cloud/compute/v1/DiskTypesScopedList.java | 16 + .../cloud/compute/v1/DisksResizeRequest.java | 3 + .../cloud/compute/v1/DisksScopedList.java | 13 + .../cloud/compute/v1/DistributionPolicy.java | 4 + .../DistributionPolicyZoneConfiguration.java | 12 + .../v1/EnableXpnHostProjectHttpRequest.java | 81 ++++ .../EnableXpnResourceProjectHttpRequest.java | 81 ++++ .../com/google/cloud/compute/v1/Error.java | 8 + .../com/google/cloud/compute/v1/Errors.java | 19 + ...xpandIpCidrRangeSubnetworkHttpRequest.java | 84 ++++ .../com/google/cloud/compute/v1/Expr.java | 60 +++ .../com/google/cloud/compute/v1/Firewall.java | 356 ++++++++++++++ .../google/cloud/compute/v1/FirewallList.java | 35 ++ .../cloud/compute/v1/FirewallLogConfig.java | 4 + .../cloud/compute/v1/FixedOrPercent.java | 40 ++ .../cloud/compute/v1/ForwardingRule.java | 457 ++++++++++++++++++ .../v1/ForwardingRuleAggregatedList.java | 51 ++ .../cloud/compute/v1/ForwardingRuleList.java | 35 ++ .../compute/v1/ForwardingRulesScopedList.java | 7 + .../v1/GetAcceleratorTypeHttpRequest.java | 45 ++ .../compute/v1/GetAddressHttpRequest.java | 42 ++ .../compute/v1/GetAutoscalerHttpRequest.java | 44 ++ .../v1/GetBackendBucketHttpRequest.java | 45 ++ .../v1/GetBackendServiceHttpRequest.java | 45 ++ ...GetDiagnosticsInterconnectHttpRequest.java | 45 ++ .../cloud/compute/v1/GetDiskHttpRequest.java | 42 ++ .../compute/v1/GetDiskTypeHttpRequest.java | 42 ++ .../compute/v1/GetFirewallHttpRequest.java | 42 ++ .../v1/GetForwardingRuleHttpRequest.java | 45 ++ .../v1/GetFromFamilyImageHttpRequest.java | 42 ++ .../v1/GetGlobalAddressHttpRequest.java | 42 ++ .../GetGlobalForwardingRuleHttpRequest.java | 45 ++ .../v1/GetGlobalOperationHttpRequest.java | 42 ++ .../GetHealthBackendServiceHttpRequest.java | 45 ++ .../compute/v1/GetHealthCheckHttpRequest.java | 44 ++ ...HealthRegionBackendServiceHttpRequest.java | 45 ++ .../v1/GetHealthTargetPoolHttpRequest.java | 45 ++ .../v1/GetHttpHealthCheckHttpRequest.java | 45 ++ .../v1/GetHttpsHealthCheckHttpRequest.java | 45 ++ .../v1/GetIamPolicyDiskHttpRequest.java | 45 ++ .../v1/GetIamPolicyImageHttpRequest.java | 44 ++ .../v1/GetIamPolicyInstanceHttpRequest.java | 45 ++ ...tIamPolicyInstanceTemplateHttpRequest.java | 45 ++ .../v1/GetIamPolicyLicenseHttpRequest.java | 44 ++ .../v1/GetIamPolicyNodeGroupHttpRequest.java | 45 ++ .../GetIamPolicyNodeTemplateHttpRequest.java | 45 ++ .../v1/GetIamPolicySnapshotHttpRequest.java | 44 ++ .../v1/GetIamPolicySubnetworkHttpRequest.java | 45 ++ .../cloud/compute/v1/GetImageHttpRequest.java | 42 ++ .../v1/GetInstanceGroupHttpRequest.java | 45 ++ .../GetInstanceGroupManagerHttpRequest.java | 45 ++ .../compute/v1/GetInstanceHttpRequest.java | 42 ++ .../v1/GetInstanceTemplateHttpRequest.java | 45 ++ .../GetInterconnectAttachmentHttpRequest.java | 45 ++ .../v1/GetInterconnectHttpRequest.java | 44 ++ .../GetInterconnectLocationHttpRequest.java | 45 ++ .../compute/v1/GetLicenseCodeHttpRequest.java | 44 ++ .../compute/v1/GetLicenseHttpRequest.java | 42 ++ .../compute/v1/GetMachineTypeHttpRequest.java | 45 ++ .../GetNatMappingInfoRoutersHttpRequest.java | 167 +++++++ .../compute/v1/GetNetworkHttpRequest.java | 42 ++ .../compute/v1/GetNodeGroupHttpRequest.java | 44 ++ .../v1/GetNodeTemplateHttpRequest.java | 45 ++ .../compute/v1/GetNodeTypeHttpRequest.java | 42 ++ .../compute/v1/GetProjectHttpRequest.java | 42 ++ .../v1/GetRegionAutoscalerHttpRequest.java | 45 ++ .../GetRegionBackendServiceHttpRequest.java | 45 ++ .../v1/GetRegionCommitmentHttpRequest.java | 45 ++ .../compute/v1/GetRegionDiskHttpRequest.java | 42 ++ .../v1/GetRegionDiskTypeHttpRequest.java | 44 ++ .../compute/v1/GetRegionHttpRequest.java | 42 ++ .../v1/GetRegionInstanceGroupHttpRequest.java | 45 ++ ...RegionInstanceGroupManagerHttpRequest.java | 45 ++ .../v1/GetRegionOperationHttpRequest.java | 44 ++ .../cloud/compute/v1/GetRouteHttpRequest.java | 42 ++ .../compute/v1/GetRouterHttpRequest.java | 42 ++ .../v1/GetRouterStatusRouterHttpRequest.java | 45 ++ .../v1/GetRuleSecurityPolicyHttpRequest.java | 48 ++ .../v1/GetSecurityPolicyHttpRequest.java | 45 ++ ...etSerialPortOutputInstanceHttpRequest.java | 66 +++ .../compute/v1/GetSnapshotHttpRequest.java | 42 ++ .../v1/GetSslCertificateHttpRequest.java | 45 ++ .../compute/v1/GetSslPolicyHttpRequest.java | 45 ++ .../compute/v1/GetSubnetworkHttpRequest.java | 45 ++ .../v1/GetTargetHttpProxyHttpRequest.java | 45 ++ .../v1/GetTargetHttpsProxyHttpRequest.java | 45 ++ .../v1/GetTargetInstanceHttpRequest.java | 45 ++ .../compute/v1/GetTargetPoolHttpRequest.java | 45 ++ .../v1/GetTargetSslProxyHttpRequest.java | 45 ++ .../v1/GetTargetTcpProxyHttpRequest.java | 45 ++ .../v1/GetTargetVpnGatewayHttpRequest.java | 45 ++ .../compute/v1/GetUrlMapHttpRequest.java | 42 ++ .../compute/v1/GetVpnTunnelHttpRequest.java | 44 ++ .../v1/GetXpnHostProjectHttpRequest.java | 42 ++ .../GetXpnResourcesProjectsHttpRequest.java | 164 +++++++ .../cloud/compute/v1/GetZoneHttpRequest.java | 42 ++ .../v1/GetZoneOperationHttpRequest.java | 44 ++ .../compute/v1/GlobalSetLabelsRequest.java | 45 ++ .../compute/v1/GlobalSetPolicyRequest.java | 43 ++ .../cloud/compute/v1/GuestOsFeature.java | 13 + .../google/cloud/compute/v1/HealthCheck.java | 108 +++++ .../cloud/compute/v1/HealthCheckList.java | 35 ++ .../compute/v1/HealthCheckReference.java | 5 + .../google/cloud/compute/v1/HealthStatus.java | 12 + .../com/google/cloud/compute/v1/HostRule.java | 45 ++ .../cloud/compute/v1/HttpHealthCheck.java | 63 +++ .../cloud/compute/v1/HttpHealthCheck2.java | 115 +++++ .../cloud/compute/v1/HttpHealthCheckList.java | 35 ++ .../cloud/compute/v1/HttpSHealthCheck.java | 63 +++ .../cloud/compute/v1/HttpsHealthCheck2.java | 111 +++++ .../compute/v1/HttpsHealthCheckList.java | 35 ++ .../com/google/cloud/compute/v1/Image.java | 318 ++++++++++++ .../google/cloud/compute/v1/ImageList.java | 35 ++ .../compute/v1/InsertAddressHttpRequest.java | 95 ++++ .../v1/InsertAutoscalerHttpRequest.java | 102 ++++ .../v1/InsertBackendBucketHttpRequest.java | 84 ++++ .../v1/InsertBackendServiceHttpRequest.java | 96 ++++ .../compute/v1/InsertDiskHttpRequest.java | 87 ++++ .../compute/v1/InsertFirewallHttpRequest.java | 84 ++++ .../v1/InsertForwardingRuleHttpRequest.java | 102 ++++ .../v1/InsertGlobalAddressHttpRequest.java | 95 ++++ ...InsertGlobalForwardingRuleHttpRequest.java | 102 ++++ .../v1/InsertHealthCheckHttpRequest.java | 93 ++++ .../v1/InsertHttpHealthCheckHttpRequest.java | 93 ++++ .../v1/InsertHttpsHealthCheckHttpRequest.java | 93 ++++ .../compute/v1/InsertImageHttpRequest.java | 87 ++++ .../v1/InsertInstanceGroupHttpRequest.java | 95 ++++ ...InsertInstanceGroupManagerHttpRequest.java | 98 ++++ .../compute/v1/InsertInstanceHttpRequest.java | 115 +++++ .../v1/InsertInstanceTemplateHttpRequest.java | 93 ++++ ...sertInterconnectAttachmentHttpRequest.java | 98 ++++ .../v1/InsertInterconnectHttpRequest.java | 98 ++++ .../compute/v1/InsertLicenseHttpRequest.java | 84 ++++ .../compute/v1/InsertNetworkHttpRequest.java | 93 ++++ .../v1/InsertNodeGroupHttpRequest.java | 87 ++++ .../v1/InsertNodeTemplateHttpRequest.java | 84 ++++ .../v1/InsertRegionAutoscalerHttpRequest.java | 102 ++++ ...InsertRegionBackendServiceHttpRequest.java | 96 ++++ .../v1/InsertRegionCommitmentHttpRequest.java | 114 +++++ .../v1/InsertRegionDiskHttpRequest.java | 87 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 98 ++++ .../compute/v1/InsertRouteHttpRequest.java | 129 +++++ .../compute/v1/InsertRouterHttpRequest.java | 84 ++++ .../v1/InsertSecurityPolicyHttpRequest.java | 95 ++++ .../v1/InsertSslCertificateHttpRequest.java | 96 ++++ .../v1/InsertSslPolicyHttpRequest.java | 99 ++++ .../v1/InsertSubnetworkHttpRequest.java | 93 ++++ .../v1/InsertTargetHttpProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetHttpsProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetInstanceHttpRequest.java | 96 ++++ .../v1/InsertTargetPoolHttpRequest.java | 96 ++++ .../v1/InsertTargetSslProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetTcpProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetVpnGatewayHttpRequest.java | 93 ++++ .../compute/v1/InsertUrlMapHttpRequest.java | 93 ++++ .../v1/InsertVpnTunnelHttpRequest.java | 90 ++++ .../com/google/cloud/compute/v1/Instance.java | 304 ++++++++++++ .../compute/v1/InstanceAggregatedList.java | 51 ++ .../cloud/compute/v1/InstanceGroup.java | 124 +++++ .../v1/InstanceGroupAggregatedList.java | 51 ++ .../cloud/compute/v1/InstanceGroupList.java | 44 ++ .../compute/v1/InstanceGroupManager.java | 243 ++++++++++ .../InstanceGroupManagerActionsSummary.java | 138 ++++++ .../InstanceGroupManagerAggregatedList.java | 51 ++ ...InstanceGroupManagerAutoHealingPolicy.java | 24 + .../compute/v1/InstanceGroupManagerList.java | 44 ++ .../v1/InstanceGroupManagerStatus.java | 21 + .../v1/InstanceGroupManagerUpdatePolicy.java | 90 ++++ .../v1/InstanceGroupManagerVersion.java | 34 ++ ...eGroupManagersAbandonInstancesRequest.java | 16 + ...ceGroupManagersDeleteInstancesRequest.java | 16 + ...pManagersListManagedInstancesResponse.java | 4 + ...GroupManagersRecreateInstancesRequest.java | 16 + .../v1/InstanceGroupManagersScopedList.java | 28 ++ ...oupManagersSetInstanceTemplateRequest.java | 12 + ...nceGroupManagersSetTargetPoolsRequest.java | 41 ++ .../v1/InstanceGroupsAddInstancesRequest.java | 4 + .../v1/InstanceGroupsListInstances.java | 43 ++ .../InstanceGroupsListInstancesRequest.java | 15 + .../InstanceGroupsRemoveInstancesRequest.java | 4 + .../compute/v1/InstanceGroupsScopedList.java | 16 + .../InstanceGroupsSetNamedPortsRequest.java | 28 ++ .../google/cloud/compute/v1/InstanceList.java | 41 ++ .../compute/v1/InstanceListReferrers.java | 44 ++ .../cloud/compute/v1/InstanceMoveRequest.java | 36 ++ .../cloud/compute/v1/InstanceProperties.java | 139 ++++++ .../cloud/compute/v1/InstanceReference.java | 3 + .../cloud/compute/v1/InstanceTemplate.java | 88 ++++ .../compute/v1/InstanceTemplateList.java | 44 ++ .../compute/v1/InstanceWithNamedPorts.java | 10 + .../cloud/compute/v1/InstancesScopedList.java | 16 + .../compute/v1/InstancesSetLabelsRequest.java | 12 + .../InstancesSetMachineResourcesRequest.java | 4 + .../v1/InstancesSetMachineTypeRequest.java | 12 + .../v1/InstancesSetMinCpuPlatformRequest.java | 3 + .../v1/InstancesSetServiceAccountRequest.java | 7 + ...nstancesStartWithEncryptionKeyRequest.java | 36 ++ .../google/cloud/compute/v1/Interconnect.java | 210 ++++++++ .../compute/v1/InterconnectAttachment.java | 286 +++++++++++ .../InterconnectAttachmentAggregatedList.java | 51 ++ .../v1/InterconnectAttachmentList.java | 44 ++ ...InterconnectAttachmentPartnerMetadata.java | 47 ++ .../v1/InterconnectAttachmentPrivateInfo.java | 16 + .../v1/InterconnectAttachmentsScopedList.java | 7 + .../compute/v1/InterconnectCircuitInfo.java | 22 + .../compute/v1/InterconnectDiagnostics.java | 43 ++ .../v1/InterconnectDiagnosticsARPEntry.java | 7 + ...InterconnectDiagnosticsLinkLACPStatus.java | 6 + ...terconnectDiagnosticsLinkOpticalPower.java | 15 + .../v1/InterconnectDiagnosticsLinkStatus.java | 22 + .../cloud/compute/v1/InterconnectList.java | 39 ++ .../compute/v1/InterconnectLocation.java | 134 +++++ .../compute/v1/InterconnectLocationList.java | 44 ++ .../v1/InterconnectLocationRegionInfo.java | 22 + .../v1/InterconnectOutageNotification.java | 65 +++ .../InterconnectsGetDiagnosticsResponse.java | 1 + .../v1/InvalidateCacheUrlMapHttpRequest.java | 83 ++++ .../com/google/cloud/compute/v1/Items.java | 34 ++ .../com/google/cloud/compute/v1/License.java | 66 +++ .../google/cloud/compute/v1/LicenseCode.java | 54 +++ .../compute/v1/LicenseCodeLicenseAlias.java | 6 + .../v1/LicenseResourceRequirements.java | 23 + .../compute/v1/LicensesListResponse.java | 31 ++ .../v1/ListAcceleratorTypesHttpRequest.java | 164 +++++++ .../compute/v1/ListAddressesHttpRequest.java | 164 +++++++ .../v1/ListAutoscalersHttpRequest.java | 164 +++++++ ...ailableFeaturesSslPoliciesHttpRequest.java | 166 +++++++ .../v1/ListBackendBucketsHttpRequest.java | 164 +++++++ .../v1/ListBackendServicesHttpRequest.java | 164 +++++++ .../compute/v1/ListDiskTypesHttpRequest.java | 164 +++++++ .../compute/v1/ListDisksHttpRequest.java | 164 +++++++ .../compute/v1/ListFirewallsHttpRequest.java | 164 +++++++ .../v1/ListForwardingRulesHttpRequest.java | 164 +++++++ .../v1/ListGlobalAddressesHttpRequest.java | 164 +++++++ .../ListGlobalForwardingRulesHttpRequest.java | 164 +++++++ .../v1/ListGlobalOperationsHttpRequest.java | 164 +++++++ .../v1/ListHealthChecksHttpRequest.java | 164 +++++++ .../v1/ListHttpHealthChecksHttpRequest.java | 164 +++++++ .../v1/ListHttpsHealthChecksHttpRequest.java | 164 +++++++ .../compute/v1/ListImagesHttpRequest.java | 164 +++++++ .../ListInstanceGroupManagersHttpRequest.java | 164 +++++++ .../v1/ListInstanceGroupsHttpRequest.java | 164 +++++++ .../v1/ListInstanceTemplatesHttpRequest.java | 164 +++++++ .../compute/v1/ListInstancesHttpRequest.java | 164 +++++++ ...istInstancesInstanceGroupsHttpRequest.java | 169 +++++++ ...tancesRegionInstanceGroupsHttpRequest.java | 167 +++++++ ...istInterconnectAttachmentsHttpRequest.java | 166 +++++++ .../ListInterconnectLocationsHttpRequest.java | 164 +++++++ .../v1/ListInterconnectsHttpRequest.java | 164 +++++++ .../compute/v1/ListLicensesHttpRequest.java | 164 +++++++ .../v1/ListMachineTypesHttpRequest.java | 164 +++++++ ...ancesInstanceGroupManagersHttpRequest.java | 167 +++++++ ...egionInstanceGroupManagersHttpRequest.java | 167 +++++++ .../compute/v1/ListNetworksHttpRequest.java | 164 +++++++ .../compute/v1/ListNodeGroupsHttpRequest.java | 164 +++++++ .../v1/ListNodeTemplatesHttpRequest.java | 164 +++++++ .../compute/v1/ListNodeTypesHttpRequest.java | 164 +++++++ .../v1/ListNodesNodeGroupsHttpRequest.java | 167 +++++++ .../v1/ListReferrersInstancesHttpRequest.java | 170 +++++++ .../v1/ListRegionAutoscalersHttpRequest.java | 164 +++++++ .../ListRegionBackendServicesHttpRequest.java | 164 +++++++ .../v1/ListRegionCommitmentsHttpRequest.java | 164 +++++++ .../v1/ListRegionDiskTypesHttpRequest.java | 164 +++++++ .../v1/ListRegionDisksHttpRequest.java | 164 +++++++ ...egionInstanceGroupManagersHttpRequest.java | 166 +++++++ .../ListRegionInstanceGroupsHttpRequest.java | 164 +++++++ .../v1/ListRegionOperationsHttpRequest.java | 164 +++++++ .../compute/v1/ListRegionsHttpRequest.java | 164 +++++++ .../compute/v1/ListRoutersHttpRequest.java | 164 +++++++ .../compute/v1/ListRoutesHttpRequest.java | 164 +++++++ .../v1/ListSecurityPoliciesHttpRequest.java | 164 +++++++ .../compute/v1/ListSnapshotsHttpRequest.java | 164 +++++++ .../v1/ListSslCertificatesHttpRequest.java | 164 +++++++ .../v1/ListSslPoliciesHttpRequest.java | 164 +++++++ .../v1/ListSubnetworksHttpRequest.java | 164 +++++++ .../v1/ListTargetHttpProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetHttpsProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetInstancesHttpRequest.java | 164 +++++++ .../v1/ListTargetPoolsHttpRequest.java | 164 +++++++ .../v1/ListTargetSslProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetTcpProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetVpnGatewaysHttpRequest.java | 164 +++++++ .../compute/v1/ListUrlMapsHttpRequest.java | 164 +++++++ .../v1/ListUsableSubnetworksHttpRequest.java | 164 +++++++ .../compute/v1/ListVpnTunnelsHttpRequest.java | 164 +++++++ .../v1/ListXpnHostsProjectsHttpRequest.java | 164 +++++++ .../v1/ListZoneOperationsHttpRequest.java | 164 +++++++ .../compute/v1/ListZonesHttpRequest.java | 164 +++++++ .../google/cloud/compute/v1/LogConfig.java | 10 + .../v1/LogConfigCloudAuditOptions.java | 7 + .../compute/v1/LogConfigCounterOptions.java | 27 ++ .../v1/LogConfigDataAccessOptions.java | 28 ++ .../google/cloud/compute/v1/MachineType.java | 75 +++ .../compute/v1/MachineTypeAggregatedList.java | 51 ++ .../cloud/compute/v1/MachineTypeList.java | 39 ++ .../compute/v1/MachineTypesScopedList.java | 7 + .../cloud/compute/v1/ManagedInstance.java | 90 ++++ .../v1/ManagedInstanceLastAttempt.java | 7 + .../com/google/cloud/compute/v1/Metadata.java | 35 ++ .../v1/MoveDiskProjectHttpRequest.java | 81 ++++ .../v1/MoveInstanceProjectHttpRequest.java | 81 ++++ .../google/cloud/compute/v1/NamedPort.java | 13 + .../com/google/cloud/compute/v1/Network.java | 127 +++++ .../cloud/compute/v1/NetworkInterface.java | 152 ++++++ .../google/cloud/compute/v1/NetworkList.java | 35 ++ .../cloud/compute/v1/NetworkPeering.java | 65 +++ .../compute/v1/NetworkRoutingConfig.java | 23 + .../compute/v1/NetworksAddPeeringRequest.java | 21 + .../v1/NetworksRemovePeeringRequest.java | 3 + .../google/cloud/compute/v1/NodeGroup.java | 62 +++ .../compute/v1/NodeGroupAggregatedList.java | 51 ++ .../cloud/compute/v1/NodeGroupList.java | 35 ++ .../cloud/compute/v1/NodeGroupNode.java | 10 + .../compute/v1/NodeGroupsAddNodesRequest.java | 3 + .../cloud/compute/v1/NodeGroupsListNodes.java | 43 ++ .../compute/v1/NodeGroupsScopedList.java | 7 + .../v1/NodeGroupsSetNodeTemplateRequest.java | 3 + .../google/cloud/compute/v1/NodeTemplate.java | 102 ++++ .../v1/NodeTemplateAggregatedList.java | 51 ++ .../cloud/compute/v1/NodeTemplateList.java | 39 ++ .../compute/v1/NodeTemplatesScopedList.java | 11 + .../com/google/cloud/compute/v1/NodeType.java | 45 ++ .../compute/v1/NodeTypeAggregatedList.java | 51 ++ .../google/cloud/compute/v1/NodeTypeList.java | 35 ++ .../cloud/compute/v1/NodeTypesScopedList.java | 7 + .../google/cloud/compute/v1/Operation.java | 232 +++++++++ .../compute/v1/OperationAggregatedList.java | 59 +++ .../cloud/compute/v1/OperationList.java | 43 ++ .../compute/v1/OperationsScopedList.java | 16 + .../v1/PatchAutoscalerHttpRequest.java | 105 ++++ .../v1/PatchBackendBucketHttpRequest.java | 87 ++++ .../v1/PatchBackendServiceHttpRequest.java | 99 ++++ .../compute/v1/PatchFirewallHttpRequest.java | 84 ++++ .../v1/PatchHealthCheckHttpRequest.java | 95 ++++ .../v1/PatchHttpHealthCheckHttpRequest.java | 96 ++++ .../v1/PatchHttpsHealthCheckHttpRequest.java | 96 ++++ .../PatchInstanceGroupManagerHttpRequest.java | 99 ++++ ...atchInterconnectAttachmentHttpRequest.java | 99 ++++ .../v1/PatchInterconnectHttpRequest.java | 100 ++++ .../compute/v1/PatchNetworkHttpRequest.java | 93 ++++ .../v1/PatchRegionAutoscalerHttpRequest.java | 105 ++++ .../PatchRegionBackendServiceHttpRequest.java | 99 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 99 ++++ .../compute/v1/PatchRouterHttpRequest.java | 84 ++++ .../PatchRuleSecurityPolicyHttpRequest.java | 60 +++ .../v1/PatchSecurityPolicyHttpRequest.java | 98 ++++ .../compute/v1/PatchSslPolicyHttpRequest.java | 102 ++++ .../v1/PatchSubnetworkHttpRequest.java | 96 ++++ .../compute/v1/PatchUrlMapHttpRequest.java | 93 ++++ .../google/cloud/compute/v1/PathMatcher.java | 89 ++++ .../com/google/cloud/compute/v1/PathRule.java | 48 ++ .../com/google/cloud/compute/v1/Policy.java | 110 +++++ .../compute/v1/PreviewRouterHttpRequest.java | 47 ++ .../com/google/cloud/compute/v1/Project.java | 105 ++++ .../v1/ProjectsDisableXpnResourceRequest.java | 3 + .../v1/ProjectsEnableXpnResourceRequest.java | 3 + .../compute/v1/ProjectsGetXpnResources.java | 42 ++ .../v1/ProjectsListXpnHostsRequest.java | 12 + .../ProjectsSetDefaultNetworkTierRequest.java | 3 + .../com/google/cloud/compute/v1/Quota.java | 13 + .../com/google/cloud/compute/v1/RawDisk.java | 40 ++ ...tancesInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../google/cloud/compute/v1/Reference.java | 22 + .../com/google/cloud/compute/v1/Region.java | 41 ++ .../compute/v1/RegionAutoscalerList.java | 35 ++ .../cloud/compute/v1/RegionDiskTypeList.java | 34 ++ .../compute/v1/RegionDisksResizeRequest.java | 3 + .../compute/v1/RegionInstanceGroupList.java | 35 ++ .../v1/RegionInstanceGroupManagerList.java | 44 ++ ...eGroupManagersAbandonInstancesRequest.java | 16 + ...ceGroupManagersDeleteInstancesRequest.java | 16 + ...nceGroupManagersListInstancesResponse.java | 4 + ...nInstanceGroupManagersRecreateRequest.java | 16 + ...nceGroupManagersSetTargetPoolsRequest.java | 28 ++ ...stanceGroupManagersSetTemplateRequest.java | 3 + .../v1/RegionInstanceGroupsListInstances.java | 34 ++ ...ionInstanceGroupsListInstancesRequest.java | 27 ++ ...ionInstanceGroupsSetNamedPortsRequest.java | 25 + .../google/cloud/compute/v1/RegionList.java | 35 ++ .../compute/v1/RegionSetLabelsRequest.java | 21 + .../compute/v1/RegionSetPolicyRequest.java | 43 ++ ...emoveHealthCheckTargetPoolHttpRequest.java | 84 ++++ .../RemoveInstanceTargetPoolHttpRequest.java | 84 ++++ ...moveInstancesInstanceGroupHttpRequest.java | 84 ++++ .../v1/RemovePeeringNetworkHttpRequest.java | 83 ++++ .../RemoveRuleSecurityPolicyHttpRequest.java | 48 ++ .../compute/v1/ResetInstanceHttpRequest.java | 83 ++++ .../compute/v1/ResizeDiskHttpRequest.java | 81 ++++ ...ResizeInstanceGroupManagerHttpRequest.java | 99 ++++ .../v1/ResizeRegionDiskHttpRequest.java | 81 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 87 ++++ .../cloud/compute/v1/ResourceCommitment.java | 19 + .../compute/v1/ResourceGroupReference.java | 12 + .../com/google/cloud/compute/v1/Route.java | 176 +++++++ .../google/cloud/compute/v1/RouteList.java | 35 ++ .../com/google/cloud/compute/v1/Router.java | 109 +++++ .../compute/v1/RouterAdvertisedIpRange.java | 7 + .../compute/v1/RouterAggregatedList.java | 43 ++ .../google/cloud/compute/v1/RouterBgp.java | 66 +++ .../cloud/compute/v1/RouterBgpPeer.java | 110 +++++ .../cloud/compute/v1/RouterInterface.java | 77 +++ .../google/cloud/compute/v1/RouterList.java | 35 ++ .../google/cloud/compute/v1/RouterNat.java | 94 ++++ .../compute/v1/RouterNatSubnetworkToNat.java | 44 ++ .../google/cloud/compute/v1/RouterStatus.java | 11 + .../compute/v1/RouterStatusBgpPeerStatus.java | 40 ++ .../compute/v1/RouterStatusNatStatus.java | 34 ++ .../compute/v1/RouterStatusResponse.java | 3 + .../compute/v1/RoutersPreviewResponse.java | 3 + .../cloud/compute/v1/RoutersScopedList.java | 7 + .../com/google/cloud/compute/v1/Rule.java | 79 +++ .../cloud/compute/v1/SSLHealthCheck.java | 63 +++ .../google/cloud/compute/v1/Scheduling.java | 56 +++ .../compute/v1/SchedulingNodeAffinity.java | 13 + .../google/cloud/compute/v1/ScratchDisks.java | 4 + .../cloud/compute/v1/SecurityPolicy.java | 101 ++++ .../cloud/compute/v1/SecurityPolicyList.java | 39 ++ .../cloud/compute/v1/SecurityPolicyRule.java | 66 +++ .../compute/v1/SecurityPolicyRuleMatcher.java | 34 ++ .../v1/SecurityPolicyRuleMatcherConfig.java | 4 + .../cloud/compute/v1/SerialPortOutput.java | 41 ++ .../cloud/compute/v1/ServiceAccount.java | 8 + ...ckendServiceTargetSslProxyHttpRequest.java | 84 ++++ ...ckendServiceTargetTcpProxyHttpRequest.java | 84 ++++ .../v1/SetBackupTargetPoolHttpRequest.java | 87 ++++ ...monInstanceMetadataProjectHttpRequest.java | 84 ++++ ...tDefaultNetworkTierProjectHttpRequest.java | 81 ++++ ...DeletionProtectionInstanceHttpRequest.java | 87 ++++ .../SetDiskAutoDeleteInstanceHttpRequest.java | 99 ++++ .../v1/SetIamPolicyDiskHttpRequest.java | 45 ++ .../v1/SetIamPolicyImageHttpRequest.java | 44 ++ .../v1/SetIamPolicyInstanceHttpRequest.java | 45 ++ ...tIamPolicyInstanceTemplateHttpRequest.java | 45 ++ .../v1/SetIamPolicyLicenseHttpRequest.java | 44 ++ .../v1/SetIamPolicyNodeGroupHttpRequest.java | 45 ++ .../SetIamPolicyNodeTemplateHttpRequest.java | 45 ++ .../v1/SetIamPolicySnapshotHttpRequest.java | 44 ++ .../v1/SetIamPolicySubnetworkHttpRequest.java | 45 ++ ...mplateInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../compute/v1/SetLabelsDiskHttpRequest.java | 83 ++++ .../compute/v1/SetLabelsImageHttpRequest.java | 42 ++ .../v1/SetLabelsInstanceHttpRequest.java | 84 ++++ .../v1/SetLabelsRegionDiskHttpRequest.java | 84 ++++ .../v1/SetLabelsSnapshotHttpRequest.java | 44 ++ ...etMachineResourcesInstanceHttpRequest.java | 84 ++++ .../v1/SetMachineTypeInstanceHttpRequest.java | 84 ++++ .../v1/SetMetadataInstanceHttpRequest.java | 87 ++++ .../SetMinCpuPlatformInstanceHttpRequest.java | 84 ++++ ...SetNamedPortsInstanceGroupHttpRequest.java | 84 ++++ ...edPortsRegionInstanceGroupHttpRequest.java | 84 ++++ .../SetNodeTemplateNodeGroupHttpRequest.java | 84 ++++ ...teIpGoogleAccessSubnetworkHttpRequest.java | 84 ++++ ...tProxyHeaderTargetSslProxyHttpRequest.java | 84 ++++ ...tProxyHeaderTargetTcpProxyHttpRequest.java | 84 ++++ ...icOverrideTargetHttpsProxyHttpRequest.java | 87 ++++ .../v1/SetSchedulingInstanceHttpRequest.java | 87 ++++ ...curityPolicyBackendServiceHttpRequest.java | 87 ++++ .../SetServiceAccountInstanceHttpRequest.java | 84 ++++ ...rtificatesTargetHttpsProxyHttpRequest.java | 84 ++++ ...CertificatesTargetSslProxyHttpRequest.java | 84 ++++ ...tSslPolicyTargetHttpsProxyHttpRequest.java | 87 ++++ ...SetSslPolicyTargetSslProxyHttpRequest.java | 87 ++++ .../v1/SetTagsInstanceHttpRequest.java | 86 ++++ .../SetTargetForwardingRuleHttpRequest.java | 84 ++++ ...TargetGlobalForwardingRuleHttpRequest.java | 84 ++++ ...tPoolsInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../SetUrlMapTargetHttpProxyHttpRequest.java | 84 ++++ .../SetUrlMapTargetHttpsProxyHttpRequest.java | 84 ++++ ...etUsageExportBucketProjectHttpRequest.java | 93 ++++ .../google/cloud/compute/v1/SignedUrlKey.java | 34 ++ ...teMaintenanceEventInstanceHttpRequest.java | 45 ++ .../com/google/cloud/compute/v1/Snapshot.java | 235 +++++++++ .../google/cloud/compute/v1/SnapshotList.java | 35 ++ .../compute/v1/SourceInstanceParams.java | 24 + .../cloud/compute/v1/SslCertificate.java | 70 +++ .../cloud/compute/v1/SslCertificateList.java | 35 ++ .../cloud/compute/v1/SslPoliciesList.java | 40 ++ .../google/cloud/compute/v1/SslPolicy.java | 149 ++++++ .../cloud/compute/v1/SslPolicyReference.java | 12 + .../compute/v1/StartInstanceHttpRequest.java | 83 ++++ ...tWithEncryptionKeyInstanceHttpRequest.java | 84 ++++ .../compute/v1/StopInstanceHttpRequest.java | 83 ++++ .../google/cloud/compute/v1/Subnetwork.java | 188 +++++++ .../compute/v1/SubnetworkAggregatedList.java | 51 ++ .../cloud/compute/v1/SubnetworkList.java | 35 ++ .../compute/v1/SubnetworkSecondaryRange.java | 31 ++ .../SubnetworksExpandIpCidrRangeRequest.java | 15 + .../compute/v1/SubnetworksScopedList.java | 7 + .../SwitchToCustomModeNetworkHttpRequest.java | 84 ++++ .../cloud/compute/v1/TCPHealthCheck.java | 63 +++ .../com/google/cloud/compute/v1/Tags.java | 29 ++ .../cloud/compute/v1/TargetHttpProxy.java | 57 +++ .../cloud/compute/v1/TargetHttpProxyList.java | 35 ++ ...getHttpsProxiesSetQuicOverrideRequest.java | 3 + ...HttpsProxiesSetSslCertificatesRequest.java | 16 + .../cloud/compute/v1/TargetHttpsProxy.java | 128 +++++ .../compute/v1/TargetHttpsProxyList.java | 35 ++ .../cloud/compute/v1/TargetInstance.java | 104 ++++ .../v1/TargetInstanceAggregatedList.java | 42 ++ .../cloud/compute/v1/TargetInstanceList.java | 35 ++ .../compute/v1/TargetInstancesScopedList.java | 7 + .../google/cloud/compute/v1/TargetPool.java | 200 ++++++++ .../compute/v1/TargetPoolAggregatedList.java | 51 ++ .../compute/v1/TargetPoolInstanceHealth.java | 12 + .../cloud/compute/v1/TargetPoolList.java | 35 ++ .../v1/TargetPoolsAddHealthCheckRequest.java | 4 + .../v1/TargetPoolsAddInstanceRequest.java | 24 + .../TargetPoolsRemoveHealthCheckRequest.java | 27 ++ .../v1/TargetPoolsRemoveInstanceRequest.java | 4 + .../compute/v1/TargetPoolsScopedList.java | 7 + ...getSslProxiesSetBackendServiceRequest.java | 3 + ...TargetSslProxiesSetProxyHeaderRequest.java | 12 + ...etSslProxiesSetSslCertificatesRequest.java | 16 + .../cloud/compute/v1/TargetSslProxy.java | 101 ++++ .../cloud/compute/v1/TargetSslProxyList.java | 35 ++ ...getTcpProxiesSetBackendServiceRequest.java | 3 + ...TargetTcpProxiesSetProxyHeaderRequest.java | 12 + .../cloud/compute/v1/TargetTcpProxy.java | 69 +++ .../cloud/compute/v1/TargetTcpProxyList.java | 35 ++ .../cloud/compute/v1/TargetVpnGateway.java | 113 +++++ .../v1/TargetVpnGatewayAggregatedList.java | 42 ++ .../compute/v1/TargetVpnGatewayList.java | 35 ++ .../v1/TargetVpnGatewaysScopedList.java | 16 + .../v1/TestIamPermissionsDiskHttpRequest.java | 45 ++ .../TestIamPermissionsImageHttpRequest.java | 45 ++ ...TestIamPermissionsInstanceHttpRequest.java | 45 ++ ...ermissionsInstanceTemplateHttpRequest.java | 45 ++ ...tIamPermissionsLicenseCodeHttpRequest.java | 45 ++ .../TestIamPermissionsLicenseHttpRequest.java | 45 ++ ...estIamPermissionsNodeGroupHttpRequest.java | 45 ++ ...IamPermissionsNodeTemplateHttpRequest.java | 45 ++ ...stIamPermissionsRegionDiskHttpRequest.java | 45 ++ ...TestIamPermissionsSnapshotHttpRequest.java | 45 ++ ...stIamPermissionsSubnetworkHttpRequest.java | 45 ++ .../compute/v1/TestPermissionsRequest.java | 16 + .../compute/v1/TestPermissionsResponse.java | 4 + ...UpdateAccessConfigInstanceHttpRequest.java | 99 ++++ .../v1/UpdateAutoscalerHttpRequest.java | 105 ++++ .../v1/UpdateBackendBucketHttpRequest.java | 87 ++++ .../v1/UpdateBackendServiceHttpRequest.java | 99 ++++ .../compute/v1/UpdateFirewallHttpRequest.java | 84 ++++ .../v1/UpdateHealthCheckHttpRequest.java | 95 ++++ .../v1/UpdateHttpHealthCheckHttpRequest.java | 96 ++++ .../v1/UpdateHttpsHealthCheckHttpRequest.java | 96 ++++ ...teNetworkInterfaceInstanceHttpRequest.java | 90 ++++ .../v1/UpdateRegionAutoscalerHttpRequest.java | 105 ++++ ...UpdateRegionBackendServiceHttpRequest.java | 99 ++++ .../compute/v1/UpdateRouterHttpRequest.java | 84 ++++ .../compute/v1/UpdateUrlMapHttpRequest.java | 93 ++++ .../com/google/cloud/compute/v1/UrlMap.java | 129 +++++ .../google/cloud/compute/v1/UrlMapList.java | 35 ++ .../google/cloud/compute/v1/UrlMapTest.java | 13 + .../compute/v1/UrlMapValidationResult.java | 25 + .../compute/v1/UrlMapsValidateRequest.java | 3 + .../cloud/compute/v1/UsableSubnetwork.java | 14 + .../v1/UsableSubnetworkSecondaryRange.java | 19 + .../v1/UsableSubnetworksAggregatedList.java | 51 ++ .../cloud/compute/v1/UsageExportLocation.java | 42 ++ .../compute/v1/ValidateUrlMapHttpRequest.java | 42 ++ .../compute/v1/VmEndpointNatMappings.java | 4 + ...dpointNatMappingsInterfaceNatMappings.java | 48 ++ .../compute/v1/VmEndpointNatMappingsList.java | 52 ++ .../google/cloud/compute/v1/VpnTunnel.java | 154 ++++++ .../compute/v1/VpnTunnelAggregatedList.java | 42 ++ .../cloud/compute/v1/VpnTunnelList.java | 35 ++ .../compute/v1/VpnTunnelsScopedList.java | 7 + .../com/google/cloud/compute/v1/Warning.java | 32 ++ .../com/google/cloud/compute/v1/Warnings.java | 35 ++ .../google/cloud/compute/v1/XpnHostList.java | 34 ++ .../cloud/compute/v1/XpnResourceId.java | 16 + .../com/google/cloud/compute/v1/Zone.java | 40 ++ .../com/google/cloud/compute/v1/ZoneList.java | 35 ++ .../compute/v1/ZoneSetLabelsRequest.java | 21 + .../compute/v1/ZoneSetPolicyRequest.java | 43 ++ .../google-cloud-compute/synth.metadata | 8 +- 730 files changed, 53890 insertions(+), 4 deletions(-) diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java index c6fc33039714..55aabac9ba99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java @@ -137,18 +137,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } @@ -158,22 +169,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersAbandonInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -266,37 +294,59 @@ public Builder mergeFrom(AbandonInstancesInstanceGroupManagerHttpRequest other) this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -315,46 +365,80 @@ public Builder setInstanceGroupManagersAbandonInstancesRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java index e0d1337587c6..498d79646220 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java @@ -137,30 +137,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -170,10 +184,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersAbandonInstancesRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -267,64 +295,92 @@ public Builder mergeFrom(AbandonInstancesRegionInstanceGroupManagerHttpRequest o this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -343,19 +399,47 @@ public Builder setRegionInstanceGroupManagersAbandonInstancesRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java index 76616db01426..d9f98ddf9d92 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A specification of the type and number of accelerator cards attached to the instance. */ public final class AcceleratorConfig implements ApiMessage { private final Integer acceleratorCount; private final String acceleratorType; @@ -61,10 +62,17 @@ public List getFieldMask() { return null; } + /** The number of the guest accelerator cards exposed to this instance. */ public Integer getAcceleratorCount() { return acceleratorCount; } + /** + * Full or partial URL of the accelerator type resource to attach to this instance. For example: + * projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating + * an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full + * list of accelerator types. + */ public String getAcceleratorType() { return acceleratorType; } @@ -113,19 +121,33 @@ public Builder mergeFrom(AcceleratorConfig other) { this.acceleratorType = source.acceleratorType; } + /** The number of the guest accelerator cards exposed to this instance. */ public Integer getAcceleratorCount() { return acceleratorCount; } + /** The number of the guest accelerator cards exposed to this instance. */ public Builder setAcceleratorCount(Integer acceleratorCount) { this.acceleratorCount = acceleratorCount; return this; } + /** + * Full or partial URL of the accelerator type resource to attach to this instance. For example: + * projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are + * creating an instance template, specify only the accelerator name. See GPUs on Compute Engine + * for a full list of accelerator types. + */ public String getAcceleratorType() { return acceleratorType; } + /** + * Full or partial URL of the accelerator type resource to attach to this instance. For example: + * projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are + * creating an instance template, specify only the accelerator name. See GPUs on Compute Engine + * for a full list of accelerator types. + */ public Builder setAcceleratorType(String acceleratorType) { this.acceleratorType = acceleratorType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java index ec3efe45c20f..612af18e422a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An Accelerator Type resource. (== resource_for beta.acceleratorTypes ==) (== resource_for + * v1.acceleratorTypes ==) + */ public final class AcceleratorType implements ApiMessage { private final String creationTimestamp; private final DeprecationStatus deprecated; @@ -112,38 +116,55 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this accelerator type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. + */ public String getKind() { return kind; } + /** [Output Only] Maximum accelerator cards allowed per instance. */ public Integer getMaximumCardsPerInstance() { return maximumCardsPerInstance; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public String getZone() { return zone; } @@ -227,82 +248,118 @@ public Builder mergeFrom(AcceleratorType other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this accelerator type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this accelerator type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. + */ public String getKind() { return kind; } + /** + * [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Maximum accelerator cards allowed per instance. */ public Integer getMaximumCardsPerInstance() { return maximumCardsPerInstance; } + /** [Output Only] Maximum accelerator cards allowed per instance. */ public Builder setMaximumCardsPerInstance(Integer maximumCardsPerInstance) { this.maximumCardsPerInstance = maximumCardsPerInstance; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java index eaff2de5b7af..ffbbf6f06189 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of AcceleratorTypesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of accelerator types. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated + * lists of accelerator types. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(AcceleratorTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of AcceleratorTypesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of accelerator types. + */ public Map getItemsMap() { return items; } + /** + * A list of AcceleratorTypesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of accelerator types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated + * lists of accelerator types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated + * lists of accelerator types. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java index 18cdb5accebe..c235ceb9db5f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of accelerator types. */ public final class AcceleratorTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of AcceleratorType resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator + * types. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(AcceleratorTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of AcceleratorType resources. */ public List getItemsList() { return items; } + /** A list of AcceleratorType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of AcceleratorType resources. */ public Builder addItems(AcceleratorType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(AcceleratorType items) { return this; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator + * types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator + * types. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java index df6a0eb43438..cfb2bf8ac1df 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java @@ -62,10 +62,14 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of accelerator types contained in this scope. */ public List getAcceleratorTypesList() { return acceleratorTypes; } + /** + * [Output Only] An informational warning that appears when the accelerator types list is empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +118,12 @@ public Builder mergeFrom(AcceleratorTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of accelerator types contained in this scope. */ public List getAcceleratorTypesList() { return acceleratorTypes; } + /** [Output Only] A list of accelerator types contained in this scope. */ public Builder addAllAcceleratorTypes(List acceleratorTypes) { if (this.acceleratorTypes == null) { this.acceleratorTypes = new LinkedList<>(); @@ -126,6 +132,7 @@ public Builder addAllAcceleratorTypes(List acceleratorTypes) { return this; } + /** [Output Only] A list of accelerator types contained in this scope. */ public Builder addAcceleratorTypes(AcceleratorType acceleratorTypes) { if (this.acceleratorTypes == null) { this.acceleratorTypes = new LinkedList<>(); @@ -134,10 +141,16 @@ public Builder addAcceleratorTypes(AcceleratorType acceleratorTypes) { return this; } + /** + * [Output Only] An informational warning that appears when the accelerator types list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] An informational warning that appears when the accelerator types list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java index 5b74c39b84cf..e1f90c548e50 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An access configuration attached to an instance's network interface. Only one access config per + * instance is supported. + */ public final class AccessConfig implements ApiMessage { private final String kind; private final String name; @@ -98,30 +102,60 @@ public List getFieldMask() { return null; } + /** [Output Only] Type of the resource. Always compute#accessConfig for access configs. */ public String getKind() { return kind; } + /** + * The name of this access configuration. The default and recommended name is External NAT but you + * can use any arbitrary string you would like. For example, My external IP or Network Access. + */ public String getName() { return name; } + /** + * An external IP address associated with this instance. Specify an unused static external IP + * address available to the project or leave this field undefined to use an IP from a shared + * ephemeral IP address pool. If you specify a static external IP address, it must live in the + * same region as the zone of the instance. + */ public String getNatIP() { return natIP; } + /** + * This signifies the networking tier used for configuring this access configuration and can only + * take the following values: PREMIUM, STANDARD. + * + *

If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be + * created with this networkTier. + * + *

If an AccessConfig with a valid external IP address is specified, it must match that of the + * networkTier associated with the Address resource owning that IP. + */ public String getNetworkTier() { return networkTier; } + /** + * The DNS domain name for the public PTR record. This field can only be set when the + * set_public_ptr field is enabled. + */ public String getPublicPtrDomainName() { return publicPtrDomainName; } + /** + * Specifies whether a public DNS ?PTR? record should be created to map the external IP address of + * the instance to a DNS domain name. + */ public Boolean getSetPublicPtr() { return setPublicPtr; } + /** The type of configuration. The default and only option is ONE_TO_ONE_NAT. */ public String getType() { return type; } @@ -195,64 +229,126 @@ public Builder mergeFrom(AccessConfig other) { this.type = source.type; } + /** [Output Only] Type of the resource. Always compute#accessConfig for access configs. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#accessConfig for access configs. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of this access configuration. The default and recommended name is External NAT but + * you can use any arbitrary string you would like. For example, My external IP or Network + * Access. + */ public String getName() { return name; } + /** + * The name of this access configuration. The default and recommended name is External NAT but + * you can use any arbitrary string you would like. For example, My external IP or Network + * Access. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * An external IP address associated with this instance. Specify an unused static external IP + * address available to the project or leave this field undefined to use an IP from a shared + * ephemeral IP address pool. If you specify a static external IP address, it must live in the + * same region as the zone of the instance. + */ public String getNatIP() { return natIP; } + /** + * An external IP address associated with this instance. Specify an unused static external IP + * address available to the project or leave this field undefined to use an IP from a shared + * ephemeral IP address pool. If you specify a static external IP address, it must live in the + * same region as the zone of the instance. + */ public Builder setNatIP(String natIP) { this.natIP = natIP; return this; } + /** + * This signifies the networking tier used for configuring this access configuration and can + * only take the following values: PREMIUM, STANDARD. + * + *

If an AccessConfig is specified without a valid external IP address, an ephemeral IP will + * be created with this networkTier. + * + *

If an AccessConfig with a valid external IP address is specified, it must match that of + * the networkTier associated with the Address resource owning that IP. + */ public String getNetworkTier() { return networkTier; } + /** + * This signifies the networking tier used for configuring this access configuration and can + * only take the following values: PREMIUM, STANDARD. + * + *

If an AccessConfig is specified without a valid external IP address, an ephemeral IP will + * be created with this networkTier. + * + *

If an AccessConfig with a valid external IP address is specified, it must match that of + * the networkTier associated with the Address resource owning that IP. + */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; } + /** + * The DNS domain name for the public PTR record. This field can only be set when the + * set_public_ptr field is enabled. + */ public String getPublicPtrDomainName() { return publicPtrDomainName; } + /** + * The DNS domain name for the public PTR record. This field can only be set when the + * set_public_ptr field is enabled. + */ public Builder setPublicPtrDomainName(String publicPtrDomainName) { this.publicPtrDomainName = publicPtrDomainName; return this; } + /** + * Specifies whether a public DNS ?PTR? record should be created to map the external IP address + * of the instance to a DNS domain name. + */ public Boolean getSetPublicPtr() { return setPublicPtr; } + /** + * Specifies whether a public DNS ?PTR? record should be created to map the external IP address + * of the instance to a DNS domain name. + */ public Builder setSetPublicPtr(Boolean setPublicPtr) { this.setPublicPtr = setPublicPtr; return this; } + /** The type of configuration. The default and only option is ONE_TO_ONE_NAT. */ public String getType() { return type; } + /** The type of configuration. The default and only option is ONE_TO_ONE_NAT. */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java index e4257f9c3c08..558c0ccd6c6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java @@ -130,46 +130,79 @@ public List getFieldMask() { return null; } + /** + * An access configuration attached to an instance's network interface. Only one access config per + * instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/addAccessConfig`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface to add to this instance. */ public String getNetworkInterface() { return networkInterface; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +296,166 @@ public Builder mergeFrom(AddAccessConfigInstanceHttpRequest other) { this.userIp = source.userIp; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public Builder setAccessConfigResource(AccessConfig accessConfigResource) { this.accessConfigResource = accessConfigResource; return this; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/addAccessConfig`. \`{instance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/addAccessConfig`. \`{instance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** The name of the network interface to add to this instance. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface to add to this instance. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java index 9613d257130b..33f0661da873 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the target pool to add a health check to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } @@ -159,6 +186,7 @@ public TargetPoolsAddHealthCheckRequest getTargetPoolsAddHealthCheckRequestResou return targetPoolsAddHealthCheckRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(AddHealthCheckTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the target pool to add a health check to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the target pool to add a health check to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -331,10 +413,12 @@ public Builder setTargetPoolsAddHealthCheckRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java index baf8e5d74038..d1e5649635ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java @@ -120,34 +120,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to add instances to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addInstance`. \`{targetPool}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetPool() { return targetPool; } @@ -156,6 +183,7 @@ public TargetPoolsAddInstanceRequest getTargetPoolsAddInstanceRequestResource() return targetPoolsAddInstanceRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -244,73 +272,127 @@ public Builder mergeFrom(AddInstanceTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to add instances to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addInstance`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to add instances to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addInstance`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -326,10 +408,12 @@ public Builder setTargetPoolsAddInstanceRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java index 59e69d50d30b..a4bab4eb5a46 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java @@ -124,18 +124,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group where you are adding instances. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances`. \`{instanceGroup}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } @@ -144,22 +155,39 @@ public InstanceGroupsAddInstancesRequest getInstanceGroupsAddInstancesRequestRes return instanceGroupsAddInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,37 +278,59 @@ public Builder mergeFrom(AddInstancesInstanceGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance group where you are adding instances. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances`. \`{instanceGroup}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group where you are adding instances. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances`. \`{instanceGroup}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -296,46 +346,80 @@ public Builder setInstanceGroupsAddInstancesRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java index bc5e682659a4..bcdf02b73d67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java @@ -123,22 +123,34 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes`. \`{nodeGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } @@ -147,18 +159,34 @@ public NodeGroupsAddNodesRequest getNodeGroupsAddNodesRequestResource() { return nodeGroupsAddNodesRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,46 +275,70 @@ public Builder mergeFrom(AddNodesNodeGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the NodeGroup resource. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes`. \`{nodeGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes`. \`{nodeGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; @@ -302,37 +354,69 @@ public Builder setNodeGroupsAddNodesRequestResource( return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java index b586f6737067..125276be0506 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java @@ -122,22 +122,33 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network resource to add peering to. It must have the format + * `{project}/global/networks/{network}/addPeering`. \`{network}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } @@ -146,18 +157,34 @@ public NetworksAddPeeringRequest getNetworksAddPeeringRequestResource() { return networksAddPeeringRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -246,46 +273,68 @@ public Builder mergeFrom(AddPeeringNetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the network resource to add peering to. It must have the format + * `{project}/global/networks/{network}/addPeering`. \`{network}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } + /** + * Name of the network resource to add peering to. It must have the format + * `{project}/global/networks/{network}/addPeering`. \`{network}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setNetwork(String network) { this.network = network; return this; @@ -301,37 +350,69 @@ public Builder setNetworksAddPeeringRequestResource( return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java index 137239ad3fc5..28f14193f75c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java @@ -116,38 +116,57 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/addRule`. \`{securityPolicy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Represents a rule that describes one or more match conditions along with the action to be taken + * when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +250,120 @@ public Builder mergeFrom(AddRuleSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/addRule`. \`{securityPolicy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/addRule`. \`{securityPolicy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public Builder setSecurityPolicyRuleResource(SecurityPolicyRule securityPolicyRuleResource) { this.securityPolicyRuleResource = securityPolicyRuleResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java index 6171d9e41f23..1c79fd3c5c22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name should + * conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey`. \`{backendBucket}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(AddSignedUrlKeyBackendBucketHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey`. \`{backendBucket}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey`. \`{backendBucket}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public Builder setSignedUrlKeyResource(SignedUrlKey signedUrlKeyResource) { this.signedUrlKeyResource = signedUrlKeyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java index ca5c05a39bc8..8e4037ed2640 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/addSignedUrlKey`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(AddSignedUrlKeyBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/addSignedUrlKey`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/addSignedUrlKey`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public Builder setSignedUrlKeyResource(SignedUrlKey signedUrlKeyResource) { this.signedUrlKeyResource = signedUrlKeyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java index 6372117a77bc..64f1b3b19515 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses + * ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==) + */ public final class Address implements ApiMessage { private final String address; private final String addressType; @@ -169,70 +173,127 @@ public List getFieldMask() { return null; } + /** The static IP address represented by this resource. */ public String getAddress() { return address; } + /** + * The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to + * EXTERNAL. + */ public String getAddressType() { return addressType; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can only + * be specified for a global address. + */ public String getIpVersion() { return ipVersion; } + /** [Output Only] Type of the resource. Always compute#address for addresses. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The URL of the network in which to reserve the address. This field can only be used with + * INTERNAL type with VPC_PEERING purpose. + */ public String getNetwork() { return network; } + /** + * This signifies the networking tier used for configuring this Address and can only take the + * following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. Regional + * forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to + * regional forwarding rules can be used with any external load balancer. Regional forwarding + * rules in Premium Tier can only be used with a Network load balancer. + * + *

If this field is not specified, it is assumed to be PREMIUM. + */ public String getNetworkTier() { return networkTier; } + /** The prefix length if the resource reprensents an IP range. */ public Integer getPrefixLength() { return prefixLength; } + /** The purpose of resource, only used with INTERNAL type. */ public String getPurpose() { return purpose; } + /** + * [Output Only] URL of the region where the regional address resides. This field is not + * applicable to global addresses. You must specify this field as part of the HTTP request URL. + * You cannot set this field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An + * address that is RESERVING is currently in the process of being reserved. A RESERVED address is + * currently reserved and available to use. An IN_USE address is currently being used by another + * resource and is not available. + */ public String getStatus() { return status; } + /** + * The URL of the subnetwork in which to reserve the address. If an IP address is specified, it + * must be within the subnetwork's IP range. This field can only be used with INTERNAL type with + * GCE_ENDPOINT/DNS_RESOLVER purposes. + */ public String getSubnetwork() { return subnetwork; } + /** [Output Only] The URLs of the resources that are using this address. */ public List getUsersList() { return users; } @@ -356,154 +417,270 @@ public Builder mergeFrom(Address other) { this.users = source.users; } + /** The static IP address represented by this resource. */ public String getAddress() { return address; } + /** The static IP address represented by this resource. */ public Builder setAddress(String address) { this.address = address; return this; } + /** + * The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to + * EXTERNAL. + */ public String getAddressType() { return addressType; } + /** + * The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to + * EXTERNAL. + */ public Builder setAddressType(String addressType) { this.addressType = addressType; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can + * only be specified for a global address. + */ public String getIpVersion() { return ipVersion; } + /** + * The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can + * only be specified for a global address. + */ public Builder setIpVersion(String ipVersion) { this.ipVersion = ipVersion; return this; } + /** [Output Only] Type of the resource. Always compute#address for addresses. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#address for addresses. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The URL of the network in which to reserve the address. This field can only be used with + * INTERNAL type with VPC_PEERING purpose. + */ public String getNetwork() { return network; } + /** + * The URL of the network in which to reserve the address. This field can only be used with + * INTERNAL type with VPC_PEERING purpose. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * This signifies the networking tier used for configuring this Address and can only take the + * following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. + * Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses + * applied to regional forwarding rules can be used with any external load balancer. Regional + * forwarding rules in Premium Tier can only be used with a Network load balancer. + * + *

If this field is not specified, it is assumed to be PREMIUM. + */ public String getNetworkTier() { return networkTier; } + /** + * This signifies the networking tier used for configuring this Address and can only take the + * following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. + * Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses + * applied to regional forwarding rules can be used with any external load balancer. Regional + * forwarding rules in Premium Tier can only be used with a Network load balancer. + * + *

If this field is not specified, it is assumed to be PREMIUM. + */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; } + /** The prefix length if the resource reprensents an IP range. */ public Integer getPrefixLength() { return prefixLength; } + /** The prefix length if the resource reprensents an IP range. */ public Builder setPrefixLength(Integer prefixLength) { this.prefixLength = prefixLength; return this; } + /** The purpose of resource, only used with INTERNAL type. */ public String getPurpose() { return purpose; } + /** The purpose of resource, only used with INTERNAL type. */ public Builder setPurpose(String purpose) { this.purpose = purpose; return this; } + /** + * [Output Only] URL of the region where the regional address resides. This field is not + * applicable to global addresses. You must specify this field as part of the HTTP request URL. + * You cannot set this field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional address resides. This field is not + * applicable to global addresses. You must specify this field as part of the HTTP request URL. + * You cannot set this field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. + * An address that is RESERVING is currently in the process of being reserved. A RESERVED + * address is currently reserved and available to use. An IN_USE address is currently being used + * by another resource and is not available. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. + * An address that is RESERVING is currently in the process of being reserved. A RESERVED + * address is currently reserved and available to use. An IN_USE address is currently being used + * by another resource and is not available. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * The URL of the subnetwork in which to reserve the address. If an IP address is specified, it + * must be within the subnetwork's IP range. This field can only be used with INTERNAL type with + * GCE_ENDPOINT/DNS_RESOLVER purposes. + */ public String getSubnetwork() { return subnetwork; } + /** + * The URL of the subnetwork in which to reserve the address. If an IP address is specified, it + * must be within the subnetwork's IP range. This field can only be used with INTERNAL type with + * GCE_ENDPOINT/DNS_RESOLVER purposes. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** [Output Only] The URLs of the resources that are using this address. */ public List getUsersList() { return users; } + /** [Output Only] The URLs of the resources that are using this address. */ public Builder addAllUsers(List users) { if (this.users == null) { this.users = new LinkedList<>(); @@ -512,6 +689,7 @@ public Builder addAllUsers(List users) { return this; } + /** [Output Only] The URLs of the resources that are using this address. */ public Builder addUsers(String users) { if (this.users == null) { this.users = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java index de051eb0f6b7..f88438700cc5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of AddressesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of + * addresses. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(AddressAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of AddressesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * A list of AddressesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of addresses. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of + * addresses. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of + * addresses. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java index cacc53ed1c62..c12f116651af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of addresses. */ public final class AddressList implements ApiMessage { private final String id; private final List

items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Address resources. */ public List
getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#addressList for lists of addresses. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(AddressList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Address resources. */ public List
getItemsList() { return items; } + /** A list of Address resources. */ public Builder addAllItems(List
items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List
items) { return this; } + /** A list of Address resources. */ public Builder addItems(Address items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Address items) { return this; } + /** [Output Only] Type of resource. Always compute#addressList for lists of addresses. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#addressList for lists of addresses. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java index 28e6e05b90bd..c7d0ad0fa5c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of addresses contained in this scope. */ public List
getAddressesList() { return addresses; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(AddressesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of addresses contained in this scope. */ public List
getAddressesList() { return addresses; } + /** [Output Only] A list of addresses contained in this scope. */ public Builder addAllAddresses(List
addresses) { if (this.addresses == null) { this.addresses = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllAddresses(List
addresses) { return this; } + /** [Output Only] A list of addresses contained in this scope. */ public Builder addAddresses(Address addresses) { if (this.addresses == null) { this.addresses = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addAddresses(Address addresses) { return this; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java index 906f9edd4dcd..0648d76c8db2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/acceleratorTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListAcceleratorTypesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/acceleratorTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/acceleratorTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java index 6ab2dc38a4d5..8a97d3808f0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListAddressesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java index 9db2e13f90e5..40c5bd7dce9c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/autoscalers`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListAutoscalersHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/autoscalers`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/autoscalers`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java index c169b4299136..82d2f101d02c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Name of the project scoping this request. It must have the format + * `{project}/aggregated/backendServices`. \`{project}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListBackendServicesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Name of the project scoping this request. It must have the format + * `{project}/aggregated/backendServices`. \`{project}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Name of the project scoping this request. It must have the format + * `{project}/aggregated/backendServices`. \`{project}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java index 9b377d025b82..441487560b20 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/diskTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListDiskTypesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/diskTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/diskTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java index f4eee9c6f165..537f35a0d910 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/disks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListDisksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/disks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/disks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java index cebb0ed23ea5..8d9b3c2b031c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListForwardingRulesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java index b8f4a733d935..03e330705677 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/operations`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListGlobalOperationsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/operations`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/operations`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java index 156dec1ce26e..43b49018fe6a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/instanceGroupManagers`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListInstanceGroupManagersHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/instanceGroupManagers`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/instanceGroupManagers`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java index 75b1ff3b6538..ba1b811974b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/instanceGroups`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListInstanceGroupsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/instanceGroups`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/instanceGroups`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java index 5037fee732ab..b77b39de7410 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/instances`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListInstancesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/instances`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/instances`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java index 0a6a934e9eaf..17a8e4677fd3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/interconnectAttachments`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -280,109 +334,219 @@ public Builder mergeFrom(AggregatedListInterconnectAttachmentsHttpRequest other) this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/interconnectAttachments`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/interconnectAttachments`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java index b75a7f9a6287..496297ca9d45 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/machineTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListMachineTypesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/machineTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/machineTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java index 4fb6ea4b73e7..4ed16fe53e37 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeGroups`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListNodeGroupsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeGroups`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeGroups`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java index 90b8ba36247a..36a00eb8d416 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListNodeTemplatesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java index 5d672175e560..d2d87d7690cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListNodeTypesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/nodeTypes`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java index 64ec813c0735..533aede8f66e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/commitments`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListRegionCommitmentsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/commitments`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/commitments`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java index e0086b6e3e99..9e64b7cc4458 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/routers`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListRoutersHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/routers`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/routers`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java index 09b116c2d2ec..7b5e37ed02f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/subnetworks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListSubnetworksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/subnetworks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/subnetworks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java index 1dde3b84d105..2582db5d1084 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/targetInstances`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListTargetInstancesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/targetInstances`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/targetInstances`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java index ea342bd11e06..472a7bcd5c58 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/targetPools`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListTargetPoolsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/targetPools`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/targetPools`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java index 2bf2bb74b5ed..e21d848d4973 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/targetVpnGateways`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListTargetVpnGatewaysHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/targetVpnGateways`. \`{project}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/targetVpnGateways`. \`{project}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java index 9377cf1be20a..1630713aceb1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/vpnTunnels`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListVpnTunnelsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/vpnTunnels`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/aggregated/vpnTunnels`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java index 7cbbe9ce6437..f778e71e0509 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** An alias IP range attached to an instance's network interface. */ public final class AliasIpRange implements ApiMessage { private final String ipCidrRange; private final String subnetworkRangeName; @@ -61,10 +62,21 @@ public List getFieldMask() { return null; } + /** + * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the + * specified subnetwork and cannot contain IP addresses reserved by system or used by other + * network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. /24) + * or a CIDR format string (e.g. 10.1.2.0/24). + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * Optional subnetwork secondary range name specifying the secondary range from which to allocate + * the IP CIDR range for this alias IP range. If left unspecified, the primary range of the + * subnetwork will be used. + */ public String getSubnetworkRangeName() { return subnetworkRangeName; } @@ -113,19 +125,41 @@ public Builder mergeFrom(AliasIpRange other) { this.subnetworkRangeName = source.subnetworkRangeName; } + /** + * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the + * specified subnetwork and cannot contain IP addresses reserved by system or used by other + * network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. + * /24) or a CIDR format string (e.g. 10.1.2.0/24). + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the + * specified subnetwork and cannot contain IP addresses reserved by system or used by other + * network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. + * /24) or a CIDR format string (e.g. 10.1.2.0/24). + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** + * Optional subnetwork secondary range name specifying the secondary range from which to + * allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of + * the subnetwork will be used. + */ public String getSubnetworkRangeName() { return subnetworkRangeName; } + /** + * Optional subnetwork secondary range name specifying the secondary range from which to + * allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of + * the subnetwork will be used. + */ public Builder setSubnetworkRangeName(String subnetworkRangeName) { this.subnetworkRangeName = subnetworkRangeName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java index cb707d58839a..8db88daa264c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range + * tuple that describes a permitted connection. + */ public final class Allowed implements ApiMessage { @SerializedName("IPProtocol") private final String iPProtocol; @@ -65,10 +69,22 @@ public List getFieldMask() { return null; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings (tcp, + * udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP or + * TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } @@ -117,19 +133,43 @@ public Builder mergeFrom(Allowed other) { this.ports = source.ports; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public Builder setIPProtocol(String iPProtocol) { this.iPProtocol = iPProtocol; return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addAllPorts(List ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -138,6 +178,13 @@ public Builder addAllPorts(List ports) { return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addPorts(String ports) { if (this.ports == null) { this.ports = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java index 67ce0f6d70e2..26098745125c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java @@ -132,46 +132,79 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** An instance-attached disk resource. */ public AttachedDisk getAttachedDiskResource() { return attachedDiskResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Whether to force attach the disk even if it's currently attached to another instance. This is + * only available for regional disks. + */ public Boolean getForceAttach() { return forceAttach; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/attachDisk`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -265,100 +298,166 @@ public Builder mergeFrom(AttachDiskInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** An instance-attached disk resource. */ public AttachedDisk getAttachedDiskResource() { return attachedDiskResource; } + /** An instance-attached disk resource. */ public Builder setAttachedDiskResource(AttachedDisk attachedDiskResource) { this.attachedDiskResource = attachedDiskResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Whether to force attach the disk even if it's currently attached to another instance. This is + * only available for regional disks. + */ public Boolean getForceAttach() { return forceAttach; } + /** + * Whether to force attach the disk even if it's currently attached to another instance. This is + * only available for regional disks. + */ public Builder setForceAttach(Boolean forceAttach) { this.forceAttach = forceAttach; return this; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/attachDisk`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/attachDisk`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java index 67ca6fdf39e6..502282611723 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** An instance-attached disk resource. */ public final class AttachedDisk implements ApiMessage { private final Boolean autoDelete; private final Boolean boot; @@ -145,54 +146,132 @@ public List getFieldMask() { return null; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the + * disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * Indicates that this is a boot disk. The virtual machine will use the first partition of the + * disk for its root filesystem. + */ public Boolean getBoot() { return boot; } + /** + * Specifies a unique device name of your choice that is reflected into the + * /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This + * name can be used to reference the device for mounting, resizing, and so on, from within the + * instance. + * + *

If not specified, the server chooses a default device name to apply to this disk, in the + * form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is + * only applicable for persistent disks. + */ public String getDeviceName() { return deviceName; } + /** + * Encrypts or decrypts a disk using a customer-supplied encryption key. + * + *

If you are creating a new disk, this field encrypts the new disk using an encryption key + * that you provide. If you are attaching an existing disk that is already encrypted, this field + * decrypts the disk using the customer-supplied encryption key. + * + *

If you encrypt a disk using a customer-supplied key, you must provide the same key again + * when you attempt to use this resource at a later time. For example, you must provide the key + * when you create a snapshot or an image from the disk or when you attach the disk to a virtual + * machine instance. + * + *

If you do not provide an encryption key, then the disk will be encrypted using an + * automatically generated key and you do not need to provide a key to use the disk later. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot use your + * own keys to encrypt disks in a managed instance group. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you + * have many disks attached to an instance, each disk would have a unique index number. + */ public Integer getIndex() { return index; } + /** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the new + * instance. + * + *

This property is mutually exclusive with the source property; you can only define one or the + * other, but not both. + */ public AttachedDiskInitializeParams getInitializeParams() { return initializeParams; } + /** + * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The + * default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt + * to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or + * SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. + */ public String getInterface() { return interface2; } + /** [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. */ public String getKind() { return kind; } + /** [Output Only] Any valid publicly visible licenses. */ public List getLicensesList() { return licenses; } + /** + * The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the + * default is to attach the disk in READ_WRITE mode. + */ public String getMode() { return mode; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a + * new instance, one of initializeParams.sourceImage or disks.source is required except for local + * SSD. + * + *

If desired, you can also attach existing non-root persistent disks using this property. This + * field is only applicable for persistent disks. + * + *

Note that for InstanceTemplate, specify the disk name, not the URL for the disk. + */ public String getSource() { return source; } + /** + * Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is + * PERSISTENT. + */ public String getType() { return type; } @@ -296,46 +375,126 @@ public Builder mergeFrom(AttachedDisk other) { this.type = source.type; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Builder setAutoDelete(Boolean autoDelete) { this.autoDelete = autoDelete; return this; } + /** + * Indicates that this is a boot disk. The virtual machine will use the first partition of the + * disk for its root filesystem. + */ public Boolean getBoot() { return boot; } + /** + * Indicates that this is a boot disk. The virtual machine will use the first partition of the + * disk for its root filesystem. + */ public Builder setBoot(Boolean boot) { this.boot = boot; return this; } + /** + * Specifies a unique device name of your choice that is reflected into the + * /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. + * This name can be used to reference the device for mounting, resizing, and so on, from within + * the instance. + * + *

If not specified, the server chooses a default device name to apply to this disk, in the + * form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is + * only applicable for persistent disks. + */ public String getDeviceName() { return deviceName; } + /** + * Specifies a unique device name of your choice that is reflected into the + * /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. + * This name can be used to reference the device for mounting, resizing, and so on, from within + * the instance. + * + *

If not specified, the server chooses a default device name to apply to this disk, in the + * form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is + * only applicable for persistent disks. + */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } + /** + * Encrypts or decrypts a disk using a customer-supplied encryption key. + * + *

If you are creating a new disk, this field encrypts the new disk using an encryption key + * that you provide. If you are attaching an existing disk that is already encrypted, this field + * decrypts the disk using the customer-supplied encryption key. + * + *

If you encrypt a disk using a customer-supplied key, you must provide the same key again + * when you attempt to use this resource at a later time. For example, you must provide the key + * when you create a snapshot or an image from the disk or when you attach the disk to a virtual + * machine instance. + * + *

If you do not provide an encryption key, then the disk will be encrypted using an + * automatically generated key and you do not need to provide a key to use the disk later. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot use your + * own keys to encrypt disks in a managed instance group. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * Encrypts or decrypts a disk using a customer-supplied encryption key. + * + *

If you are creating a new disk, this field encrypts the new disk using an encryption key + * that you provide. If you are attaching an existing disk that is already encrypted, this field + * decrypts the disk using the customer-supplied encryption key. + * + *

If you encrypt a disk using a customer-supplied key, you must provide the same key again + * when you attempt to use this resource at a later time. For example, you must provide the key + * when you create a snapshot or an image from the disk or when you attach the disk to a virtual + * machine instance. + * + *

If you do not provide an encryption key, then the disk will be encrypted using an + * automatically generated key and you do not need to provide a key to use the disk later. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot use your + * own keys to encrypt disks in a managed instance group. + */ public Builder setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey) { this.diskEncryptionKey = diskEncryptionKey; return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addAllGuestOsFeatures(List guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -344,6 +503,10 @@ public Builder addAllGuestOsFeatures(List guestOsFeatures) { return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -352,46 +515,86 @@ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { return this; } + /** + * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you + * have many disks attached to an instance, each disk would have a unique index number. + */ public Integer getIndex() { return index; } + /** + * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you + * have many disks attached to an instance, each disk would have a unique index number. + */ public Builder setIndex(Integer index) { this.index = index; return this; } + /** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the + * new instance. + * + *

This property is mutually exclusive with the source property; you can only define one or + * the other, but not both. + */ public AttachedDiskInitializeParams getInitializeParams() { return initializeParams; } + /** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the + * new instance. + * + *

This property is mutually exclusive with the source property; you can only define one or + * the other, but not both. + */ public Builder setInitializeParams(AttachedDiskInitializeParams initializeParams) { this.initializeParams = initializeParams; return this; } + /** + * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. + * The default is SCSI. Persistent disks must always use SCSI and the request will fail if you + * attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either + * NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. + */ public String getInterface() { return interface2; } + /** + * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. + * The default is SCSI. Persistent disks must always use SCSI and the request will fail if you + * attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either + * NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. + */ public Builder setInterface(String interface2) { this.interface2 = interface2; return this; } + /** [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Any valid publicly visible licenses. */ public List getLicensesList() { return licenses; } + /** [Output Only] Any valid publicly visible licenses. */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -400,6 +603,7 @@ public Builder addAllLicenses(List licenses) { return this; } + /** [Output Only] Any valid publicly visible licenses. */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -408,28 +612,64 @@ public Builder addLicenses(String licenses) { return this; } + /** + * The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the + * default is to attach the disk in READ_WRITE mode. + */ public String getMode() { return mode; } + /** + * The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the + * default is to attach the disk in READ_WRITE mode. + */ public Builder setMode(String mode) { this.mode = mode; return this; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating + * a new instance, one of initializeParams.sourceImage or disks.source is required except for + * local SSD. + * + *

If desired, you can also attach existing non-root persistent disks using this property. + * This field is only applicable for persistent disks. + * + *

Note that for InstanceTemplate, specify the disk name, not the URL for the disk. + */ public String getSource() { return source; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating + * a new instance, one of initializeParams.sourceImage or disks.source is required except for + * local SSD. + * + *

If desired, you can also attach existing non-root persistent disks using this property. + * This field is only applicable for persistent disks. + * + *

Note that for InstanceTemplate, specify the disk name, not the URL for the disk. + */ public Builder setSource(String source) { this.source = source; return this; } + /** + * Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default + * is PERSISTENT. + */ public String getType() { return type; } + /** + * Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default + * is PERSISTENT. + */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java index b5629ec53e08..1ccc29dee6af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java @@ -25,6 +25,14 @@ @Generated("by GAPIC") @BetaApi +/** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the new + * instance. + * + *

This property is mutually exclusive with the source property; you can only define one or the + * other, but not both. + */ public final class AttachedDiskInitializeParams implements ApiMessage { private final String description; private final String diskName; @@ -99,30 +107,80 @@ public List getFieldMask() { return null; } + /** An optional description. Provide this property when creating the disk. */ public String getDescription() { return description; } + /** + * Specifies the disk name. If not specified, the default is to use the name of the instance. If + * the disk with the instance name exists already in the given zone/region, a new name will be + * automatically generated. + */ public String getDiskName() { return diskName; } + /** Specifies the size of the disk in base-2 GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** + * Specifies the disk type to use to create the instance. If not specified, the default is + * pd-standard, specified using the full URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard + * + *

Other values include pd-ssd and local-ssd. If you define this field, you can provide either + * the full or partial URL. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - + * projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for + * InstanceTemplate, this is the name of the disk type, not URL. + */ public String getDiskType() { return diskType; } + /** + * Labels to apply to this disk. These can be later modified by the disks.setLabels method. This + * field is only applicable for persistent disks. + */ public Map getLabelsMap() { return labels; } + /** + * The source image to create this disk. When creating a new instance, one of + * initializeParams.sourceImage or disks.source is required except for local SSD. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version of + * the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + * + *

If the source image is deleted later, this field will not be set. + */ public String getSourceImage() { return sourceImage; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot create + * disks for instances in a managed instance group if the source images are encrypted with your + * own keys. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } @@ -196,64 +254,164 @@ public Builder mergeFrom(AttachedDiskInitializeParams other) { this.sourceImageEncryptionKey = source.sourceImageEncryptionKey; } + /** An optional description. Provide this property when creating the disk. */ public String getDescription() { return description; } + /** An optional description. Provide this property when creating the disk. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Specifies the disk name. If not specified, the default is to use the name of the instance. If + * the disk with the instance name exists already in the given zone/region, a new name will be + * automatically generated. + */ public String getDiskName() { return diskName; } + /** + * Specifies the disk name. If not specified, the default is to use the name of the instance. If + * the disk with the instance name exists already in the given zone/region, a new name will be + * automatically generated. + */ public Builder setDiskName(String diskName) { this.diskName = diskName; return this; } + /** Specifies the size of the disk in base-2 GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** Specifies the size of the disk in base-2 GB. */ public Builder setDiskSizeGb(String diskSizeGb) { this.diskSizeGb = diskSizeGb; return this; } + /** + * Specifies the disk type to use to create the instance. If not specified, the default is + * pd-standard, specified using the full URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard + * + *

Other values include pd-ssd and local-ssd. If you define this field, you can provide + * either the full or partial URL. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - + * projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for + * InstanceTemplate, this is the name of the disk type, not URL. + */ public String getDiskType() { return diskType; } + /** + * Specifies the disk type to use to create the instance. If not specified, the default is + * pd-standard, specified using the full URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard + * + *

Other values include pd-ssd and local-ssd. If you define this field, you can provide + * either the full or partial URL. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - + * projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for + * InstanceTemplate, this is the name of the disk type, not URL. + */ public Builder setDiskType(String diskType) { this.diskType = diskType; return this; } + /** + * Labels to apply to this disk. These can be later modified by the disks.setLabels method. This + * field is only applicable for persistent disks. + */ public Map getLabelsMap() { return labels; } + /** + * Labels to apply to this disk. These can be later modified by the disks.setLabels method. This + * field is only applicable for persistent disks. + */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** + * The source image to create this disk. When creating a new instance, one of + * initializeParams.sourceImage or disks.source is required except for local SSD. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + * + *

If the source image is deleted later, this field will not be set. + */ public String getSourceImage() { return sourceImage; } + /** + * The source image to create this disk. When creating a new instance, one of + * initializeParams.sourceImage or disks.source is required except for local SSD. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + * + *

If the source image is deleted later, this field will not be set. + */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot create + * disks for instances in a managed instance group if the source images are encrypted with your + * own keys. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot create + * disks for instances in a managed instance group if the source images are encrypted with your + * own keys. + */ public Builder setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey) { this.sourceImageEncryptionKey = sourceImageEncryptionKey; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java index 7d01e752ed75..e3d61e0b7f73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java @@ -25,6 +25,27 @@ @Generated("by GAPIC") @BetaApi +/** + * Specifies the audit configuration for a service. The configuration determines which permission + * types are logged, and what identities, if any, are exempted from logging. An AuditConfig must + * have one or more AuditLogConfigs. + * + *

If there are AuditConfigs for both `allServices` and a specific service, the union of the two + * AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, + * and the exempted_members in each AuditLogConfig are exempted. + * + *

Example Policy with multiple AuditConfigs: + * + *

{ "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": + * "DATA_READ", "exempted_members": [ "user:foo{@literal @}gmail.com" ] }, { "log_type": + * "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" + * "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", + * "exempted_members": [ "user:bar{@literal @}gmail.com" ] } ] } ] } + * + *

For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also + * exempts foo{@literal @}gmail.com from DATA_READ logging, and bar{@literal @}gmail.com from + * DATA_WRITE logging. + */ public final class AuditConfig implements ApiMessage { private final List auditLogConfigs; private final List exemptedMembers; @@ -69,6 +90,7 @@ public List getFieldMask() { return null; } + /** The configuration for logging of each type of permission. */ public List getAuditLogConfigsList() { return auditLogConfigs; } @@ -77,6 +99,11 @@ public List getExemptedMembersList() { return exemptedMembers; } + /** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that + * covers all services. + */ public String getService() { return service; } @@ -130,10 +157,12 @@ public Builder mergeFrom(AuditConfig other) { this.service = source.service; } + /** The configuration for logging of each type of permission. */ public List getAuditLogConfigsList() { return auditLogConfigs; } + /** The configuration for logging of each type of permission. */ public Builder addAllAuditLogConfigs(List auditLogConfigs) { if (this.auditLogConfigs == null) { this.auditLogConfigs = new LinkedList<>(); @@ -142,6 +171,7 @@ public Builder addAllAuditLogConfigs(List auditLogConfigs) { return this; } + /** The configuration for logging of each type of permission. */ public Builder addAuditLogConfigs(AuditLogConfig auditLogConfigs) { if (this.auditLogConfigs == null) { this.auditLogConfigs = new LinkedList<>(); @@ -170,10 +200,20 @@ public Builder addExemptedMembers(String exemptedMembers) { return this; } + /** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that + * covers all services. + */ public String getService() { return service; } + /** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that + * covers all services. + */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java index 9ed12ffe3b82..54b4aea62b71 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java @@ -25,6 +25,15 @@ @Generated("by GAPIC") @BetaApi +/** + * Provides the configuration for logging a type of permissions. Example: + * + *

{ "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ + * "user:foo{@literal @}gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } + * + *

This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo{@literal @}gmail.com + * from DATA_READ logging. + */ public final class AuditLogConfig implements ApiMessage { private final List exemptedMembers; private final String logType; @@ -62,10 +71,15 @@ public List getFieldMask() { return null; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public List getExemptedMembersList() { return exemptedMembers; } + /** The log type that this config enables. */ public String getLogType() { return logType; } @@ -114,10 +128,18 @@ public Builder mergeFrom(AuditLogConfig other) { this.logType = source.logType; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public List getExemptedMembersList() { return exemptedMembers; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public Builder addAllExemptedMembers(List exemptedMembers) { if (this.exemptedMembers == null) { this.exemptedMembers = new LinkedList<>(); @@ -126,6 +148,10 @@ public Builder addAllExemptedMembers(List exemptedMembers) { return this; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public Builder addExemptedMembers(String exemptedMembers) { if (this.exemptedMembers == null) { this.exemptedMembers = new LinkedList<>(); @@ -134,10 +160,12 @@ public Builder addExemptedMembers(String exemptedMembers) { return this; } + /** The log type that this config enables. */ public String getLogType() { return logType; } + /** The log type that this config enables. */ public Builder setLogType(String logType) { this.logType = logType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java index 1b3cff5f69b5..7e7666dc84e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Authorization-related information used by Cloud Audit Logging. */ public final class AuthorizationLoggingOptions implements ApiMessage { private final String permissionType; @@ -55,6 +56,7 @@ public List getFieldMask() { return null; } + /** The type of the permission that was checked. */ public String getPermissionType() { return permissionType; } @@ -98,10 +100,12 @@ public Builder mergeFrom(AuthorizationLoggingOptions other) { this.permissionType = source.permissionType; } + /** The type of the permission that was checked. */ public String getPermissionType() { return permissionType; } + /** The type of the permission that was checked. */ public Builder setPermissionType(String permissionType) { this.permissionType = permissionType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java index 55c82ee0bb8d..4feadcc87ddd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java @@ -25,6 +25,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For more + * information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) (== + * resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for + * v1.regionAutoscalers ==) + */ public final class Autoscaler implements ApiMessage { private final AutoscalingPolicy autoscalingPolicy; private final String creationTimestamp; @@ -134,50 +141,89 @@ public List getFieldMask() { return null; } + /** + * The configuration parameters for the autoscaling algorithm. You can define one or more of the + * policies for an autoscaler: cpuUtilization, customMetricUtilizations, and + * loadBalancingUtilization. + * + *

If none of these are specified, the default will be to autoscale based on cpuUtilization to + * 0.6 or 60%. + */ public AutoscalingPolicy getAutoscalingPolicy() { return autoscalingPolicy; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * [Output Only] URL of the region where the instance group resides (for autoscalers living in + * regional scope). + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The status of the autoscaler configuration. */ public String getStatus() { return status; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public List getStatusDetailsList() { return statusDetails; } + /** URL of the managed instance group that this autoscaler will scale. */ public String getTarget() { return target; } + /** + * [Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal + * scope). + */ public String getZone() { return zone; } @@ -276,91 +322,161 @@ public Builder mergeFrom(Autoscaler other) { this.zone = source.zone; } + /** + * The configuration parameters for the autoscaling algorithm. You can define one or more of the + * policies for an autoscaler: cpuUtilization, customMetricUtilizations, and + * loadBalancingUtilization. + * + *

If none of these are specified, the default will be to autoscale based on cpuUtilization + * to 0.6 or 60%. + */ public AutoscalingPolicy getAutoscalingPolicy() { return autoscalingPolicy; } + /** + * The configuration parameters for the autoscaling algorithm. You can define one or more of the + * policies for an autoscaler: cpuUtilization, customMetricUtilizations, and + * loadBalancingUtilization. + * + *

If none of these are specified, the default will be to autoscale based on cpuUtilization + * to 0.6 or 60%. + */ public Builder setAutoscalingPolicy(AutoscalingPolicy autoscalingPolicy) { this.autoscalingPolicy = autoscalingPolicy; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] URL of the region where the instance group resides (for autoscalers living in + * regional scope). + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the instance group resides (for autoscalers living in + * regional scope). + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The status of the autoscaler configuration. */ public String getStatus() { return status; } + /** [Output Only] The status of the autoscaler configuration. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public List getStatusDetailsList() { return statusDetails; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public Builder addAllStatusDetails(List statusDetails) { if (this.statusDetails == null) { this.statusDetails = new LinkedList<>(); @@ -369,6 +485,11 @@ public Builder addAllStatusDetails(List statusDetails) return this; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public Builder addStatusDetails(AutoscalerStatusDetails statusDetails) { if (this.statusDetails == null) { this.statusDetails = new LinkedList<>(); @@ -377,19 +498,29 @@ public Builder addStatusDetails(AutoscalerStatusDetails statusDetails) { return this; } + /** URL of the managed instance group that this autoscaler will scale. */ public String getTarget() { return target; } + /** URL of the managed instance group that this autoscaler will scale. */ public Builder setTarget(String target) { this.target = target; return this; } + /** + * [Output Only] URL of the zone where the instance group resides (for autoscalers living in + * zonal scope). + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the instance group resides (for autoscalers living in + * zonal scope). + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java index e62a783f0af7..4a4b47333246 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of AutoscalersScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of autoscalers. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of + * autoscalers. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(AutoscalerAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of AutoscalersScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of autoscalers. + */ public Map getItemsMap() { return items; } + /** + * A list of AutoscalersScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of autoscalers. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists + * of autoscalers. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists + * of autoscalers. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java index 2f2398d725e7..2b5905eb576b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Autoscaler resources. */ public final class AutoscalerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(AutoscalerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** A list of Autoscaler resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Autoscaler resources. */ public Builder addItems(Autoscaler items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Autoscaler items) { return this; } + /** [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java index aa35df64da88..d6065f5997d2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java @@ -61,10 +61,12 @@ public List getFieldMask() { return null; } + /** The status message. */ public String getMessage() { return message; } + /** The type of error returned. */ public String getType() { return type; } @@ -113,19 +115,23 @@ public Builder mergeFrom(AutoscalerStatusDetails other) { this.type = source.type; } + /** The status message. */ public String getMessage() { return message; } + /** The status message. */ public Builder setMessage(String message) { this.message = message; return this; } + /** The type of error returned. */ public String getType() { return type; } + /** The type of error returned. */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java index 871276064488..4b6508a470fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of autoscalers contained in this scope. */ public List getAutoscalersList() { return autoscalers; } + /** + * [Output Only] Informational warning which replaces the list of autoscalers when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(AutoscalersScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of autoscalers contained in this scope. */ public List getAutoscalersList() { return autoscalers; } + /** [Output Only] A list of autoscalers contained in this scope. */ public Builder addAllAutoscalers(List autoscalers) { if (this.autoscalers == null) { this.autoscalers = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllAutoscalers(List autoscalers) { return this; } + /** [Output Only] A list of autoscalers contained in this scope. */ public Builder addAutoscalers(Autoscaler autoscalers) { if (this.autoscalers == null) { this.autoscalers = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addAutoscalers(Autoscaler autoscalers) { return this; } + /** + * [Output Only] Informational warning which replaces the list of autoscalers when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of autoscalers when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java index e95152559534..81f249b5ef98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Cloud Autoscaler policy. */ public final class AutoscalingPolicy implements ApiMessage { private final Integer coolDownPeriodSec; private final AutoscalingPolicyCpuUtilization cpuUtilization; @@ -92,26 +93,52 @@ public List getFieldMask() { return null; } + /** + * The number of seconds that the autoscaler should wait before it starts collecting information + * from a new instance. This prevents the autoscaler from collecting information when the instance + * is initializing, during which the collected usage would not be reliable. The default time + * autoscaler waits is 60 seconds. + * + *

Virtual machine initialization times might vary because of numerous factors. We recommend + * that you test how long an instance may take to initialize. To do this, create an instance and + * time the startup process. + */ public Integer getCoolDownPeriodSec() { return coolDownPeriodSec; } + /** + * Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU + * utilization of a managed instance group. + */ public AutoscalingPolicyCpuUtilization getCpuUtilization() { return cpuUtilization; } + /** Configuration parameters of autoscaling based on a custom metric. */ public List getCustomMetricUtilizationsList() { return customMetricUtilizations; } + /** Configuration parameters of autoscaling based on load balancer. */ public AutoscalingPolicyLoadBalancingUtilization getLoadBalancingUtilization() { return loadBalancingUtilization; } + /** + * The maximum number of instances that the autoscaler can scale up to. This is required when + * creating or updating an autoscaler. The maximum number of replicas should not be lower than + * minimal number of replicas. + */ public Integer getMaxNumReplicas() { return maxNumReplicas; } + /** + * The minimum number of replicas that the autoscaler can scale down to. This cannot be less than + * 0. If not provided, autoscaler will choose a default value depending on maximum number of + * instances allowed. + */ public Integer getMinNumReplicas() { return minNumReplicas; } @@ -180,28 +207,58 @@ public Builder mergeFrom(AutoscalingPolicy other) { this.minNumReplicas = source.minNumReplicas; } + /** + * The number of seconds that the autoscaler should wait before it starts collecting information + * from a new instance. This prevents the autoscaler from collecting information when the + * instance is initializing, during which the collected usage would not be reliable. The default + * time autoscaler waits is 60 seconds. + * + *

Virtual machine initialization times might vary because of numerous factors. We recommend + * that you test how long an instance may take to initialize. To do this, create an instance and + * time the startup process. + */ public Integer getCoolDownPeriodSec() { return coolDownPeriodSec; } + /** + * The number of seconds that the autoscaler should wait before it starts collecting information + * from a new instance. This prevents the autoscaler from collecting information when the + * instance is initializing, during which the collected usage would not be reliable. The default + * time autoscaler waits is 60 seconds. + * + *

Virtual machine initialization times might vary because of numerous factors. We recommend + * that you test how long an instance may take to initialize. To do this, create an instance and + * time the startup process. + */ public Builder setCoolDownPeriodSec(Integer coolDownPeriodSec) { this.coolDownPeriodSec = coolDownPeriodSec; return this; } + /** + * Defines the CPU utilization policy that allows the autoscaler to scale based on the average + * CPU utilization of a managed instance group. + */ public AutoscalingPolicyCpuUtilization getCpuUtilization() { return cpuUtilization; } + /** + * Defines the CPU utilization policy that allows the autoscaler to scale based on the average + * CPU utilization of a managed instance group. + */ public Builder setCpuUtilization(AutoscalingPolicyCpuUtilization cpuUtilization) { this.cpuUtilization = cpuUtilization; return this; } + /** Configuration parameters of autoscaling based on a custom metric. */ public List getCustomMetricUtilizationsList() { return customMetricUtilizations; } + /** Configuration parameters of autoscaling based on a custom metric. */ public Builder addAllCustomMetricUtilizations( List customMetricUtilizations) { if (this.customMetricUtilizations == null) { @@ -211,6 +268,7 @@ public Builder addAllCustomMetricUtilizations( return this; } + /** Configuration parameters of autoscaling based on a custom metric. */ public Builder addCustomMetricUtilizations( AutoscalingPolicyCustomMetricUtilization customMetricUtilizations) { if (this.customMetricUtilizations == null) { @@ -220,29 +278,51 @@ public Builder addCustomMetricUtilizations( return this; } + /** Configuration parameters of autoscaling based on load balancer. */ public AutoscalingPolicyLoadBalancingUtilization getLoadBalancingUtilization() { return loadBalancingUtilization; } + /** Configuration parameters of autoscaling based on load balancer. */ public Builder setLoadBalancingUtilization( AutoscalingPolicyLoadBalancingUtilization loadBalancingUtilization) { this.loadBalancingUtilization = loadBalancingUtilization; return this; } + /** + * The maximum number of instances that the autoscaler can scale up to. This is required when + * creating or updating an autoscaler. The maximum number of replicas should not be lower than + * minimal number of replicas. + */ public Integer getMaxNumReplicas() { return maxNumReplicas; } + /** + * The maximum number of instances that the autoscaler can scale up to. This is required when + * creating or updating an autoscaler. The maximum number of replicas should not be lower than + * minimal number of replicas. + */ public Builder setMaxNumReplicas(Integer maxNumReplicas) { this.maxNumReplicas = maxNumReplicas; return this; } + /** + * The minimum number of replicas that the autoscaler can scale down to. This cannot be less + * than 0. If not provided, autoscaler will choose a default value depending on maximum number + * of instances allowed. + */ public Integer getMinNumReplicas() { return minNumReplicas; } + /** + * The minimum number of replicas that the autoscaler can scale down to. This cannot be less + * than 0. If not provided, autoscaler will choose a default value depending on maximum number + * of instances allowed. + */ public Builder setMinNumReplicas(Integer minNumReplicas) { this.minNumReplicas = minNumReplicas; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java index 6ae88e57a3af..2d043b3b975d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** CPU utilization policy. */ public final class AutoscalingPolicyCpuUtilization implements ApiMessage { private final Double utilizationTarget; @@ -55,6 +56,18 @@ public List getFieldMask() { return null; } + /** + * The target CPU utilization that the autoscaler should maintain. Must be a float value in the + * range (0, 1]. If not specified, the default is 0.6. + * + *

If the CPU level is below the target utilization, the autoscaler scales down the number of + * instances until it reaches the minimum number of instances you specified or until the average + * CPU of your instances reaches the target utilization. + * + *

If the average CPU is above the target utilization, the autoscaler scales up until it + * reaches the maximum number of instances you specified or until the average utilization reaches + * the target utilization. + */ public Double getUtilizationTarget() { return utilizationTarget; } @@ -98,10 +111,34 @@ public Builder mergeFrom(AutoscalingPolicyCpuUtilization other) { this.utilizationTarget = source.utilizationTarget; } + /** + * The target CPU utilization that the autoscaler should maintain. Must be a float value in the + * range (0, 1]. If not specified, the default is 0.6. + * + *

If the CPU level is below the target utilization, the autoscaler scales down the number of + * instances until it reaches the minimum number of instances you specified or until the average + * CPU of your instances reaches the target utilization. + * + *

If the average CPU is above the target utilization, the autoscaler scales up until it + * reaches the maximum number of instances you specified or until the average utilization + * reaches the target utilization. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * The target CPU utilization that the autoscaler should maintain. Must be a float value in the + * range (0, 1]. If not specified, the default is 0.6. + * + *

If the CPU level is below the target utilization, the autoscaler scales down the number of + * instances until it reaches the minimum number of instances you specified or until the average + * CPU of your instances reaches the target utilization. + * + *

If the average CPU is above the target utilization, the autoscaler scales up until it + * reaches the maximum number of instances you specified or until the average utilization + * reaches the target utilization. + */ public Builder setUtilizationTarget(Double utilizationTarget) { this.utilizationTarget = utilizationTarget; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java index 901dd77a5e78..bc959504a4e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Custom utilization metric policy. */ public final class AutoscalingPolicyCustomMetricUtilization implements ApiMessage { private final String metric; private final Double utilizationTarget; @@ -68,14 +69,33 @@ public List getFieldMask() { return null; } + /** + * The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative + * values. + * + *

The metric must have a value type of INT64 or DOUBLE. + */ public String getMetric() { return metric; } + /** + * The target value of the metric that autoscaler should maintain. This must be a positive value. + * A utilization metric scales number of virtual machines handling requests to increase or + * decrease proportionally to the metric. + * + *

For example, a good metric to use as a utilization_target is + * compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep + * this value constant for each of the instances. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either + * GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + */ public String getUtilizationTargetType() { return utilizationTargetType; } @@ -129,28 +149,66 @@ public Builder mergeFrom(AutoscalingPolicyCustomMetricUtilization other) { this.utilizationTargetType = source.utilizationTargetType; } + /** + * The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative + * values. + * + *

The metric must have a value type of INT64 or DOUBLE. + */ public String getMetric() { return metric; } + /** + * The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative + * values. + * + *

The metric must have a value type of INT64 or DOUBLE. + */ public Builder setMetric(String metric) { this.metric = metric; return this; } + /** + * The target value of the metric that autoscaler should maintain. This must be a positive + * value. A utilization metric scales number of virtual machines handling requests to increase + * or decrease proportionally to the metric. + * + *

For example, a good metric to use as a utilization_target is + * compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to + * keep this value constant for each of the instances. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * The target value of the metric that autoscaler should maintain. This must be a positive + * value. A utilization metric scales number of virtual machines handling requests to increase + * or decrease proportionally to the metric. + * + *

For example, a good metric to use as a utilization_target is + * compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to + * keep this value constant for each of the instances. + */ public Builder setUtilizationTarget(Double utilizationTarget) { this.utilizationTarget = utilizationTarget; return this; } + /** + * Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either + * GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + */ public String getUtilizationTargetType() { return utilizationTargetType; } + /** + * Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either + * GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + */ public Builder setUtilizationTargetType(String utilizationTargetType) { this.utilizationTargetType = utilizationTargetType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java index 062a8b69392c..26b3d1828c70 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Configuration parameters of autoscaling based on load balancing. */ public final class AutoscalingPolicyLoadBalancingUtilization implements ApiMessage { private final Double utilizationTarget; @@ -55,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that + * autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. + */ public Double getUtilizationTarget() { return utilizationTarget; } @@ -98,10 +103,20 @@ public Builder mergeFrom(AutoscalingPolicyLoadBalancingUtilization other) { this.utilizationTarget = source.utilizationTarget; } + /** + * Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that + * autoscaler should maintain. Must be a positive float value. If not defined, the default is + * 0.8. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that + * autoscaler should maintain. Must be a positive float value. If not defined, the default is + * 0.8. + */ public Builder setUtilizationTarget(Double utilizationTarget) { this.utilizationTarget = utilizationTarget; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java index 340a4d7a481c..e274f649834c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing information of one individual backend. */ public final class Backend implements ApiMessage { private final String balancingMode; private final Float capacityScaler; @@ -112,38 +113,110 @@ public List getFieldMask() { return null; } + /** + * Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, + * the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION + * (for TCP/SSL). + * + *

For Internal Load Balancing, the default and only supported mode is CONNECTION. + */ public String getBalancingMode() { return balancingMode; } + /** + * A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or + * CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured + * capacity (depending on balancingMode). A setting of 0 means the group is completely drained, + * offering 0% of its available Capacity. Valid range is [0.0,1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getCapacityScaler() { return capacityScaler; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of + * instance group this defines the list of instances that serve traffic. Member virtual machine + * instances from each instance group must live in the same zone as the instance group itself. No + * two backends in a backend service are allowed to use same Instance Group resource. + * + *

For Network Endpoint Groups this defines list of endpoints. All endpoints of Network + * Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint + * Group. + * + *

Backend service can not contain mix of Instance Group and Network Endpoint Group backends. + * + *

Note that you must specify an Instance Group or Network Endpoint Group resource using the + * fully-qualified URL, rather than a partial URL. + * + *

When the BackendService has load balancing scheme INTERNAL, the instance group must be + * within the same region as the BackendService. Network Endpoint Groups are not supported for + * INTERNAL load balancing scheme. + */ public String getGroup() { return group; } + /** + * The max number of simultaneous connections for the group. Can be used with either CONNECTION or + * UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or + * maxConnectionsPerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnections() { return maxConnections; } + /** + * The max number of simultaneous connections that a single backend instance can handle. This is + * used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION + * balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must + * be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnectionsPerInstance() { return maxConnectionsPerInstance; } + /** + * The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION + * balancing modes, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance + * must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxRate() { return maxRate; } + /** + * The max requests per second (RPS) that a single backend instance can handle. This is used to + * calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, + * either maxRate or maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxRatePerInstance() { return maxRatePerInstance; } + /** + * Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the + * group. The default is 0.8. Valid range is [0.0, 1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxUtilization() { return maxUtilization; } @@ -227,82 +300,226 @@ public Builder mergeFrom(Backend other) { this.maxUtilization = source.maxUtilization; } + /** + * Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, + * the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION + * (for TCP/SSL). + * + *

For Internal Load Balancing, the default and only supported mode is CONNECTION. + */ public String getBalancingMode() { return balancingMode; } + /** + * Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, + * the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION + * (for TCP/SSL). + * + *

For Internal Load Balancing, the default and only supported mode is CONNECTION. + */ public Builder setBalancingMode(String balancingMode) { this.balancingMode = balancingMode; return this; } + /** + * A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or + * CONNECTION). Default value is 1, which means the group will serve up to 100% of its + * configured capacity (depending on balancingMode). A setting of 0 means the group is + * completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getCapacityScaler() { return capacityScaler; } + /** + * A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or + * CONNECTION). Default value is 1, which means the group will serve up to 100% of its + * configured capacity (depending on balancingMode). A setting of 0 means the group is + * completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0]. + * + *

This cannot be used for internal load balancing. + */ public Builder setCapacityScaler(Float capacityScaler) { this.capacityScaler = capacityScaler; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of + * instance group this defines the list of instances that serve traffic. Member virtual machine + * instances from each instance group must live in the same zone as the instance group itself. + * No two backends in a backend service are allowed to use same Instance Group resource. + * + *

For Network Endpoint Groups this defines list of endpoints. All endpoints of Network + * Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint + * Group. + * + *

Backend service can not contain mix of Instance Group and Network Endpoint Group backends. + * + *

Note that you must specify an Instance Group or Network Endpoint Group resource using the + * fully-qualified URL, rather than a partial URL. + * + *

When the BackendService has load balancing scheme INTERNAL, the instance group must be + * within the same region as the BackendService. Network Endpoint Groups are not supported for + * INTERNAL load balancing scheme. + */ public String getGroup() { return group; } + /** + * The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of + * instance group this defines the list of instances that serve traffic. Member virtual machine + * instances from each instance group must live in the same zone as the instance group itself. + * No two backends in a backend service are allowed to use same Instance Group resource. + * + *

For Network Endpoint Groups this defines list of endpoints. All endpoints of Network + * Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint + * Group. + * + *

Backend service can not contain mix of Instance Group and Network Endpoint Group backends. + * + *

Note that you must specify an Instance Group or Network Endpoint Group resource using the + * fully-qualified URL, rather than a partial URL. + * + *

When the BackendService has load balancing scheme INTERNAL, the instance group must be + * within the same region as the BackendService. Network Endpoint Groups are not supported for + * INTERNAL load balancing scheme. + */ public Builder setGroup(String group) { this.group = group; return this; } + /** + * The max number of simultaneous connections for the group. Can be used with either CONNECTION + * or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or + * maxConnectionsPerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnections() { return maxConnections; } + /** + * The max number of simultaneous connections for the group. Can be used with either CONNECTION + * or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or + * maxConnectionsPerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxConnections(Integer maxConnections) { this.maxConnections = maxConnections; return this; } + /** + * The max number of simultaneous connections that a single backend instance can handle. This is + * used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION + * balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must + * be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnectionsPerInstance() { return maxConnectionsPerInstance; } + /** + * The max number of simultaneous connections that a single backend instance can handle. This is + * used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION + * balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must + * be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxConnectionsPerInstance(Integer maxConnectionsPerInstance) { this.maxConnectionsPerInstance = maxConnectionsPerInstance; return this; } + /** + * The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION + * balancing modes, but required if RATE mode. For RATE mode, either maxRate or + * maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxRate() { return maxRate; } + /** + * The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION + * balancing modes, but required if RATE mode. For RATE mode, either maxRate or + * maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxRate(Integer maxRate) { this.maxRate = maxRate; return this; } + /** + * The max requests per second (RPS) that a single backend instance can handle. This is used to + * calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, + * either maxRate or maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxRatePerInstance() { return maxRatePerInstance; } + /** + * The max requests per second (RPS) that a single backend instance can handle. This is used to + * calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, + * either maxRate or maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxRatePerInstance(Float maxRatePerInstance) { this.maxRatePerInstance = maxRatePerInstance; return this; } + /** + * Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the + * group. The default is 0.8. Valid range is [0.0, 1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxUtilization() { return maxUtilization; } + /** + * Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the + * group. The default is 0.8. Valid range is [0.0, 1.0]. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxUtilization(Float maxUtilization) { this.maxUtilization = maxUtilization; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java index 6801ce47652d..c1f6470f13e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public final class BackendBucket implements ApiMessage { private final String bucketName; private final BackendBucketCdnPolicy cdnPolicy; @@ -112,38 +113,56 @@ public List getFieldMask() { return null; } + /** Cloud Storage bucket name. */ public String getBucketName() { return bucketName; } + /** Cloud CDN configuration for this BackendBucket. */ public BackendBucketCdnPolicy getCdnPolicy() { return cdnPolicy; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** If true, enable Cloud CDN for this BackendBucket. */ public Boolean getEnableCdn() { return enableCdn; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** Type of the resource. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -227,82 +246,118 @@ public Builder mergeFrom(BackendBucket other) { this.selfLink = source.selfLink; } + /** Cloud Storage bucket name. */ public String getBucketName() { return bucketName; } + /** Cloud Storage bucket name. */ public Builder setBucketName(String bucketName) { this.bucketName = bucketName; return this; } + /** Cloud CDN configuration for this BackendBucket. */ public BackendBucketCdnPolicy getCdnPolicy() { return cdnPolicy; } + /** Cloud CDN configuration for this BackendBucket. */ public Builder setCdnPolicy(BackendBucketCdnPolicy cdnPolicy) { this.cdnPolicy = cdnPolicy; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** If true, enable Cloud CDN for this BackendBucket. */ public Boolean getEnableCdn() { return enableCdn; } + /** If true, enable Cloud CDN for this BackendBucket. */ public Builder setEnableCdn(Boolean enableCdn) { this.enableCdn = enableCdn; return this; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** Type of the resource. */ public String getKind() { return kind; } + /** Type of the resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java index 3f0f87707673..aeb0e1bdd115 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing Cloud CDN configuration for a backend bucket. */ public final class BackendBucketCdnPolicy implements ApiMessage { private final String signedUrlCacheMaxAgeSec; private final List signedUrlKeyNames; @@ -62,10 +63,19 @@ public List getFieldMask() { return null; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. After + * this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } @@ -114,19 +124,37 @@ public Builder mergeFrom(BackendBucketCdnPolicy other) { this.signedUrlKeyNames = source.signedUrlKeyNames; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public Builder setSignedUrlCacheMaxAgeSec(String signedUrlCacheMaxAgeSec) { this.signedUrlCacheMaxAgeSec = signedUrlCacheMaxAgeSec; return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); @@ -135,6 +163,7 @@ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addSignedUrlKeyNames(String signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java index 9d137d27827f..7ea7b6da481d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of BackendBucket resources. */ public final class BackendBucketList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of BackendBucket resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(BackendBucketList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of BackendBucket resources. */ public List getItemsList() { return items; } + /** A list of BackendBucket resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of BackendBucket resources. */ public Builder addItems(BackendBucket items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(BackendBucket items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java index c1a10062e8f3..e408a36cd337 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService ==) + */ public final class BackendService implements ApiMessage { private final Integer affinityCookieTtlSec; private final List backends; @@ -204,14 +208,23 @@ public List getFieldMask() { return null; } + /** + * Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie + * is non-persistent and lasts only until the end of the browser session (or equivalent). The + * maximum allowed value for TTL is one day. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Integer getAffinityCookieTtlSec() { return affinityCookieTtlSec; } + /** The list of backends that serve this BackendService. */ public List getBackendsList() { return backends; } + /** Cloud CDN configuration for this BackendService. */ public BackendServiceCdnPolicy getCdnPolicy() { return cdnPolicy; } @@ -220,22 +233,47 @@ public ConnectionDraining getConnectionDraining() { return connectionDraining; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * If true, enable Cloud CDN for this BackendService. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Boolean getEnableCDN() { return enableCDN; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a BackendService. An + * up-to-date fingerprint must be provided in order to update the BackendService, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a BackendService. + */ public String getFingerprint() { return fingerprint; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public List getHealthChecksList() { return healthChecks; } @@ -244,50 +282,108 @@ public BackendServiceIAP getIap() { return iap; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#backendService for backend services. */ public String getKind() { return kind; } + /** + * Indicates whether the backend service will be used with internal or external load balancing. A + * backend service created for one type of load balancing cannot be used with the other. Possible + * values are INTERNAL and EXTERNAL. + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is + * 80. + * + *

This cannot be used for internal load balancing. + */ public Integer getPort() { return port; } + /** + * Name of backend port. The same name should appear in the instance groups referenced by this + * service. Required when the load balancing scheme is EXTERNAL. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public String getPortName() { return portName; } + /** + * The protocol this BackendService uses to communicate with backends. + * + *

Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + * + *

For internal load balancing, the possible values are TCP and UDP, and the default is TCP. + */ public String getProtocol() { return protocol; } + /** + * [Output Only] URL of the region where the regional backend service resides. This field is not + * applicable to global backend services. You must specify this field as part of the HTTP request + * URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] The resource URL for the security policy associated with this backend service. + */ public String getSecurityPolicy() { return securityPolicy; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Type of session affinity to use. The default is NONE. + * + *

When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. + * + *

When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or + * CLIENT_IP_PORT_PROTO. + * + *

When the protocol is UDP, this field is not used. + */ public String getSessionAffinity() { return sessionAffinity; } + /** + * How many seconds to wait for the backend before considering it a failed request. Default is 30 + * seconds. + */ public Integer getTimeoutSec() { return timeoutSec; } @@ -436,19 +532,35 @@ public Builder mergeFrom(BackendService other) { this.timeoutSec = source.timeoutSec; } + /** + * Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the + * cookie is non-persistent and lasts only until the end of the browser session (or equivalent). + * The maximum allowed value for TTL is one day. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Integer getAffinityCookieTtlSec() { return affinityCookieTtlSec; } + /** + * Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the + * cookie is non-persistent and lasts only until the end of the browser session (or equivalent). + * The maximum allowed value for TTL is one day. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Builder setAffinityCookieTtlSec(Integer affinityCookieTtlSec) { this.affinityCookieTtlSec = affinityCookieTtlSec; return this; } + /** The list of backends that serve this BackendService. */ public List getBackendsList() { return backends; } + /** The list of backends that serve this BackendService. */ public Builder addAllBackends(List backends) { if (this.backends == null) { this.backends = new LinkedList<>(); @@ -457,6 +569,7 @@ public Builder addAllBackends(List backends) { return this; } + /** The list of backends that serve this BackendService. */ public Builder addBackends(Backend backends) { if (this.backends == null) { this.backends = new LinkedList<>(); @@ -465,10 +578,12 @@ public Builder addBackends(Backend backends) { return this; } + /** Cloud CDN configuration for this BackendService. */ public BackendServiceCdnPolicy getCdnPolicy() { return cdnPolicy; } + /** Cloud CDN configuration for this BackendService. */ public Builder setCdnPolicy(BackendServiceCdnPolicy cdnPolicy) { this.cdnPolicy = cdnPolicy; return this; @@ -483,46 +598,96 @@ public Builder setConnectionDraining(ConnectionDraining connectionDraining) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * If true, enable Cloud CDN for this BackendService. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Boolean getEnableCDN() { return enableCDN; } + /** + * If true, enable Cloud CDN for this BackendService. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Builder setEnableCDN(Boolean enableCDN) { this.enableCDN = enableCDN; return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a BackendService. An + * up-to-date fingerprint must be provided in order to update the BackendService, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a BackendService. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a BackendService. An + * up-to-date fingerprint must be provided in order to update the BackendService, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a BackendService. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public List getHealthChecksList() { return healthChecks; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -531,6 +696,14 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public Builder addHealthChecks(String healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -548,109 +721,227 @@ public Builder setIap(BackendServiceIAP iap) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#backendService for backend services. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#backendService for backend services. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Indicates whether the backend service will be used with internal or external load balancing. + * A backend service created for one type of load balancing cannot be used with the other. + * Possible values are INTERNAL and EXTERNAL. + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * Indicates whether the backend service will be used with internal or external load balancing. + * A backend service created for one type of load balancing cannot be used with the other. + * Possible values are INTERNAL and EXTERNAL. + */ public Builder setLoadBalancingScheme(String loadBalancingScheme) { this.loadBalancingScheme = loadBalancingScheme; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is + * 80. + * + *

This cannot be used for internal load balancing. + */ public Integer getPort() { return port; } + /** + * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is + * 80. + * + *

This cannot be used for internal load balancing. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Name of backend port. The same name should appear in the instance groups referenced by this + * service. Required when the load balancing scheme is EXTERNAL. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public String getPortName() { return portName; } + /** + * Name of backend port. The same name should appear in the instance groups referenced by this + * service. Required when the load balancing scheme is EXTERNAL. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * The protocol this BackendService uses to communicate with backends. + * + *

Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + * + *

For internal load balancing, the possible values are TCP and UDP, and the default is TCP. + */ public String getProtocol() { return protocol; } + /** + * The protocol this BackendService uses to communicate with backends. + * + *

Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + * + *

For internal load balancing, the possible values are TCP and UDP, and the default is TCP. + */ public Builder setProtocol(String protocol) { this.protocol = protocol; return this; } + /** + * [Output Only] URL of the region where the regional backend service resides. This field is not + * applicable to global backend services. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional backend service resides. This field is not + * applicable to global backend services. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * [Output Only] The resource URL for the security policy associated with this backend service. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * [Output Only] The resource URL for the security policy associated with this backend service. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Type of session affinity to use. The default is NONE. + * + *

When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. + * + *

When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or + * CLIENT_IP_PORT_PROTO. + * + *

When the protocol is UDP, this field is not used. + */ public String getSessionAffinity() { return sessionAffinity; } + /** + * Type of session affinity to use. The default is NONE. + * + *

When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. + * + *

When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or + * CLIENT_IP_PORT_PROTO. + * + *

When the protocol is UDP, this field is not used. + */ public Builder setSessionAffinity(String sessionAffinity) { this.sessionAffinity = sessionAffinity; return this; } + /** + * How many seconds to wait for the backend before considering it a failed request. Default is + * 30 seconds. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How many seconds to wait for the backend before considering it a failed request. Default is + * 30 seconds. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java index e7764a76e9f2..c20449a22382 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of BackendServicesScopedList. */ public final class BackendServiceAggregatedList implements ApiMessage { private final String id; private final Map items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of BackendServicesScopedList resources. The key for the map is: Name of the scope + * containing this set of BackendServices. + */ public Map getItemsMap() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +195,83 @@ public Builder mergeFrom(BackendServiceAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of BackendServicesScopedList resources. The key for the map is: Name of the scope + * containing this set of BackendServices. + */ public Map getItemsMap() { return items; } + /** + * A list of BackendServicesScopedList resources. The key for the map is: Name of the scope + * containing this set of BackendServices. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java index d5449a347a23..67119ddb1cfc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing Cloud CDN configuration for a backend service. */ public final class BackendServiceCdnPolicy implements ApiMessage { private final CacheKeyPolicy cacheKeyPolicy; private final String signedUrlCacheMaxAgeSec; @@ -71,14 +72,24 @@ public List getFieldMask() { return null; } + /** The CacheKeyPolicy for this CdnPolicy. */ public CacheKeyPolicy getCacheKeyPolicy() { return cacheKeyPolicy; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. After + * this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } @@ -132,28 +143,48 @@ public Builder mergeFrom(BackendServiceCdnPolicy other) { this.signedUrlKeyNames = source.signedUrlKeyNames; } + /** The CacheKeyPolicy for this CdnPolicy. */ public CacheKeyPolicy getCacheKeyPolicy() { return cacheKeyPolicy; } + /** The CacheKeyPolicy for this CdnPolicy. */ public Builder setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy) { this.cacheKeyPolicy = cacheKeyPolicy; return this; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public Builder setSignedUrlCacheMaxAgeSec(String signedUrlCacheMaxAgeSec) { this.signedUrlCacheMaxAgeSec = signedUrlCacheMaxAgeSec; return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); @@ -162,6 +193,7 @@ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addSignedUrlKeyNames(String signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java index e85003e7a8b1..49129f464bbd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java @@ -62,10 +62,18 @@ public List getFieldMask() { return null; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public List getHealthStatusList() { return healthStatus; } + /** + * [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of + * backend services. + */ public String getKind() { return kind; } @@ -114,10 +122,18 @@ public Builder mergeFrom(BackendServiceGroupHealth other) { this.kind = source.kind; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public List getHealthStatusList() { return healthStatus; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public Builder addAllHealthStatus(List healthStatus) { if (this.healthStatus == null) { this.healthStatus = new LinkedList<>(); @@ -126,6 +142,10 @@ public Builder addAllHealthStatus(List healthStatus) { return this; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public Builder addHealthStatus(HealthStatus healthStatus) { if (this.healthStatus == null) { this.healthStatus = new LinkedList<>(); @@ -134,10 +154,18 @@ public Builder addHealthStatus(HealthStatus healthStatus) { return this; } + /** + * [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of + * backend services. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of + * backend services. + */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java index 4067846d064a..5ec8831753b0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Identity-Aware Proxy */ public final class BackendServiceIAP implements ApiMessage { private final Boolean enabled; private final String oauth2ClientId; @@ -89,6 +90,7 @@ public String getOauth2ClientSecret() { return oauth2ClientSecret; } + /** [Output Only] SHA256 hash value for the field oauth2_client_secret above. */ public String getOauth2ClientSecretSha256() { return oauth2ClientSecretSha256; } @@ -174,10 +176,12 @@ public Builder setOauth2ClientSecret(String oauth2ClientSecret) { return this; } + /** [Output Only] SHA256 hash value for the field oauth2_client_secret above. */ public String getOauth2ClientSecretSha256() { return oauth2ClientSecretSha256; } + /** [Output Only] SHA256 hash value for the field oauth2_client_secret above. */ public Builder setOauth2ClientSecretSha256(String oauth2ClientSecretSha256) { this.oauth2ClientSecretSha256 = oauth2ClientSecretSha256; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java index be693b883e93..8c36eb2010ac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of BackendService resources. */ public final class BackendServiceList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of BackendService resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#backendServiceList for lists of backend + * services. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(BackendServiceList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of BackendService resources. */ public List getItemsList() { return items; } + /** A list of BackendService resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of BackendService resources. */ public Builder addItems(BackendService items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(BackendService items) { return this; } + /** + * [Output Only] Type of resource. Always compute#backendServiceList for lists of backend + * services. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#backendServiceList for lists of backend + * services. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java index 2535d1c073f4..6b4b4e59a4cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of BackendServices contained in this scope. */ public List getBackendServicesList() { return backendServices; } + /** Informational warning which replaces the list of backend services when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(BackendServicesScopedList other) { this.warning = source.warning; } + /** A list of BackendServices contained in this scope. */ public List getBackendServicesList() { return backendServices; } + /** A list of BackendServices contained in this scope. */ public Builder addAllBackendServices(List backendServices) { if (this.backendServices == null) { this.backendServices = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllBackendServices(List backendServices) { return this; } + /** A list of BackendServices contained in this scope. */ public Builder addBackendServices(BackendService backendServices) { if (this.backendServices == null) { this.backendServices = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addBackendServices(BackendService backendServices) { return this; } + /** Informational warning which replaces the list of backend services when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of backend services when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java index 885daa78dce8..9a04bca69a59 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Associates `members` with a `role`. */ public final class Binding implements ApiMessage { private final Expr condition; private final List members; @@ -68,14 +69,45 @@ public List getFieldMask() { return null; } + /** + * Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied + * condition will not allow user access via current binding. Different bindings, including their + * conditions, are examined independently. + */ public Expr getCondition() { return condition; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public List getMembersList() { return members; } + /** + * Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + * `roles/owner`. + */ public String getRole() { return role; } @@ -129,19 +161,73 @@ public Builder mergeFrom(Binding other) { this.role = source.role; } + /** + * Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied + * condition will not allow user access via current binding. Different bindings, including their + * conditions, are examined independently. + */ public Expr getCondition() { return condition; } + /** + * Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied + * condition will not allow user access via current binding. Different bindings, including their + * conditions, are examined independently. + */ public Builder setCondition(Expr condition) { this.condition = condition; return this; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public List getMembersList() { return members; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public Builder addAllMembers(List members) { if (this.members == null) { this.members = new LinkedList<>(); @@ -150,6 +236,28 @@ public Builder addAllMembers(List members) { return this; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public Builder addMembers(String members) { if (this.members == null) { this.members = new LinkedList<>(); @@ -158,10 +266,18 @@ public Builder addMembers(String members) { return this; } + /** + * Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + * `roles/owner`. + */ public String getRole() { return role; } + /** + * Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + * `roles/owner`. + */ public Builder setRole(String role) { this.role = role; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java index 9e80f89fcd23..b268dee76312 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java @@ -61,6 +61,9 @@ public List getFieldMask() { return null; } + /** + * If set, this invalidation rule will only apply to requests with a Host header matching host. + */ public String getHost() { return host; } @@ -113,10 +116,16 @@ public Builder mergeFrom(CacheInvalidationRule other) { this.path = source.path; } + /** + * If set, this invalidation rule will only apply to requests with a Host header matching host. + */ public String getHost() { return host; } + /** + * If set, this invalidation rule will only apply to requests with a Host header matching host. + */ public Builder setHost(String host) { this.host = host; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java index 17424ef883ec..3e292bb4174c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing what to include in the cache key for a request for Cloud CDN. */ public final class CacheKeyPolicy implements ApiMessage { private final Boolean includeHost; private final Boolean includeProtocol; @@ -85,22 +86,39 @@ public List getFieldMask() { return null; } + /** If true, requests to different hosts will be cached separately. */ public Boolean getIncludeHost() { return includeHost; } + /** If true, http and https requests will be cached separately. */ public Boolean getIncludeProtocol() { return includeProtocol; } + /** + * If true, include query string parameters in the cache key according to query_string_whitelist + * and query_string_blacklist. If neither is set, the entire query string will be included. If + * false, the query string will be excluded from the cache key entirely. + */ public Boolean getIncludeQueryString() { return includeQueryString; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringBlacklistList() { return queryStringBlacklist; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringWhitelistList() { return queryStringWhitelist; } @@ -164,37 +182,61 @@ public Builder mergeFrom(CacheKeyPolicy other) { this.queryStringWhitelist = source.queryStringWhitelist; } + /** If true, requests to different hosts will be cached separately. */ public Boolean getIncludeHost() { return includeHost; } + /** If true, requests to different hosts will be cached separately. */ public Builder setIncludeHost(Boolean includeHost) { this.includeHost = includeHost; return this; } + /** If true, http and https requests will be cached separately. */ public Boolean getIncludeProtocol() { return includeProtocol; } + /** If true, http and https requests will be cached separately. */ public Builder setIncludeProtocol(Boolean includeProtocol) { this.includeProtocol = includeProtocol; return this; } + /** + * If true, include query string parameters in the cache key according to query_string_whitelist + * and query_string_blacklist. If neither is set, the entire query string will be included. If + * false, the query string will be excluded from the cache key entirely. + */ public Boolean getIncludeQueryString() { return includeQueryString; } + /** + * If true, include query string parameters in the cache key according to query_string_whitelist + * and query_string_blacklist. If neither is set, the entire query string will be included. If + * false, the query string will be excluded from the cache key entirely. + */ public Builder setIncludeQueryString(Boolean includeQueryString) { this.includeQueryString = includeQueryString; return this; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringBlacklistList() { return queryStringBlacklist; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addAllQueryStringBlacklist(List queryStringBlacklist) { if (this.queryStringBlacklist == null) { this.queryStringBlacklist = new LinkedList<>(); @@ -203,6 +245,11 @@ public Builder addAllQueryStringBlacklist(List queryStringBlacklist) { return this; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addQueryStringBlacklist(String queryStringBlacklist) { if (this.queryStringBlacklist == null) { this.queryStringBlacklist = new LinkedList<>(); @@ -211,10 +258,20 @@ public Builder addQueryStringBlacklist(String queryStringBlacklist) { return this; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringWhitelistList() { return queryStringWhitelist; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addAllQueryStringWhitelist(List queryStringWhitelist) { if (this.queryStringWhitelist == null) { this.queryStringWhitelist = new LinkedList<>(); @@ -223,6 +280,11 @@ public Builder addAllQueryStringWhitelist(List queryStringWhitelist) { return this; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addQueryStringWhitelist(String queryStringWhitelist) { if (this.queryStringWhitelist == null) { this.queryStringWhitelist = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java index 41e7b80b43b2..45485b7fe9f1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java @@ -25,6 +25,17 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Commitment resource. Creating a Commitment resource means that you are purchasing a + * committed use contract with an explicit start and end time. You can create commitments based on + * vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for + * Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will not + * renew, so you must purchase a new commitment to continue receiving discounts. (== resource_for + * beta.commitments ==) (== resource_for v1.commitments ==) + */ public final class Commitment implements ApiMessage { private final String creationTimestamp; private final String description; @@ -141,54 +152,86 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] Commitment end time in RFC3339 text format. */ public String getEndTimestamp() { return endTimestamp; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#commitment for commitments. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The plan for this commitment, which determines duration and discount rate. The currently + * supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + */ public String getPlan() { return plan; } + /** [Output Only] URL of the region where this commitment may be used. */ public String getRegion() { return region; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public List getResourcesList() { return resources; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Commitment start time in RFC3339 text format. */ public String getStartTimestamp() { return startTimestamp; } + /** + * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has + * an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + */ public String getStatus() { return status; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } @@ -292,82 +335,134 @@ public Builder mergeFrom(Commitment other) { this.statusMessage = source.statusMessage; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] Commitment end time in RFC3339 text format. */ public String getEndTimestamp() { return endTimestamp; } + /** [Output Only] Commitment end time in RFC3339 text format. */ public Builder setEndTimestamp(String endTimestamp) { this.endTimestamp = endTimestamp; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#commitment for commitments. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#commitment for commitments. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The plan for this commitment, which determines duration and discount rate. The currently + * supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + */ public String getPlan() { return plan; } + /** + * The plan for this commitment, which determines duration and discount rate. The currently + * supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + */ public Builder setPlan(String plan) { this.plan = plan; return this; } + /** [Output Only] URL of the region where this commitment may be used. */ public String getRegion() { return region; } + /** [Output Only] URL of the region where this commitment may be used. */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public List getResourcesList() { return resources; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public Builder addAllResources(List resources) { if (this.resources == null) { this.resources = new LinkedList<>(); @@ -376,6 +471,10 @@ public Builder addAllResources(List resources) { return this; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public Builder addResources(ResourceCommitment resources) { if (this.resources == null) { this.resources = new LinkedList<>(); @@ -384,37 +483,51 @@ public Builder addResources(ResourceCommitment resources) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Commitment start time in RFC3339 text format. */ public String getStartTimestamp() { return startTimestamp; } + /** [Output Only] Commitment start time in RFC3339 text format. */ public Builder setStartTimestamp(String startTimestamp) { this.startTimestamp = startTimestamp; return this; } + /** + * [Output Only] Status of the commitment with regards to eventual expiration (each commitment + * has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + */ public String getStatus() { return status; } + /** + * [Output Only] Status of the commitment with regards to eventual expiration (each commitment + * has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional, human-readable explanation of the status. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java index 097e0a1d5af0..c9a7328ff794 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of CommitmentsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of commitments. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of + * commitments. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(CommitmentAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of CommitmentsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of commitments. + */ public Map getItemsMap() { return items; } + /** + * A list of CommitmentsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of commitments. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists + * of commitments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists + * of commitments. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java index 8a9c4e06db68..bfebe4a1d44c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Commitment resources. */ public final class CommitmentList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Commitment resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(CommitmentList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Commitment resources. */ public List getItemsList() { return items; } + /** A list of Commitment resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Commitment resources. */ public Builder addItems(Commitment items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Commitment items) { return this; } + /** [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java index ad11f6d7c8ff..29d54ab64058 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of commitments contained in this scope. */ public List getCommitmentsList() { return commitments; } + /** + * [Output Only] Informational warning which replaces the list of commitments when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(CommitmentsScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of commitments contained in this scope. */ public List getCommitmentsList() { return commitments; } + /** [Output Only] A list of commitments contained in this scope. */ public Builder addAllCommitments(List commitments) { if (this.commitments == null) { this.commitments = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllCommitments(List commitments) { return this; } + /** [Output Only] A list of commitments contained in this scope. */ public Builder addCommitments(Commitment commitments) { if (this.commitments == null) { this.commitments = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addCommitments(Commitment commitments) { return this; } + /** + * [Output Only] Informational warning which replaces the list of commitments when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of commitments when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java index d32c201f5c6d..56b70e74d8bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A condition to be met. */ public final class Condition implements ApiMessage { private final String iam; private final String op; @@ -87,26 +88,35 @@ public List getFieldMask() { return null; } + /** Trusted attributes supplied by the IAM system. */ public String getIam() { return iam; } + /** An operator to apply the subject with. */ public String getOp() { return op; } + /** Trusted attributes discharged by the service. */ public String getSvc() { return svc; } + /** + * Trusted attributes supplied by any service that owns resources and uses the IAM system for + * access control. + */ public String getSys() { return sys; } + /** DEPRECATED. Use 'values' instead. */ public String getValue() { return value; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public List getValuesList() { return values; } @@ -175,55 +185,73 @@ public Builder mergeFrom(Condition other) { this.values = source.values; } + /** Trusted attributes supplied by the IAM system. */ public String getIam() { return iam; } + /** Trusted attributes supplied by the IAM system. */ public Builder setIam(String iam) { this.iam = iam; return this; } + /** An operator to apply the subject with. */ public String getOp() { return op; } + /** An operator to apply the subject with. */ public Builder setOp(String op) { this.op = op; return this; } + /** Trusted attributes discharged by the service. */ public String getSvc() { return svc; } + /** Trusted attributes discharged by the service. */ public Builder setSvc(String svc) { this.svc = svc; return this; } + /** + * Trusted attributes supplied by any service that owns resources and uses the IAM system for + * access control. + */ public String getSys() { return sys; } + /** + * Trusted attributes supplied by any service that owns resources and uses the IAM system for + * access control. + */ public Builder setSys(String sys) { this.sys = sys; return this; } + /** DEPRECATED. Use 'values' instead. */ public String getValue() { return value; } + /** DEPRECATED. Use 'values' instead. */ public Builder setValue(String value) { this.value = value; return this; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public List getValuesList() { return values; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public Builder addAllValues(List values) { if (this.values == null) { this.values = new LinkedList<>(); @@ -232,6 +260,7 @@ public Builder addAllValues(List values) { return this; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public Builder addValues(String values) { if (this.values == null) { this.values = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java index 5249d50816a5..d2b79f0f5a9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing connection draining configuration. */ public final class ConnectionDraining implements ApiMessage { private final Integer drainingTimeoutSec; @@ -55,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * Time for which instance will be drained (not accept new connections, but still work to finish + * started). + */ public Integer getDrainingTimeoutSec() { return drainingTimeoutSec; } @@ -98,10 +103,18 @@ public Builder mergeFrom(ConnectionDraining other) { this.drainingTimeoutSec = source.drainingTimeoutSec; } + /** + * Time for which instance will be drained (not accept new connections, but still work to finish + * started). + */ public Integer getDrainingTimeoutSec() { return drainingTimeoutSec; } + /** + * Time for which instance will be drained (not accept new connections, but still work to finish + * started). + */ public Builder setDrainingTimeoutSec(Integer drainingTimeoutSec) { this.drainingTimeoutSec = drainingTimeoutSec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java index 82206440d3dc..493a7aad0207 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java @@ -130,18 +130,28 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the persistent disk to snapshot. It must have the format + * `{project}/zones/{zone}/disks/{disk}/createSnapshot`. \`{disk}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -150,26 +160,47 @@ public Boolean getGuestFlush() { return guestFlush; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,37 +294,59 @@ public Builder mergeFrom(CreateSnapshotDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the persistent disk to snapshot. It must have the format + * `{project}/zones/{zone}/disks/{disk}/createSnapshot`. \`{disk}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * Name of the persistent disk to snapshot. It must have the format + * `{project}/zones/{zone}/disks/{disk}/createSnapshot`. \`{disk}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -308,55 +361,97 @@ public Builder setGuestFlush(Boolean guestFlush) { return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Builder setSnapshotResource(Snapshot snapshotResource) { this.snapshotResource = snapshotResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java index 019d7d2e2209..47eda545f6c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the regional persistent disk to snapshot. It must have the format + * `{project}/regions/{region}/disks/{disk}/createSnapshot`. \`{disk}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(CreateSnapshotRegionDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the regional persistent disk to snapshot. It must have the format + * `{project}/regions/{region}/disks/{disk}/createSnapshot`. \`{disk}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * Name of the regional persistent disk to snapshot. It must have the format + * `{project}/regions/{region}/disks/{disk}/createSnapshot`. \`{disk}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Builder setSnapshotResource(Snapshot snapshotResource) { this.snapshotResource = snapshotResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java index 71c34c8abb61..1add4e402688 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a customer-supplied encryption key */ public final class CustomerEncryptionKey implements ApiMessage { private final String kmsKeyName; private final String rawKey; @@ -67,14 +68,23 @@ public List getFieldMask() { return null; } + /** The name of the encryption key that is stored in Google Cloud KMS. */ public String getKmsKeyName() { return kmsKeyName; } + /** + * Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either + * encrypt or decrypt this resource. + */ public String getRawKey() { return rawKey; } + /** + * [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key + * that protects this resource. + */ public String getSha256() { return sha256; } @@ -128,28 +138,46 @@ public Builder mergeFrom(CustomerEncryptionKey other) { this.sha256 = source.sha256; } + /** The name of the encryption key that is stored in Google Cloud KMS. */ public String getKmsKeyName() { return kmsKeyName; } + /** The name of the encryption key that is stored in Google Cloud KMS. */ public Builder setKmsKeyName(String kmsKeyName) { this.kmsKeyName = kmsKeyName; return this; } + /** + * Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either + * encrypt or decrypt this resource. + */ public String getRawKey() { return rawKey; } + /** + * Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either + * encrypt or decrypt this resource. + */ public Builder setRawKey(String rawKey) { this.rawKey = rawKey; return this; } + /** + * [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption + * key that protects this resource. + */ public String getSha256() { return sha256; } + /** + * [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption + * key that protects this resource. + */ public Builder setSha256(String sha256) { this.sha256 = sha256; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java index 531c82c152cb..3974c97a3e90 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** Decrypts data associated with the disk with a customer-supplied encryption key. */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is + * only applicable for persistent disks. + */ public String getSource() { return source; } @@ -114,19 +119,29 @@ public Builder mergeFrom(CustomerEncryptionKeyProtectedDisk other) { this.source = source.source; } + /** Decrypts data associated with the disk with a customer-supplied encryption key. */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** Decrypts data associated with the disk with a customer-supplied encryption key. */ public Builder setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey) { this.diskEncryptionKey = diskEncryptionKey; return this; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is + * only applicable for persistent disks. + */ public String getSource() { return source; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is + * only applicable for persistent disks. + */ public Builder setSource(String source) { this.source = source; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java index 8cc54dc55903..4bec57861dd9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": + * "scope", "value": "zones/us-east1-d" } + */ public final class Data implements ApiMessage { private final String key; private final String value; @@ -61,10 +65,19 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A key that 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, or a warning about invalid network settings + * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP + * forwarding). + */ public String getKey() { return key; } + /** [Output Only] A warning data value corresponding to the key. */ public String getValue() { return value; } @@ -113,19 +126,37 @@ public Builder mergeFrom(Data other) { this.value = source.value; } + /** + * [Output Only] A key that 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, or a warning about invalid network settings + * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP + * forwarding). + */ public String getKey() { return key; } + /** + * [Output Only] A key that 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, or a warning about invalid network settings + * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP + * forwarding). + */ public Builder setKey(String key) { this.key = key; return this; } + /** [Output Only] A warning data value corresponding to the key. */ public String getValue() { return value; } + /** [Output Only] A warning data value corresponding to the key. */ public Builder setValue(String value) { this.value = value; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java index a725d1e7f52c..af8547d10695 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java @@ -130,46 +130,76 @@ public List getFieldMask() { return null; } + /** The name of the access config to delete. */ public String getAccessConfig() { return accessConfig; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/deleteAccessConfig`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface. */ public String getNetworkInterface() { return networkInterface; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +293,160 @@ public Builder mergeFrom(DeleteAccessConfigInstanceHttpRequest other) { this.userIp = source.userIp; } + /** The name of the access config to delete. */ public String getAccessConfig() { return accessConfig; } + /** The name of the access config to delete. */ public Builder setAccessConfig(String accessConfig) { this.accessConfig = accessConfig; return this; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/deleteAccessConfig`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/deleteAccessConfig`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** The name of the network interface. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java index c999fb426daf..73f2d3fe8a7d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteAddressHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setAddress(String address) { this.address = address; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java index 231160aaaf7c..910120eb44f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,138 @@ public Builder mergeFrom(DeleteAutoscalerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java index 03dff1339cb6..76804dc7fe95 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to delete. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteBackendBucketHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendBucket resource to delete. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to delete. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java index 2b37d8267458..f0a84960a047 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java index 1b5087eb5d57..7c2ce9d08d84 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java @@ -117,38 +117,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the persistent disk to delete. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +259,136 @@ public Builder mergeFrom(DeleteDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the persistent disk to delete. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * Name of the persistent disk to delete. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java index b55acb6adc5f..e9ba71b2ef85 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the firewall rule to delete. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteFirewallHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the firewall rule to delete. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** + * Name of the firewall rule to delete. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setFirewall(String firewall) { this.firewall = firewall; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java index a45d02d4fa5c..89656fa3a125 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java index acead5b9ec76..da5018f09227 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java @@ -115,38 +115,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -230,82 +257,136 @@ public Builder mergeFrom(DeleteGlobalAddressHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setAddress(String address) { this.address = address; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java index fed99c0259f8..b69ee91098b3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteGlobalForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java index b650de11de8c..33a79e86a468 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(DeleteGlobalOperationHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setOperation(String operation) { this.operation = operation; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java index e59a6199663c..d040a8f067c4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java @@ -116,38 +116,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HealthCheck resource to delete. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,138 @@ public Builder mergeFrom(DeleteHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HealthCheck resource to delete. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to delete. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java index 0bce25fe6135..c3cfa56b090c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpHealthCheck resource to delete. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteHttpHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpHealthCheck resource to delete. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to delete. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java index a848c0bd58fc..d4cc263bfd3a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpsHealthCheck resource to delete. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteHttpsHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpsHealthCheck resource to delete. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to delete. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java index a463271b73f5..683f9a1879bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the image resource to delete. It must have the format + * `{project}/global/images/{image}`. \`{image}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getImage() { return image; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the image resource to delete. It must have the format + * `{project}/global/images/{image}`. \`{image}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getImage() { return image; } + /** + * Name of the image resource to delete. It must have the format + * `{project}/global/images/{image}`. \`{image}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setImage(String image) { this.image = image; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java index 1bbf14c704d1..d80eed71f823 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java @@ -117,38 +117,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteInstanceGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java index df466e3e20c4..9ed9e96c706e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java @@ -117,38 +117,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java index 59d69f99805e..c39c60bc87d8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java @@ -116,38 +116,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance resource to delete. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,136 @@ public Builder mergeFrom(DeleteInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance resource to delete. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance resource to delete. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java index 03b3132cc693..01b29a8b1652 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java @@ -117,38 +117,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance template to delete. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteInstanceTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance template to delete. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * The name of the instance template to delete. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java index 14a1aea27254..68d7c4ef1039 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java @@ -136,18 +136,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } @@ -157,22 +168,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersDeleteInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,37 +292,59 @@ public Builder mergeFrom(DeleteInstancesInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -313,46 +363,80 @@ public Builder setInstanceGroupManagersDeleteInstancesRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java index c8c96ca9739f..91be7892ec56 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java @@ -137,30 +137,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -170,10 +184,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersDeleteInstancesRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -266,64 +294,92 @@ public Builder mergeFrom(DeleteInstancesRegionInstanceGroupManagerHttpRequest ot this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -342,19 +398,47 @@ public Builder setRegionInstanceGroupManagersDeleteInstancesRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java index 3473225c3abe..3b946e9d4a28 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect attachment to delete. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInterconnectAttachment() { return interconnectAttachment; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteInterconnectAttachmentHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect attachment to delete. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInterconnectAttachment() { return interconnectAttachment; } + /** + * Name of the interconnect attachment to delete. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setInterconnectAttachment(String interconnectAttachment) { this.interconnectAttachment = interconnectAttachment; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java index ff4a2ec306dc..88d346c1f7f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect to delete. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,138 @@ public Builder mergeFrom(DeleteInterconnectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect to delete. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** + * Name of the interconnect to delete. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInterconnect(String interconnect) { this.interconnect = interconnect; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java index 57d00f0879af..4fada09cfa6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the license resource to delete. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getLicense() { return license; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteLicenseHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the license resource to delete. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getLicense() { return license; } + /** + * Name of the license resource to delete. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setLicense(String license) { this.license = license; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java index 0fb9bd5f0601..f5e66e864f65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to delete. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteNetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the network to delete. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } + /** + * Name of the network to delete. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java index b243876a8c54..1353e0752cc4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java @@ -115,38 +115,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -230,82 +257,138 @@ public Builder mergeFrom(DeleteNodeGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java index 9e434709bca2..bd9f6d80555a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeTemplate resource to delete. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeTemplate() { return nodeTemplate; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteNodeTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the NodeTemplate resource to delete. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeTemplate() { return nodeTemplate; } + /** + * Name of the NodeTemplate resource to delete. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java index 801a88b48e04..cc108f769141 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java @@ -123,22 +123,34 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes`. \`{nodeGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } @@ -147,18 +159,34 @@ public NodeGroupsDeleteNodesRequest getNodeGroupsDeleteNodesRequestResource() { return nodeGroupsDeleteNodesRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,46 +275,70 @@ public Builder mergeFrom(DeleteNodesNodeGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes`. \`{nodeGroup}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes`. \`{nodeGroup}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; @@ -302,37 +354,69 @@ public Builder setNodeGroupsDeleteNodesRequestResource( return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java index 9e54379d24cd..797a5204358d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java @@ -113,38 +113,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteRegionAutoscalerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java index c6b45afe02aa..d5afd0997f72 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteRegionBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java index b7e75be9c8d5..e5b879e216e9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java @@ -118,38 +118,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the regional persistent disk to delete. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -233,82 +260,136 @@ public Builder mergeFrom(DeleteRegionDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the regional persistent disk to delete. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * Name of the regional persistent disk to delete. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java index c0f9d367c77a..5b05c48d6eb5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the managed instance group to delete. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteRegionInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the managed instance group to delete. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group to delete. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java index f9c52bb839de..4adc5511d445 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(DeleteRegionOperationHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getOperation() { return operation; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setOperation(String operation) { this.operation = operation; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java index b0fe4a969771..03ec16e08fff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Route resource to delete. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRoute() { return route; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteRouteHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Route resource to delete. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRoute() { return route; } + /** + * Name of the Route resource to delete. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRoute(String route) { this.route = route; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java index a7cf2d64f92d..79151e9bd934 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Router resource to delete. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteRouterHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Router resource to delete. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** + * Name of the Router resource to delete. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java index 5d72a2e56e8e..7adb14d2dbe3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java @@ -113,38 +113,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the security policy to delete. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the security policy to delete. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to delete. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java index bab809d53ac8..cc7291b20b5f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name should + * conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey`. \`{backendBucket}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(DeleteSignedUrlKeyBackendBucketHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey`. \`{backendBucket}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey`. \`{backendBucket}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** The name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** The name of the Signed URL Key to delete. */ public Builder setKeyName(String keyName) { this.keyName = keyName; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java index 263d5d91f175..ba5329078cb7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/deleteSignedUrlKey`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(DeleteSignedUrlKeyBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/deleteSignedUrlKey`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/deleteSignedUrlKey`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** The name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** The name of the Signed URL Key to delete. */ public Builder setKeyName(String keyName) { this.keyName = keyName; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java index f734335e4a8f..c778335ef474 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java @@ -120,38 +120,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Snapshot resource to delete. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getSnapshot() { return snapshot; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -235,82 +262,136 @@ public Builder mergeFrom(DeleteSnapshotHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Snapshot resource to delete. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getSnapshot() { return snapshot; } + /** + * Name of the Snapshot resource to delete. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setSnapshot(String snapshot) { this.snapshot = snapshot; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java index bed120b9e539..f878ad3630e4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the SslCertificate resource to delete. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSslCertificate() { return sslCertificate; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteSslCertificateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the SslCertificate resource to delete. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSslCertificate() { return sslCertificate; } + /** + * Name of the SslCertificate resource to delete. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSslCertificate(String sslCertificate) { this.sslCertificate = sslCertificate; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java index fa1297a48124..efea5ece8f13 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java @@ -117,38 +117,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getSslPolicy() { return sslPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteSslPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getSslPolicy() { return sslPolicy; } + /** + * Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java index 7cd370bf797f..3af2cbec1fe3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java @@ -113,38 +113,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource to delete. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteSubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource to delete. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to delete. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java index 74530d578f08..d5d8ba302184 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpProxy resource to delete. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpProxy() { return targetHttpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetHttpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpProxy resource to delete. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpProxy() { return targetHttpProxy; } + /** + * Name of the TargetHttpProxy resource to delete. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetHttpProxy(String targetHttpProxy) { this.targetHttpProxy = targetHttpProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java index 9b09e8905895..55be74894341 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpsProxy resource to delete. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetHttpsProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpsProxy resource to delete. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to delete. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java index 20ec5e0814cd..1a143a651ac2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetInstance resource to delete. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetInstance() { return targetInstance; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetInstance resource to delete. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getTargetInstance() { return targetInstance; } + /** + * Name of the TargetInstance resource to delete. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setTargetInstance(String targetInstance) { this.targetInstance = targetInstance; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java index c51955499fb3..91d97060d1ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java @@ -113,38 +113,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to delete. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to delete. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to delete. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java index 42821e54aa89..15d3d8b37cdf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetSslProxy resource to delete. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetSslProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetSslProxy resource to delete. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource to delete. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java index d4a052ba478e..687a31841d10 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetTcpProxy resource to delete. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetTcpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetTcpProxy resource to delete. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource to delete. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java index b76ba1446179..834d25269819 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the target VPN gateway to delete. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetVpnGateway() { return targetVpnGateway; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetVpnGatewayHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the target VPN gateway to delete. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getTargetVpnGateway() { return targetVpnGateway; } + /** + * Name of the target VPN gateway to delete. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setTargetVpnGateway(String targetVpnGateway) { this.targetVpnGateway = targetVpnGateway; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java index 162961988a9d..73ebc38eb97c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap resource to delete. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteUrlMapHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap resource to delete. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to delete. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java index 5d5f9321b6c7..edf0000f63a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java @@ -115,38 +115,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the VpnTunnel resource to delete. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getVpnTunnel() { return vpnTunnel; } @@ -230,82 +257,138 @@ public Builder mergeFrom(DeleteVpnTunnelHttpRequest other) { this.vpnTunnel = source.vpnTunnel; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the VpnTunnel resource to delete. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getVpnTunnel() { return vpnTunnel; } + /** + * Name of the VpnTunnel resource to delete. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setVpnTunnel(String vpnTunnel) { this.vpnTunnel = vpnTunnel; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java index 269179474c9d..87d5f250d701 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(DeleteZoneOperationHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getOperation() { return operation; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setOperation(String operation) { this.operation = operation; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java index 51bbaa67b24f..b5bfadfc91c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range + * tuple that describes a denied connection. + */ public final class Denied implements ApiMessage { @SerializedName("IPProtocol") private final String iPProtocol; @@ -65,10 +69,22 @@ public List getFieldMask() { return null; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings (tcp, + * udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP or + * TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } @@ -117,19 +133,43 @@ public Builder mergeFrom(Denied other) { this.ports = source.ports; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public Builder setIPProtocol(String iPProtocol) { this.iPProtocol = iPProtocol; return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addAllPorts(List ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -138,6 +178,13 @@ public Builder addAllPorts(List ports) { return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addPorts(String ports) { if (this.ports == null) { this.ports = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java index 433be180e81d..1d25377951ab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java @@ -124,42 +124,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Deprecation status for a public resource. */ public DeprecationStatus getDeprecationStatusResource() { return deprecationStatusResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Image name. It must have the format `{project}/global/images/{image}/deprecate`. \`{image}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getImage() { return image; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -248,91 +276,147 @@ public Builder mergeFrom(DeprecateImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Deprecation status for a public resource. */ public DeprecationStatus getDeprecationStatusResource() { return deprecationStatusResource; } + /** Deprecation status for a public resource. */ public Builder setDeprecationStatusResource(DeprecationStatus deprecationStatusResource) { this.deprecationStatusResource = deprecationStatusResource; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Image name. It must have the format `{project}/global/images/{image}/deprecate`. \`{image}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getImage() { return image; } + /** + * Image name. It must have the format `{project}/global/images/{image}/deprecate`. \`{image}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setImage(String image) { this.image = image; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java index 3db5e76c7fe8..00c5d0629b64 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Deprecation status for a public resource. */ public final class DeprecationStatus implements ApiMessage { private final String deleted; private final String deprecated; @@ -80,22 +81,47 @@ public List getFieldMask() { return null; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DELETED. This is only informational and the status will not change unless the client + * explicitly changes it. + */ public String getDeleted() { return deleted; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DEPRECATED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getDeprecated() { return deprecated; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to OBSOLETE. This is only informational and the status will not change unless the client + * explicitly changes it. + */ public String getObsolete() { return obsolete; } + /** + * The URL of the suggested replacement for a deprecated resource. The suggested replacement + * resource must be the same kind of resource as the deprecated resource. + */ public String getReplacement() { return replacement; } + /** + * The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. + * Operations which create a new resource using a DEPRECATED resource will return successfully, + * but with a warning indicating the deprecated resource and recommending its replacement. + * Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + */ public String getState() { return state; } @@ -159,46 +185,96 @@ public Builder mergeFrom(DeprecationStatus other) { this.state = source.state; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DELETED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getDeleted() { return deleted; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DELETED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public Builder setDeleted(String deleted) { this.deleted = deleted; return this; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DEPRECATED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getDeprecated() { return deprecated; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DEPRECATED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public Builder setDeprecated(String deprecated) { this.deprecated = deprecated; return this; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to OBSOLETE. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getObsolete() { return obsolete; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to OBSOLETE. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public Builder setObsolete(String obsolete) { this.obsolete = obsolete; return this; } + /** + * The URL of the suggested replacement for a deprecated resource. The suggested replacement + * resource must be the same kind of resource as the deprecated resource. + */ public String getReplacement() { return replacement; } + /** + * The URL of the suggested replacement for a deprecated resource. The suggested replacement + * resource must be the same kind of resource as the deprecated resource. + */ public Builder setReplacement(String replacement) { this.replacement = replacement; return this; } + /** + * The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. + * Operations which create a new resource using a DEPRECATED resource will return successfully, + * but with a warning indicating the deprecated resource and recommending its replacement. + * Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + */ public String getState() { return state; } + /** + * The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. + * Operations which create a new resource using a DEPRECATED resource will return successfully, + * but with a warning indicating the deprecated resource and recommending its replacement. + * Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + */ public Builder setState(String state) { this.state = state; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java index 05c959b4c351..9b08aa192307 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java @@ -120,42 +120,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * The device name of the disk to detach. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/detachDisk`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -244,91 +276,155 @@ public Builder mergeFrom(DetachDiskInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * The device name of the disk to detach. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** + * The device name of the disk to detach. Make a get() request on the instance to view currently + * attached disks and device names. + */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/detachDisk`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/detachDisk`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java index 45d338bd2a80..f1bcda796219 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java @@ -116,38 +116,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnHost`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,136 @@ public Builder mergeFrom(DisableXpnHostProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnHost`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnHost`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java index 314e5e51d479..dc02d776614b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java @@ -123,26 +123,38 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnResource`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } @@ -151,14 +163,29 @@ public ProjectsDisableXpnResourceRequest getProjectsDisableXpnResourceRequestRes return projectsDisableXpnResourceRequestResource; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,55 +276,79 @@ public Builder mergeFrom(DisableXpnResourceProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnResource`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnResource`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; @@ -313,28 +364,58 @@ public Builder setProjectsDisableXpnResourceRequestResource( return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java index d5cfcfae5bf0..bffb587835ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public final class Disk implements ApiMessage { private final String creationTimestamp; private final String description; @@ -254,118 +255,247 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Encrypts the disk using a customer-supplied encryption key. + * + *

After you encrypt a disk with a customer-supplied key, you must provide the same key if you + * use the disk later (e.g. to create a disk snapshot or an image, or to attach the disk to a + * virtual machine). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the disk, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use the + * disk later. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#disk for disks. */ public String getKind() { return kind; } + /** + * A fingerprint for the labels being applied to this disk, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a disk. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** Labels to apply to this disk. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** [Output Only] Last attach timestamp in RFC3339 text format. */ public String getLastAttachTimestamp() { return lastAttachTimestamp; } + /** [Output Only] Last detach timestamp in RFC3339 text format. */ public String getLastDetachTimestamp() { return lastDetachTimestamp; } + /** Integer license codes indicating which licenses are attached to this disk. */ public List getLicenseCodesList() { return licenseCodes; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public List getLicensesList() { return licenses; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** Internal use only. */ public String getOptions() { return options; } + /** + * Physical block size of the persistent disk, in bytes. If not present in a request, a default + * value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the + * future. If an unsupported value is requested, the error message will list the supported values + * for the caller's project. + */ public String getPhysicalBlockSizeBytes() { return physicalBlockSizeBytes; } + /** + * [Output Only] URL of the region where the disk resides. Only applicable for regional resources. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public String getRegion() { return region; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public List getReplicaZonesList() { return replicaZones; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * Size of the persistent disk, specified in GB. You can specify this field when creating a + * persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to + * create an empty persistent disk. + * + *

If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb must + * not be less than the size of the sourceImage or the size of the snapshot. Acceptable values are + * 1 to 65536, inclusive. + */ public String getSizeGb() { return sizeGb; } + /** + * The source image used to create this disk. If the source image is deleted, this field will not + * be set. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version of + * the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + */ public String getSourceImage() { return sourceImage; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * [Output Only] The ID value of the image used to create this disk. This value identifies the + * exact image that was used to create this persistent disk. For example, if you created the + * persistent disk from an image that was later deleted and recreated under the same name, the + * source image ID would identify the exact version of the image that was used. + */ public String getSourceImageId() { return sourceImageId; } + /** + * The source snapshot used to create this disk. You can provide this as a partial or full URL to + * the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot - + * projects/project/global/snapshots/snapshot - global/snapshots/snapshot + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the + * exact snapshot that was used to create this persistent disk. For example, if you created the + * persistent disk from a snapshot that was later deleted and recreated under the same name, the + * source snapshot ID would identify the exact version of the snapshot that was used. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** [Output Only] The status of disk creation. */ public String getStatus() { return status; } + /** + * URL of the disk type resource describing which disk type to use to create the disk. Provide + * this when creating the disk. For example: project/zones/zone/diskTypes/pd-standard or pd-ssd + */ public String getType() { return type; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public List getUsersList() { return users; } + /** + * [Output Only] URL of the zone where the disk resides. You must specify this field as part of + * the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -549,37 +679,79 @@ public Builder mergeFrom(Disk other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Encrypts the disk using a customer-supplied encryption key. + * + *

After you encrypt a disk with a customer-supplied key, you must provide the same key if + * you use the disk later (e.g. to create a disk snapshot or an image, or to attach the disk to + * a virtual machine). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the disk, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the disk later. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * Encrypts the disk using a customer-supplied encryption key. + * + *

After you encrypt a disk with a customer-supplied key, you must provide the same key if + * you use the disk later (e.g. to create a disk snapshot or an image, or to attach the disk to + * a virtual machine). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the disk, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the disk later. + */ public Builder setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey) { this.diskEncryptionKey = diskEncryptionKey; return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addAllGuestOsFeatures(List guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -588,6 +760,10 @@ public Builder addAllGuestOsFeatures(List guestOsFeatures) { return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -596,64 +772,100 @@ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#disk for disks. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#disk for disks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for the labels being applied to this disk, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a disk. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for the labels being applied to this disk, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a disk. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** Labels to apply to this disk. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to this disk. These can be later modified by the setLabels method. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** [Output Only] Last attach timestamp in RFC3339 text format. */ public String getLastAttachTimestamp() { return lastAttachTimestamp; } + /** [Output Only] Last attach timestamp in RFC3339 text format. */ public Builder setLastAttachTimestamp(String lastAttachTimestamp) { this.lastAttachTimestamp = lastAttachTimestamp; return this; } + /** [Output Only] Last detach timestamp in RFC3339 text format. */ public String getLastDetachTimestamp() { return lastDetachTimestamp; } + /** [Output Only] Last detach timestamp in RFC3339 text format. */ public Builder setLastDetachTimestamp(String lastDetachTimestamp) { this.lastDetachTimestamp = lastDetachTimestamp; return this; } + /** Integer license codes indicating which licenses are attached to this disk. */ public List getLicenseCodesList() { return licenseCodes; } + /** Integer license codes indicating which licenses are attached to this disk. */ public Builder addAllLicenseCodes(List licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -662,6 +874,7 @@ public Builder addAllLicenseCodes(List licenseCodes) { return this; } + /** Integer license codes indicating which licenses are attached to this disk. */ public Builder addLicenseCodes(String licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -670,10 +883,12 @@ public Builder addLicenseCodes(String licenseCodes) { return this; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public List getLicensesList() { return licenses; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -682,6 +897,7 @@ public Builder addAllLicenses(List licenses) { return this; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -690,46 +906,92 @@ public Builder addLicenses(String licenses) { return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** Internal use only. */ public String getOptions() { return options; } + /** Internal use only. */ public Builder setOptions(String options) { this.options = options; return this; } + /** + * Physical block size of the persistent disk, in bytes. If not present in a request, a default + * value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the + * future. If an unsupported value is requested, the error message will list the supported + * values for the caller's project. + */ public String getPhysicalBlockSizeBytes() { return physicalBlockSizeBytes; } + /** + * Physical block size of the persistent disk, in bytes. If not present in a request, a default + * value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the + * future. If an unsupported value is requested, the error message will list the supported + * values for the caller's project. + */ public Builder setPhysicalBlockSizeBytes(String physicalBlockSizeBytes) { this.physicalBlockSizeBytes = physicalBlockSizeBytes; return this; } + /** + * [Output Only] URL of the region where the disk resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the disk resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public List getReplicaZonesList() { return replicaZones; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public Builder addAllReplicaZones(List replicaZones) { if (this.replicaZones == null) { this.replicaZones = new LinkedList<>(); @@ -738,6 +1000,10 @@ public Builder addAllReplicaZones(List replicaZones) { return this; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public Builder addReplicaZones(String replicaZones) { if (this.replicaZones == null) { this.replicaZones = new LinkedList<>(); @@ -746,101 +1012,227 @@ public Builder addReplicaZones(String replicaZones) { return this; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Size of the persistent disk, specified in GB. You can specify this field when creating a + * persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to + * create an empty persistent disk. + * + *

If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb + * must not be less than the size of the sourceImage or the size of the snapshot. Acceptable + * values are 1 to 65536, inclusive. + */ public String getSizeGb() { return sizeGb; } + /** + * Size of the persistent disk, specified in GB. You can specify this field when creating a + * persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to + * create an empty persistent disk. + * + *

If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb + * must not be less than the size of the sourceImage or the size of the snapshot. Acceptable + * values are 1 to 65536, inclusive. + */ public Builder setSizeGb(String sizeGb) { this.sizeGb = sizeGb; return this; } + /** + * The source image used to create this disk. If the source image is deleted, this field will + * not be set. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + */ public String getSourceImage() { return sourceImage; } + /** + * The source image used to create this disk. If the source image is deleted, this field will + * not be set. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public Builder setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey) { this.sourceImageEncryptionKey = sourceImageEncryptionKey; return this; } + /** + * [Output Only] The ID value of the image used to create this disk. This value identifies the + * exact image that was used to create this persistent disk. For example, if you created the + * persistent disk from an image that was later deleted and recreated under the same name, the + * source image ID would identify the exact version of the image that was used. + */ public String getSourceImageId() { return sourceImageId; } + /** + * [Output Only] The ID value of the image used to create this disk. This value identifies the + * exact image that was used to create this persistent disk. For example, if you created the + * persistent disk from an image that was later deleted and recreated under the same name, the + * source image ID would identify the exact version of the image that was used. + */ public Builder setSourceImageId(String sourceImageId) { this.sourceImageId = sourceImageId; return this; } + /** + * The source snapshot used to create this disk. You can provide this as a partial or full URL + * to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot - + * projects/project/global/snapshots/snapshot - global/snapshots/snapshot + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * The source snapshot used to create this disk. You can provide this as a partial or full URL + * to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot - + * projects/project/global/snapshots/snapshot - global/snapshots/snapshot + */ public Builder setSourceSnapshot(String sourceSnapshot) { this.sourceSnapshot = sourceSnapshot; return this; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public Builder setSourceSnapshotEncryptionKey( CustomerEncryptionKey sourceSnapshotEncryptionKey) { this.sourceSnapshotEncryptionKey = sourceSnapshotEncryptionKey; return this; } + /** + * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies + * the exact snapshot that was used to create this persistent disk. For example, if you created + * the persistent disk from a snapshot that was later deleted and recreated under the same name, + * the source snapshot ID would identify the exact version of the snapshot that was used. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** + * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies + * the exact snapshot that was used to create this persistent disk. For example, if you created + * the persistent disk from a snapshot that was later deleted and recreated under the same name, + * the source snapshot ID would identify the exact version of the snapshot that was used. + */ public Builder setSourceSnapshotId(String sourceSnapshotId) { this.sourceSnapshotId = sourceSnapshotId; return this; } + /** [Output Only] The status of disk creation. */ public String getStatus() { return status; } + /** [Output Only] The status of disk creation. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * URL of the disk type resource describing which disk type to use to create the disk. Provide + * this when creating the disk. For example: project/zones/zone/diskTypes/pd-standard or pd-ssd + */ public String getType() { return type; } + /** + * URL of the disk type resource describing which disk type to use to create the disk. Provide + * this when creating the disk. For example: project/zones/zone/diskTypes/pd-standard or pd-ssd + */ public Builder setType(String type) { this.type = type; return this; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public List getUsersList() { return users; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public Builder addAllUsers(List users) { if (this.users == null) { this.users = new LinkedList<>(); @@ -849,6 +1241,10 @@ public Builder addAllUsers(List users) { return this; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public Builder addUsers(String users) { if (this.users == null) { this.users = new LinkedList<>(); @@ -857,10 +1253,18 @@ public Builder addUsers(String users) { return this; } + /** + * [Output Only] URL of the zone where the disk resides. You must specify this field as part of + * the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the disk resides. You must specify this field as part of + * the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java index f0f5e503e098..3f372d4f5304 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of DisksScopedList resources. The key for the map is: [Output Only] Name of the scope + * containing this set of disks. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of + * persistent disks. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(DiskAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of DisksScopedList resources. The key for the map is: [Output Only] Name of the scope + * containing this set of disks. + */ public Map getItemsMap() { return items; } + /** + * A list of DisksScopedList resources. The key for the map is: [Output Only] Name of the scope + * containing this set of disks. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of + * persistent disks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of + * persistent disks. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java index 58b651a317ed..e00808c78e9c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A specification of the desired way to instantiate a disk in the instance template when its + * created from a source instance. + */ public final class DiskInstantiationConfig implements ApiMessage { private final Boolean autoDelete; private final String customImage; @@ -74,18 +78,38 @@ public List getFieldMask() { return null; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the + * disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * The custom source image to be used to restore this disk when instantiating this instance + * template. + */ public String getCustomImage() { return customImage; } + /** Specifies the device name of the disk to which the configurations apply to. */ public String getDeviceName() { return deviceName; } + /** + * Specifies whether to include the disk and what image to use. Possible values are: - + * source-image: to use the same image that was used to create the source instance's corresponding + * disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to + * use the same image family that was used to create the source instance's corresponding disk. + * Applicable to the boot disk and additional read-write disks. - custom-image: to use a + * user-provided image url for disk creation. Applicable to the boot disk and additional + * read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only + * disks. - do-not-include: to exclude a disk from the template. Applicable to additional + * read-write disks, local SSDs, and read-only disks. + */ public String getInstantiateFrom() { return instantiateFrom; } @@ -144,37 +168,77 @@ public Builder mergeFrom(DiskInstantiationConfig other) { this.instantiateFrom = source.instantiateFrom; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Builder setAutoDelete(Boolean autoDelete) { this.autoDelete = autoDelete; return this; } + /** + * The custom source image to be used to restore this disk when instantiating this instance + * template. + */ public String getCustomImage() { return customImage; } + /** + * The custom source image to be used to restore this disk when instantiating this instance + * template. + */ public Builder setCustomImage(String customImage) { this.customImage = customImage; return this; } + /** Specifies the device name of the disk to which the configurations apply to. */ public String getDeviceName() { return deviceName; } + /** Specifies the device name of the disk to which the configurations apply to. */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } + /** + * Specifies whether to include the disk and what image to use. Possible values are: - + * source-image: to use the same image that was used to create the source instance's + * corresponding disk. Applicable to the boot disk and additional read-write disks. - + * source-image-family: to use the same image family that was used to create the source + * instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - + * custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk + * and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable + * to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to + * additional read-write disks, local SSDs, and read-only disks. + */ public String getInstantiateFrom() { return instantiateFrom; } + /** + * Specifies whether to include the disk and what image to use. Possible values are: - + * source-image: to use the same image that was used to create the source instance's + * corresponding disk. Applicable to the boot disk and additional read-write disks. - + * source-image-family: to use the same image family that was used to create the source + * instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - + * custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk + * and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable + * to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to + * additional read-write disks, local SSDs, and read-only disks. + */ public Builder setInstantiateFrom(String instantiateFrom) { this.instantiateFrom = instantiateFrom; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java index f91a4af380ee..dd10b35948e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of Disk resources. */ public final class DiskList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Disk resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#diskList for lists of disks. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(DiskList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Disk resources. */ public List getItemsList() { return items; } + /** A list of Disk resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Disk resources. */ public Builder addItems(Disk items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Disk items) { return this; } + /** [Output Only] Type of resource. Always compute#diskList for lists of disks. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#diskList for lists of disks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java index 6529028c6341..1821acee89f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java @@ -61,10 +61,22 @@ public List getFieldMask() { return null; } + /** + * The URL of the destination zone to move the disk. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone + * - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the target disk to move. This can be a full or partial URL. For example, the + * following are all valid URLs to a disk: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getTargetDisk() { return targetDisk; } @@ -113,19 +125,43 @@ public Builder mergeFrom(DiskMoveRequest other) { this.targetDisk = source.targetDisk; } + /** + * The URL of the destination zone to move the disk. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the destination zone to move the disk. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public Builder setDestinationZone(String destinationZone) { this.destinationZone = destinationZone; return this; } + /** + * The URL of the target disk to move. This can be a full or partial URL. For example, the + * following are all valid URLs to a disk: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getTargetDisk() { return targetDisk; } + /** + * The URL of the target disk to move. This can be a full or partial URL. For example, the + * following are all valid URLs to a disk: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public Builder setTargetDisk(String targetDisk) { this.targetDisk = targetDisk; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java index 4b40f7da18ad..69b16602211f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A DiskType resource. (== resource_for beta.diskTypes ==) (== resource_for v1.diskTypes ==) */ public final class DiskType implements ApiMessage { private final String creationTimestamp; private final String defaultDiskSizeGb; @@ -126,46 +127,66 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Server-defined default disk size in GB. */ public String getDefaultDiskSizeGb() { return defaultDiskSizeGb; } + /** [Output Only] The deprecation status associated with this disk type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional description of this resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#diskType for disk types. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** + * [Output Only] URL of the region where the disk type resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as a + * field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". */ public String getValidDiskSize() { return validDiskSize; } + /** + * [Output Only] URL of the zone where the disk type resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -259,100 +280,146 @@ public Builder mergeFrom(DiskType other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] Server-defined default disk size in GB. */ public String getDefaultDiskSizeGb() { return defaultDiskSizeGb; } + /** [Output Only] Server-defined default disk size in GB. */ public Builder setDefaultDiskSizeGb(String defaultDiskSizeGb) { this.defaultDiskSizeGb = defaultDiskSizeGb; return this; } + /** [Output Only] The deprecation status associated with this disk type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this disk type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional description of this resource. */ public String getDescription() { return description; } + /** [Output Only] An optional description of this resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#diskType for disk types. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#diskType for disk types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] URL of the region where the disk type resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the disk type resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". + */ public String getValidDiskSize() { return validDiskSize; } + /** + * [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". + */ public Builder setValidDiskSize(String validDiskSize) { this.validDiskSize = validDiskSize; return this; } + /** + * [Output Only] URL of the zone where the disk type resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the disk type resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java index e20a982d4fba..a9635058c82f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of DiskTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of disk types. + */ public Map getItemsMap() { return items; } + /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(DiskTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of DiskTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of disk types. + */ public Map getItemsMap() { return items; } + /** + * A list of DiskTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of disk types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java index cf0188c59a77..012ac9c067d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of disk types. */ public final class DiskTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#diskTypeList for disk types. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(DiskTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** A list of DiskType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of DiskType resources. */ public Builder addItems(DiskType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(DiskType items) { return this; } + /** [Output Only] Type of resource. Always compute#diskTypeList for disk types. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#diskTypeList for disk types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java index a4a374e3f329..ba027c6a063d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of disk types contained in this scope. */ public List getDiskTypesList() { return diskTypes; } + /** + * [Output Only] Informational warning which replaces the list of disk types when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(DiskTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of disk types contained in this scope. */ public List getDiskTypesList() { return diskTypes; } + /** [Output Only] A list of disk types contained in this scope. */ public Builder addAllDiskTypes(List diskTypes) { if (this.diskTypes == null) { this.diskTypes = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllDiskTypes(List diskTypes) { return this; } + /** [Output Only] A list of disk types contained in this scope. */ public Builder addDiskTypes(DiskType diskTypes) { if (this.diskTypes == null) { this.diskTypes = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addDiskTypes(DiskType diskTypes) { return this; } + /** + * [Output Only] Informational warning which replaces the list of disk types when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of disk types when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java index 08a674e6f8e8..cb9078fb5a01 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The new size of the persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } @@ -98,10 +99,12 @@ public Builder mergeFrom(DisksResizeRequest other) { this.sizeGb = source.sizeGb; } + /** The new size of the persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } + /** The new size of the persistent disk, which is specified in GB. */ public Builder setSizeGb(String sizeGb) { this.sizeGb = sizeGb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java index ba9e04c6e6e5..c6eacdd2a3b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java @@ -62,10 +62,14 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of disks contained in this scope. */ public List getDisksList() { return disks; } + /** + * [Output Only] Informational warning which replaces the list of disks when the list is empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +118,12 @@ public Builder mergeFrom(DisksScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of disks contained in this scope. */ public List getDisksList() { return disks; } + /** [Output Only] A list of disks contained in this scope. */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -126,6 +132,7 @@ public Builder addAllDisks(List disks) { return this; } + /** [Output Only] A list of disks contained in this scope. */ public Builder addDisks(Disk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -134,10 +141,16 @@ public Builder addDisks(Disk disks) { return this; } + /** + * [Output Only] Informational warning which replaces the list of disks when the list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of disks when the list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java index 815d54610257..70cb93231928 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** Zones where the regional managed instance group will create and manage instances. */ public List getZonesList() { return zones; } @@ -99,10 +100,12 @@ public Builder mergeFrom(DistributionPolicy other) { this.zones = source.zones; } + /** Zones where the regional managed instance group will create and manage instances. */ public List getZonesList() { return zones; } + /** Zones where the regional managed instance group will create and manage instances. */ public Builder addAllZones(List zones) { if (this.zones == null) { this.zones = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllZones(List zones) { return this; } + /** Zones where the regional managed instance group will create and manage instances. */ public Builder addZones(DistributionPolicyZoneConfiguration zones) { if (this.zones == null) { this.zones = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java index e4c34ce44ac8..43782bb79e67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The URL of the zone. The zone must exist in the region where the managed instance group is + * located. + */ public String getZone() { return zone; } @@ -98,10 +102,18 @@ public Builder mergeFrom(DistributionPolicyZoneConfiguration other) { this.zone = source.zone; } + /** + * The URL of the zone. The zone must exist in the region where the managed instance group is + * located. + */ public String getZone() { return zone; } + /** + * The URL of the zone. The zone must exist in the region where the managed instance group is + * located. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java index 542b7920a9bf..af717092b163 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java @@ -116,38 +116,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnHost`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,136 @@ public Builder mergeFrom(EnableXpnHostProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnHost`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnHost`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java index 3bde2f3b2aad..4a88dc242b89 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java @@ -124,26 +124,38 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnResource`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } @@ -152,14 +164,29 @@ public ProjectsEnableXpnResourceRequest getProjectsEnableXpnResourceRequestResou return projectsEnableXpnResourceRequestResource; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,55 +277,79 @@ public Builder mergeFrom(EnableXpnResourceProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnResource`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnResource`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; @@ -314,28 +365,58 @@ public Builder setProjectsEnableXpnResourceRequestResource( return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java index d9098205b9ce..912e2ff74b75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public final class Error implements ApiMessage { private final List errors; @@ -56,6 +60,7 @@ public List getFieldMask() { return null; } + /** [Output Only] The array of errors encountered while processing this operation. */ public List getErrorsList() { return errors; } @@ -99,10 +104,12 @@ public Builder mergeFrom(Error other) { this.errors = source.errors; } + /** [Output Only] The array of errors encountered while processing this operation. */ public List getErrorsList() { return errors; } + /** [Output Only] The array of errors encountered while processing this operation. */ public Builder addAllErrors(List errors) { if (this.errors == null) { this.errors = new LinkedList<>(); @@ -111,6 +118,7 @@ public Builder addAllErrors(List errors) { return this; } + /** [Output Only] The array of errors encountered while processing this operation. */ public Builder addErrors(Errors errors) { if (this.errors == null) { this.errors = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java index c7498c0180c5..ecc531c3977d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] The array of errors encountered while processing this operation. */ public final class Errors implements ApiMessage { private final String code; private final String location; @@ -67,14 +68,20 @@ public List getFieldMask() { return null; } + /** [Output Only] The error type identifier for this error. */ public String getCode() { return code; } + /** + * [Output Only] Indicates the field in the request that caused the error. This property is + * optional. + */ public String getLocation() { return location; } + /** [Output Only] An optional, human-readable error message. */ public String getMessage() { return message; } @@ -128,28 +135,40 @@ public Builder mergeFrom(Errors other) { this.message = source.message; } + /** [Output Only] The error type identifier for this error. */ public String getCode() { return code; } + /** [Output Only] The error type identifier for this error. */ public Builder setCode(String code) { this.code = code; return this; } + /** + * [Output Only] Indicates the field in the request that caused the error. This property is + * optional. + */ public String getLocation() { return location; } + /** + * [Output Only] Indicates the field in the request that caused the error. This property is + * optional. + */ public Builder setLocation(String location) { this.location = location; return this; } + /** [Output Only] An optional, human-readable error message. */ public String getMessage() { return message; } + /** [Output Only] An optional, human-readable error message. */ public Builder setMessage(String message) { this.message = message; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java index 058f8e3d6f56..3580f677d662 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource to update. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange`. \`{subnetwork}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } @@ -159,6 +186,7 @@ public SubnetworksExpandIpCidrRangeRequest getSubnetworksExpandIpCidrRangeReques return subnetworksExpandIpCidrRangeRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(ExpandIpCidrRangeSubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource to update. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange`. \`{subnetwork}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to update. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange`. \`{subnetwork}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; @@ -332,10 +414,12 @@ public Builder setSubnetworksExpandIpCidrRangeRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java index 4fc6d008b829..078ac8cbb631 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an expression text. Example: + * + *

title: "User account presence" description: "Determines whether the request has a user + * account" expression: "size(request.user) > 0" + */ public final class Expr implements ApiMessage { private final String description; private final String expression; @@ -73,18 +79,36 @@ public List getFieldMask() { return null; } + /** + * An optional description of the expression. This is a longer text which describes the + * expression, e.g. when hovered over it in a UI. + */ public String getDescription() { return description; } + /** + * Textual representation of an expression in Common Expression Language syntax. + * + *

The application context of the containing message determines which well-known feature set of + * CEL is supported. + */ public String getExpression() { return expression; } + /** + * An optional string indicating the location of the expression for error reporting, e.g. a file + * name and a position in the file. + */ public String getLocation() { return location; } + /** + * An optional title for the expression, i.e. a short string describing its purpose. This can be + * used e.g. in UIs which allow to enter the expression. + */ public String getTitle() { return title; } @@ -143,37 +167,73 @@ public Builder mergeFrom(Expr other) { this.title = source.title; } + /** + * An optional description of the expression. This is a longer text which describes the + * expression, e.g. when hovered over it in a UI. + */ public String getDescription() { return description; } + /** + * An optional description of the expression. This is a longer text which describes the + * expression, e.g. when hovered over it in a UI. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Textual representation of an expression in Common Expression Language syntax. + * + *

The application context of the containing message determines which well-known feature set + * of CEL is supported. + */ public String getExpression() { return expression; } + /** + * Textual representation of an expression in Common Expression Language syntax. + * + *

The application context of the containing message determines which well-known feature set + * of CEL is supported. + */ public Builder setExpression(String expression) { this.expression = expression; return this; } + /** + * An optional string indicating the location of the expression for error reporting, e.g. a file + * name and a position in the file. + */ public String getLocation() { return location; } + /** + * An optional string indicating the location of the expression for error reporting, e.g. a file + * name and a position in the file. + */ public Builder setLocation(String location) { this.location = location; return this; } + /** + * An optional title for the expression, i.e. a short string describing its purpose. This can be + * used e.g. in UIs which allow to enter the expression. + */ public String getTitle() { return title; } + /** + * An optional title for the expression, i.e. a short string describing its purpose. This can be + * used e.g. in UIs which allow to enter the expression. + */ public Builder setTitle(String title) { this.title = title; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java index 1cc66d0ca924..b718d53d92d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a Firewall resource. */ public final class Firewall implements ApiMessage { private final List allowed; private final String creationTimestamp; @@ -183,78 +184,176 @@ public List getFieldMask() { return null; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public List getAllowedList() { return allowed; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public List getDeniedList() { return denied; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public List getDestinationRangesList() { return destinationRanges; } + /** + * Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS + * traffic, it is NOT supported to specify destinationRanges; For EGRESS traffic, it is NOT + * supported to specify sourceRanges OR sourceTags. + */ public String getDirection() { return direction; } + /** + * Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated + * with. When set to true, the firewall rule is not enforced and the network behaves as if it did + * not exist. If this is unspecified, the firewall rule will be enabled. + */ public Boolean getDisabled() { return disabled; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#firewall for firewall rules. */ public String getKind() { return kind; } + /** + * This field denotes the logging options for a particular firewall rule. If logging is enabled, + * logs will be exported to Stackdriver. + */ public FirewallLogConfig getLogConfig() { return logConfig; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * URL of the network resource for this firewall rule. If not specified when creating a firewall + * rule, the default network is used: global/networks/default If you choose to specify this + * property, you can specify the network as a full or partial URL. For example, the following are + * all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - + * projects/myproject/global/networks/my-network - global/networks/default + */ public String getNetwork() { return network; } + /** + * Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not + * specified, the value assumed is 1000. Relative priorities determine precedence of conflicting + * rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has higher + * precedence than a rule with priority 1). DENY rules take precedence over ALLOW rules having + * equal priority. + */ public Integer getPriority() { return priority; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply to + * traffic that has source IP address within sourceRanges OR the source IP that belongs to a tag + * listed in the sourceTags property. The connection does not need to match both properties for + * the firewall to apply. Only IPv4 is supported. + */ public List getSourceRangesList() { return sourceRanges; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used to + * control traffic to an instance's external IP address because service accounts are associated + * with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account listed + * in sourceServiceAccount. The connection does not need to match both properties for the firewall + * to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags. + */ public List getSourceServiceAccountsList() { return sourceServiceAccounts; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same VPC + * network. Source tags cannot be used to control traffic to an instance's external IP address, it + * only applies to traffic between instances in the same virtual network. Because tags are + * associated with instances, not IP addresses. One or both of sourceRanges and sourceTags may be + * set. If both properties are set, the firewall will apply to traffic that has source IP address + * within sourceRanges OR the source IP that belongs to a tag listed in the sourceTags property. + * The connection does not need to match both properties for the firewall to apply. + */ public List getSourceTagsList() { return sourceTags; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the same + * time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public List getTargetServiceAccountsList() { return targetServiceAccounts; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one of + * those tags. If no targetTags are specified, the firewall rule applies to all instances on the + * specified network. + */ public List getTargetTagsList() { return targetTags; } @@ -388,10 +487,18 @@ public Builder mergeFrom(Firewall other) { this.targetTags = source.targetTags; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public List getAllowedList() { return allowed; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public Builder addAllAllowed(List allowed) { if (this.allowed == null) { this.allowed = new LinkedList<>(); @@ -400,6 +507,10 @@ public Builder addAllAllowed(List allowed) { return this; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public Builder addAllowed(Allowed allowed) { if (this.allowed == null) { this.allowed = new LinkedList<>(); @@ -408,19 +519,29 @@ public Builder addAllowed(Allowed allowed) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public List getDeniedList() { return denied; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public Builder addAllDenied(List denied) { if (this.denied == null) { this.denied = new LinkedList<>(); @@ -429,6 +550,10 @@ public Builder addAllDenied(List denied) { return this; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public Builder addDenied(Denied denied) { if (this.denied == null) { this.denied = new LinkedList<>(); @@ -437,19 +562,35 @@ public Builder addDenied(Denied denied) { return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public List getDestinationRangesList() { return destinationRanges; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public Builder addAllDestinationRanges(List destinationRanges) { if (this.destinationRanges == null) { this.destinationRanges = new LinkedList<>(); @@ -458,6 +599,11 @@ public Builder addAllDestinationRanges(List destinationRanges) { return this; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public Builder addDestinationRanges(String destinationRanges) { if (this.destinationRanges == null) { this.destinationRanges = new LinkedList<>(); @@ -466,91 +612,191 @@ public Builder addDestinationRanges(String destinationRanges) { return this; } + /** + * Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS + * traffic, it is NOT supported to specify destinationRanges; For EGRESS traffic, it is NOT + * supported to specify sourceRanges OR sourceTags. + */ public String getDirection() { return direction; } + /** + * Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS + * traffic, it is NOT supported to specify destinationRanges; For EGRESS traffic, it is NOT + * supported to specify sourceRanges OR sourceTags. + */ public Builder setDirection(String direction) { this.direction = direction; return this; } + /** + * Denotes whether the firewall rule is disabled, i.e not applied to the network it is + * associated with. When set to true, the firewall rule is not enforced and the network behaves + * as if it did not exist. If this is unspecified, the firewall rule will be enabled. + */ public Boolean getDisabled() { return disabled; } + /** + * Denotes whether the firewall rule is disabled, i.e not applied to the network it is + * associated with. When set to true, the firewall rule is not enforced and the network behaves + * as if it did not exist. If this is unspecified, the firewall rule will be enabled. + */ public Builder setDisabled(Boolean disabled) { this.disabled = disabled; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#firewall for firewall rules. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#firewall for firewall rules. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * This field denotes the logging options for a particular firewall rule. If logging is enabled, + * logs will be exported to Stackdriver. + */ public FirewallLogConfig getLogConfig() { return logConfig; } + /** + * This field denotes the logging options for a particular firewall rule. If logging is enabled, + * logs will be exported to Stackdriver. + */ public Builder setLogConfig(FirewallLogConfig logConfig) { this.logConfig = logConfig; return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the network resource for this firewall rule. If not specified when creating a firewall + * rule, the default network is used: global/networks/default If you choose to specify this + * property, you can specify the network as a full or partial URL. For example, the following + * are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - + * projects/myproject/global/networks/my-network - global/networks/default + */ public String getNetwork() { return network; } + /** + * URL of the network resource for this firewall rule. If not specified when creating a firewall + * rule, the default network is used: global/networks/default If you choose to specify this + * property, you can specify the network as a full or partial URL. For example, the following + * are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - + * projects/myproject/global/networks/my-network - global/networks/default + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not + * specified, the value assumed is 1000. Relative priorities determine precedence of conflicting + * rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has + * higher precedence than a rule with priority 1). DENY rules take precedence over ALLOW rules + * having equal priority. + */ public Integer getPriority() { return priority; } + /** + * Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not + * specified, the value assumed is 1000. Relative priorities determine precedence of conflicting + * rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has + * higher precedence than a rule with priority 1). DENY rules take precedence over ALLOW rules + * having equal priority. + */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply + * to traffic that has source IP address within sourceRanges OR the source IP that belongs to a + * tag listed in the sourceTags property. The connection does not need to match both properties + * for the firewall to apply. Only IPv4 is supported. + */ public List getSourceRangesList() { return sourceRanges; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply + * to traffic that has source IP address within sourceRanges OR the source IP that belongs to a + * tag listed in the sourceTags property. The connection does not need to match both properties + * for the firewall to apply. Only IPv4 is supported. + */ public Builder addAllSourceRanges(List sourceRanges) { if (this.sourceRanges == null) { this.sourceRanges = new LinkedList<>(); @@ -559,6 +805,14 @@ public Builder addAllSourceRanges(List sourceRanges) { return this; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply + * to traffic that has source IP address within sourceRanges OR the source IP that belongs to a + * tag listed in the sourceTags property. The connection does not need to match both properties + * for the firewall to apply. Only IPv4 is supported. + */ public Builder addSourceRanges(String sourceRanges) { if (this.sourceRanges == null) { this.sourceRanges = new LinkedList<>(); @@ -567,10 +821,32 @@ public Builder addSourceRanges(String sourceRanges) { return this; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used + * to control traffic to an instance's external IP address because service accounts are + * associated with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account + * listed in sourceServiceAccount. The connection does not need to match both properties for the + * firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or + * targetTags. + */ public List getSourceServiceAccountsList() { return sourceServiceAccounts; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used + * to control traffic to an instance's external IP address because service accounts are + * associated with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account + * listed in sourceServiceAccount. The connection does not need to match both properties for the + * firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or + * targetTags. + */ public Builder addAllSourceServiceAccounts(List sourceServiceAccounts) { if (this.sourceServiceAccounts == null) { this.sourceServiceAccounts = new LinkedList<>(); @@ -579,6 +855,17 @@ public Builder addAllSourceServiceAccounts(List sourceServiceAccounts) { return this; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used + * to control traffic to an instance's external IP address because service accounts are + * associated with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account + * listed in sourceServiceAccount. The connection does not need to match both properties for the + * firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or + * targetTags. + */ public Builder addSourceServiceAccounts(String sourceServiceAccounts) { if (this.sourceServiceAccounts == null) { this.sourceServiceAccounts = new LinkedList<>(); @@ -587,10 +874,32 @@ public Builder addSourceServiceAccounts(String sourceServiceAccounts) { return this; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same + * VPC network. Source tags cannot be used to control traffic to an instance's external IP + * address, it only applies to traffic between instances in the same virtual network. Because + * tags are associated with instances, not IP addresses. One or both of sourceRanges and + * sourceTags may be set. If both properties are set, the firewall will apply to traffic that + * has source IP address within sourceRanges OR the source IP that belongs to a tag listed in + * the sourceTags property. The connection does not need to match both properties for the + * firewall to apply. + */ public List getSourceTagsList() { return sourceTags; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same + * VPC network. Source tags cannot be used to control traffic to an instance's external IP + * address, it only applies to traffic between instances in the same virtual network. Because + * tags are associated with instances, not IP addresses. One or both of sourceRanges and + * sourceTags may be set. If both properties are set, the firewall will apply to traffic that + * has source IP address within sourceRanges OR the source IP that belongs to a tag listed in + * the sourceTags property. The connection does not need to match both properties for the + * firewall to apply. + */ public Builder addAllSourceTags(List sourceTags) { if (this.sourceTags == null) { this.sourceTags = new LinkedList<>(); @@ -599,6 +908,17 @@ public Builder addAllSourceTags(List sourceTags) { return this; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same + * VPC network. Source tags cannot be used to control traffic to an instance's external IP + * address, it only applies to traffic between instances in the same virtual network. Because + * tags are associated with instances, not IP addresses. One or both of sourceRanges and + * sourceTags may be set. If both properties are set, the firewall will apply to traffic that + * has source IP address within sourceRanges OR the source IP that belongs to a tag listed in + * the sourceTags property. The connection does not need to match both properties for the + * firewall to apply. + */ public Builder addSourceTags(String sourceTags) { if (this.sourceTags == null) { this.sourceTags = new LinkedList<>(); @@ -607,10 +927,22 @@ public Builder addSourceTags(String sourceTags) { return this; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the + * same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public List getTargetServiceAccountsList() { return targetServiceAccounts; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the + * same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public Builder addAllTargetServiceAccounts(List targetServiceAccounts) { if (this.targetServiceAccounts == null) { this.targetServiceAccounts = new LinkedList<>(); @@ -619,6 +951,12 @@ public Builder addAllTargetServiceAccounts(List targetServiceAccounts) { return this; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the + * same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public Builder addTargetServiceAccounts(String targetServiceAccounts) { if (this.targetServiceAccounts == null) { this.targetServiceAccounts = new LinkedList<>(); @@ -627,10 +965,22 @@ public Builder addTargetServiceAccounts(String targetServiceAccounts) { return this; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one + * of those tags. If no targetTags are specified, the firewall rule applies to all instances on + * the specified network. + */ public List getTargetTagsList() { return targetTags; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one + * of those tags. If no targetTags are specified, the firewall rule applies to all instances on + * the specified network. + */ public Builder addAllTargetTags(List targetTags) { if (this.targetTags == null) { this.targetTags = new LinkedList<>(); @@ -639,6 +989,12 @@ public Builder addAllTargetTags(List targetTags) { return this; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one + * of those tags. If no targetTags are specified, the firewall rule applies to all instances on + * the specified network. + */ public Builder addTargetTags(String targetTags) { if (this.targetTags == null) { this.targetTags = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java index 13dccaa88404..22769fd11467 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of firewalls. */ public final class FirewallList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Firewall resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(FirewallList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Firewall resources. */ public List getItemsList() { return items; } + /** A list of Firewall resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Firewall resources. */ public Builder addItems(Firewall items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Firewall items) { return this; } + /** [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java index b5a3606f0808..6f27852bdea2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** The available logging options for a firewall rule. */ public final class FirewallLogConfig implements ApiMessage { private final Boolean enable; @@ -55,6 +56,7 @@ public List getFieldMask() { return null; } + /** This field denotes whether to enable logging for a particular firewall rule. */ public Boolean getEnable() { return enable; } @@ -98,10 +100,12 @@ public Builder mergeFrom(FirewallLogConfig other) { this.enable = source.enable; } + /** This field denotes whether to enable logging for a particular firewall rule. */ public Boolean getEnable() { return enable; } + /** This field denotes whether to enable logging for a particular firewall rule. */ public Builder setEnable(Boolean enable) { this.enable = enable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java index 9530f06cef1d..ebdb8619b4a1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Encapsulates numeric value that can be either absolute or relative. */ public final class FixedOrPercent implements ApiMessage { private final Integer calculated; private final Integer fixed; @@ -67,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * [Output Only] Absolute value of VM instances calculated based on the specific mode. + * + *

- If the value is fixed, then the caculated value is equal to the fixed value. - If the + * value is a percent, then the calculated value is percent/100 * targetSize. For example, the + * calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * + * 150) = 120 VM instances. If there is a remainder, the number is rounded up. + */ public Integer getCalculated() { return calculated; } + /** Specifies a fixed number of VM instances. This must be a positive integer. */ public Integer getFixed() { return fixed; } + /** + * Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for + * 80%. + */ public Integer getPercent() { return percent; } @@ -128,28 +142,54 @@ public Builder mergeFrom(FixedOrPercent other) { this.percent = source.percent; } + /** + * [Output Only] Absolute value of VM instances calculated based on the specific mode. + * + *

- If the value is fixed, then the caculated value is equal to the fixed value. - If the + * value is a percent, then the calculated value is percent/100 * targetSize. For example, + * the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 + * * 150) = 120 VM instances. If there is a remainder, the number is rounded up. + */ public Integer getCalculated() { return calculated; } + /** + * [Output Only] Absolute value of VM instances calculated based on the specific mode. + * + *

- If the value is fixed, then the caculated value is equal to the fixed value. - If the + * value is a percent, then the calculated value is percent/100 * targetSize. For example, + * the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 + * * 150) = 120 VM instances. If there is a remainder, the number is rounded up. + */ public Builder setCalculated(Integer calculated) { this.calculated = calculated; return this; } + /** Specifies a fixed number of VM instances. This must be a positive integer. */ public Integer getFixed() { return fixed; } + /** Specifies a fixed number of VM instances. This must be a positive integer. */ public Builder setFixed(Integer fixed) { this.fixed = fixed; return this; } + /** + * Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for + * 80%. + */ public Integer getPercent() { return percent; } + /** + * Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for + * 80%. + */ public Builder setPercent(Integer percent) { this.percent = percent; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java index 6f53a1dae830..12dae2a519e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java @@ -26,6 +26,13 @@ @Generated("by GAPIC") @BetaApi +/** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. (== + * resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== resource_for + * beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== resource_for + * beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public final class ForwardingRule implements ApiMessage { private final String backendService; private final String creationTimestamp; @@ -196,82 +203,227 @@ public List getFieldMask() { return null; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the BackendService resource to receive + * the matched traffic. + */ public String getBackendService() { return backendService; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The IP address that this forwarding rule is serving on behalf of. + * + *

Addresses are restricted based on the forwarding rule's load balancing scheme (EXTERNAL or + * INTERNAL) and scope (global or regional). + * + *

When the load balancing scheme is EXTERNAL, for global forwarding rules, the address must be + * a global IP, and for regional forwarding rules, the address must live in the same region as the + * forwarding rule. If this field is empty, an ephemeral IPv4 address from the same scope (global + * or regional) will be assigned. A regional forwarding rule supports IPv4 only. A global + * forwarding rule supports either IPv4 or IPv6. + * + *

When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL reference to an + * existing Address resource ( internal regional static IP address), with a purpose of + * GCE_END_POINT and address_type of INTERNAL. + * + *

When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address + * belonging to the network/subnet configured for the forwarding rule. By default, if this field + * is empty, an ephemeral internal IP address will be automatically allocated from the IP range of + * the subnet or network configured for this forwarding rule. + * + *

An address can be specified either by a literal IP address or a URL reference to an existing + * Address resource. The following examples are all valid: - 100.1.2.3 - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address - + * projects/project/regions/region/addresses/address - regions/region/addresses/address - + * global/addresses/address - address + */ public String getIPAddress() { return iPAddress; } + /** + * The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or ICMP. + * + *

When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When the load + * balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. + */ public String getIPProtocol() { return iPProtocol; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. This + * can only be specified for an external global forwarding rule. + */ public String getIpVersion() { return ipVersion; } + /** + * [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule + * resources. + */ public String getKind() { return kind; } + /** + * This signifies what the ForwardingRule will be used for and can only take the following values: + * INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will be used + * for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED means that + * this will be used for Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be + * used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * This field is not used for external load balancing. + * + *

For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies the network + * that the load balanced IP should belong to for this Forwarding Rule. If this field is not + * specified, the default network will be used. + */ public String getNetwork() { return network; } + /** + * This signifies the networking tier used for configuring this load balancer and can only take + * the following values: PREMIUM , STANDARD. + * + *

For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For + * GlobalForwardingRule, the valid value is PREMIUM. + * + *

If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this + * value must be equal to the networkTier of the Address. + */ public String getNetworkTier() { return networkTier; } + /** + * This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, + * TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. + * + *

Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the + * specified range will be forwarded to target. Forwarding rules with the same [IPAddress, + * IPProtocol] pair must have disjoint port ranges. + * + *

Some types of forwarding target have constraints on the acceptable ports: - TargetHttpProxy: + * 80, 8080 - TargetHttpsProxy: 443 - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, + * 993, 995, 1688, 1883, 5222 - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, + * 995, 1688, 1883, 5222 - TargetVpnGateway: 500, 4500 + */ public String getPortRange() { return portRange; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for example, + * ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded to the + * backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public List getPortsList() { return ports; } + /** + * [Output Only] URL of the region where the regional forwarding rule resides. This field is not + * applicable to global forwarding rules. You must specify this field as part of the HTTP request + * URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * An optional prefix to the service name for this Forwarding Rule. If specified, will be the + * first label of the fully qualified service name. + * + *

The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + * + *

This field is only used for internal load balancing. + */ public String getServiceLabel() { return serviceLabel; } + /** + * [Output Only] The internal fully qualified service name for this Forwarding Rule. + * + *

This field is only used for internal load balancing. + */ public String getServiceName() { return serviceName; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the subnetwork that the load balanced IP + * should belong to for this Forwarding Rule. + * + *

If the network specified is in auto subnet mode, this field is optional. However, if the + * network is in custom subnet mode, a subnetwork must be specified. + */ public String getSubnetwork() { return subnetwork; } + /** + * The URL of the target resource to receive the matched traffic. For regional forwarding rules, + * this target must live in the same region as the forwarding rule. For global forwarding rules, + * this target must be a global load balancing resource. The forwarded traffic must be of a type + * appropriate to the target object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and + * HTTPS targets are valid. + */ public String getTarget() { return target; } @@ -410,127 +562,345 @@ public Builder mergeFrom(ForwardingRule other) { this.target = source.target; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the BackendService resource to receive + * the matched traffic. + */ public String getBackendService() { return backendService; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the BackendService resource to receive + * the matched traffic. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The IP address that this forwarding rule is serving on behalf of. + * + *

Addresses are restricted based on the forwarding rule's load balancing scheme (EXTERNAL or + * INTERNAL) and scope (global or regional). + * + *

When the load balancing scheme is EXTERNAL, for global forwarding rules, the address must + * be a global IP, and for regional forwarding rules, the address must live in the same region + * as the forwarding rule. If this field is empty, an ephemeral IPv4 address from the same scope + * (global or regional) will be assigned. A regional forwarding rule supports IPv4 only. A + * global forwarding rule supports either IPv4 or IPv6. + * + *

When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL reference to + * an existing Address resource ( internal regional static IP address), with a purpose of + * GCE_END_POINT and address_type of INTERNAL. + * + *

When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address + * belonging to the network/subnet configured for the forwarding rule. By default, if this field + * is empty, an ephemeral internal IP address will be automatically allocated from the IP range + * of the subnet or network configured for this forwarding rule. + * + *

An address can be specified either by a literal IP address or a URL reference to an + * existing Address resource. The following examples are all valid: - 100.1.2.3 - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address - + * projects/project/regions/region/addresses/address - regions/region/addresses/address - + * global/addresses/address - address + */ public String getIPAddress() { return iPAddress; } + /** + * The IP address that this forwarding rule is serving on behalf of. + * + *

Addresses are restricted based on the forwarding rule's load balancing scheme (EXTERNAL or + * INTERNAL) and scope (global or regional). + * + *

When the load balancing scheme is EXTERNAL, for global forwarding rules, the address must + * be a global IP, and for regional forwarding rules, the address must live in the same region + * as the forwarding rule. If this field is empty, an ephemeral IPv4 address from the same scope + * (global or regional) will be assigned. A regional forwarding rule supports IPv4 only. A + * global forwarding rule supports either IPv4 or IPv6. + * + *

When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL reference to + * an existing Address resource ( internal regional static IP address), with a purpose of + * GCE_END_POINT and address_type of INTERNAL. + * + *

When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address + * belonging to the network/subnet configured for the forwarding rule. By default, if this field + * is empty, an ephemeral internal IP address will be automatically allocated from the IP range + * of the subnet or network configured for this forwarding rule. + * + *

An address can be specified either by a literal IP address or a URL reference to an + * existing Address resource. The following examples are all valid: - 100.1.2.3 - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address - + * projects/project/regions/region/addresses/address - regions/region/addresses/address - + * global/addresses/address - address + */ public Builder setIPAddress(String iPAddress) { this.iPAddress = iPAddress; return this; } + /** + * The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or + * ICMP. + * + *

When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When the load + * balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. + */ public String getIPProtocol() { return iPProtocol; } + /** + * The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or + * ICMP. + * + *

When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When the load + * balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. + */ public Builder setIPProtocol(String iPProtocol) { this.iPProtocol = iPProtocol; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. + * This can only be specified for an external global forwarding rule. + */ public String getIpVersion() { return ipVersion; } + /** + * The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. + * This can only be specified for an external global forwarding rule. + */ public Builder setIpVersion(String ipVersion) { this.ipVersion = ipVersion; return this; } + /** + * [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule + * resources. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule + * resources. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * This signifies what the ForwardingRule will be used for and can only take the following + * values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will + * be used for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED + * means that this will be used for Internal Global HTTP(S) LB. The value of EXTERNAL means that + * this will be used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * This signifies what the ForwardingRule will be used for and can only take the following + * values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will + * be used for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED + * means that this will be used for Internal Global HTTP(S) LB. The value of EXTERNAL means that + * this will be used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) + */ public Builder setLoadBalancingScheme(String loadBalancingScheme) { this.loadBalancingScheme = loadBalancingScheme; return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * This field is not used for external load balancing. + * + *

For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies the network + * that the load balanced IP should belong to for this Forwarding Rule. If this field is not + * specified, the default network will be used. + */ public String getNetwork() { return network; } + /** + * This field is not used for external load balancing. + * + *

For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies the network + * that the load balanced IP should belong to for this Forwarding Rule. If this field is not + * specified, the default network will be used. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * This signifies the networking tier used for configuring this load balancer and can only take + * the following values: PREMIUM , STANDARD. + * + *

For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For + * GlobalForwardingRule, the valid value is PREMIUM. + * + *

If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, + * this value must be equal to the networkTier of the Address. + */ public String getNetworkTier() { return networkTier; } + /** + * This signifies the networking tier used for configuring this load balancer and can only take + * the following values: PREMIUM , STANDARD. + * + *

For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For + * GlobalForwardingRule, the valid value is PREMIUM. + * + *

If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, + * this value must be equal to the networkTier of the Address. + */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; } + /** + * This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, + * TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. + * + *

Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in + * the specified range will be forwarded to target. Forwarding rules with the same [IPAddress, + * IPProtocol] pair must have disjoint port ranges. + * + *

Some types of forwarding target have constraints on the acceptable ports: - + * TargetHttpProxy: 80, 8080 - TargetHttpsProxy: 443 - TargetTcpProxy: 25, 43, 110, 143, 195, + * 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetSslProxy: 25, 43, 110, 143, 195, 443, + * 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetVpnGateway: 500, 4500 + */ public String getPortRange() { return portRange; } + /** + * This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, + * TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. + * + *

Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in + * the specified range will be forwarded to target. Forwarding rules with the same [IPAddress, + * IPProtocol] pair must have disjoint port ranges. + * + *

Some types of forwarding target have constraints on the acceptable ports: - + * TargetHttpProxy: 80, 8080 - TargetHttpsProxy: 443 - TargetTcpProxy: 25, 43, 110, 143, 195, + * 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetSslProxy: 25, 43, 110, 143, 195, 443, + * 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetVpnGateway: 500, 4500 + */ public Builder setPortRange(String portRange) { this.portRange = portRange; return this; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for + * example, ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded + * to the backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public List getPortsList() { return ports; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for + * example, ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded + * to the backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public Builder addAllPorts(List ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -539,6 +909,15 @@ public Builder addAllPorts(List ports) { return this; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for + * example, ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded + * to the backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public Builder addPorts(String ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -547,55 +926,133 @@ public Builder addPorts(String ports) { return this; } + /** + * [Output Only] URL of the region where the regional forwarding rule resides. This field is not + * applicable to global forwarding rules. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional forwarding rule resides. This field is not + * applicable to global forwarding rules. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * An optional prefix to the service name for this Forwarding Rule. If specified, will be the + * first label of the fully qualified service name. + * + *

The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + * + *

This field is only used for internal load balancing. + */ public String getServiceLabel() { return serviceLabel; } + /** + * An optional prefix to the service name for this Forwarding Rule. If specified, will be the + * first label of the fully qualified service name. + * + *

The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + * + *

This field is only used for internal load balancing. + */ public Builder setServiceLabel(String serviceLabel) { this.serviceLabel = serviceLabel; return this; } + /** + * [Output Only] The internal fully qualified service name for this Forwarding Rule. + * + *

This field is only used for internal load balancing. + */ public String getServiceName() { return serviceName; } + /** + * [Output Only] The internal fully qualified service name for this Forwarding Rule. + * + *

This field is only used for internal load balancing. + */ public Builder setServiceName(String serviceName) { this.serviceName = serviceName; return this; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the subnetwork that the load balanced + * IP should belong to for this Forwarding Rule. + * + *

If the network specified is in auto subnet mode, this field is optional. However, if the + * network is in custom subnet mode, a subnetwork must be specified. + */ public String getSubnetwork() { return subnetwork; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the subnetwork that the load balanced + * IP should belong to for this Forwarding Rule. + * + *

If the network specified is in auto subnet mode, this field is optional. However, if the + * network is in custom subnet mode, a subnetwork must be specified. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** + * The URL of the target resource to receive the matched traffic. For regional forwarding rules, + * this target must live in the same region as the forwarding rule. For global forwarding rules, + * this target must be a global load balancing resource. The forwarded traffic must be of a type + * appropriate to the target object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and + * HTTPS targets are valid. + */ public String getTarget() { return target; } + /** + * The URL of the target resource to receive the matched traffic. For regional forwarding rules, + * this target must live in the same region as the forwarding rule. For global forwarding rules, + * this target must be a global load balancing resource. The forwarded traffic must be of a type + * appropriate to the target object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and + * HTTPS targets are valid. + */ public Builder setTarget(String target) { this.target = target; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java index 091bc25300ad..6461a6af5b4c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of ForwardingRulesScopedList resources. The key for the map is: Name of the scope + * containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of + * forwarding rules. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(ForwardingRuleAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of ForwardingRulesScopedList resources. The key for the map is: Name of the scope + * containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * A list of ForwardingRulesScopedList resources. The key for the map is: Name of the scope + * containing this set of addresses. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of + * forwarding rules. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of + * forwarding rules. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java index 4e23b050922e..db2b54776d65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of ForwardingRule resources. */ public final class ForwardingRuleList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of ForwardingRule resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(ForwardingRuleList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of ForwardingRule resources. */ public List getItemsList() { return items; } + /** A list of ForwardingRule resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of ForwardingRule resources. */ public Builder addItems(ForwardingRule items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(ForwardingRule items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java index 70bde46793ed..ca0ed2f01daf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of forwarding rules contained in this scope. */ public List getForwardingRulesList() { return forwardingRules; } + /** Informational warning which replaces the list of forwarding rules when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(ForwardingRulesScopedList other) { this.warning = source.warning; } + /** A list of forwarding rules contained in this scope. */ public List getForwardingRulesList() { return forwardingRules; } + /** A list of forwarding rules contained in this scope. */ public Builder addAllForwardingRules(List forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllForwardingRules(List forwardingRules) { return this; } + /** A list of forwarding rules contained in this scope. */ public Builder addForwardingRules(ForwardingRule forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addForwardingRules(ForwardingRule forwardingRules) { return this; } + /** Informational warning which replaces the list of forwarding rules when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of forwarding rules when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java index 4264e0dab754..0534b3ce1e4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java @@ -108,34 +108,49 @@ public List getFieldMask() { return null; } + /** + * Name of the accelerator type to return. It must have the format + * `{project}/zones/{zone}/acceleratorTypes/{acceleratorType}`. \`{acceleratorType}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getAcceleratorType() { return acceleratorType; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -214,73 +229,103 @@ public Builder mergeFrom(GetAcceleratorTypeHttpRequest other) { this.userIp = source.userIp; } + /** + * Name of the accelerator type to return. It must have the format + * `{project}/zones/{zone}/acceleratorTypes/{acceleratorType}`. \`{acceleratorType}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getAcceleratorType() { return acceleratorType; } + /** + * Name of the accelerator type to return. It must have the format + * `{project}/zones/{zone}/acceleratorTypes/{acceleratorType}`. \`{acceleratorType}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setAcceleratorType(String acceleratorType) { this.acceleratorType = acceleratorType; return this; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java index a7ee035478b6..89486a2a0259 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java @@ -106,34 +106,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to return. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetAddressHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the address resource to return. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** + * Name of the address resource to return. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setAddress(String address) { this.address = address; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java index 9c967c21109f..88e3d3ec5cb4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetAutoscalerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java index c64e2f28031c..2f853a8b2053 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to return. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetBackendBucketHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendBucket resource to return. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to return. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java index 6f9e0cf15143..4b3846404893 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java index 8edb6a4cbc36..ea899ca95b01 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect resource to query. It must have the format + * `{project}/global/interconnects/{interconnect}/getDiagnostics`. \`{interconnect}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetDiagnosticsInterconnectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect resource to query. It must have the format + * `{project}/global/interconnects/{interconnect}/getDiagnostics`. \`{interconnect}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** + * Name of the interconnect resource to query. It must have the format + * `{project}/global/interconnects/{interconnect}/getDiagnostics`. \`{interconnect}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInterconnect(String interconnect) { this.interconnect = interconnect; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java index 793c09c60b48..60cf4065ade4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the persistent disk to return. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the persistent disk to return. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * Name of the persistent disk to return. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java index 8456395c88e0..69f9ac37dc14 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the disk type to return. It must have the format + * `{project}/zones/{zone}/diskTypes/{diskType}`. \`{diskType}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDiskType() { return diskType; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetDiskTypeHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the disk type to return. It must have the format + * `{project}/zones/{zone}/diskTypes/{diskType}`. \`{diskType}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDiskType() { return diskType; } + /** + * Name of the disk type to return. It must have the format + * `{project}/zones/{zone}/diskTypes/{diskType}`. \`{diskType}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setDiskType(String diskType) { this.diskType = diskType; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java index 9e75c3540675..1193d6a23b8c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java @@ -106,34 +106,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the firewall rule to return. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetFirewallHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the firewall rule to return. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** + * Name of the firewall rule to return. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setFirewall(String firewall) { this.firewall = firewall; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java index 51c823aea92a..e65a38ffb0e4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java index 94608fe06e57..853825a0c111 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the image family to search for. It must have the format + * `{project}/global/images/family/{family}`. \`{family}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFamily() { return family; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetFromFamilyImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the image family to search for. It must have the format + * `{project}/global/images/family/{family}`. \`{family}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFamily() { return family; } + /** + * Name of the image family to search for. It must have the format + * `{project}/global/images/family/{family}`. \`{family}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setFamily(String family) { this.family = family; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java index 1850c814653d..0e07b218bc98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to return. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetGlobalAddressHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the address resource to return. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getAddress() { return address; } + /** + * Name of the address resource to return. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setAddress(String address) { this.address = address; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java index fa21c8497cf0..8f2f4519eee9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java @@ -110,34 +110,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -216,73 +231,103 @@ public Builder mergeFrom(GetGlobalForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java index f4fe008506e8..bd7716e410f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetGlobalOperationHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setOperation(String operation) { this.operation = operation; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java index 3e3f8db74f5f..4e9da245a254 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the queried instance belongs. It must have the + * format `{project}/global/backendServices/{backendService}/getHealth`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -148,6 +162,7 @@ public ResourceGroupReference getResourceGroupReferenceResource() { return resourceGroupReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(GetHealthBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to which the queried instance belongs. It must have the + * format `{project}/global/backendServices/{backendService}/getHealth`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the queried instance belongs. It must have the + * format `{project}/global/backendServices/{backendService}/getHealth`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -304,10 +347,12 @@ public Builder setResourceGroupReferenceResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java index 764c9a78da21..39f1e8de796e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HealthCheck resource to return. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HealthCheck resource to return. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to return. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java index 6c9d1aafb613..cc616e295afb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource for which to get health. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}/getHealth`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -148,6 +162,7 @@ public ResourceGroupReference getResourceGroupReferenceResource() { return resourceGroupReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(GetHealthRegionBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource for which to get health. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}/getHealth`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource for which to get health. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}/getHealth`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -304,10 +347,12 @@ public Builder setResourceGroupReferenceResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java index d3700cfbdd9e..8a96352ef9b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java @@ -116,14 +116,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -132,22 +135,34 @@ public InstanceReference getInstanceReferenceResource() { return instanceReferenceResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetPool resource to which the queried instance belongs. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/getHealth`. \`{targetPool}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +246,34 @@ public Builder mergeFrom(GetHealthTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -267,46 +288,70 @@ public Builder setInstanceReferenceResource(InstanceReference instanceReferenceR return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetPool resource to which the queried instance belongs. It must have the + * format `{project}/regions/{region}/targetPools/{targetPool}/getHealth`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to which the queried instance belongs. It must have the + * format `{project}/regions/{region}/targetPools/{targetPool}/getHealth`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java index f510156f1bba..7dc03fd1573b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpHealthCheck resource to return. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetHttpHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpHealthCheck resource to return. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to return. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java index 3a4d582457be..ec9532e514e9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpsHealthCheck resource to return. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetHttpsHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpsHealthCheck resource to return. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to return. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java index ec954adda104..d8a6f0044bf8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java index bdc3b767e990..40fa14fefb1d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/getIamPolicy`. \`{resource}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetIamPolicyImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/getIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/getIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java index d8a8e345b9ea..cba3d62f13e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java index 23767076f913..fa5305ecd342 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyInstanceTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/getIamPolicy`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/getIamPolicy`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java index 090d0dd16f33..2baa20f94c03 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/getIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetIamPolicyLicenseHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/getIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/getIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java index 88efabc8eb35..372003ac5290 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyNodeGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java index 5ac13556ee4a..0a31e73b9975 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyNodeTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java index c4973a316426..fb622c501932 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/getIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetIamPolicySnapshotHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/getIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java index 57c10b855ae2..e1a8ae4141ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/getIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicySubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/getIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/getIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java index 9dce888268bf..bb07537299ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the image resource to return. It must have the format + * `{project}/global/images/{image}`. \`{image}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getImage() { return image; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the image resource to return. It must have the format + * `{project}/global/images/{image}`. \`{image}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getImage() { return image; } + /** + * Name of the image resource to return. It must have the format + * `{project}/global/images/{image}`. \`{image}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setImage(String image) { this.image = image; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java index e503bf5590db..3acc1f0cb21b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetInstanceGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java index 4afa03097f9d..8964fe172260 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java @@ -110,34 +110,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -216,73 +231,103 @@ public Builder mergeFrom(GetInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java index 512b3a1fd135..cafa2181931a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance resource to return. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance resource to return. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance resource to return. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java index 3eb189bd7ba3..5ec87e1a4961 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance template. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetInstanceTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance template. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * The name of the instance template. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java index a42205c6a79d..2fd8575bdecd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect attachment to return. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInterconnectAttachment() { return interconnectAttachment; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetInterconnectAttachmentHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect attachment to return. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInterconnectAttachment() { return interconnectAttachment; } + /** + * Name of the interconnect attachment to return. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setInterconnectAttachment(String interconnectAttachment) { this.interconnectAttachment = interconnectAttachment; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java index 0b115aa2a5b9..343fec9148e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect to return. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetInterconnectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect to return. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** + * Name of the interconnect to return. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInterconnect(String interconnect) { this.interconnect = interconnect; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java index e0f1a4a5a0cb..13a293e91fb7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java @@ -110,34 +110,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect location to return. It must have the format + * `{project}/global/interconnectLocations/{interconnectLocation}`. \`{interconnectLocation}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getInterconnectLocation() { return interconnectLocation; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -216,73 +231,103 @@ public Builder mergeFrom(GetInterconnectLocationHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect location to return. It must have the format + * `{project}/global/interconnectLocations/{interconnectLocation}`. \`{interconnectLocation}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getInterconnectLocation() { return interconnectLocation; } + /** + * Name of the interconnect location to return. It must have the format + * `{project}/global/interconnectLocations/{interconnectLocation}`. \`{interconnectLocation}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setInterconnectLocation(String interconnectLocation) { this.interconnectLocation = interconnectLocation; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java index 4990f56aa23e..637c46956aa2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Number corresponding to the License code resource to return. It must have the format + * `{project}/global/licenseCodes/{licenseCode}`. \`{licenseCode}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getLicenseCode() { return licenseCode; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetLicenseCodeHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Number corresponding to the License code resource to return. It must have the format + * `{project}/global/licenseCodes/{licenseCode}`. \`{licenseCode}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getLicenseCode() { return licenseCode; } + /** + * Number corresponding to the License code resource to return. It must have the format + * `{project}/global/licenseCodes/{licenseCode}`. \`{licenseCode}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setLicenseCode(String licenseCode) { this.licenseCode = licenseCode; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java index 1a82820f90e8..86d41ff0faea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java @@ -106,34 +106,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the License resource to return. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getLicense() { return license; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetLicenseHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the License resource to return. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getLicense() { return license; } + /** + * Name of the License resource to return. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setLicense(String license) { this.license = license; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java index d938c1ba1c55..a481f0c1a22f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the machine type to return. It must have the format + * `{project}/zones/{zone}/machineTypes/{machineType}`. \`{machineType}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getMachineType() { return machineType; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetMachineTypeHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the machine type to return. It must have the format + * `{project}/zones/{zone}/machineTypes/{machineType}`. \`{machineType}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getMachineType() { return machineType; } + /** + * Name of the machine type to return. It must have the format + * `{project}/zones/{zone}/machineTypes/{machineType}`. \`{machineType}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setMachineType(String machineType) { this.machineType = machineType; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java index 57d5b63889fe..e5ca0488d647 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java @@ -137,50 +137,105 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to query for Nat Mapping information of VM endpoints. It must have + * the format `{project}/regions/{region}/routers/{router}/getNatMappingInfo`. \`{router}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +334,221 @@ public Builder mergeFrom(GetNatMappingInfoRoutersHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to query for Nat Mapping information of VM endpoints. It must + * have the format `{project}/regions/{region}/routers/{router}/getNatMappingInfo`. \`{router}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** + * Name of the Router resource to query for Nat Mapping information of VM endpoints. It must + * have the format `{project}/regions/{region}/routers/{router}/getNatMappingInfo`. \`{router}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java index 8f15aace5180..22accf3b4d8d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to return. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetNetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the network to return. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } + /** + * Name of the network to return. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java index 59ba74eb31ae..87f1a27084ab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java @@ -110,34 +110,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the node group to return. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -216,73 +230,103 @@ public Builder mergeFrom(GetNodeGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the node group to return. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** + * Name of the node group to return. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java index fe86ff9c2a3d..404c0ccc0ef1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the node template to return. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeTemplate() { return nodeTemplate; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetNodeTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the node template to return. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeTemplate() { return nodeTemplate; } + /** + * Name of the node template to return. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java index 510205c5d946..f1d81ac5001f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the node type to return. It must have the format + * `{project}/zones/{zone}/nodeTypes/{nodeType}`. \`{nodeType}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getNodeType() { return nodeType; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetNodeTypeHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the node type to return. It must have the format + * `{project}/zones/{zone}/nodeTypes/{nodeType}`. \`{nodeType}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getNodeType() { return nodeType; } + /** + * Name of the node type to return. It must have the format + * `{project}/zones/{zone}/nodeTypes/{nodeType}`. \`{nodeType}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setNodeType(String nodeType) { this.nodeType = nodeType; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java index 468242cccd8e..3debc44d4e28 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java @@ -106,34 +106,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}`. \`{project}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}`. \`{project}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}`. \`{project}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java index e98fcff1281f..cc0161ac9af3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java @@ -106,34 +106,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -212,73 +227,103 @@ public Builder mergeFrom(GetRegionAutoscalerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java index e7d64adb2e05..760667a64f4d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java index a1f0781e51c1..e906de944763 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the commitment to return. It must have the format + * `{project}/regions/{region}/commitments/{commitment}`. \`{commitment}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getCommitment() { return commitment; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionCommitmentHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the commitment to return. It must have the format + * `{project}/regions/{region}/commitments/{commitment}`. \`{commitment}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getCommitment() { return commitment; } + /** + * Name of the commitment to return. It must have the format + * `{project}/regions/{region}/commitments/{commitment}`. \`{commitment}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setCommitment(String commitment) { this.commitment = commitment; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java index 67eb9139d2f2..28cdec399070 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java @@ -108,34 +108,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the regional persistent disk to return. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -214,73 +228,101 @@ public Builder mergeFrom(GetRegionDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the regional persistent disk to return. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * Name of the regional persistent disk to return. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java index f6ded4308cab..4e33f827944f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the disk type to return. It must have the format + * `{project}/regions/{region}/diskTypes/{diskType}`. \`{diskType}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDiskType() { return diskType; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetRegionDiskTypeHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the disk type to return. It must have the format + * `{project}/regions/{region}/diskTypes/{diskType}`. \`{diskType}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getDiskType() { return diskType; } + /** + * Name of the disk type to return. It must have the format + * `{project}/regions/{region}/diskTypes/{diskType}`. \`{diskType}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setDiskType(String diskType) { this.diskType = diskType; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java index 6064f84949a9..f714c1c83cba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region resource to return. It must have the format `{project}/regions/{region}`. + * \`{region}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetRegionHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region resource to return. It must have the format `{project}/regions/{region}`. + * \`{region}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region resource to return. It must have the format `{project}/regions/{region}`. + * \`{region}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java index 7bce0948f53a..2d2d805575d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance group resource to return. It must have the format + * `{project}/regions/{region}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionInstanceGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance group resource to return. It must have the format + * `{project}/regions/{region}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * Name of the instance group resource to return. It must have the format + * `{project}/regions/{region}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java index 89c959aec24b..eec02f9eeba9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the managed instance group to return. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the managed instance group to return. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group to return. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java index 3a1d85a414bb..bd302b0d0e66 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetRegionOperationHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getOperation() { return operation; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setOperation(String operation) { this.operation = operation; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java index 1970d62d5912..08fcf2a000c3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Route resource to return. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRoute() { return route; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetRouteHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Route resource to return. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRoute() { return route; } + /** + * Name of the Route resource to return. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRoute(String route) { this.route = route; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java index 17bc0b1689ab..2a3a7ddd9da0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to return. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetRouterHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to return. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** + * Name of the Router resource to return. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java index d143d3482ec5..c79fdc10941e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/getRouterStatus`. \`{router}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRouterStatusRouterHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/getRouterStatus`. \`{router}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getRouter() { return router; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/getRouterStatus`. \`{router}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java index 70d0b7b25425..0f4f90c1c5bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java @@ -116,38 +116,54 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** The priority of the rule to get from the security policy. */ public Integer getPriority() { return priority; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to which the queried rule belongs. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/getRule`. \`{securityPolicy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +247,114 @@ public Builder mergeFrom(GetRuleSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** The priority of the rule to get from the security policy. */ public Integer getPriority() { return priority; } + /** The priority of the rule to get from the security policy. */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to which the queried rule belongs. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/getRule`. \`{securityPolicy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to which the queried rule belongs. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/getRule`. \`{securityPolicy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java index 7dafc9f892a0..0ddba6bf30b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to get. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to get. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to get. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java index c7d58394ea06..a5b4f160e489 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java @@ -123,42 +123,64 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/serialPort`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Specifies which COM or serial port to retrieve data from. */ public Integer getPort() { return port; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Returns output starting from a specific byte position. Use this to page through output when the + * output is too large to return in a single request. For the initial request, leave this field + * unspecified. For subsequent calls, this field should be set to the next value returned in the + * previous call. + */ public String getStart() { return start; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +269,135 @@ public Builder mergeFrom(GetSerialPortOutputInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/serialPort`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/serialPort`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Specifies which COM or serial port to retrieve data from. */ public Integer getPort() { return port; } + /** Specifies which COM or serial port to retrieve data from. */ public Builder setPort(Integer port) { this.port = port; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Returns output starting from a specific byte position. Use this to page through output when + * the output is too large to return in a single request. For the initial request, leave this + * field unspecified. For subsequent calls, this field should be set to the next value returned + * in the previous call. + */ public String getStart() { return start; } + /** + * Returns output starting from a specific byte position. Use this to page through output when + * the output is too large to return in a single request. For the initial request, leave this + * field unspecified. For subsequent calls, this field should be set to the next value returned + * in the previous call. + */ public Builder setStart(String start) { this.start = start; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java index 7160f58338a9..9e959f6b79fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Snapshot resource to return. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getSnapshot() { return snapshot; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetSnapshotHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Snapshot resource to return. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getSnapshot() { return snapshot; } + /** + * Name of the Snapshot resource to return. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setSnapshot(String snapshot) { this.snapshot = snapshot; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java index b52da1ff1d6b..2563e6b3f497 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the SslCertificate resource to return. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSslCertificate() { return sslCertificate; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSslCertificateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the SslCertificate resource to return. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSslCertificate() { return sslCertificate; } + /** + * Name of the SslCertificate resource to return. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSslCertificate(String sslCertificate) { this.sslCertificate = sslCertificate; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java index e4c07b4d58e8..0ed3599cbf6c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getSslPolicy() { return sslPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSslPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getSslPolicy() { return sslPolicy; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java index f25fbe154efa..d0bdb0be84c5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Subnetwork resource to return. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Subnetwork resource to return. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to return. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java index b1b69608e688..f76e2bdeb119 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetHttpProxy resource to return. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpProxy() { return targetHttpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetHttpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetHttpProxy resource to return. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpProxy() { return targetHttpProxy; } + /** + * Name of the TargetHttpProxy resource to return. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetHttpProxy(String targetHttpProxy) { this.targetHttpProxy = targetHttpProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java index 9f5b7fa18e68..2ab85ff75a75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetHttpsProxy resource to return. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetHttpsProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetHttpsProxy resource to return. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to return. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java index fb0c6b17b50c..d6652cdc0119 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetInstance resource to return. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetInstance() { return targetInstance; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetInstance resource to return. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getTargetInstance() { return targetInstance; } + /** + * Name of the TargetInstance resource to return. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setTargetInstance(String targetInstance) { this.targetInstance = targetInstance; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java index dff189b9c777..5bff929a8a21 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetPool resource to return. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetPool resource to return. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to return. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java index 78baa22e9e50..0240798eb174 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetSslProxy resource to return. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetSslProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetSslProxy resource to return. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource to return. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java index 6e6613388a5c..db1eff873ffb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetTcpProxy resource to return. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetTcpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetTcpProxy resource to return. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource to return. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java index bf80297dba15..7639612a8465 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the target VPN gateway to return. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetVpnGateway() { return targetVpnGateway; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetVpnGatewayHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the target VPN gateway to return. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getTargetVpnGateway() { return targetVpnGateway; } + /** + * Name of the target VPN gateway to return. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setTargetVpnGateway(String targetVpnGateway) { this.targetVpnGateway = targetVpnGateway; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java index 650e80179950..d694fbffa77f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the UrlMap resource to return. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetUrlMapHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the UrlMap resource to return. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to return. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java index ac7d7c144ff6..4d66182628c9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the VpnTunnel resource to return. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getVpnTunnel() { return vpnTunnel; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetVpnTunnelHttpRequest other) { this.vpnTunnel = source.vpnTunnel; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the VpnTunnel resource to return. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getVpnTunnel() { return vpnTunnel; } + /** + * Name of the VpnTunnel resource to return. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setVpnTunnel(String vpnTunnel) { this.vpnTunnel = vpnTunnel; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java index e3d93ef43744..00a994803d64 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/getXpnHost`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetXpnHostProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/getXpnHost`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/getXpnHost`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java index eebab2bb66b6..a43fc839e472 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/getXpnResources`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(GetXpnResourcesProjectsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/getXpnResources`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/getXpnResources`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java index bef4a1561495..873e0f39f198 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone resource to return. It must have the format `{project}/zones/{zone}`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetZoneHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone resource to return. It must have the format `{project}/zones/{zone}`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone resource to return. It must have the format `{project}/zones/{zone}`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java index 84c8c56fb868..ce7f60a182b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetZoneOperationHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getOperation() { return operation; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setOperation(String operation) { this.operation = operation; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java index a26c792ee44c..8387db8c7981 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java @@ -62,10 +62,25 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The + * fingerprint is initially generated by Compute Engine and changes after every request to modify + * or update labels. You must always provide an up-to-date fingerprint hash when updating or + * changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() + * request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A list of labels to apply for this resource. Each label key & value must comply with + * RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. For example, "webserver-frontend": "images". A label value + * can also be empty (e.g. "my-label": ""). + */ public Map getLabelsMap() { return labels; } @@ -114,19 +129,49 @@ public Builder mergeFrom(GlobalSetLabelsRequest other) { this.labels = source.labels; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash when updating + * or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a + * get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash when updating + * or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a + * get() request to the resource to get the latest fingerprint. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** + * A list of labels to apply for this resource. Each label key & value must comply with + * RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. For example, "webserver-frontend": "images". A label value + * can also be empty (e.g. "my-label": ""). + */ public Map getLabelsMap() { return labels; } + /** + * A list of labels to apply for this resource. Each label key & value must comply with + * RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. For example, "webserver-frontend": "images". A label value + * can also be empty (e.g. "my-label": ""). + */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java index a7384bb75cac..25ac5ff4c1e3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java @@ -68,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * the etag. + */ public String getEtag() { return etag; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } @@ -129,10 +142,18 @@ public Builder mergeFrom(GlobalSetPolicyRequest other) { this.policy = source.policy; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -141,6 +162,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -149,19 +174,37 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public String getEtag() { return etag; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public Builder setEtag(String etag) { this.etag = etag; return this; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Builder setPolicy(Policy policy) { this.policy = policy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java index 6b59fa06c2ac..183c67522521 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Guest OS features. */ public final class GuestOsFeature implements ApiMessage { private final String type; @@ -55,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The ID of a supported feature. Read Enabling guest operating system features to see a list of + * available options. + */ public String getType() { return type; } @@ -98,10 +103,18 @@ public Builder mergeFrom(GuestOsFeature other) { this.type = source.type; } + /** + * The ID of a supported feature. Read Enabling guest operating system features to see a list of + * available options. + */ public String getType() { return type; } + /** + * The ID of a supported feature. Read Enabling guest operating system features to see a list of + * available options. + */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java index 88bdfc719a47..064f09a2b2cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public final class HealthCheck implements ApiMessage { private final Integer checkIntervalSec; private final String creationTimestamp; @@ -154,18 +158,27 @@ public List getFieldMask() { return null; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** [Output Only] Creation timestamp in 3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } @@ -178,18 +191,30 @@ public HttpSHealthCheck getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** Type of the resource. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -202,14 +227,27 @@ public TCPHealthCheck getTcpHealthCheck() { return tcpHealthCheck; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the + * default is TCP. Exactly one of the protocol-specific health check field must be specified, + * which must match type field. + */ public String getType() { return type; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } @@ -323,37 +361,55 @@ public Builder mergeFrom(HealthCheck other) { this.unhealthyThreshold = source.unhealthyThreshold; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Builder setCheckIntervalSec(Integer checkIntervalSec) { this.checkIntervalSec = checkIntervalSec; return this; } + /** [Output Only] Creation timestamp in 3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in 3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Builder setHealthyThreshold(Integer healthyThreshold) { this.healthyThreshold = healthyThreshold; return this; @@ -377,37 +433,63 @@ public Builder setHttpsHealthCheck(HttpSHealthCheck httpsHealthCheck) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** Type of the resource. */ public String getKind() { return kind; } + /** Type of the resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; @@ -431,28 +513,54 @@ public Builder setTcpHealthCheck(TCPHealthCheck tcpHealthCheck) { return this; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; } + /** + * Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the + * default is TCP. Exactly one of the protocol-specific health check field must be specified, + * which must match type field. + */ public String getType() { return type; } + /** + * Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the + * default is TCP. Exactly one of the protocol-specific health check field must be specified, + * which must match type field. + */ public Builder setType(String type) { this.type = type; return this; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Builder setUnhealthyThreshold(Integer unhealthyThreshold) { this.unhealthyThreshold = unhealthyThreshold; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java index 5cc52cfc92a5..5e111c720300 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of HealthCheck resources. */ public final class HealthCheckList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of HealthCheck resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(HealthCheckList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of HealthCheck resources. */ public List getItemsList() { return items; } + /** A list of HealthCheck resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of HealthCheck resources. */ public Builder addItems(HealthCheck items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(HealthCheck items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java index a5140d50c5e8..c6b5cef98735 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A full or valid partial URL to a health check. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check + * - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check + */ public final class HealthCheckReference implements ApiMessage { private final String healthCheck; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java index 8f98563a36f4..640419fdac73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java @@ -73,18 +73,22 @@ public List getFieldMask() { return null; } + /** Health state of the instance. */ public String getHealthState() { return healthState; } + /** URL of the instance resource. */ public String getInstance() { return instance; } + /** The IP address represented by this resource. */ public String getIpAddress() { return ipAddress; } + /** The port on the instance. */ public Integer getPort() { return port; } @@ -143,37 +147,45 @@ public Builder mergeFrom(HealthStatus other) { this.port = source.port; } + /** Health state of the instance. */ public String getHealthState() { return healthState; } + /** Health state of the instance. */ public Builder setHealthState(String healthState) { this.healthState = healthState; return this; } + /** URL of the instance resource. */ public String getInstance() { return instance; } + /** URL of the instance resource. */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** The IP address represented by this resource. */ public String getIpAddress() { return ipAddress; } + /** The IP address represented by this resource. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** The port on the instance. */ public Integer getPort() { return port; } + /** The port on the instance. */ public Builder setPort(Integer port) { this.port = port; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java index 2bc70f9be5f5..107a3318be57 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the + * BackendService. + */ public final class HostRule implements ApiMessage { private final String description; private final List hosts; @@ -68,14 +72,26 @@ public List getFieldMask() { return null; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public List getHostsList() { return hosts; } + /** + * The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches + * the URL's host portion. + */ public String getPathMatcher() { return pathMatcher; } @@ -129,19 +145,35 @@ public Builder mergeFrom(HostRule other) { this.pathMatcher = source.pathMatcher; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public List getHostsList() { return hosts; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public Builder addAllHosts(List hosts) { if (this.hosts == null) { this.hosts = new LinkedList<>(); @@ -150,6 +182,11 @@ public Builder addAllHosts(List hosts) { return this; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public Builder addHosts(String hosts) { if (this.hosts == null) { this.hosts = new LinkedList<>(); @@ -158,10 +195,18 @@ public Builder addHosts(String hosts) { return this; } + /** + * The name of the PathMatcher to use to match the path portion of the URL if the hostRule + * matches the URL's host portion. + */ public String getPathMatcher() { return pathMatcher; } + /** + * The name of the PathMatcher to use to match the path portion of the URL if the hostRule + * matches the URL's host portion. + */ public Builder setPathMatcher(String pathMatcher) { this.pathMatcher = pathMatcher; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java index f5a76afd301c..dea56466c1d1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java @@ -91,26 +91,47 @@ public List getFieldMask() { return null; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -179,55 +200,97 @@ public Builder mergeFrom(HttpHealthCheck other) { this.response = source.response; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTP health check request. The default value is /. */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java index 26ccb2b41f19..c9528da6352e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An HttpHealthCheck resource. This resource defines a template for how individual instances should + * be checked for health, via HTTP. + */ public final class HttpHealthCheck2 implements ApiMessage { private final Integer checkIntervalSec; private final String creationTimestamp; @@ -140,54 +144,89 @@ public List getFieldMask() { return null; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The TCP port number for the HTTP health check request. The default value is 80. */ public Integer getPort() { return port; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } @@ -291,118 +330,194 @@ public Builder mergeFrom(HttpHealthCheck2 other) { this.unhealthyThreshold = source.unhealthyThreshold; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Builder setCheckIntervalSec(Integer checkIntervalSec) { this.checkIntervalSec = checkIntervalSec; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Builder setHealthyThreshold(Integer healthyThreshold) { this.healthyThreshold = healthyThreshold; return this; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The TCP port number for the HTTP health check request. The default value is 80. */ public Integer getPort() { return port; } + /** The TCP port number for the HTTP health check request. The default value is 80. */ public Builder setPort(Integer port) { this.port = port; return this; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTP health check request. The default value is /. */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Builder setUnhealthyThreshold(Integer unhealthyThreshold) { this.unhealthyThreshold = unhealthyThreshold; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java index 9950ca361d7d..74c2c3d97c6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of HttpHealthCheck resources. */ public final class HttpHealthCheckList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of HttpHealthCheck resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(HttpHealthCheckList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of HttpHealthCheck resources. */ public List getItemsList() { return items; } + /** A list of HttpHealthCheck resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of HttpHealthCheck resources. */ public Builder addItems(HttpHealthCheck2 items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(HttpHealthCheck2 items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java index dbf56d315f81..7cf4b516e0c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java @@ -91,26 +91,47 @@ public List getFieldMask() { return null; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** The request path of the HTTPS health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -179,55 +200,97 @@ public Builder mergeFrom(HttpSHealthCheck other) { this.response = source.response; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** The request path of the HTTPS health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTPS health check request. The default value is /. */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java index e34452f09ab9..f9357afffe02 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public final class HttpsHealthCheck2 implements ApiMessage { private final Integer checkIntervalSec; private final String creationTimestamp; @@ -140,54 +144,89 @@ public List getFieldMask() { return null; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** Type of the resource. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The TCP port number for the HTTPS health check request. The default value is 443. */ public Integer getPort() { return port; } + /** The request path of the HTTPS health check request. The default value is "/". */ public String getRequestPath() { return requestPath; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have a greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } @@ -291,118 +330,190 @@ public Builder mergeFrom(HttpsHealthCheck2 other) { this.unhealthyThreshold = source.unhealthyThreshold; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Builder setCheckIntervalSec(Integer checkIntervalSec) { this.checkIntervalSec = checkIntervalSec; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Builder setHealthyThreshold(Integer healthyThreshold) { this.healthyThreshold = healthyThreshold; return this; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the public IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** Type of the resource. */ public String getKind() { return kind; } + /** Type of the resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The TCP port number for the HTTPS health check request. The default value is 443. */ public Integer getPort() { return port; } + /** The TCP port number for the HTTPS health check request. The default value is 443. */ public Builder setPort(Integer port) { this.port = port; return this; } + /** The request path of the HTTPS health check request. The default value is "/". */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTPS health check request. The default value is "/". */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have a greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have a greater value than checkIntervalSec. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Builder setUnhealthyThreshold(Integer unhealthyThreshold) { this.unhealthyThreshold = unhealthyThreshold; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java index 614c351219ef..f8e0cbb052f5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of HttpsHealthCheck resources. */ public final class HttpsHealthCheckList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of HttpsHealthCheck resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(HttpsHealthCheckList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of HttpsHealthCheck resources. */ public List getItemsList() { return items; } + /** A list of HttpsHealthCheck resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of HttpsHealthCheck resources. */ public Builder addItems(HttpsHealthCheck2 items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(HttpsHealthCheck2 items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java index a50140253b98..0f2295f0f70f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public final class Image implements ApiMessage { private final String archiveSizeBytes; private final String creationTimestamp; @@ -247,114 +248,217 @@ public List getFieldMask() { return null; } + /** Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). */ public String getArchiveSizeBytes() { return archiveSizeBytes; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** The deprecation status associated with this image. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** Size of the image when restored onto a persistent disk (in GB). */ public String getDiskSizeGb() { return diskSizeGb; } + /** + * The name of the image family to which this image belongs. You can create disks by specifying an + * image family instead of a specific image name. The image family always returns its latest image + * that is not deprecated. The name of the image family must comply with RFC1035. + */ public String getFamily() { return family; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * Encrypts the image using a customer-supplied encryption key. + * + *

After you encrypt an image with a customer-supplied key, you must provide the same key if + * you use the image later (e.g. to create a disk from the image). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the image, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use the + * image later. + */ public CustomerEncryptionKey getImageEncryptionKey() { return imageEncryptionKey; } + /** [Output Only] Type of the resource. Always compute#image for images. */ public String getKind() { return kind; } + /** + * A fingerprint for the labels being applied to this image, which is essentially a hash of the + * labels used for optimistic locking. The fingerprint is initially generated by Compute Engine + * and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an image. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** Labels to apply to this image. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Integer license codes indicating which licenses are attached to this image. */ public List getLicenseCodesList() { return licenseCodes; } + /** Any applicable license URI. */ public List getLicensesList() { return licenses; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The parameters of the raw disk image. */ public RawDisk getRawDisk() { return rawDisk; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * URL of the source disk used to create this image. This can be a full or valid partial URL. You + * must provide either this property or the rawDisk.source property but not both to create an + * image. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getSourceDisk() { return sourceDisk; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * [Output Only] The ID value of the disk used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given disk + * name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * URL of the source image used to create this image. This can be a full or valid partial URL. You + * must provide exactly one of: - this property, or - the rawDisk.source property, or - the + * sourceDisk property in order to create an image. + */ public String getSourceImage() { return sourceImage; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * [Output Only] The ID value of the image used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given image + * name. + */ public String getSourceImageId() { return sourceImageId; } + /** + * URL of the source snapshot used to create this image. This can be a full or valid partial URL. + * You must provide exactly one of: - this property, or - the sourceImage property, or - the + * rawDisk.source property, or - the sourceDisk property in order to create an image. + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * [Output Only] The ID value of the snapshot used to create this image. This value may be used to + * determine whether the snapshot was taken from the current or a previous instance of a given + * snapshot name. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** The type of the image used to create this disk. The default and only value is RAW */ public String getSourceType() { return sourceType; } + /** + * [Output Only] The status of the image. An image can be used to create other resources, such as + * instances, only after the image has been successfully created and the status is set to READY. + * Possible values are FAILED, PENDING, or READY. + */ public String getStatus() { return status; } @@ -533,64 +637,96 @@ public Builder mergeFrom(Image other) { this.status = source.status; } + /** Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). */ public String getArchiveSizeBytes() { return archiveSizeBytes; } + /** Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). */ public Builder setArchiveSizeBytes(String archiveSizeBytes) { this.archiveSizeBytes = archiveSizeBytes; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** The deprecation status associated with this image. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** The deprecation status associated with this image. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** Size of the image when restored onto a persistent disk (in GB). */ public String getDiskSizeGb() { return diskSizeGb; } + /** Size of the image when restored onto a persistent disk (in GB). */ public Builder setDiskSizeGb(String diskSizeGb) { this.diskSizeGb = diskSizeGb; return this; } + /** + * The name of the image family to which this image belongs. You can create disks by specifying + * an image family instead of a specific image name. The image family always returns its latest + * image that is not deprecated. The name of the image family must comply with RFC1035. + */ public String getFamily() { return family; } + /** + * The name of the image family to which this image belongs. You can create disks by specifying + * an image family instead of a specific image name. The image family always returns its latest + * image that is not deprecated. The name of the image family must comply with RFC1035. + */ public Builder setFamily(String family) { this.family = family; return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addAllGuestOsFeatures(List guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -599,6 +735,10 @@ public Builder addAllGuestOsFeatures(List guestOsFeatures) { return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -607,55 +747,111 @@ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * Encrypts the image using a customer-supplied encryption key. + * + *

After you encrypt an image with a customer-supplied key, you must provide the same key if + * you use the image later (e.g. to create a disk from the image). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the image, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the image later. + */ public CustomerEncryptionKey getImageEncryptionKey() { return imageEncryptionKey; } + /** + * Encrypts the image using a customer-supplied encryption key. + * + *

After you encrypt an image with a customer-supplied key, you must provide the same key if + * you use the image later (e.g. to create a disk from the image). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the image, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the image later. + */ public Builder setImageEncryptionKey(CustomerEncryptionKey imageEncryptionKey) { this.imageEncryptionKey = imageEncryptionKey; return this; } + /** [Output Only] Type of the resource. Always compute#image for images. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#image for images. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for the labels being applied to this image, which is essentially a hash of the + * labels used for optimistic locking. The fingerprint is initially generated by Compute Engine + * and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an image. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for the labels being applied to this image, which is essentially a hash of the + * labels used for optimistic locking. The fingerprint is initially generated by Compute Engine + * and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an image. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** Labels to apply to this image. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to this image. These can be later modified by the setLabels method. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** Integer license codes indicating which licenses are attached to this image. */ public List getLicenseCodesList() { return licenseCodes; } + /** Integer license codes indicating which licenses are attached to this image. */ public Builder addAllLicenseCodes(List licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -664,6 +860,7 @@ public Builder addAllLicenseCodes(List licenseCodes) { return this; } + /** Integer license codes indicating which licenses are attached to this image. */ public Builder addLicenseCodes(String licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -672,10 +869,12 @@ public Builder addLicenseCodes(String licenseCodes) { return this; } + /** Any applicable license URI. */ public List getLicensesList() { return licenses; } + /** Any applicable license URI. */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -684,6 +883,7 @@ public Builder addAllLicenses(List licenses) { return this; } + /** Any applicable license URI. */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -692,128 +892,246 @@ public Builder addLicenses(String licenses) { return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The parameters of the raw disk image. */ public RawDisk getRawDisk() { return rawDisk; } + /** The parameters of the raw disk image. */ public Builder setRawDisk(RawDisk rawDisk) { this.rawDisk = rawDisk; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * URL of the source disk used to create this image. This can be a full or valid partial URL. + * You must provide either this property or the rawDisk.source property but not both to create + * an image. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getSourceDisk() { return sourceDisk; } + /** + * URL of the source disk used to create this image. This can be a full or valid partial URL. + * You must provide either this property or the rawDisk.source property but not both to create + * an image. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public Builder setSourceDisk(String sourceDisk) { this.sourceDisk = sourceDisk; return this; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public Builder setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey) { this.sourceDiskEncryptionKey = sourceDiskEncryptionKey; return this; } + /** + * [Output Only] The ID value of the disk used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given disk + * name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * [Output Only] The ID value of the disk used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given disk + * name. + */ public Builder setSourceDiskId(String sourceDiskId) { this.sourceDiskId = sourceDiskId; return this; } + /** + * URL of the source image used to create this image. This can be a full or valid partial URL. + * You must provide exactly one of: - this property, or - the rawDisk.source property, or - the + * sourceDisk property in order to create an image. + */ public String getSourceImage() { return sourceImage; } + /** + * URL of the source image used to create this image. This can be a full or valid partial URL. + * You must provide exactly one of: - this property, or - the rawDisk.source property, or - the + * sourceDisk property in order to create an image. + */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public Builder setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey) { this.sourceImageEncryptionKey = sourceImageEncryptionKey; return this; } + /** + * [Output Only] The ID value of the image used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given + * image name. + */ public String getSourceImageId() { return sourceImageId; } + /** + * [Output Only] The ID value of the image used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given + * image name. + */ public Builder setSourceImageId(String sourceImageId) { this.sourceImageId = sourceImageId; return this; } + /** + * URL of the source snapshot used to create this image. This can be a full or valid partial + * URL. You must provide exactly one of: - this property, or - the sourceImage property, or - + * the rawDisk.source property, or - the sourceDisk property in order to create an image. + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * URL of the source snapshot used to create this image. This can be a full or valid partial + * URL. You must provide exactly one of: - this property, or - the sourceImage property, or - + * the rawDisk.source property, or - the sourceDisk property in order to create an image. + */ public Builder setSourceSnapshot(String sourceSnapshot) { this.sourceSnapshot = sourceSnapshot; return this; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public Builder setSourceSnapshotEncryptionKey( CustomerEncryptionKey sourceSnapshotEncryptionKey) { this.sourceSnapshotEncryptionKey = sourceSnapshotEncryptionKey; return this; } + /** + * [Output Only] The ID value of the snapshot used to create this image. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given snapshot name. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** + * [Output Only] The ID value of the snapshot used to create this image. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given snapshot name. + */ public Builder setSourceSnapshotId(String sourceSnapshotId) { this.sourceSnapshotId = sourceSnapshotId; return this; } + /** The type of the image used to create this disk. The default and only value is RAW */ public String getSourceType() { return sourceType; } + /** The type of the image used to create this disk. The default and only value is RAW */ public Builder setSourceType(String sourceType) { this.sourceType = sourceType; return this; } + /** + * [Output Only] The status of the image. An image can be used to create other resources, such + * as instances, only after the image has been successfully created and the status is set to + * READY. Possible values are FAILED, PENDING, or READY. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the image. An image can be used to create other resources, such + * as instances, only after the image has been successfully created and the status is set to + * READY. Possible values are FAILED, PENDING, or READY. + */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java index c924f8143e5d..a08176a16421 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of images. */ public final class ImageList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Image resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(ImageList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Image resources. */ public List getItemsList() { return items; } + /** A list of Image resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Image resources. */ public Builder addItems(Image items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Image items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java index 35f2ff5002dc..611407e8e832 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses + * ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertAddressHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Builder setAddressResource(Address addressResource) { this.addressResource = addressResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java index af1eb0c97be1..ef46ac5fa04a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java @@ -123,42 +123,76 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertAutoscalerHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java index a1bf2b1cff6d..ef92fa37d0ee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/backendBuckets`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertBackendBucketHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public Builder setBackendBucketResource(BackendBucket backendBucketResource) { this.backendBucketResource = backendBucketResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/backendBuckets`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/backendBuckets`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java index 5e7f48117022..f071d262ef60 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java @@ -125,42 +125,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/backendServices`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,91 +281,155 @@ public Builder mergeFrom(InsertBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/backendServices`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/backendServices`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java index c44317739566..e8468c4be1a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java @@ -132,46 +132,75 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format `{project}/zones/{zone}/disks`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -265,100 +294,158 @@ public Builder mergeFrom(InsertDiskHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Builder setDiskResource(Disk diskResource) { this.diskResource = diskResource; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** Optional. Source image to restore onto a disk. */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java index 312ccfdb7fd2..98b754070e3c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/firewalls`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertFirewallHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** Represents a Firewall resource. */ public Builder setFirewallResource(Firewall firewallResource) { this.firewallResource = firewallResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/firewalls`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/firewalls`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java index b22919421644..c92d0232bb0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java @@ -123,42 +123,76 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public Builder setForwardingRuleResource(ForwardingRule forwardingRuleResource) { this.forwardingRuleResource = forwardingRuleResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java index 3fdc13f5950e..933d9a753333 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses + * ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertGlobalAddressHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Builder setAddressResource(Address addressResource) { this.addressResource = addressResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java index 4a5228b656d4..36d5a5d0d824 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java @@ -123,42 +123,76 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertGlobalForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public Builder setForwardingRuleResource(ForwardingRule forwardingRuleResource) { this.forwardingRuleResource = forwardingRuleResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java index dab103a1b6d7..2a8f214e907b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/healthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public Builder setHealthCheckResource(HealthCheck healthCheckResource) { this.healthCheckResource = healthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/healthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/healthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java index 39487c2b7868..caf7cc9d6d66 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/httpHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertHttpHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public Builder setHttpHealthCheckResource(HttpHealthCheck2 httpHealthCheckResource) { this.httpHealthCheckResource = httpHealthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/httpHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/httpHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java index ea20f4221c7f..bf291e92f216 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/httpsHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertHttpsHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public Builder setHttpsHealthCheckResource(HttpsHealthCheck2 httpsHealthCheckResource) { this.httpsHealthCheckResource = httpsHealthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/httpsHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/httpsHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java index acb72a578bbf..53f2c5b3dcc9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java @@ -130,46 +130,75 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Force image creation if true. */ public Boolean getForceCreate() { return forceCreate; } + /** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public Image getImageResource() { return imageResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/images`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +292,158 @@ public Builder mergeFrom(InsertImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** Force image creation if true. */ public Boolean getForceCreate() { return forceCreate; } + /** Force image creation if true. */ public Builder setForceCreate(Boolean forceCreate) { this.forceCreate = forceCreate; return this; } + /** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public Image getImageResource() { return imageResource; } + /** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public Builder setImageResource(Image imageResource) { this.imageResource = imageResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/images`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/images`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java index a012333eb927..986f6482ebde 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) + * (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==) + */ public InstanceGroup getInstanceGroupResource() { return instanceGroupResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone where you want to create the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertInstanceGroupHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups + * ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups + * ==) + */ public InstanceGroup getInstanceGroupResource() { return instanceGroupResource; } + /** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups + * ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups + * ==) + */ public Builder setInstanceGroupResource(InstanceGroup instanceGroupResource) { this.instanceGroupResource = instanceGroupResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone where you want to create the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone where you want to create the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java index 105a1f5bfe06..90ad9346b075 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java @@ -129,42 +129,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone where you want to create the managed instance group. It must have the + * format `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -253,92 +285,158 @@ public Builder mergeFrom(InsertInstanceGroupManagerHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone where you want to create the managed instance group. It must have the + * format `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone where you want to create the managed instance group. It must have the + * format `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java index 288f7b2a313f..389d2d74a9a2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java @@ -130,46 +130,83 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) */ public Instance getInstanceResource() { return instanceResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Specifies instance template to create the instance. + * + *

This field is optional. It can be a full or partial URL. For example, the following are all + * valid URLs to an instance template: - + * https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate + * - projects/project/global/instanceTemplates/instanceTemplate - + * global/instanceTemplates/instanceTemplate + */ public String getSourceInstanceTemplate() { return sourceInstanceTemplate; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -263,100 +300,178 @@ public Builder mergeFrom(InsertInstanceHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) + */ public Instance getInstanceResource() { return instanceResource; } + /** + * An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) + */ public Builder setInstanceResource(Instance instanceResource) { this.instanceResource = instanceResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Specifies instance template to create the instance. + * + *

This field is optional. It can be a full or partial URL. For example, the following are + * all valid URLs to an instance template: - + * https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate + * - projects/project/global/instanceTemplates/instanceTemplate - + * global/instanceTemplates/instanceTemplate + */ public String getSourceInstanceTemplate() { return sourceInstanceTemplate; } + /** + * Specifies instance template to create the instance. + * + *

This field is optional. It can be a full or partial URL. For example, the following are + * all valid URLs to an instance template: - + * https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate + * - projects/project/global/instanceTemplates/instanceTemplate - + * global/instanceTemplates/instanceTemplate + */ public Builder setSourceInstanceTemplate(String sourceInstanceTemplate) { this.sourceInstanceTemplate = sourceInstanceTemplate; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java index e963ef2d8725..46a2046bb0cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java @@ -125,42 +125,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public InstanceTemplate getInstanceTemplateResource() { return instanceTemplateResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/instanceTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,91 +280,153 @@ public Builder mergeFrom(InsertInstanceTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public InstanceTemplate getInstanceTemplateResource() { return instanceTemplateResource; } + /** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public Builder setInstanceTemplateResource(InstanceTemplate instanceTemplateResource) { this.instanceTemplateResource = instanceTemplateResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/instanceTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/instanceTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java index c594442995ff..3074be985139 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java @@ -123,42 +123,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,92 +279,158 @@ public Builder mergeFrom(InsertInterconnectAttachmentHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public Builder setInterconnectAttachmentResource( InterconnectAttachment interconnectAttachmentResource) { this.interconnectAttachmentResource = interconnectAttachmentResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java index 45e1cbfe1bef..9ce631308dd2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java @@ -123,42 +123,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the Dedicated + * overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnects`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +279,157 @@ public Builder mergeFrom(InsertInterconnectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Builder setInterconnectResource(Interconnect interconnectResource) { this.interconnectResource = interconnectResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnects`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnects`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java index 5a4f7db4a16e..f6e1818e01c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A license resource. */ public License getLicenseResource() { return licenseResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/licenses`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertLicenseHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** A license resource. */ public License getLicenseResource() { return licenseResource; } + /** A license resource. */ public Builder setLicenseResource(License licenseResource) { this.licenseResource = licenseResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/licenses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/licenses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java index 2d41e23d9809..0678a857f4b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/networks`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertNetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Builder setNetworkResource(Network networkResource) { this.networkResource = networkResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/networks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/networks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java index 14c90ffd92bc..0657cc08d63d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java @@ -130,46 +130,75 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Initial count of nodes in the node group. */ public Integer getInitialNodeCount() { return initialNodeCount; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A NodeGroup resource. */ public NodeGroup getNodeGroupResource() { return nodeGroupResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -263,100 +292,158 @@ public Builder mergeFrom(InsertNodeGroupHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** Initial count of nodes in the node group. */ public Integer getInitialNodeCount() { return initialNodeCount; } + /** Initial count of nodes in the node group. */ public Builder setInitialNodeCount(Integer initialNodeCount) { this.initialNodeCount = initialNodeCount; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** A NodeGroup resource. */ public NodeGroup getNodeGroupResource() { return nodeGroupResource; } + /** A NodeGroup resource. */ public Builder setNodeGroupResource(NodeGroup nodeGroupResource) { this.nodeGroupResource = nodeGroupResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java index fe55b9cfc639..fe1c5d9e54e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A Node Template resource. */ public NodeTemplate getNodeTemplateResource() { return nodeTemplateResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertNodeTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** A Node Template resource. */ public NodeTemplate getNodeTemplateResource() { return nodeTemplateResource; } + /** A Node Template resource. */ public Builder setNodeTemplateResource(NodeTemplate nodeTemplateResource) { this.nodeTemplateResource = nodeTemplateResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java index 9a48adaf454a..7a4b61fa1b3c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java @@ -123,42 +123,76 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertRegionAutoscalerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java index 42c735be0b17..9f03122f6020 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java @@ -125,42 +125,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,91 +281,155 @@ public Builder mergeFrom(InsertRegionBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java index f4bd839b2cb0..9f88a2de0492 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java @@ -123,42 +123,80 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Represents a Commitment resource. Creating a Commitment resource means that you are purchasing + * a committed use contract with an explicit start and end time. You can create commitments based + * on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for + * Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will not + * renew, so you must purchase a new commitment to continue receiving discounts. (== resource_for + * beta.commitments ==) (== resource_for v1.commitments ==) + */ public Commitment getCommitmentResource() { return commitmentResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +285,167 @@ public Builder mergeFrom(InsertRegionCommitmentHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Represents a Commitment resource. Creating a Commitment resource means that you are + * purchasing a committed use contract with an explicit start and end time. You can create + * commitments based on vCPUs and memory usage and receive discounted rates. For full details, + * read Signing Up for Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will + * not renew, so you must purchase a new commitment to continue receiving discounts. (== + * resource_for beta.commitments ==) (== resource_for v1.commitments ==) + */ public Commitment getCommitmentResource() { return commitmentResource; } + /** + * Represents a Commitment resource. Creating a Commitment resource means that you are + * purchasing a committed use contract with an explicit start and end time. You can create + * commitments based on vCPUs and memory usage and receive discounted rates. For full details, + * read Signing Up for Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will + * not renew, so you must purchase a new commitment to continue receiving discounts. (== + * resource_for beta.commitments ==) (== resource_for v1.commitments ==) + */ public Builder setCommitmentResource(Commitment commitmentResource) { this.commitmentResource = commitmentResource; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java index cb9916dbec47..605b84da2129 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java @@ -130,46 +130,75 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +292,158 @@ public Builder mergeFrom(InsertRegionDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Builder setDiskResource(Disk diskResource) { this.diskResource = diskResource; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** Optional. Source image to restore onto a disk. */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java index 29db4b632cf0..29bbe702ea62 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java @@ -129,42 +129,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,92 +285,158 @@ public Builder mergeFrom(InsertRegionInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java index 98a76a32c41b..6ac11a0a66cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java @@ -123,42 +123,85 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/routes`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for a + * single best matching route. Routes match packets by destination IP address, preferring smaller + * or more specific ranges over larger ones. If there is a tie, the system selects the route with + * the smallest priority value. If there is still a tie, it uses the layer three and four packet + * headers to select just one of the remaining matching routes. The packet is then forwarded as + * specified by the nextHop field of the winning route - either to another instance destination, + * an instance gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. (== + * resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public Route getRouteResource() { return routeResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +290,177 @@ public Builder mergeFrom(InsertRouteHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/routes`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/routes`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for + * a single best matching route. Routes match packets by destination IP address, preferring + * smaller or more specific ranges over larger ones. If there is a tie, the system selects the + * route with the smallest priority value. If there is still a tie, it uses the layer three and + * four packet headers to select just one of the remaining matching routes. The packet is then + * forwarded as specified by the nextHop field of the winning route - either to another instance + * destination, an instance gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. + * (== resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public Route getRouteResource() { return routeResource; } + /** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for + * a single best matching route. Routes match packets by destination IP address, preferring + * smaller or more specific ranges over larger ones. If there is a tie, the system selects the + * route with the smallest priority value. If there is still a tie, it uses the layer three and + * four packet headers to select just one of the remaining matching routes. The packet is then + * forwarded as specified by the nextHop field of the winning route - either to another instance + * destination, an instance gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. + * (== resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public Builder setRouteResource(Route routeResource) { this.routeResource = routeResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java index dc808e68f8de..df8568dd64a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertRouterHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java index 2259dab50928..114936b9ebc0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/securityPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or more + * 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/securityPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/securityPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public Builder setSecurityPolicyResource(SecurityPolicy securityPolicyResource) { this.securityPolicyResource = securityPolicyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java index 88fa6ecfeb94..89e3b5f0e6ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java @@ -123,42 +123,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/sslCertificates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public SslCertificate getSslCertificateResource() { return sslCertificateResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +279,155 @@ public Builder mergeFrom(InsertSslCertificateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/sslCertificates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/sslCertificates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public SslCertificate getSslCertificateResource() { return sslCertificateResource; } + /** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public Builder setSslCertificateResource(SslCertificate sslCertificateResource) { this.sslCertificateResource = sslCertificateResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java index 8ea59b8c7c2a..49ed8fd5590a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java @@ -123,42 +123,75 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/sslPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or + * SSL proxy load balancer. They do not affect the connection between the load balancers and the + * backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +280,157 @@ public Builder mergeFrom(InsertSslPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/sslPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/sslPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public Builder setSslPolicyResource(SslPolicy sslPolicyResource) { this.sslPolicyResource = sslPolicyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java index bc93872ad7d4..458cd4eb519a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertSubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Builder setSubnetworkResource(Subnetwork subnetworkResource) { this.subnetworkResource = subnetworkResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java index 5c0753ddc09e..d262ccec701e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public TargetHttpProxy getTargetHttpProxyResource() { return targetHttpProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetHttpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public TargetHttpProxy getTargetHttpProxyResource() { return targetHttpProxyResource; } + /** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public Builder setTargetHttpProxyResource(TargetHttpProxy targetHttpProxyResource) { this.targetHttpProxyResource = targetHttpProxyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java index 5eeb61bd936b..1c44419954ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpsProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public TargetHttpsProxy getTargetHttpsProxyResource() { return targetHttpsProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetHttpsProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpsProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpsProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public TargetHttpsProxy getTargetHttpsProxyResource() { return targetHttpsProxyResource; } + /** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public Builder setTargetHttpsProxyResource(TargetHttpsProxy targetHttpsProxyResource) { this.targetHttpsProxyResource = targetHttpsProxyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java index d3cd13452314..4ffd739d8833 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java @@ -123,42 +123,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic + * of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for + * v1.targetInstances ==) + */ public TargetInstance getTargetInstanceResource() { return targetInstanceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -247,91 +279,155 @@ public Builder mergeFrom(InsertTargetInstanceHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic + * of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for + * v1.targetInstances ==) + */ public TargetInstance getTargetInstanceResource() { return targetInstanceResource; } + /** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic + * of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for + * v1.targetInstances ==) + */ public Builder setTargetInstanceResource(TargetInstance targetInstanceResource) { this.targetInstanceResource = targetInstanceResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java index 55a8edade7d6..db47c40a0c48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java @@ -123,42 +123,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck + * resource, and the fallback target pool. (== resource_for beta.targetPools ==) (== resource_for + * v1.targetPools ==) + */ public TargetPool getTargetPoolResource() { return targetPoolResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +279,155 @@ public Builder mergeFrom(InsertTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetPool resource. This resource defines a pool of instances, an associated + * HttpHealthCheck resource, and the fallback target pool. (== resource_for beta.targetPools ==) + * (== resource_for v1.targetPools ==) + */ public TargetPool getTargetPoolResource() { return targetPoolResource; } + /** + * A TargetPool resource. This resource defines a pool of instances, an associated + * HttpHealthCheck resource, and the fallback target pool. (== resource_for beta.targetPools ==) + * (== resource_for v1.targetPools ==) + */ public Builder setTargetPoolResource(TargetPool targetPoolResource) { this.targetPoolResource = targetPoolResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java index ce84c442a3a9..ee4eec705dfa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetSslProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public TargetSslProxy getTargetSslProxyResource() { return targetSslProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetSslProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetSslProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetSslProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public TargetSslProxy getTargetSslProxyResource() { return targetSslProxyResource; } + /** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public Builder setTargetSslProxyResource(TargetSslProxy targetSslProxyResource) { this.targetSslProxyResource = targetSslProxyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java index 273f8f7ce515..6260e686e010 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetTcpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public TargetTcpProxy getTargetTcpProxyResource() { return targetTcpProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetTcpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetTcpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetTcpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public TargetTcpProxy getTargetTcpProxyResource() { return targetTcpProxyResource; } + /** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public Builder setTargetTcpProxyResource(TargetTcpProxy targetTcpProxyResource) { this.targetTcpProxyResource = targetTcpProxyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java index a563a6c3cdc1..dff438d8f0db 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public TargetVpnGateway getTargetVpnGatewayResource() { return targetVpnGatewayResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetVpnGatewayHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public TargetVpnGateway getTargetVpnGatewayResource() { return targetVpnGatewayResource; } + /** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public Builder setTargetVpnGatewayResource(TargetVpnGateway targetVpnGatewayResource) { this.targetVpnGatewayResource = targetVpnGatewayResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java index f69feea502e7..55c152098402 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/urlMaps`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertUrlMapHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/urlMaps`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/urlMaps`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public Builder setUrlMapResource(UrlMap urlMapResource) { this.urlMapResource = urlMapResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java index b134700d739a..9cce76bdc645 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) + */ public VpnTunnel getVpnTunnelResource() { return vpnTunnelResource; } @@ -247,91 +277,151 @@ public Builder mergeFrom(InsertVpnTunnelHttpRequest other) { this.vpnTunnelResource = source.vpnTunnelResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) + */ public VpnTunnel getVpnTunnelResource() { return vpnTunnelResource; } + /** + * VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) + */ public Builder setVpnTunnelResource(VpnTunnel vpnTunnelResource) { this.vpnTunnelResource = vpnTunnelResource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java index 7ed4fbd231f0..8bd5a332e5f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) */ public final class Instance implements ApiMessage { private final Boolean canIpForward; private final String cpuPlatform; @@ -226,30 +227,46 @@ public List getFieldMask() { return null; } + /** + * Allows this instance to send and receive packets with non-matching destination or source IPs. + * This is required if you plan to use this instance to forward routes. For more information, see + * Enabling IP Forwarding. + */ public Boolean getCanIpForward() { return canIpForward; } + /** [Output Only] The CPU platform used by this instance. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public List getDisksList() { return disks; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } @@ -258,70 +275,147 @@ public String getHostname() { return hostname; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#instance for instances. */ public String getKind() { return kind; } + /** + * A fingerprint for this request, which is essentially a hash of the label's contents and used + * for optimistic locking. The fingerprint is initially generated by Compute Engine and changes + * after every request to modify or update labels. You must always provide an up-to-date + * fingerprint hash in order to update or change labels. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** Labels to apply to this instance. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** + * Full or partial URL of the machine type resource to use for this instance, in the format: + * zones/zone/machineTypes/machine-type. This is provided by the client when the instance is + * created. For example, the following is a valid partial url to a predefined machine type: + * zones/us-central1-f/machineTypes/n1-standard-1 + * + *

To create a custom machine type, provide a URL to a machine type in the following format, + * where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total + * memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. + * 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY + * + *

For example: zones/us-central1-f/machineTypes/custom-4-5120 + * + *

For a full list of restrictions, read the Specifications for custom machine types. + */ public String getMachineType() { return machineType; } + /** + * The metadata key/value pairs assigned to this instance. This includes custom metadata and + * predefined keys. + */ public Metadata getMetadata() { return metadata; } + /** + * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names + * of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy + * Bridge". + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** Sets the scheduling options for this instance. */ public Scheduling getScheduling() { return scheduling; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only one + * service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server and + * used to authenticate applications on the instance. See Service Accounts for more information. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected + * suspicious activity. + */ public Boolean getStartRestricted() { return startRestricted; } + /** + * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, + * RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED. + */ public String getStatus() { return status; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** + * Tags to apply to this instance. Tags are used to identify valid sources or targets for network + * firewalls and are specified by the client during instance creation. The tags can be later + * modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple + * tags can be specified via the 'tags.items' field. + */ public Tags getTags() { return tags; } + /** + * [Output Only] URL of the zone where the instance resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -485,55 +579,85 @@ public Builder mergeFrom(Instance other) { this.zone = source.zone; } + /** + * Allows this instance to send and receive packets with non-matching destination or source IPs. + * This is required if you plan to use this instance to forward routes. For more information, + * see Enabling IP Forwarding. + */ public Boolean getCanIpForward() { return canIpForward; } + /** + * Allows this instance to send and receive packets with non-matching destination or source IPs. + * This is required if you plan to use this instance to forward routes. For more information, + * see Enabling IP Forwarding. + */ public Builder setCanIpForward(Boolean canIpForward) { this.canIpForward = canIpForward; return this; } + /** [Output Only] The CPU platform used by this instance. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] The CPU platform used by this instance. */ public Builder setCpuPlatform(String cpuPlatform) { this.cpuPlatform = cpuPlatform; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** Whether the resource should be protected against deletion. */ public Builder setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public List getDisksList() { return disks; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -542,6 +666,10 @@ public Builder addAllDisks(List disks) { return this; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public Builder addDisks(AttachedDisk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -550,10 +678,12 @@ public Builder addDisks(AttachedDisk disks) { return this; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addAllGuestAccelerators(List guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -562,6 +692,7 @@ public Builder addAllGuestAccelerators(List guestAccelerators return this; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -579,82 +710,184 @@ public Builder setHostname(String hostname) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#instance for instances. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#instance for instances. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for this request, which is essentially a hash of the label's contents and used + * for optimistic locking. The fingerprint is initially generated by Compute Engine and changes + * after every request to modify or update labels. You must always provide an up-to-date + * fingerprint hash in order to update or change labels. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for this request, which is essentially a hash of the label's contents and used + * for optimistic locking. The fingerprint is initially generated by Compute Engine and changes + * after every request to modify or update labels. You must always provide an up-to-date + * fingerprint hash in order to update or change labels. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** Labels to apply to this instance. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to this instance. These can be later modified by the setLabels method. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** + * Full or partial URL of the machine type resource to use for this instance, in the format: + * zones/zone/machineTypes/machine-type. This is provided by the client when the instance is + * created. For example, the following is a valid partial url to a predefined machine type: + * zones/us-central1-f/machineTypes/n1-standard-1 + * + *

To create a custom machine type, provide a URL to a machine type in the following format, + * where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total + * memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB + * (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY + * + *

For example: zones/us-central1-f/machineTypes/custom-4-5120 + * + *

For a full list of restrictions, read the Specifications for custom machine types. + */ public String getMachineType() { return machineType; } + /** + * Full or partial URL of the machine type resource to use for this instance, in the format: + * zones/zone/machineTypes/machine-type. This is provided by the client when the instance is + * created. For example, the following is a valid partial url to a predefined machine type: + * zones/us-central1-f/machineTypes/n1-standard-1 + * + *

To create a custom machine type, provide a URL to a machine type in the following format, + * where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total + * memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB + * (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY + * + *

For example: zones/us-central1-f/machineTypes/custom-4-5120 + * + *

For a full list of restrictions, read the Specifications for custom machine types. + */ public Builder setMachineType(String machineType) { this.machineType = machineType; return this; } + /** + * The metadata key/value pairs assigned to this instance. This includes custom metadata and + * predefined keys. + */ public Metadata getMetadata() { return metadata; } + /** + * The metadata key/value pairs assigned to this instance. This includes custom metadata and + * predefined keys. + */ public Builder setMetadata(Metadata metadata) { this.metadata = metadata; return this; } + /** + * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly + * names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel + * Sandy Bridge". + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** + * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly + * names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel + * Sandy Bridge". + */ public Builder setMinCpuPlatform(String minCpuPlatform) { this.minCpuPlatform = minCpuPlatform; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public Builder addAllNetworkInterfaces(List networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -663,6 +896,11 @@ public Builder addAllNetworkInterfaces(List networkInterfaces) return this; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -671,28 +909,48 @@ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { return this; } + /** Sets the scheduling options for this instance. */ public Scheduling getScheduling() { return scheduling; } + /** Sets the scheduling options for this instance. */ public Builder setScheduling(Scheduling scheduling) { this.scheduling = scheduling; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only + * one service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server + * and used to authenticate applications on the instance. See Service Accounts for more + * information. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only + * one service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server + * and used to authenticate applications on the instance. See Service Accounts for more + * information. + */ public Builder addAllServiceAccounts(List serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -701,6 +959,14 @@ public Builder addAllServiceAccounts(List serviceAccounts) { return this; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only + * one service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server + * and used to authenticate applications on the instance. See Service Accounts for more + * information. + */ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -709,46 +975,84 @@ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { return this; } + /** + * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected + * suspicious activity. + */ public Boolean getStartRestricted() { return startRestricted; } + /** + * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected + * suspicious activity. + */ public Builder setStartRestricted(Boolean startRestricted) { this.startRestricted = startRestricted; return this; } + /** + * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, + * RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, + * RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional, human-readable explanation of the status. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; } + /** + * Tags to apply to this instance. Tags are used to identify valid sources or targets for + * network firewalls and are specified by the client during instance creation. The tags can be + * later modified by the setTags method. Each tag within the list must comply with RFC1035. + * Multiple tags can be specified via the 'tags.items' field. + */ public Tags getTags() { return tags; } + /** + * Tags to apply to this instance. Tags are used to identify valid sources or targets for + * network firewalls and are specified by the client during instance creation. The tags can be + * later modified by the setTags method. Each tag within the list must comply with RFC1035. + * Multiple tags can be specified via the 'tags.items' field. + */ public Builder setTags(Tags tags) { this.tags = tags; return this; } + /** + * [Output Only] URL of the zone where the instance resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the instance resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java index de66a78d297e..1a476a0a5ea3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InstancesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of instances. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of + * Instance resources. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InstanceAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InstancesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of instances. + */ public Map getItemsMap() { return items; } + /** + * A list of InstancesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of instances. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of + * Instance resources. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of + * Instance resources. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java index b9411a7ecca9..5dc4ff85f346 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) + * (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==) + */ public final class InstanceGroup implements ApiMessage { private final String creationTimestamp; private final String description; @@ -141,54 +145,89 @@ public List getFieldMask() { return null; } + /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect + * conflicts when multiple users change the named ports concurrently. + */ public String getFingerprint() { return fingerprint; } + /** [Output Only] A unique identifier for this instance group, generated by the server. */ public String getId() { return id; } + /** [Output Only] The resource type, which is always compute#instanceGroup for instance groups. */ public String getKind() { return kind; } + /** + * The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. + */ public String getName() { return name; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public List getNamedPortsList() { return namedPorts; } + /** The URL of the network to which all instances in the instance group belong. */ public String getNetwork() { return network; } + /** + * [Output Only] The URL of the region where the instance group is located (for regional + * resources). + */ public String getRegion() { return region; } + /** [Output Only] The URL for this instance group. The server generates this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The total number of instances in the instance group. */ public Integer getSize() { return size; } + /** + * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. + */ public String getSubnetwork() { return subnetwork; } + /** + * [Output Only] The URL of the zone where the instance group is located (for zonal resources). + */ public String getZone() { return zone; } @@ -292,64 +331,114 @@ public Builder mergeFrom(InstanceGroup other) { this.zone = source.zone; } + /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect + * conflicts when multiple users change the named ports concurrently. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect + * conflicts when multiple users change the named ports concurrently. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** [Output Only] A unique identifier for this instance group, generated by the server. */ public String getId() { return id; } + /** [Output Only] A unique identifier for this instance group, generated by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroup for instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroup for instance groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the instance group. The name must be 1-63 characters long, and comply with + * RFC1035. + */ public String getName() { return name; } + /** + * The name of the instance group. The name must be 1-63 characters long, and comply with + * RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public List getNamedPortsList() { return namedPorts; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -358,6 +447,15 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -366,55 +464,81 @@ public Builder addNamedPorts(NamedPort namedPorts) { return this; } + /** The URL of the network to which all instances in the instance group belong. */ public String getNetwork() { return network; } + /** The URL of the network to which all instances in the instance group belong. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * [Output Only] The URL of the region where the instance group is located (for regional + * resources). + */ public String getRegion() { return region; } + /** + * [Output Only] The URL of the region where the instance group is located (for regional + * resources). + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] The URL for this instance group. The server generates this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The URL for this instance group. The server generates this URL. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The total number of instances in the instance group. */ public Integer getSize() { return size; } + /** [Output Only] The total number of instances in the instance group. */ public Builder setSize(Integer size) { this.size = size; return this; } + /** + * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. + */ public String getSubnetwork() { return subnetwork; } + /** + * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** + * [Output Only] The URL of the zone where the instance group is located (for zonal resources). + */ public String getZone() { return zone; } + /** + * [Output Only] The URL of the zone where the instance group is located (for zonal resources). + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java index a516b7b62596..346ee995f05b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InstanceGroupsScopedList resources. The key for the map is: The name of the scope + * that contains this set of instance groups. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for + * aggregated lists of instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InstanceGroupAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InstanceGroupsScopedList resources. The key for the map is: The name of the scope + * that contains this set of instance groups. + */ public Map getItemsMap() { return items; } + /** + * A list of InstanceGroupsScopedList resources. The key for the map is: The name of the scope + * that contains this set of instance groups. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for + * aggregated lists of instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for + * aggregated lists of instance groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java index 8712fc6d66bd..9863c5afc543 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of InstanceGroup resources. */ public final class InstanceGroupList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupList for instance group + * lists. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceGroupList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroup resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroup resources. */ public Builder addItems(InstanceGroup items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceGroup items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupList for instance group + * lists. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupList for instance group + * lists. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java index 66dff0682b92..5d8d6b64180b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public final class InstanceGroupManager implements ApiMessage { private final List autoHealingPolicies; private final String baseInstanceName; @@ -197,86 +202,158 @@ public List getFieldMask() { return null; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public List getAutoHealingPoliciesList() { return autoHealingPolicies; } + /** + * The base instance name to use for instances in this group. The value must be 1-58 characters + * long. Instances are named by appending a hyphen and a random four-character string to the base + * instance name. The base instance name must comply with RFC1035. + */ public String getBaseInstanceName() { return baseInstanceName; } + /** + * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. + */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] The list of instance actions and the number of instances in this managed instance + * group that are scheduled for each of those actions. + */ public InstanceGroupManagerActionsSummary getCurrentActions() { return currentActions; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** Policy specifying intended distribution of instances in regional managed instance group. */ public DistributionPolicy getDistributionPolicy() { return distributionPolicy; } + /** + * Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored + * when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to + * update the InstanceGroupManager, otherwise the request will fail with error 412 + * conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] A unique identifier for this resource type. The server generates this identifier. + */ public String getId() { return id; } + /** [Output Only] The URL of the Instance Group resource. */ public String getInstanceGroup() { return instanceGroup; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManager for managed + * instance groups. + */ public String getKind() { return kind; } + /** + * The name of the managed instance group. The name must be 1-63 characters long, and comply with + * RFC1035. + */ public String getName() { return name; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public List getNamedPortsList() { return namedPorts; } + /** + * [Output Only] The URL of the region where the managed instance group resides (for regional + * resources). + */ public String getRegion() { return region; } + /** [Output Only] The URL for this managed instance group. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The status of this managed instance group. */ public InstanceGroupManagerStatus getStatus() { return status; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The target number of running instances for this managed instance group. Deleting or abandoning + * instances reduces this number. Resizing the group changes this number. + */ public Integer getTargetSize() { return targetSize; } + /** The update policy for this managed instance group. */ public InstanceGroupManagerUpdatePolicy getUpdatePolicy() { return updatePolicy; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about the + * relationships between these fields. Exactly one version must leave the targetSize field unset. + * That version will be applied to all remaining instances. For more information, read about + * canary updates. + */ public List getVersionsList() { return versions; } + /** + * [Output Only] The URL of the zone where the managed instance group is located (for zonal + * resources). + */ public String getZone() { return zone; } @@ -420,10 +497,12 @@ public Builder mergeFrom(InstanceGroupManager other) { this.zone = source.zone; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public List getAutoHealingPoliciesList() { return autoHealingPolicies; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public Builder addAllAutoHealingPolicies( List autoHealingPolicies) { if (this.autoHealingPolicies == null) { @@ -433,6 +512,7 @@ public Builder addAllAutoHealingPolicies( return this; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public Builder addAutoHealingPolicies( InstanceGroupManagerAutoHealingPolicy autoHealingPolicies) { if (this.autoHealingPolicies == null) { @@ -442,109 +522,197 @@ public Builder addAutoHealingPolicies( return this; } + /** + * The base instance name to use for instances in this group. The value must be 1-58 characters + * long. Instances are named by appending a hyphen and a random four-character string to the + * base instance name. The base instance name must comply with RFC1035. + */ public String getBaseInstanceName() { return baseInstanceName; } + /** + * The base instance name to use for instances in this group. The value must be 1-58 characters + * long. Instances are named by appending a hyphen and a random four-character string to the + * base instance name. The base instance name must comply with RFC1035. + */ public Builder setBaseInstanceName(String baseInstanceName) { this.baseInstanceName = baseInstanceName; return this; } + /** + * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. + */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. + */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * [Output Only] The list of instance actions and the number of instances in this managed + * instance group that are scheduled for each of those actions. + */ public InstanceGroupManagerActionsSummary getCurrentActions() { return currentActions; } + /** + * [Output Only] The list of instance actions and the number of instances in this managed + * instance group that are scheduled for each of those actions. + */ public Builder setCurrentActions(InstanceGroupManagerActionsSummary currentActions) { this.currentActions = currentActions; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** Policy specifying intended distribution of instances in regional managed instance group. */ public DistributionPolicy getDistributionPolicy() { return distributionPolicy; } + /** Policy specifying intended distribution of instances in regional managed instance group. */ public Builder setDistributionPolicy(DistributionPolicy distributionPolicy) { this.distributionPolicy = distributionPolicy; return this; } + /** + * Fingerprint of this resource. This field may be used in optimistic locking. It will be + * ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in + * order to update the InstanceGroupManager, otherwise the request will fail with error 412 + * conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. This field may be used in optimistic locking. It will be + * ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in + * order to update the InstanceGroupManager, otherwise the request will fail with error 412 + * conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] A unique identifier for this resource type. The server generates this + * identifier. + */ public String getId() { return id; } + /** + * [Output Only] A unique identifier for this resource type. The server generates this + * identifier. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The URL of the Instance Group resource. */ public String getInstanceGroup() { return instanceGroup; } + /** [Output Only] The URL of the Instance Group resource. */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManager for managed + * instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManager for managed + * instance groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the managed instance group. The name must be 1-63 characters long, and comply + * with RFC1035. + */ public String getName() { return name; } + /** + * The name of the managed instance group. The name must be 1-63 characters long, and comply + * with RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public List getNamedPortsList() { return namedPorts; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -553,6 +721,9 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -561,37 +732,59 @@ public Builder addNamedPorts(NamedPort namedPorts) { return this; } + /** + * [Output Only] The URL of the region where the managed instance group resides (for regional + * resources). + */ public String getRegion() { return region; } + /** + * [Output Only] The URL of the region where the managed instance group resides (for regional + * resources). + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] The URL for this managed instance group. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The URL for this managed instance group. The server defines this URL. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The status of this managed instance group. */ public InstanceGroupManagerStatus getStatus() { return status; } + /** [Output Only] The status of this managed instance group. */ public Builder setStatus(InstanceGroupManagerStatus status) { this.status = status; return this; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are + * added. The target pools automatically apply to all of the instances in the managed instance + * group. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are + * added. The target pools automatically apply to all of the instances in the managed instance + * group. + */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -600,6 +793,11 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are + * added. The target pools automatically apply to all of the instances in the managed instance + * group. + */ public Builder addTargetPools(String targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -608,28 +806,56 @@ public Builder addTargetPools(String targetPools) { return this; } + /** + * The target number of running instances for this managed instance group. Deleting or + * abandoning instances reduces this number. Resizing the group changes this number. + */ public Integer getTargetSize() { return targetSize; } + /** + * The target number of running instances for this managed instance group. Deleting or + * abandoning instances reduces this number. Resizing the group changes this number. + */ public Builder setTargetSize(Integer targetSize) { this.targetSize = targetSize; return this; } + /** The update policy for this managed instance group. */ public InstanceGroupManagerUpdatePolicy getUpdatePolicy() { return updatePolicy; } + /** The update policy for this managed instance group. */ public Builder setUpdatePolicy(InstanceGroupManagerUpdatePolicy updatePolicy) { this.updatePolicy = updatePolicy; return this; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about + * the relationships between these fields. Exactly one version must leave the targetSize field + * unset. That version will be applied to all remaining instances. For more information, read + * about canary updates. + */ public List getVersionsList() { return versions; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about + * the relationships between these fields. Exactly one version must leave the targetSize field + * unset. That version will be applied to all remaining instances. For more information, read + * about canary updates. + */ public Builder addAllVersions(List versions) { if (this.versions == null) { this.versions = new LinkedList<>(); @@ -638,6 +864,15 @@ public Builder addAllVersions(List versions) { return this; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about + * the relationships between these fields. Exactly one version must leave the targetSize field + * unset. That version will be applied to all remaining instances. For more information, read + * about canary updates. + */ public Builder addVersions(InstanceGroupManagerVersion versions) { if (this.versions == null) { this.versions = new LinkedList<>(); @@ -646,10 +881,18 @@ public Builder addVersions(InstanceGroupManagerVersion versions) { return this; } + /** + * [Output Only] The URL of the zone where the managed instance group is located (for zonal + * resources). + */ public String getZone() { return zone; } + /** + * [Output Only] The URL of the zone where the managed instance group is located (for zonal + * resources). + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java index 22696ec34eec..d68ef9d7462a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java @@ -112,38 +112,84 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The total number of instances in the managed instance group that are scheduled to + * be abandoned. Abandoning an instance removes it from the managed instance group without + * deleting it. + */ public Integer getAbandoning() { return abandoning; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * created or are currently being created. If the group fails to create any of these instances, it + * tries again until it creates the instance successfully. + * + *

If you have disabled creation retries, this field will not be populated; instead, the + * creatingWithoutRetries field will be populated. + */ public Integer getCreating() { return creating; } + /** + * [Output Only] The number of instances that the managed instance group will attempt to create. + * The group attempts to create each instance only once. If the group fails to create any of these + * instances, it decreases the group's targetSize value accordingly. + */ public Integer getCreatingWithoutRetries() { return creatingWithoutRetries; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * deleted or are currently being deleted. + */ public Integer getDeleting() { return deleting; } + /** + * [Output Only] The number of instances in the managed instance group that are running and have + * no scheduled actions. + */ public Integer getNone() { return none; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * recreated or are currently being being recreated. Recreating an instance deletes the existing + * root persistent disk and creates a new disk from the image that is defined in the instance + * template. + */ public Integer getRecreating() { return recreating; } + /** + * [Output Only] The number of instances in the managed instance group that are being reconfigured + * with properties that do not require a restart or a recreate action. For example, setting or + * removing target pools for the instance. + */ public Integer getRefreshing() { return refreshing; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * restarted or are currently being restarted. + */ public Integer getRestarting() { return restarting; } + /** + * [Output Only] The number of instances in the managed instance group that are being verified. + * See the managedInstances[].currentAction property in the listManagedInstances method + * documentation. + */ public Integer getVerifying() { return verifying; } @@ -227,82 +273,174 @@ public Builder mergeFrom(InstanceGroupManagerActionsSummary other) { this.verifying = source.verifying; } + /** + * [Output Only] The total number of instances in the managed instance group that are scheduled + * to be abandoned. Abandoning an instance removes it from the managed instance group without + * deleting it. + */ public Integer getAbandoning() { return abandoning; } + /** + * [Output Only] The total number of instances in the managed instance group that are scheduled + * to be abandoned. Abandoning an instance removes it from the managed instance group without + * deleting it. + */ public Builder setAbandoning(Integer abandoning) { this.abandoning = abandoning; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * created or are currently being created. If the group fails to create any of these instances, + * it tries again until it creates the instance successfully. + * + *

If you have disabled creation retries, this field will not be populated; instead, the + * creatingWithoutRetries field will be populated. + */ public Integer getCreating() { return creating; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * created or are currently being created. If the group fails to create any of these instances, + * it tries again until it creates the instance successfully. + * + *

If you have disabled creation retries, this field will not be populated; instead, the + * creatingWithoutRetries field will be populated. + */ public Builder setCreating(Integer creating) { this.creating = creating; return this; } + /** + * [Output Only] The number of instances that the managed instance group will attempt to create. + * The group attempts to create each instance only once. If the group fails to create any of + * these instances, it decreases the group's targetSize value accordingly. + */ public Integer getCreatingWithoutRetries() { return creatingWithoutRetries; } + /** + * [Output Only] The number of instances that the managed instance group will attempt to create. + * The group attempts to create each instance only once. If the group fails to create any of + * these instances, it decreases the group's targetSize value accordingly. + */ public Builder setCreatingWithoutRetries(Integer creatingWithoutRetries) { this.creatingWithoutRetries = creatingWithoutRetries; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * deleted or are currently being deleted. + */ public Integer getDeleting() { return deleting; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * deleted or are currently being deleted. + */ public Builder setDeleting(Integer deleting) { this.deleting = deleting; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are running and have + * no scheduled actions. + */ public Integer getNone() { return none; } + /** + * [Output Only] The number of instances in the managed instance group that are running and have + * no scheduled actions. + */ public Builder setNone(Integer none) { this.none = none; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * recreated or are currently being being recreated. Recreating an instance deletes the existing + * root persistent disk and creates a new disk from the image that is defined in the instance + * template. + */ public Integer getRecreating() { return recreating; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * recreated or are currently being being recreated. Recreating an instance deletes the existing + * root persistent disk and creates a new disk from the image that is defined in the instance + * template. + */ public Builder setRecreating(Integer recreating) { this.recreating = recreating; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are being + * reconfigured with properties that do not require a restart or a recreate action. For example, + * setting or removing target pools for the instance. + */ public Integer getRefreshing() { return refreshing; } + /** + * [Output Only] The number of instances in the managed instance group that are being + * reconfigured with properties that do not require a restart or a recreate action. For example, + * setting or removing target pools for the instance. + */ public Builder setRefreshing(Integer refreshing) { this.refreshing = refreshing; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * restarted or are currently being restarted. + */ public Integer getRestarting() { return restarting; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * restarted or are currently being restarted. + */ public Builder setRestarting(Integer restarting) { this.restarting = restarting; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are being verified. + * See the managedInstances[].currentAction property in the listManagedInstances method + * documentation. + */ public Integer getVerifying() { return verifying; } + /** + * [Output Only] The number of instances in the managed instance group that are being verified. + * See the managedInstances[].currentAction property in the listManagedInstances method + * documentation. + */ public Builder setVerifying(Integer verifying) { this.verifying = verifying; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java index 3c2dc17edfb5..d9fb13c0ffa5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InstanceGroupManagersScopedList resources. The key for the map is: [Output Only] The + * name of the scope that contains this set of managed instance groups. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for + * an aggregated list of managed instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InstanceGroupManagerAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InstanceGroupManagersScopedList resources. The key for the map is: [Output Only] + * The name of the scope that contains this set of managed instance groups. + */ public Map getItemsMap() { return items; } + /** + * A list of InstanceGroupManagersScopedList resources. The key for the map is: [Output Only] + * The name of the scope that contains this set of managed instance groups. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList + * for an aggregated list of managed instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList + * for an aggregated list of managed instance groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java index 83bd6010bd25..b387ca79fcfd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java @@ -61,10 +61,18 @@ public List getFieldMask() { return null; } + /** The URL for the health check that signals autohealing. */ public String getHealthCheck() { return healthCheck; } + /** + * The number of seconds that the managed instance group waits before it applies autohealing + * policies to new instances or recently recreated instances. This initial delay allows instances + * to initialize and run their startup scripts before the instance group determines that they are + * UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. + * This value must be from range [0, 3600]. + */ public Integer getInitialDelaySec() { return initialDelaySec; } @@ -113,19 +121,35 @@ public Builder mergeFrom(InstanceGroupManagerAutoHealingPolicy other) { this.initialDelaySec = source.initialDelaySec; } + /** The URL for the health check that signals autohealing. */ public String getHealthCheck() { return healthCheck; } + /** The URL for the health check that signals autohealing. */ public Builder setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** + * The number of seconds that the managed instance group waits before it applies autohealing + * policies to new instances or recently recreated instances. This initial delay allows + * instances to initialize and run their startup scripts before the instance group determines + * that they are UNHEALTHY. This prevents the managed instance group from recreating its + * instances prematurely. This value must be from range [0, 3600]. + */ public Integer getInitialDelaySec() { return initialDelaySec; } + /** + * The number of seconds that the managed instance group waits before it applies autohealing + * policies to new instances or recently recreated instances. This initial delay allows + * instances to initialize and run their startup scripts before the instance group determines + * that they are UNHEALTHY. This prevents the managed instance group from recreating its + * instances prematurely. This value must be from range [0, 3600]. + */ public Builder setInitialDelaySec(Integer initialDelaySec) { this.initialDelaySec = initialDelaySec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java index 2cbde662078d..4e018dbd3b19 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] A list of managed instance groups. */ public final class InstanceGroupManagerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of + * managed instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceGroupManagerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroupManager resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroupManager resources. */ public Builder addItems(InstanceGroupManager items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceGroupManager items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java index 227c8820d688..fa36cdbd78b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java @@ -55,6 +55,13 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A bit indicating whether the managed instance group is in a stable state. A + * stable state means that: none of the instances in the managed instance group is currently + * undergoing any type of change (for example, creation, restart, or deletion); no future changes + * are scheduled for instances in the managed instance group; and the managed instance group + * itself is not being modified. + */ public Boolean getIsStable() { return isStable; } @@ -98,10 +105,24 @@ public Builder mergeFrom(InstanceGroupManagerStatus other) { this.isStable = source.isStable; } + /** + * [Output Only] A bit indicating whether the managed instance group is in a stable state. A + * stable state means that: none of the instances in the managed instance group is currently + * undergoing any type of change (for example, creation, restart, or deletion); no future + * changes are scheduled for instances in the managed instance group; and the managed instance + * group itself is not being modified. + */ public Boolean getIsStable() { return isStable; } + /** + * [Output Only] A bit indicating whether the managed instance group is in a stable state. A + * stable state means that: none of the instances in the managed instance group is currently + * undergoing any type of change (for example, creation, restart, or deletion); no future + * changes are scheduled for instances in the managed instance group; and the managed instance + * group itself is not being modified. + */ public Builder setIsStable(Boolean isStable) { this.isStable = isStable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java index 7ed3a69f847c..66bb66290dd6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java @@ -74,14 +74,44 @@ public List getFieldMask() { return null; } + /** + * The maximum number of instances that can be created above the specified targetSize during the + * update process. By default, a fixed value of 1 is used. This value can be either a fixed number + * or a percentage if the instance group has 10 or more instances. If you set a percentage, the + * number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxSurge. + */ public FixedOrPercent getMaxSurge() { return maxSurge; } + /** + * The maximum number of instances that can be unavailable during the update process. An instance + * is considered available if all of the following conditions are satisfied: + * + *

- The instance's status is RUNNING. - If there is a health check on the instance group, the + * instance's liveness health check result must be HEALTHY at least once. If there is no health + * check on the group, then the instance only needs to have a status of RUNNING to be considered + * available. By default, a fixed value of 1 is used. This value can be either a fixed number or a + * percentage if the instance group has 10 or more instances. If you set a percentage, the number + * of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxUnavailable. + */ public FixedOrPercent getMaxUnavailable() { return maxUnavailable; } + /** + * Minimal action to be taken on an instance. You can specify either RESTART to restart existing + * instances or REPLACE to delete and create new instances from the target template. If you + * specify a RESTART, the Updater will attempt to perform that action only. However, if the + * Updater determines that the minimal action you specify is not enough to perform the update, it + * might perform a more disruptive action. + */ public String getMinimalAction() { return minimalAction; } @@ -144,28 +174,88 @@ public Builder mergeFrom(InstanceGroupManagerUpdatePolicy other) { this.type = source.type; } + /** + * The maximum number of instances that can be created above the specified targetSize during the + * update process. By default, a fixed value of 1 is used. This value can be either a fixed + * number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxSurge. + */ public FixedOrPercent getMaxSurge() { return maxSurge; } + /** + * The maximum number of instances that can be created above the specified targetSize during the + * update process. By default, a fixed value of 1 is used. This value can be either a fixed + * number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxSurge. + */ public Builder setMaxSurge(FixedOrPercent maxSurge) { this.maxSurge = maxSurge; return this; } + /** + * The maximum number of instances that can be unavailable during the update process. An + * instance is considered available if all of the following conditions are satisfied: + * + *

- The instance's status is RUNNING. - If there is a health check on the instance group, + * the instance's liveness health check result must be HEALTHY at least once. If there is no + * health check on the group, then the instance only needs to have a status of RUNNING to be + * considered available. By default, a fixed value of 1 is used. This value can be either a + * fixed number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxUnavailable. + */ public FixedOrPercent getMaxUnavailable() { return maxUnavailable; } + /** + * The maximum number of instances that can be unavailable during the update process. An + * instance is considered available if all of the following conditions are satisfied: + * + *

- The instance's status is RUNNING. - If there is a health check on the instance group, + * the instance's liveness health check result must be HEALTHY at least once. If there is no + * health check on the group, then the instance only needs to have a status of RUNNING to be + * considered available. By default, a fixed value of 1 is used. This value can be either a + * fixed number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxUnavailable. + */ public Builder setMaxUnavailable(FixedOrPercent maxUnavailable) { this.maxUnavailable = maxUnavailable; return this; } + /** + * Minimal action to be taken on an instance. You can specify either RESTART to restart existing + * instances or REPLACE to delete and create new instances from the target template. If you + * specify a RESTART, the Updater will attempt to perform that action only. However, if the + * Updater determines that the minimal action you specify is not enough to perform the update, + * it might perform a more disruptive action. + */ public String getMinimalAction() { return minimalAction; } + /** + * Minimal action to be taken on an instance. You can specify either RESTART to restart existing + * instances or REPLACE to delete and create new instances from the target template. If you + * specify a RESTART, the Updater will attempt to perform that action only. However, if the + * Updater determines that the minimal action you specify is not enough to perform the update, + * it might perform a more disruptive action. + */ public Builder setMinimalAction(String minimalAction) { this.minimalAction = minimalAction; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java index 04530b1e9355..735931737c40 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java @@ -72,10 +72,20 @@ public String getInstanceTemplate() { return instanceTemplate; } + /** Name of the version. Unique among all versions in the scope of this managed instance group. */ public String getName() { return name; } + /** + * Specifies the intended number of instances to be created from the instanceTemplate. The final + * number of instances created from the template will be equal to: - If expressed as a fixed + * number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if + * expressed as a percent, the targetSize would be (targetSize.percent/100 * + * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, + * this version will update any remaining instances not updated by another version. Read Starting + * a canary update for more information. + */ public FixedOrPercent getTargetSize() { return targetSize; } @@ -138,19 +148,43 @@ public Builder setInstanceTemplate(String instanceTemplate) { return this; } + /** + * Name of the version. Unique among all versions in the scope of this managed instance group. + */ public String getName() { return name; } + /** + * Name of the version. Unique among all versions in the scope of this managed instance group. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the intended number of instances to be created from the instanceTemplate. The final + * number of instances created from the template will be equal to: - If expressed as a fixed + * number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - + * if expressed as a percent, the targetSize would be (targetSize.percent/100 * + * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, + * this version will update any remaining instances not updated by another version. Read + * Starting a canary update for more information. + */ public FixedOrPercent getTargetSize() { return targetSize; } + /** + * Specifies the intended number of instances to be created from the instanceTemplate. The final + * number of instances created from the template will be equal to: - If expressed as a fixed + * number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - + * if expressed as a percent, the targetSize would be (targetSize.percent/100 * + * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, + * this version will update any remaining instances not updated by another version. Read + * Starting a canary update for more information. + */ public Builder setTargetSize(FixedOrPercent targetSize) { this.targetSize = targetSize; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java index 6d3972e9c44b..2389c15a0f27 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersAbandonInstancesRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java index ace1e968e539..54f9d829e8ee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersDeleteInstancesRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java index 0602359285e2..bf9313252a87 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java @@ -57,6 +57,7 @@ public List getFieldMask() { return null; } + /** [Output Only] The list of instances in the managed instance group. */ public List getManagedInstancesList() { return managedInstances; } @@ -101,10 +102,12 @@ public Builder mergeFrom(InstanceGroupManagersListManagedInstancesResponse other this.managedInstances = source.managedInstances; } + /** [Output Only] The list of instances in the managed instance group. */ public List getManagedInstancesList() { return managedInstances; } + /** [Output Only] The list of instances in the managed instance group. */ public Builder addAllManagedInstances(List managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); @@ -113,6 +116,7 @@ public Builder addAllManagedInstances(List managedInstances) { return this; } + /** [Output Only] The list of instances in the managed instance group. */ public Builder addManagedInstances(ManagedInstance managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java index f1a6f3cda28a..e2b05adf8c67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersRecreateInstancesRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java index 0c8834f7774e..c766f42bbcd7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java @@ -63,10 +63,18 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public List getInstanceGroupManagersList() { return instanceGroupManagers; } + /** + * [Output Only] The warning that replaces the list of managed instance groups when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -115,10 +123,18 @@ public Builder mergeFrom(InstanceGroupManagersScopedList other) { this.warning = source.warning; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public List getInstanceGroupManagersList() { return instanceGroupManagers; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public Builder addAllInstanceGroupManagers(List instanceGroupManagers) { if (this.instanceGroupManagers == null) { this.instanceGroupManagers = new LinkedList<>(); @@ -127,6 +143,10 @@ public Builder addAllInstanceGroupManagers(List instanceGr return this; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public Builder addInstanceGroupManagers(InstanceGroupManager instanceGroupManagers) { if (this.instanceGroupManagers == null) { this.instanceGroupManagers = new LinkedList<>(); @@ -135,10 +155,18 @@ public Builder addInstanceGroupManagers(InstanceGroupManager instanceGroupManage return this; } + /** + * [Output Only] The warning that replaces the list of managed instance groups when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] The warning that replaces the list of managed instance groups when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java index 4ac231621c24..5a704184e59d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersSetInstanceTemplateRequest other) this.instanceTemplate = source.instanceTemplate; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java index f8e761258525..692f5348e6f1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java @@ -62,10 +62,22 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the target pools information. Use this optional property to prevent + * conflicts when multiple users change the target pools settings concurrently. Obtain the + * fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your + * request to ensure that you do not overwrite changes that were applied from another concurrent + * request. + */ public String getFingerprint() { return fingerprint; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public List getTargetPoolsList() { return targetPools; } @@ -114,19 +126,43 @@ public Builder mergeFrom(InstanceGroupManagersSetTargetPoolsRequest other) { this.targetPools = source.targetPools; } + /** + * The fingerprint of the target pools information. Use this optional property to prevent + * conflicts when multiple users change the target pools settings concurrently. Obtain the + * fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your + * request to ensure that you do not overwrite changes that were applied from another concurrent + * request. + */ public String getFingerprint() { return fingerprint; } + /** + * The fingerprint of the target pools information. Use this optional property to prevent + * conflicts when multiple users change the target pools settings concurrently. Obtain the + * fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your + * request to ensure that you do not overwrite changes that were applied from another concurrent + * request. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -135,6 +171,11 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public Builder addTargetPools(String targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java index c4b8af273cee..d3f7f99eddf8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** The list of instances to add to the instance group. */ public List getInstancesList() { return instances; } @@ -99,10 +100,12 @@ public Builder mergeFrom(InstanceGroupsAddInstancesRequest other) { this.instances = source.instances; } + /** The list of instances to add to the instance group. */ public List getInstancesList() { return instances; } + /** The list of instances to add to the instance group. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllInstances(List instances) { return this; } + /** The list of instances to add to the instance group. */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java index 282d08c7d00c..79846065797c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the + * list of instances in the specified instance group. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,23 @@ public Builder mergeFrom(InstanceGroupsListInstances other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +219,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addItems(InstanceWithNamedPorts items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +228,61 @@ public Builder addItems(InstanceWithNamedPorts items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the + * list of instances in the specified instance group. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the + * list of instances in the specified instance group. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java index 5c70d106459e..8a2add62db08 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java @@ -55,6 +55,11 @@ public List getFieldMask() { return null; } + /** + * A filter for the state of the instances in the instance group. Valid options are ALL or + * RUNNING. If you do not specify this parameter the list includes all instances regardless of + * their state. + */ public String getInstanceState() { return instanceState; } @@ -98,10 +103,20 @@ public Builder mergeFrom(InstanceGroupsListInstancesRequest other) { this.instanceState = source.instanceState; } + /** + * A filter for the state of the instances in the instance group. Valid options are ALL or + * RUNNING. If you do not specify this parameter the list includes all instances regardless of + * their state. + */ public String getInstanceState() { return instanceState; } + /** + * A filter for the state of the instances in the instance group. Valid options are ALL or + * RUNNING. If you do not specify this parameter the list includes all instances regardless of + * their state. + */ public Builder setInstanceState(String instanceState) { this.instanceState = instanceState; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java index 4dc9e1ee11d5..eba33bccf1c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** The list of instances to remove from the instance group. */ public List getInstancesList() { return instances; } @@ -99,10 +100,12 @@ public Builder mergeFrom(InstanceGroupsRemoveInstancesRequest other) { this.instances = source.instances; } + /** The list of instances to remove from the instance group. */ public List getInstancesList() { return instances; } + /** The list of instances to remove from the instance group. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllInstances(List instances) { return this; } + /** The list of instances to remove from the instance group. */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java index d0086228d91c..cd129b0f59c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public List getInstanceGroupsList() { return instanceGroups; } + /** + * [Output Only] An informational warning that replaces the list of instance groups when the list + * is empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(InstanceGroupsScopedList other) { this.warning = source.warning; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public List getInstanceGroupsList() { return instanceGroups; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public Builder addAllInstanceGroups(List instanceGroups) { if (this.instanceGroups == null) { this.instanceGroups = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllInstanceGroups(List instanceGroups) { return this; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public Builder addInstanceGroups(InstanceGroup instanceGroups) { if (this.instanceGroups == null) { this.instanceGroups = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addInstanceGroups(InstanceGroup instanceGroups) { return this; } + /** + * [Output Only] An informational warning that replaces the list of instance groups when the + * list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] An informational warning that replaces the list of instance groups when the + * list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java index 021b431a309b..27795bc7f379 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java @@ -62,10 +62,19 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings concurrently. + * Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in + * your request to ensure that you do not overwrite changes that were applied from another + * concurrent request. A request with an incorrect fingerprint will fail with error 412 + * conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } @@ -114,19 +123,37 @@ public Builder mergeFrom(InstanceGroupsSetNamedPortsRequest other) { this.namedPorts = source.namedPorts; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. A request with an incorrect fingerprint will fail with error + * 412 conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. A request with an incorrect fingerprint will fail with error + * 412 conditionNotMet. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** The list of named ports to set for this instance group. */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -135,6 +162,7 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** The list of named ports to set for this instance group. */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java index abe8f6db0ad9..d852bebc822c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of instances. */ public final class InstanceList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,39 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Instance resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,23 @@ public Builder mergeFrom(InstanceList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Instance resources. */ public List getItemsList() { return items; } + /** A list of Instance resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +219,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Instance resources. */ public Builder addItems(Instance items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +228,59 @@ public Builder addItems(Instance items) { return this; } + /** + * [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java index c86bc0de725b..cabea61e4d17 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of instance referrers. */ public final class InstanceListReferrers implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Reference resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance + * referrers. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceListReferrers other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Reference resources. */ public List getItemsList() { return items; } + /** A list of Reference resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Reference resources. */ public Builder addItems(Reference items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(Reference items) { return this; } + /** + * [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance + * referrers. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance + * referrers. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java index bee05f9d8bcd..6b2d38d7ff91 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java @@ -61,10 +61,22 @@ public List getFieldMask() { return null; } + /** + * The URL of the destination zone to move the instance. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone + * - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the target instance to move. This can be a full or partial URL. For example, the + * following are all valid URLs to an instance: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getTargetInstance() { return targetInstance; } @@ -113,19 +125,43 @@ public Builder mergeFrom(InstanceMoveRequest other) { this.targetInstance = source.targetInstance; } + /** + * The URL of the destination zone to move the instance. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the destination zone to move the instance. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public Builder setDestinationZone(String destinationZone) { this.destinationZone = destinationZone; return this; } + /** + * The URL of the target instance to move. This can be a full or partial URL. For example, the + * following are all valid URLs to an instance: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getTargetInstance() { return targetInstance; } + /** + * The URL of the target instance to move. This can be a full or partial URL. For example, the + * following are all valid URLs to an instance: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public Builder setTargetInstance(String targetInstance) { this.targetInstance = targetInstance; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java index 7cb1dc03d55c..9d810d1df1ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java @@ -135,50 +135,92 @@ public List getFieldMask() { return null; } + /** + * Enables instances created based on this template to send packets with source IP addresses other + * than their own and receive packets with destination IP addresses other than their own. If these + * instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, + * specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation + * for more information. + */ public Boolean getCanIpForward() { return canIpForward; } + /** + * An optional text description for the instances that are created from this instance template. + */ public String getDescription() { return description; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public List getDisksList() { return disks; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** Labels to apply to instances that are created from this template. */ public Map getLabelsMap() { return labels; } + /** The machine type to use for instances that are created from this template. */ public String getMachineType() { return machineType; } + /** + * The metadata key/value pairs to assign to instances that are created from this template. These + * pairs can consist of custom metadata or predefined keys. See Project and instance metadata for + * more information. + */ public Metadata getMetadata() { return metadata; } + /** + * Minimum cpu/platform to be used by this instance. The instance may be scheduled on the + * specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, + * such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more + * information, read Specifying a Minimum CPU Platform. + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** An array of network access configurations for this interface. */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** Specifies the scheduling options for the instances that are created from this template. */ public Scheduling getScheduling() { return scheduling; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts are + * available to the instances that are created from this template. Use metadata queries to obtain + * the access tokens for these instances. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * A list of tags to apply to the instances that are created from this template. The tags identify + * valid sources or targets for network firewalls. The setTags method can modify this list of + * tags. Each tag within the list must comply with RFC1035. + */ public Tags getTags() { return tags; } @@ -277,28 +319,54 @@ public Builder mergeFrom(InstanceProperties other) { this.tags = source.tags; } + /** + * Enables instances created based on this template to send packets with source IP addresses + * other than their own and receive packets with destination IP addresses other than their own. + * If these instances will be used as an IP gateway or it will be set as the next-hop in a Route + * resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding + * documentation for more information. + */ public Boolean getCanIpForward() { return canIpForward; } + /** + * Enables instances created based on this template to send packets with source IP addresses + * other than their own and receive packets with destination IP addresses other than their own. + * If these instances will be used as an IP gateway or it will be set as the next-hop in a Route + * resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding + * documentation for more information. + */ public Builder setCanIpForward(Boolean canIpForward) { this.canIpForward = canIpForward; return this; } + /** + * An optional text description for the instances that are created from this instance template. + */ public String getDescription() { return description; } + /** + * An optional text description for the instances that are created from this instance template. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public List getDisksList() { return disks; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -307,6 +375,9 @@ public Builder addAllDisks(List disks) { return this; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public Builder addDisks(AttachedDisk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -315,10 +386,18 @@ public Builder addDisks(AttachedDisk disks) { return this; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public Builder addAllGuestAccelerators(List guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -327,6 +406,10 @@ public Builder addAllGuestAccelerators(List guestAccelerators return this; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -335,46 +418,74 @@ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { return this; } + /** Labels to apply to instances that are created from this template. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to instances that are created from this template. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** The machine type to use for instances that are created from this template. */ public String getMachineType() { return machineType; } + /** The machine type to use for instances that are created from this template. */ public Builder setMachineType(String machineType) { this.machineType = machineType; return this; } + /** + * The metadata key/value pairs to assign to instances that are created from this template. + * These pairs can consist of custom metadata or predefined keys. See Project and instance + * metadata for more information. + */ public Metadata getMetadata() { return metadata; } + /** + * The metadata key/value pairs to assign to instances that are created from this template. + * These pairs can consist of custom metadata or predefined keys. See Project and instance + * metadata for more information. + */ public Builder setMetadata(Metadata metadata) { this.metadata = metadata; return this; } + /** + * Minimum cpu/platform to be used by this instance. The instance may be scheduled on the + * specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, + * such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more + * information, read Specifying a Minimum CPU Platform. + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** + * Minimum cpu/platform to be used by this instance. The instance may be scheduled on the + * specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, + * such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more + * information, read Specifying a Minimum CPU Platform. + */ public Builder setMinCpuPlatform(String minCpuPlatform) { this.minCpuPlatform = minCpuPlatform; return this; } + /** An array of network access configurations for this interface. */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** An array of network access configurations for this interface. */ public Builder addAllNetworkInterfaces(List networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -383,6 +494,7 @@ public Builder addAllNetworkInterfaces(List networkInterfaces) return this; } + /** An array of network access configurations for this interface. */ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -391,19 +503,31 @@ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { return this; } + /** Specifies the scheduling options for the instances that are created from this template. */ public Scheduling getScheduling() { return scheduling; } + /** Specifies the scheduling options for the instances that are created from this template. */ public Builder setScheduling(Scheduling scheduling) { this.scheduling = scheduling; return this; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts + * are available to the instances that are created from this template. Use metadata queries to + * obtain the access tokens for these instances. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts + * are available to the instances that are created from this template. Use metadata queries to + * obtain the access tokens for these instances. + */ public Builder addAllServiceAccounts(List serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -412,6 +536,11 @@ public Builder addAllServiceAccounts(List serviceAccounts) { return this; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts + * are available to the instances that are created from this template. Use metadata queries to + * obtain the access tokens for these instances. + */ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -420,10 +549,20 @@ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { return this; } + /** + * A list of tags to apply to the instances that are created from this template. The tags + * identify valid sources or targets for network firewalls. The setTags method can modify this + * list of tags. Each tag within the list must comply with RFC1035. + */ public Tags getTags() { return tags; } + /** + * A list of tags to apply to the instances that are created from this template. The tags + * identify valid sources or targets for network firewalls. The setTags method can modify this + * list of tags. Each tag within the list must comply with RFC1035. + */ public Builder setTags(Tags tags) { this.tags = tags; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java index bc073a3c35bb..bf9044b73b40 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The URL for a specific instance. */ public String getInstance() { return instance; } @@ -98,10 +99,12 @@ public Builder mergeFrom(InstanceReference other) { this.instance = source.instance; } + /** The URL for a specific instance. */ public String getInstance() { return instance; } + /** The URL for a specific instance. */ public Builder setInstance(String instance) { this.instance = instance; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java index 0d7098630f54..ab3fa38ca417 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public final class InstanceTemplate implements ApiMessage { private final String creationTimestamp; private final String description; @@ -112,38 +116,66 @@ public List getFieldMask() { return null; } + /** [Output Only] The creation timestamp for this instance template in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] A unique identifier for this instance template. The server defines this + * identifier. + */ public String getId() { return id; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplate for instance + * templates. + */ public String getKind() { return kind; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The instance properties for this instance template. */ public InstanceProperties getProperties() { return properties; } + /** [Output Only] The URL for this instance template. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** + * The source instance used to create the template. You can provide this as a partial or full URL + * to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance + */ public String getSourceInstance() { return sourceInstance; } + /** The source instance params to use to create this instance template. */ public SourceInstanceParams getSourceInstanceParams() { return sourceInstanceParams; } @@ -227,82 +259,138 @@ public Builder mergeFrom(InstanceTemplate other) { this.sourceInstanceParams = source.sourceInstanceParams; } + /** [Output Only] The creation timestamp for this instance template in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The creation timestamp for this instance template in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] A unique identifier for this instance template. The server defines this + * identifier. + */ public String getId() { return id; } + /** + * [Output Only] A unique identifier for this instance template. The server defines this + * identifier. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplate for instance + * templates. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplate for instance + * templates. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The instance properties for this instance template. */ public InstanceProperties getProperties() { return properties; } + /** The instance properties for this instance template. */ public Builder setProperties(InstanceProperties properties) { this.properties = properties; return this; } + /** [Output Only] The URL for this instance template. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The URL for this instance template. The server defines this URL. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The source instance used to create the template. You can provide this as a partial or full + * URL to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance + */ public String getSourceInstance() { return sourceInstance; } + /** + * The source instance used to create the template. You can provide this as a partial or full + * URL to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance + */ public Builder setSourceInstance(String sourceInstance) { this.sourceInstance = sourceInstance; return this; } + /** The source instance params to use to create this instance template. */ public SourceInstanceParams getSourceInstanceParams() { return sourceInstanceParams; } + /** The source instance params to use to create this instance template. */ public Builder setSourceInstanceParams(SourceInstanceParams sourceInstanceParams) { this.sourceInstanceParams = sourceInstanceParams; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java index 22b5a0875af2..2a2d72a177aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of instance templates. */ public final class InstanceTemplateList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceTemplate resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for + * instance template lists. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceTemplateList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceTemplate resources. */ public List getItemsList() { return items; } + /** A list of InstanceTemplate resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceTemplate resources. */ public Builder addItems(InstanceTemplate items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceTemplate items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for + * instance template lists. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for + * instance template lists. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java index 02b4cecca0a4..7a67b907c882 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java @@ -68,14 +68,17 @@ public List getFieldMask() { return null; } + /** [Output Only] The URL of the instance. */ public String getInstance() { return instance; } + /** [Output Only] The named ports that belong to this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** [Output Only] The status of the instance. */ public String getStatus() { return status; } @@ -129,19 +132,23 @@ public Builder mergeFrom(InstanceWithNamedPorts other) { this.status = source.status; } + /** [Output Only] The URL of the instance. */ public String getInstance() { return instance; } + /** [Output Only] The URL of the instance. */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** [Output Only] The named ports that belong to this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** [Output Only] The named ports that belong to this instance group. */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -150,6 +157,7 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** [Output Only] The named ports that belong to this instance group. */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -158,10 +166,12 @@ public Builder addNamedPorts(NamedPort namedPorts) { return this; } + /** [Output Only] The status of the instance. */ public String getStatus() { return status; } + /** [Output Only] The status of the instance. */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java index c797dbe34141..9c6c49c71e02 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of instances contained in this scope. */ public List getInstancesList() { return instances; } + /** + * [Output Only] Informational warning which replaces the list of instances when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(InstancesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of instances contained in this scope. */ public List getInstancesList() { return instances; } + /** [Output Only] A list of instances contained in this scope. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllInstances(List instances) { return this; } + /** [Output Only] A list of instances contained in this scope. */ public Builder addInstances(Instance instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addInstances(Instance instances) { return this; } + /** + * [Output Only] Informational warning which replaces the list of instances when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of instances when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java index 3e6b0881320c..b9a16492dcab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java @@ -62,6 +62,10 @@ public List getFieldMask() { return null; } + /** + * Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide + * the latest fingerprint value when making a request to add or change labels. + */ public String getLabelFingerprint() { return labelFingerprint; } @@ -114,10 +118,18 @@ public Builder mergeFrom(InstancesSetLabelsRequest other) { this.labels = source.labels; } + /** + * Fingerprint of the previous set of labels for this resource, used to prevent conflicts. + * Provide the latest fingerprint value when making a request to add or change labels. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * Fingerprint of the previous set of labels for this resource, used to prevent conflicts. + * Provide the latest fingerprint value when making a request to add or change labels. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java index c81d4dee1d29..30e527723691 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } @@ -99,10 +100,12 @@ public Builder mergeFrom(InstancesSetMachineResourcesRequest other) { this.guestAccelerators = source.guestAccelerators; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addAllGuestAccelerators(List guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllGuestAccelerators(List guestAccelerators return this; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java index 6938cd79d50e..dee3b4cd7de5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * Full or partial URL of the machine type resource. See Machine Types for a full list of machine + * types. For example: zones/us-central1-f/machineTypes/n1-standard-1 + */ public String getMachineType() { return machineType; } @@ -98,10 +102,18 @@ public Builder mergeFrom(InstancesSetMachineTypeRequest other) { this.machineType = source.machineType; } + /** + * Full or partial URL of the machine type resource. See Machine Types for a full list of + * machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1 + */ public String getMachineType() { return machineType; } + /** + * Full or partial URL of the machine type resource. See Machine Types for a full list of + * machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1 + */ public Builder setMachineType(String machineType) { this.machineType = machineType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java index 35b02d1742cd..30d712211ed5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Minimum cpu/platform this instance should be started at. */ public String getMinCpuPlatform() { return minCpuPlatform; } @@ -98,10 +99,12 @@ public Builder mergeFrom(InstancesSetMinCpuPlatformRequest other) { this.minCpuPlatform = source.minCpuPlatform; } + /** Minimum cpu/platform this instance should be started at. */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** Minimum cpu/platform this instance should be started at. */ public Builder setMinCpuPlatform(String minCpuPlatform) { this.minCpuPlatform = minCpuPlatform; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java index ecf213d4aaf8..2036b658b44e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } @@ -114,19 +116,23 @@ public Builder mergeFrom(InstancesSetServiceAccountRequest other) { this.scopes = source.scopes; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** Email address of the service account. */ public Builder setEmail(String email) { this.email = email; return this; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } + /** The list of scopes to be made available for this service account. */ public Builder addAllScopes(List scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); @@ -135,6 +141,7 @@ public Builder addAllScopes(List scopes) { return this; } + /** The list of scopes to be made available for this service account. */ public Builder addScopes(String scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java index 5ef6a56602ba..073a84a114de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java @@ -56,6 +56,15 @@ public List getFieldMask() { return null; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public List getDisksList() { return disks; } @@ -99,10 +108,28 @@ public Builder mergeFrom(InstancesStartWithEncryptionKeyRequest other) { this.disks = source.disks; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public List getDisksList() { return disks; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -111,6 +138,15 @@ public Builder addAllDisks(List disks) { return this; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public Builder addDisks(CustomerEncryptionKeyProtectedDisk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java index 4850a426151c..dddd46327f04 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the Dedicated + * overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==) + */ public final class Interconnect implements ApiMessage { private final Boolean adminEnabled; private final List circuitInfos; @@ -204,90 +209,154 @@ public List getFieldMask() { return null; } + /** + * Administrative status of the interconnect. When this is set to true, the Interconnect is + * functional and can carry traffic. When set to false, no packets can be carried over the + * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. + */ public Boolean getAdminEnabled() { return adminEnabled; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. + */ public List getCircuitInfosList() { return circuitInfos; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * Customer name, to put in the Letter of Authorization as the party authorized to request a + * crossconnect. + */ public String getCustomerName() { return customerName; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] A list of outages expected for this Interconnect. */ public List getExpectedOutagesList() { return expectedOutages; } + /** + * [Output Only] IP address configured on the Google side of the Interconnect link. This can be + * used only for ping tests. + */ public String getGoogleIpAddress() { return googleIpAddress; } + /** + * [Output Only] Google reference ID; to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "DEDICATED" */ public String getInterconnectType() { return interconnectType; } + /** [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ public String getKind() { return kind; } + /** + * Type of link requested. This field indicates speed of each of the links in the bundle, not the + * entire bundle. + */ public String getLinkType() { return linkType; } + /** + * URL of the InterconnectLocation object that represents where this connection is to be + * provisioned. + */ public String getLocation() { return location; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Email address to contact the customer NOC for operations and maintenance notifications + * regarding this Interconnect. If specified, this will be used for notifications in addition to + * all other forms described, such as Stackdriver logs alerting and Cloud Notifications. + */ public String getNocContactEmail() { return nocContactEmail; } + /** [Output Only] The current status of whether or not this Interconnect is functional. */ public String getOperationalStatus() { return operationalStatus; } + /** + * [Output Only] IP address configured on the customer side of the Interconnect link. The customer + * should configure this IP address during turnup when prompted by Google NOC. This can be used + * only for ping tests. + */ public String getPeerIpAddress() { return peerIpAddress; } + /** [Output Only] Number of links actually provisioned in this interconnect. */ public Integer getProvisionedLinkCount() { return provisionedLinkCount; } + /** Target number of physical links in the link bundle, as requested by the customer. */ public Integer getRequestedLinkCount() { return requestedLinkCount; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The current state of whether or not this Interconnect is functional. */ public String getState() { return state; } @@ -436,19 +505,37 @@ public Builder mergeFrom(Interconnect other) { this.state = source.state; } + /** + * Administrative status of the interconnect. When this is set to true, the Interconnect is + * functional and can carry traffic. When set to false, no packets can be carried over the + * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. + */ public Boolean getAdminEnabled() { return adminEnabled; } + /** + * Administrative status of the interconnect. When this is set to true, the Interconnect is + * functional and can carry traffic. When set to false, no packets can be carried over the + * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. + */ public Builder setAdminEnabled(Boolean adminEnabled) { this.adminEnabled = adminEnabled; return this; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this + * LAG. + */ public List getCircuitInfosList() { return circuitInfos; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this + * LAG. + */ public Builder addAllCircuitInfos(List circuitInfos) { if (this.circuitInfos == null) { this.circuitInfos = new LinkedList<>(); @@ -457,6 +544,10 @@ public Builder addAllCircuitInfos(List circuitInfos) { return this; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this + * LAG. + */ public Builder addCircuitInfos(InterconnectCircuitInfo circuitInfos) { if (this.circuitInfos == null) { this.circuitInfos = new LinkedList<>(); @@ -465,37 +556,55 @@ public Builder addCircuitInfos(InterconnectCircuitInfo circuitInfos) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * Customer name, to put in the Letter of Authorization as the party authorized to request a + * crossconnect. + */ public String getCustomerName() { return customerName; } + /** + * Customer name, to put in the Letter of Authorization as the party authorized to request a + * crossconnect. + */ public Builder setCustomerName(String customerName) { this.customerName = customerName; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] A list of outages expected for this Interconnect. */ public List getExpectedOutagesList() { return expectedOutages; } + /** [Output Only] A list of outages expected for this Interconnect. */ public Builder addAllExpectedOutages(List expectedOutages) { if (this.expectedOutages == null) { this.expectedOutages = new LinkedList<>(); @@ -504,6 +613,7 @@ public Builder addAllExpectedOutages(List expect return this; } + /** [Output Only] A list of outages expected for this Interconnect. */ public Builder addExpectedOutages(InterconnectOutageNotification expectedOutages) { if (this.expectedOutages == null) { this.expectedOutages = new LinkedList<>(); @@ -512,37 +622,69 @@ public Builder addExpectedOutages(InterconnectOutageNotification expectedOutages return this; } + /** + * [Output Only] IP address configured on the Google side of the Interconnect link. This can be + * used only for ping tests. + */ public String getGoogleIpAddress() { return googleIpAddress; } + /** + * [Output Only] IP address configured on the Google side of the Interconnect link. This can be + * used only for ping tests. + */ public Builder setGoogleIpAddress(String googleIpAddress) { this.googleIpAddress = googleIpAddress; return this; } + /** + * [Output Only] Google reference ID; to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] Google reference ID; to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public Builder setGoogleReferenceId(String googleReferenceId) { this.googleReferenceId = googleReferenceId; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public Builder addAllInterconnectAttachments(List interconnectAttachments) { if (this.interconnectAttachments == null) { this.interconnectAttachments = new LinkedList<>(); @@ -551,6 +693,10 @@ public Builder addAllInterconnectAttachments(List interconnectAttachment return this; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public Builder addInterconnectAttachments(String interconnectAttachments) { if (this.interconnectAttachments == null) { this.interconnectAttachments = new LinkedList<>(); @@ -559,109 +705,173 @@ public Builder addInterconnectAttachments(String interconnectAttachments) { return this; } + /** Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "DEDICATED" */ public String getInterconnectType() { return interconnectType; } + /** Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "DEDICATED" */ public Builder setInterconnectType(String interconnectType) { this.interconnectType = interconnectType; return this; } + /** [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Type of link requested. This field indicates speed of each of the links in the bundle, not + * the entire bundle. + */ public String getLinkType() { return linkType; } + /** + * Type of link requested. This field indicates speed of each of the links in the bundle, not + * the entire bundle. + */ public Builder setLinkType(String linkType) { this.linkType = linkType; return this; } + /** + * URL of the InterconnectLocation object that represents where this connection is to be + * provisioned. + */ public String getLocation() { return location; } + /** + * URL of the InterconnectLocation object that represents where this connection is to be + * provisioned. + */ public Builder setLocation(String location) { this.location = location; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Email address to contact the customer NOC for operations and maintenance notifications + * regarding this Interconnect. If specified, this will be used for notifications in addition to + * all other forms described, such as Stackdriver logs alerting and Cloud Notifications. + */ public String getNocContactEmail() { return nocContactEmail; } + /** + * Email address to contact the customer NOC for operations and maintenance notifications + * regarding this Interconnect. If specified, this will be used for notifications in addition to + * all other forms described, such as Stackdriver logs alerting and Cloud Notifications. + */ public Builder setNocContactEmail(String nocContactEmail) { this.nocContactEmail = nocContactEmail; return this; } + /** [Output Only] The current status of whether or not this Interconnect is functional. */ public String getOperationalStatus() { return operationalStatus; } + /** [Output Only] The current status of whether or not this Interconnect is functional. */ public Builder setOperationalStatus(String operationalStatus) { this.operationalStatus = operationalStatus; return this; } + /** + * [Output Only] IP address configured on the customer side of the Interconnect link. The + * customer should configure this IP address during turnup when prompted by Google NOC. This can + * be used only for ping tests. + */ public String getPeerIpAddress() { return peerIpAddress; } + /** + * [Output Only] IP address configured on the customer side of the Interconnect link. The + * customer should configure this IP address during turnup when prompted by Google NOC. This can + * be used only for ping tests. + */ public Builder setPeerIpAddress(String peerIpAddress) { this.peerIpAddress = peerIpAddress; return this; } + /** [Output Only] Number of links actually provisioned in this interconnect. */ public Integer getProvisionedLinkCount() { return provisionedLinkCount; } + /** [Output Only] Number of links actually provisioned in this interconnect. */ public Builder setProvisionedLinkCount(Integer provisionedLinkCount) { this.provisionedLinkCount = provisionedLinkCount; return this; } + /** Target number of physical links in the link bundle, as requested by the customer. */ public Integer getRequestedLinkCount() { return requestedLinkCount; } + /** Target number of physical links in the link bundle, as requested by the customer. */ public Builder setRequestedLinkCount(Integer requestedLinkCount) { this.requestedLinkCount = requestedLinkCount; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The current state of whether or not this Interconnect is functional. */ public String getState() { return state; } + /** [Output Only] The current state of whether or not this Interconnect is functional. */ public Builder setState(String state) { this.state = state; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java index 48e7de60cbe8..b6f7078dddcf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public final class InterconnectAttachment implements ApiMessage { private final Boolean adminEnabled; private final String bandwidth; @@ -218,90 +223,175 @@ public List getFieldMask() { return null; } + /** Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. */ public Boolean getAdminEnabled() { return adminEnabled; } + /** + * Provisioned bandwidth capacity for the interconnectAttachment. Can be set by the partner to + * update the customer's provisioned bandwidth. Output only for PARTNER type, mutable for + * PARTNER_PROVIDER and DEDICATED. + */ public String getBandwidth() { return bandwidth; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress + * and customerRouterIpAddress for this attachment. All prefixes must be within link-local address + * space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to + * select an unused /29 from the supplied candidate prefix(es). The request will fail if all + * possible /29s are in use on Google?s edge. If not supplied, Google will randomly select an + * unused /29 from all of link-local space. + */ public List getCandidateSubnetsList() { return candidateSubnets; } + /** + * [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this + * interconnect attachment. + */ public String getCloudRouterIpAddress() { return cloudRouterIpAddress; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] IPv4 address + prefix length to be configured on the customer router subinterface + * for this interconnect attachment. + */ public String getCustomerRouterIpAddress() { return customerRouterIpAddress; } + /** An optional description of this resource. */ public String getDescription() { return description; } + /** + * Desired availability domain for the attachment. Only available for type PARTNER, at creation + * time. For improved reliability, customers should configure a pair of attachments with one per + * availability domain. The selected availability domain will be provided to the Partner via the + * pairing key so that the provisioned circuit will lie in the specified domain. If not specified, + * the value will default to AVAILABILITY_DOMAIN_ANY. + */ public String getEdgeAvailabilityDomain() { return edgeAvailabilityDomain; } + /** + * [Output Only] Google reference ID, to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * URL of the underlying Interconnect object that this attachment's traffic will traverse through. + */ public String getInterconnect() { return interconnect; } + /** + * [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect + * attachments. + */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * [Output Only] The current status of whether or not this interconnect attachment is functional. + */ public String getOperationalStatus() { return operationalStatus; } + /** + * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The + * opaque identifier of an PARTNER attachment used to initiate provisioning with a selected + * partner. Of the form "XXXXX/region/domain" + */ public String getPairingKey() { return pairingKey; } + /** + * Optional BGP ASN for the router that should be supplied by a layer 3 Partner if they configured + * BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, + * not available for DEDICATED. + */ public String getPartnerAsn() { return partnerAsn; } + /** + * Informational metadata about Partner attachments from Partners to display to customers. Output + * only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + */ public InterconnectAttachmentPartnerMetadata getPartnerMetadata() { return partnerMetadata; } + /** + * [Output Only] Information specific to an InterconnectAttachment. This property is populated if + * the interconnect that this is attached to is of type DEDICATED. + */ public InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo() { return privateInterconnectInfo; } + /** + * [Output Only] URL of the region where the regional interconnect attachment resides. You must + * specify this field as part of the HTTP request URL. It is not settable as a field in the + * request body. + */ public String getRegion() { return region; } + /** + * URL of the Cloud Router to be used for dynamic routing. This router must be in the same region + * as this InterconnectAttachment. The InterconnectAttachment will automatically connect the + * Interconnect to the network & region within which the Cloud Router is configured. + */ public String getRouter() { return router; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The current state of this attachment's functionality. */ public String getState() { return state; } @@ -310,6 +400,10 @@ public String getType() { return type; } + /** + * The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation + * time. + */ public Integer getVlanTag8021q() { return vlanTag8021q; } @@ -468,28 +562,56 @@ public Builder mergeFrom(InterconnectAttachment other) { this.vlanTag8021q = source.vlanTag8021q; } + /** Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. */ public Boolean getAdminEnabled() { return adminEnabled; } + /** Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. */ public Builder setAdminEnabled(Boolean adminEnabled) { this.adminEnabled = adminEnabled; return this; } + /** + * Provisioned bandwidth capacity for the interconnectAttachment. Can be set by the partner to + * update the customer's provisioned bandwidth. Output only for PARTNER type, mutable for + * PARTNER_PROVIDER and DEDICATED. + */ public String getBandwidth() { return bandwidth; } + /** + * Provisioned bandwidth capacity for the interconnectAttachment. Can be set by the partner to + * update the customer's provisioned bandwidth. Output only for PARTNER type, mutable for + * PARTNER_PROVIDER and DEDICATED. + */ public Builder setBandwidth(String bandwidth) { this.bandwidth = bandwidth; return this; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of + * cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be + * within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). + * Google will attempt to select an unused /29 from the supplied candidate prefix(es). The + * request will fail if all possible /29s are in use on Google?s edge. If not supplied, Google + * will randomly select an unused /29 from all of link-local space. + */ public List getCandidateSubnetsList() { return candidateSubnets; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of + * cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be + * within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). + * Google will attempt to select an unused /29 from the supplied candidate prefix(es). The + * request will fail if all possible /29s are in use on Google?s edge. If not supplied, Google + * will randomly select an unused /29 from all of link-local space. + */ public Builder addAllCandidateSubnets(List candidateSubnets) { if (this.candidateSubnets == null) { this.candidateSubnets = new LinkedList<>(); @@ -498,6 +620,14 @@ public Builder addAllCandidateSubnets(List candidateSubnets) { return this; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of + * cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be + * within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). + * Google will attempt to select an unused /29 from the supplied candidate prefix(es). The + * request will fail if all possible /29s are in use on Google?s edge. If not supplied, Google + * will randomly select an unused /29 from all of link-local space. + */ public Builder addCandidateSubnets(String candidateSubnets) { if (this.candidateSubnets == null) { this.candidateSubnets = new LinkedList<>(); @@ -506,173 +636,321 @@ public Builder addCandidateSubnets(String candidateSubnets) { return this; } + /** + * [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for + * this interconnect attachment. + */ public String getCloudRouterIpAddress() { return cloudRouterIpAddress; } + /** + * [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for + * this interconnect attachment. + */ public Builder setCloudRouterIpAddress(String cloudRouterIpAddress) { this.cloudRouterIpAddress = cloudRouterIpAddress; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * [Output Only] IPv4 address + prefix length to be configured on the customer router + * subinterface for this interconnect attachment. + */ public String getCustomerRouterIpAddress() { return customerRouterIpAddress; } + /** + * [Output Only] IPv4 address + prefix length to be configured on the customer router + * subinterface for this interconnect attachment. + */ public Builder setCustomerRouterIpAddress(String customerRouterIpAddress) { this.customerRouterIpAddress = customerRouterIpAddress; return this; } + /** An optional description of this resource. */ public String getDescription() { return description; } + /** An optional description of this resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Desired availability domain for the attachment. Only available for type PARTNER, at creation + * time. For improved reliability, customers should configure a pair of attachments with one per + * availability domain. The selected availability domain will be provided to the Partner via the + * pairing key so that the provisioned circuit will lie in the specified domain. If not + * specified, the value will default to AVAILABILITY_DOMAIN_ANY. + */ public String getEdgeAvailabilityDomain() { return edgeAvailabilityDomain; } + /** + * Desired availability domain for the attachment. Only available for type PARTNER, at creation + * time. For improved reliability, customers should configure a pair of attachments with one per + * availability domain. The selected availability domain will be provided to the Partner via the + * pairing key so that the provisioned circuit will lie in the specified domain. If not + * specified, the value will default to AVAILABILITY_DOMAIN_ANY. + */ public Builder setEdgeAvailabilityDomain(String edgeAvailabilityDomain) { this.edgeAvailabilityDomain = edgeAvailabilityDomain; return this; } + /** + * [Output Only] Google reference ID, to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] Google reference ID, to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public Builder setGoogleReferenceId(String googleReferenceId) { this.googleReferenceId = googleReferenceId; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * URL of the underlying Interconnect object that this attachment's traffic will traverse + * through. + */ public String getInterconnect() { return interconnect; } + /** + * URL of the underlying Interconnect object that this attachment's traffic will traverse + * through. + */ public Builder setInterconnect(String interconnect) { this.interconnect = interconnect; return this; } + /** + * [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect + * attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect + * attachments. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] The current status of whether or not this interconnect attachment is + * functional. + */ public String getOperationalStatus() { return operationalStatus; } + /** + * [Output Only] The current status of whether or not this interconnect attachment is + * functional. + */ public Builder setOperationalStatus(String operationalStatus) { this.operationalStatus = operationalStatus; return this; } + /** + * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. + * The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected + * partner. Of the form "XXXXX/region/domain" + */ public String getPairingKey() { return pairingKey; } + /** + * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. + * The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected + * partner. Of the form "XXXXX/region/domain" + */ public Builder setPairingKey(String pairingKey) { this.pairingKey = pairingKey; return this; } + /** + * Optional BGP ASN for the router that should be supplied by a layer 3 Partner if they + * configured BGP on behalf of the customer. Output only for PARTNER type, input only for + * PARTNER_PROVIDER, not available for DEDICATED. + */ public String getPartnerAsn() { return partnerAsn; } + /** + * Optional BGP ASN for the router that should be supplied by a layer 3 Partner if they + * configured BGP on behalf of the customer. Output only for PARTNER type, input only for + * PARTNER_PROVIDER, not available for DEDICATED. + */ public Builder setPartnerAsn(String partnerAsn) { this.partnerAsn = partnerAsn; return this; } + /** + * Informational metadata about Partner attachments from Partners to display to customers. + * Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + */ public InterconnectAttachmentPartnerMetadata getPartnerMetadata() { return partnerMetadata; } + /** + * Informational metadata about Partner attachments from Partners to display to customers. + * Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + */ public Builder setPartnerMetadata(InterconnectAttachmentPartnerMetadata partnerMetadata) { this.partnerMetadata = partnerMetadata; return this; } + /** + * [Output Only] Information specific to an InterconnectAttachment. This property is populated + * if the interconnect that this is attached to is of type DEDICATED. + */ public InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo() { return privateInterconnectInfo; } + /** + * [Output Only] Information specific to an InterconnectAttachment. This property is populated + * if the interconnect that this is attached to is of type DEDICATED. + */ public Builder setPrivateInterconnectInfo( InterconnectAttachmentPrivateInfo privateInterconnectInfo) { this.privateInterconnectInfo = privateInterconnectInfo; return this; } + /** + * [Output Only] URL of the region where the regional interconnect attachment resides. You must + * specify this field as part of the HTTP request URL. It is not settable as a field in the + * request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional interconnect attachment resides. You must + * specify this field as part of the HTTP request URL. It is not settable as a field in the + * request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * URL of the Cloud Router to be used for dynamic routing. This router must be in the same + * region as this InterconnectAttachment. The InterconnectAttachment will automatically connect + * the Interconnect to the network & region within which the Cloud Router is configured. + */ public String getRouter() { return router; } + /** + * URL of the Cloud Router to be used for dynamic routing. This router must be in the same + * region as this InterconnectAttachment. The InterconnectAttachment will automatically connect + * the Interconnect to the network & region within which the Cloud Router is configured. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The current state of this attachment's functionality. */ public String getState() { return state; } + /** [Output Only] The current state of this attachment's functionality. */ public Builder setState(String state) { this.state = state; return this; @@ -687,10 +965,18 @@ public Builder setType(String type) { return this; } + /** + * The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation + * time. + */ public Integer getVlanTag8021q() { return vlanTag8021q; } + /** + * The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation + * time. + */ public Builder setVlanTag8021q(Integer vlanTag8021q) { this.vlanTag8021q = vlanTag8021q; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java index 0df5a875efe6..1d49a604095c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InterconnectAttachmentsScopedList resources. The key for the map is: Name of the + * scope containing this set of interconnect attachments. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for + * aggregated lists of interconnect attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InterconnectAttachmentAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InterconnectAttachmentsScopedList resources. The key for the map is: Name of the + * scope containing this set of interconnect attachments. + */ public Map getItemsMap() { return items; } + /** + * A list of InterconnectAttachmentsScopedList resources. The key for the map is: Name of the + * scope containing this set of interconnect attachments. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for + * aggregated lists of interconnect attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for + * aggregated lists of interconnect attachments. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java index 82905d3681d2..f507d61d264a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Response to the list request, and contains a list of interconnect attachments. */ public final class InterconnectAttachmentList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InterconnectAttachment resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of + * interconnect attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InterconnectAttachmentList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InterconnectAttachment resources. */ public List getItemsList() { return items; } + /** A list of InterconnectAttachment resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InterconnectAttachment resources. */ public Builder addItems(InterconnectAttachment items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InterconnectAttachment items) { return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of + * interconnect attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of + * interconnect attachments. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java index 2e73fcce9db8..144b2185c780 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Informational metadata about Partner attachments from Partners to display to customers. These + * fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER + * attachments. + */ public final class InterconnectAttachmentPartnerMetadata implements ApiMessage { private final String interconnectName; private final String partnerName; @@ -68,14 +73,28 @@ public List getFieldMask() { return null; } + /** + * Plain text name of the Interconnect this attachment is connected to, as displayed in the + * Partner?s portal. For instance "Chicago 1". This value may be validated to match approved + * Partner values. + */ public String getInterconnectName() { return interconnectName; } + /** + * Plain text name of the Partner providing this attachment. This value may be validated to match + * approved Partner values. + */ public String getPartnerName() { return partnerName; } + /** + * URL of the Partner?s portal for this Attachment. Partners may customise this to be a deep-link + * to the specific resource on the Partner portal. This value may be validated to match approved + * Partner values. + */ public String getPortalUrl() { return portalUrl; } @@ -129,28 +148,56 @@ public Builder mergeFrom(InterconnectAttachmentPartnerMetadata other) { this.portalUrl = source.portalUrl; } + /** + * Plain text name of the Interconnect this attachment is connected to, as displayed in the + * Partner?s portal. For instance "Chicago 1". This value may be validated to match approved + * Partner values. + */ public String getInterconnectName() { return interconnectName; } + /** + * Plain text name of the Interconnect this attachment is connected to, as displayed in the + * Partner?s portal. For instance "Chicago 1". This value may be validated to match approved + * Partner values. + */ public Builder setInterconnectName(String interconnectName) { this.interconnectName = interconnectName; return this; } + /** + * Plain text name of the Partner providing this attachment. This value may be validated to + * match approved Partner values. + */ public String getPartnerName() { return partnerName; } + /** + * Plain text name of the Partner providing this attachment. This value may be validated to + * match approved Partner values. + */ public Builder setPartnerName(String partnerName) { this.partnerName = partnerName; return this; } + /** + * URL of the Partner?s portal for this Attachment. Partners may customise this to be a + * deep-link to the specific resource on the Partner portal. This value may be validated to + * match approved Partner values. + */ public String getPortalUrl() { return portalUrl; } + /** + * URL of the Partner?s portal for this Attachment. Partners may customise this to be a + * deep-link to the specific resource on the Partner portal. This value may be validated to + * match approved Partner values. + */ public Builder setPortalUrl(String portalUrl) { this.portalUrl = portalUrl; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java index af5cb3b42248..f8df21e6736b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Information for an interconnect attachment when this belongs to an interconnect of type + * DEDICATED. + */ public final class InterconnectAttachmentPrivateInfo implements ApiMessage { private final Integer tag8021q; @@ -55,6 +59,10 @@ public List getFieldMask() { return null; } + /** + * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, + * going to and from this network and region. + */ public Integer getTag8021q() { return tag8021q; } @@ -98,10 +106,18 @@ public Builder mergeFrom(InterconnectAttachmentPrivateInfo other) { this.tag8021q = source.tag8021q; } + /** + * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the + * customer, going to and from this network and region. + */ public Integer getTag8021q() { return tag8021q; } + /** + * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the + * customer, going to and from this network and region. + */ public Builder setTag8021q(Integer tag8021q) { this.tag8021q = tag8021q; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java index 0317dc0c8203..4399284368be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java @@ -63,10 +63,12 @@ public List getFieldMask() { return null; } + /** A list of interconnect attachments contained in this scope. */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -115,10 +117,12 @@ public Builder mergeFrom(InterconnectAttachmentsScopedList other) { this.warning = source.warning; } + /** A list of interconnect attachments contained in this scope. */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** A list of interconnect attachments contained in this scope. */ public Builder addAllInterconnectAttachments( List interconnectAttachments) { if (this.interconnectAttachments == null) { @@ -128,6 +132,7 @@ public Builder addAllInterconnectAttachments( return this; } + /** A list of interconnect attachments contained in this scope. */ public Builder addInterconnectAttachments(InterconnectAttachment interconnectAttachments) { if (this.interconnectAttachments == null) { this.interconnectAttachments = new LinkedList<>(); @@ -136,10 +141,12 @@ public Builder addInterconnectAttachments(InterconnectAttachment interconnectAtt return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java index e8915d07df40..8a71d21ce8ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Describes a single physical circuit between the Customer and Google. CircuitInfo objects are + * created by Google, so all fields are output only. Next id: 4 + */ public final class InterconnectCircuitInfo implements ApiMessage { private final String customerDemarcId; private final String googleCircuitId; @@ -68,14 +72,20 @@ public List getFieldMask() { return null; } + /** Customer-side demarc ID for this circuit. */ public String getCustomerDemarcId() { return customerDemarcId; } + /** Google-assigned unique ID for this circuit. Assigned at circuit turn-up. */ public String getGoogleCircuitId() { return googleCircuitId; } + /** + * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to + * the customer in the LOA. + */ public String getGoogleDemarcId() { return googleDemarcId; } @@ -129,28 +139,40 @@ public Builder mergeFrom(InterconnectCircuitInfo other) { this.googleDemarcId = source.googleDemarcId; } + /** Customer-side demarc ID for this circuit. */ public String getCustomerDemarcId() { return customerDemarcId; } + /** Customer-side demarc ID for this circuit. */ public Builder setCustomerDemarcId(String customerDemarcId) { this.customerDemarcId = customerDemarcId; return this; } + /** Google-assigned unique ID for this circuit. Assigned at circuit turn-up. */ public String getGoogleCircuitId() { return googleCircuitId; } + /** Google-assigned unique ID for this circuit. Assigned at circuit turn-up. */ public Builder setGoogleCircuitId(String googleCircuitId) { this.googleCircuitId = googleCircuitId; return this; } + /** + * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to + * the customer in the LOA. + */ public String getGoogleDemarcId() { return googleDemarcId; } + /** + * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to + * the customer in the LOA. + */ public Builder setGoogleDemarcId(String googleDemarcId) { this.googleDemarcId = googleDemarcId; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java index 8cde38834512..c68a5372b76b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Diagnostics information about interconnect, contains detailed and current technical information + * about Google?s side of the connection. + */ public final class InterconnectDiagnostics implements ApiMessage { private final List arpCaches; private final List links; @@ -71,14 +75,24 @@ public List getFieldMask() { return null; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public List getArpCachesList() { return arpCaches; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public List getLinksList() { return links; } + /** The MAC address of the Interconnect's bundle interface. */ public String getMacAddress() { return macAddress; } @@ -132,10 +146,20 @@ public Builder mergeFrom(InterconnectDiagnostics other) { this.macAddress = source.macAddress; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public List getArpCachesList() { return arpCaches; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public Builder addAllArpCaches(List arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -144,6 +168,11 @@ public Builder addAllArpCaches(List arpCaches) return this; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -152,10 +181,18 @@ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { return this; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public List getLinksList() { return links; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public Builder addAllLinks(List links) { if (this.links == null) { this.links = new LinkedList<>(); @@ -164,6 +201,10 @@ public Builder addAllLinks(List links) { return this; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public Builder addLinks(InterconnectDiagnosticsLinkStatus links) { if (this.links == null) { this.links = new LinkedList<>(); @@ -172,10 +213,12 @@ public Builder addLinks(InterconnectDiagnosticsLinkStatus links) { return this; } + /** The MAC address of the Interconnect's bundle interface. */ public String getMacAddress() { return macAddress; } + /** The MAC address of the Interconnect's bundle interface. */ public Builder setMacAddress(String macAddress) { this.macAddress = macAddress; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java index 39c04a2fbcb3..d5ed96141f0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Describing the ARP neighbor entries seen on this link */ public final class InterconnectDiagnosticsARPEntry implements ApiMessage { private final String ipAddress; private final String macAddress; @@ -61,10 +62,12 @@ public List getFieldMask() { return null; } + /** The IP address of this ARP neighbor. */ public String getIpAddress() { return ipAddress; } + /** The MAC address of this ARP neighbor. */ public String getMacAddress() { return macAddress; } @@ -113,19 +116,23 @@ public Builder mergeFrom(InterconnectDiagnosticsARPEntry other) { this.macAddress = source.macAddress; } + /** The IP address of this ARP neighbor. */ public String getIpAddress() { return ipAddress; } + /** The IP address of this ARP neighbor. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** The MAC address of this ARP neighbor. */ public String getMacAddress() { return macAddress; } + /** The MAC address of this ARP neighbor. */ public Builder setMacAddress(String macAddress) { this.macAddress = macAddress; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java index 6c5585672604..af3ea43ce861 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java @@ -68,10 +68,12 @@ public List getFieldMask() { return null; } + /** System ID of the port on Google?s side of the LACP exchange. */ public String getGoogleSystemId() { return googleSystemId; } + /** System ID of the port on the neighbor?s side of the LACP exchange. */ public String getNeighborSystemId() { return neighborSystemId; } @@ -129,19 +131,23 @@ public Builder mergeFrom(InterconnectDiagnosticsLinkLACPStatus other) { this.state = source.state; } + /** System ID of the port on Google?s side of the LACP exchange. */ public String getGoogleSystemId() { return googleSystemId; } + /** System ID of the port on Google?s side of the LACP exchange. */ public Builder setGoogleSystemId(String googleSystemId) { this.googleSystemId = googleSystemId; return this; } + /** System ID of the port on the neighbor?s side of the LACP exchange. */ public String getNeighborSystemId() { return neighborSystemId; } + /** System ID of the port on the neighbor?s side of the LACP exchange. */ public Builder setNeighborSystemId(String neighborSystemId) { this.neighborSystemId = neighborSystemId; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java index 66354cc690d0..91265b064ffc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java @@ -65,6 +65,11 @@ public String getState() { return state; } + /** + * Value of the current optical power, read in dBm. Take a known good optical value, give it a 10% + * margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm + * alarm are good optical value estimates for most links. + */ public Float getValue() { return value; } @@ -122,10 +127,20 @@ public Builder setState(String state) { return this; } + /** + * Value of the current optical power, read in dBm. Take a known good optical value, give it a + * 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a + * -11dBm alarm are good optical value estimates for most links. + */ public Float getValue() { return value; } + /** + * Value of the current optical power, read in dBm. Take a known good optical value, give it a + * 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a + * -11dBm alarm are good optical value estimates for most links. + */ public Builder setValue(Float value) { this.value = value; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java index 95b250e5041d..1f63d00908f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java @@ -92,14 +92,20 @@ public List getFieldMask() { return null; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on + * this link. This will be empty if the link is bundled + */ public List getArpCachesList() { return arpCaches; } + /** The unique ID for this link assigned during turn up by Google. */ public String getCircuitId() { return circuitId; } + /** The Demarc address assigned by Google and provided in the LoA. */ public String getGoogleDemarc() { return googleDemarc; } @@ -180,10 +186,18 @@ public Builder mergeFrom(InterconnectDiagnosticsLinkStatus other) { this.transmittingOpticalPower = source.transmittingOpticalPower; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen + * on this link. This will be empty if the link is bundled + */ public List getArpCachesList() { return arpCaches; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen + * on this link. This will be empty if the link is bundled + */ public Builder addAllArpCaches(List arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -192,6 +206,10 @@ public Builder addAllArpCaches(List arpCaches) return this; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen + * on this link. This will be empty if the link is bundled + */ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -200,19 +218,23 @@ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { return this; } + /** The unique ID for this link assigned during turn up by Google. */ public String getCircuitId() { return circuitId; } + /** The unique ID for this link assigned during turn up by Google. */ public Builder setCircuitId(String circuitId) { this.circuitId = circuitId; return this; } + /** The Demarc address assigned by Google and provided in the LoA. */ public String getGoogleDemarc() { return googleDemarc; } + /** The Demarc address assigned by Google and provided in the LoA. */ public Builder setGoogleDemarc(String googleDemarc) { this.googleDemarc = googleDemarc; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java index e44f5200e034..58762f64c3da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Response to the list request, and contains a list of interconnects. */ public final class InterconnectList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Interconnect resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(InterconnectList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Interconnect resources. */ public List getItemsList() { return items; } + /** A list of Interconnect resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Interconnect resources. */ public Builder addItems(Interconnect items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,59 @@ public Builder addItems(Interconnect items) { return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java index 257b38d8c392..a9226a89b833 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an InterconnectLocations resource. The InterconnectLocations resource describes the + * locations where you can connect to Google's networks. For more information, see Colocation + * Facilities. + */ public final class InterconnectLocation implements ApiMessage { private final String address; private final String availabilityZone; @@ -155,62 +160,102 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The postal address of the Point of Presence, each line in the address is + * separated by a newline character. + */ public String getAddress() { return address; } + /** + * [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area + * (metro), maintenance will not be simultaneously scheduled in more than one availability zone. + * Example: "zone1" or "zone2". + */ public String getAvailabilityZone() { return availabilityZone; } + /** + * [Output Only] Metropolitan area designator that indicates which city an interconnect is + * located. For example: "Chicago, IL", "Amsterdam, Netherlands". + */ public String getCity() { return city; } + /** [Output Only] Continent for this location. */ public String getContinent() { return continent; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] An optional description of the resource. */ public String getDescription() { return description; } + /** [Output Only] The name of the provider for this facility (e.g., EQUINIX). */ public String getFacilityProvider() { return facilityProvider; } + /** [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). */ public String getFacilityProviderFacilityId() { return facilityProviderFacilityId; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect + * locations. + */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** + * [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in + * peeringdb). + */ public String getPeeringdbFacilityId() { return peeringdbFacilityId; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud regions. + */ public List getRegionInfosList() { return regionInfos; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The status of this InterconnectLocation. If the status is AVAILABLE, new + * Interconnects may be provisioned in this InterconnectLocation. Otherwise, no new Interconnects + * may be provisioned. + */ public String getStatus() { return status; } @@ -324,118 +369,190 @@ public Builder mergeFrom(InterconnectLocation other) { this.status = source.status; } + /** + * [Output Only] The postal address of the Point of Presence, each line in the address is + * separated by a newline character. + */ public String getAddress() { return address; } + /** + * [Output Only] The postal address of the Point of Presence, each line in the address is + * separated by a newline character. + */ public Builder setAddress(String address) { this.address = address; return this; } + /** + * [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area + * (metro), maintenance will not be simultaneously scheduled in more than one availability zone. + * Example: "zone1" or "zone2". + */ public String getAvailabilityZone() { return availabilityZone; } + /** + * [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area + * (metro), maintenance will not be simultaneously scheduled in more than one availability zone. + * Example: "zone1" or "zone2". + */ public Builder setAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; return this; } + /** + * [Output Only] Metropolitan area designator that indicates which city an interconnect is + * located. For example: "Chicago, IL", "Amsterdam, Netherlands". + */ public String getCity() { return city; } + /** + * [Output Only] Metropolitan area designator that indicates which city an interconnect is + * located. For example: "Chicago, IL", "Amsterdam, Netherlands". + */ public Builder setCity(String city) { this.city = city; return this; } + /** [Output Only] Continent for this location. */ public String getContinent() { return continent; } + /** [Output Only] Continent for this location. */ public Builder setContinent(String continent) { this.continent = continent; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] An optional description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The name of the provider for this facility (e.g., EQUINIX). */ public String getFacilityProvider() { return facilityProvider; } + /** [Output Only] The name of the provider for this facility (e.g., EQUINIX). */ public Builder setFacilityProvider(String facilityProvider) { this.facilityProvider = facilityProvider; return this; } + /** [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). */ public String getFacilityProviderFacilityId() { return facilityProviderFacilityId; } + /** [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). */ public Builder setFacilityProviderFacilityId(String facilityProviderFacilityId) { this.facilityProviderFacilityId = facilityProviderFacilityId; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect + * locations. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect + * locations. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in + * peeringdb). + */ public String getPeeringdbFacilityId() { return peeringdbFacilityId; } + /** + * [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in + * peeringdb). + */ public Builder setPeeringdbFacilityId(String peeringdbFacilityId) { this.peeringdbFacilityId = peeringdbFacilityId; return this; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud + * regions. + */ public List getRegionInfosList() { return regionInfos; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud + * regions. + */ public Builder addAllRegionInfos(List regionInfos) { if (this.regionInfos == null) { this.regionInfos = new LinkedList<>(); @@ -444,6 +561,11 @@ public Builder addAllRegionInfos(List regionInfo return this; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud + * regions. + */ public Builder addRegionInfos(InterconnectLocationRegionInfo regionInfos) { if (this.regionInfos == null) { this.regionInfos = new LinkedList<>(); @@ -452,19 +574,31 @@ public Builder addRegionInfos(InterconnectLocationRegionInfo regionInfos) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The status of this InterconnectLocation. If the status is AVAILABLE, new + * Interconnects may be provisioned in this InterconnectLocation. Otherwise, no new + * Interconnects may be provisioned. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of this InterconnectLocation. If the status is AVAILABLE, new + * Interconnects may be provisioned in this InterconnectLocation. Otherwise, no new + * Interconnects may be provisioned. + */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java index 2fa59e8f1f08..8b9a9d8e5875 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Response to the list request, and contains a list of interconnect locations. */ public final class InterconnectLocationList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InterconnectLocation resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#interconnectLocationList for lists of + * interconnect locations. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InterconnectLocationList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InterconnectLocation resources. */ public List getItemsList() { return items; } + /** A list of InterconnectLocation resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InterconnectLocation resources. */ public Builder addItems(InterconnectLocation items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InterconnectLocation items) { return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectLocationList for lists of + * interconnect locations. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectLocationList for lists of + * interconnect locations. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java index 1d0afb22f46d..81df7b5865b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Information about any potential InterconnectAttachments between an Interconnect at a specific + * InterconnectLocation, and a specific Cloud Region. + */ public final class InterconnectLocationRegionInfo implements ApiMessage { private final String expectedRttMs; private final String locationPresence; @@ -68,14 +72,20 @@ public List getFieldMask() { return null; } + /** + * Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this + * region. + */ public String getExpectedRttMs() { return expectedRttMs; } + /** Identifies the network presence of this location. */ public String getLocationPresence() { return locationPresence; } + /** URL for the region of this location. */ public String getRegion() { return region; } @@ -129,28 +139,40 @@ public Builder mergeFrom(InterconnectLocationRegionInfo other) { this.region = source.region; } + /** + * Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this + * region. + */ public String getExpectedRttMs() { return expectedRttMs; } + /** + * Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this + * region. + */ public Builder setExpectedRttMs(String expectedRttMs) { this.expectedRttMs = expectedRttMs; return this; } + /** Identifies the network presence of this location. */ public String getLocationPresence() { return locationPresence; } + /** Identifies the network presence of this location. */ public Builder setLocationPresence(String locationPresence) { this.locationPresence = locationPresence; return this; } + /** URL for the region of this location. */ public String getRegion() { return region; } + /** URL for the region of this location. */ public Builder setRegion(String region) { this.region = region; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java index 99b870ecb849..8da31df2c3f5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Description of a planned outage on this Interconnect. Next id: 9 */ public final class InterconnectOutageNotification implements ApiMessage { private final List affectedCircuits; private final String description; @@ -106,34 +107,54 @@ public List getFieldMask() { return null; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public List getAffectedCircuitsList() { return affectedCircuits; } + /** A description about the purpose of the outage. */ public String getDescription() { return description; } + /** Scheduled end time for the outage (milliseconds since Unix epoch). */ public String getEndTime() { return endTime; } + /** + * Form this outage is expected to take. Note that the "IT_" versions of this enum have been + * deprecated in favor of the unprefixed values. + */ public String getIssueType() { return issueType; } + /** Unique identifier for this outage notification. */ public String getName() { return name; } + /** + * The party that generated this notification. Note that "NSRC_GOOGLE" has been deprecated in + * favor of "GOOGLE" + */ public String getSource() { return source; } + /** Scheduled start time for the outage (milliseconds since Unix epoch). */ public String getStartTime() { return startTime; } + /** + * State of this notification. Note that the "NS_" versions of this enum have been deprecated in + * favor of the unprefixed values. + */ public String getState() { return state; } @@ -212,10 +233,18 @@ public Builder mergeFrom(InterconnectOutageNotification other) { this.state = source.state; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public List getAffectedCircuitsList() { return affectedCircuits; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public Builder addAllAffectedCircuits(List affectedCircuits) { if (this.affectedCircuits == null) { this.affectedCircuits = new LinkedList<>(); @@ -224,6 +253,10 @@ public Builder addAllAffectedCircuits(List affectedCircuits) { return this; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public Builder addAffectedCircuits(String affectedCircuits) { if (this.affectedCircuits == null) { this.affectedCircuits = new LinkedList<>(); @@ -232,64 +265,96 @@ public Builder addAffectedCircuits(String affectedCircuits) { return this; } + /** A description about the purpose of the outage. */ public String getDescription() { return description; } + /** A description about the purpose of the outage. */ public Builder setDescription(String description) { this.description = description; return this; } + /** Scheduled end time for the outage (milliseconds since Unix epoch). */ public String getEndTime() { return endTime; } + /** Scheduled end time for the outage (milliseconds since Unix epoch). */ public Builder setEndTime(String endTime) { this.endTime = endTime; return this; } + /** + * Form this outage is expected to take. Note that the "IT_" versions of this enum have been + * deprecated in favor of the unprefixed values. + */ public String getIssueType() { return issueType; } + /** + * Form this outage is expected to take. Note that the "IT_" versions of this enum have been + * deprecated in favor of the unprefixed values. + */ public Builder setIssueType(String issueType) { this.issueType = issueType; return this; } + /** Unique identifier for this outage notification. */ public String getName() { return name; } + /** Unique identifier for this outage notification. */ public Builder setName(String name) { this.name = name; return this; } + /** + * The party that generated this notification. Note that "NSRC_GOOGLE" has been deprecated in + * favor of "GOOGLE" + */ public String getSource() { return source; } + /** + * The party that generated this notification. Note that "NSRC_GOOGLE" has been deprecated in + * favor of "GOOGLE" + */ public Builder setSource(String source) { this.source = source; return this; } + /** Scheduled start time for the outage (milliseconds since Unix epoch). */ public String getStartTime() { return startTime; } + /** Scheduled start time for the outage (milliseconds since Unix epoch). */ public Builder setStartTime(String startTime) { this.startTime = startTime; return this; } + /** + * State of this notification. Note that the "NS_" versions of this enum have been deprecated in + * favor of the unprefixed values. + */ public String getState() { return state; } + /** + * State of this notification. Note that the "NS_" versions of this enum have been deprecated in + * favor of the unprefixed values. + */ public Builder setState(String state) { this.state = state; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java index f1f321decd99..e831e63739e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Response for the InterconnectsGetDiagnosticsRequest. */ public final class InterconnectsGetDiagnosticsResponse implements ApiMessage { private final InterconnectDiagnostics result; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java index d66056287e2f..bdbf74c63c38 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java @@ -123,6 +123,7 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } @@ -131,34 +132,60 @@ public CacheInvalidationRule getCacheInvalidationRuleResource() { return cacheInvalidationRuleResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap scoping this request. It must have the format + * `{project}/global/urlMaps/{urlMap}/invalidateCache`. \`{urlMap}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,10 +274,12 @@ public Builder mergeFrom(InvalidateCacheUrlMapHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; @@ -266,73 +295,127 @@ public Builder setCacheInvalidationRuleResource( return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap scoping this request. It must have the format + * `{project}/global/urlMaps/{urlMap}/invalidateCache`. \`{urlMap}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * Name of the UrlMap scoping this request. It must have the format + * `{project}/global/urlMaps/{urlMap}/invalidateCache`. \`{urlMap}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java index 209c2c3531a8..ad58b941adfb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public final class Items implements ApiMessage { private final String key; private final String value; @@ -61,10 +62,21 @@ public List getFieldMask() { return null; } + /** + * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be + * less than 128 bytes in length. This is reflected as part of a URL in the metadata server. + * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the + * project. + */ public String getKey() { return key; } + /** + * Value for the metadata entry. These are free-form strings, and only have meaning as interpreted + * by the image running in the instance. The only restriction placed on values is that their size + * must be less than or equal to 262144 bytes (256 KiB). + */ public String getValue() { return value; } @@ -113,19 +125,41 @@ public Builder mergeFrom(Items other) { this.value = source.value; } + /** + * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be + * less than 128 bytes in length. This is reflected as part of a URL in the metadata server. + * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the + * project. + */ public String getKey() { return key; } + /** + * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be + * less than 128 bytes in length. This is reflected as part of a URL in the metadata server. + * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the + * project. + */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Value for the metadata entry. These are free-form strings, and only have meaning as + * interpreted by the image running in the instance. The only restriction placed on values is + * that their size must be less than or equal to 262144 bytes (256 KiB). + */ public String getValue() { return value; } + /** + * Value for the metadata entry. These are free-form strings, and only have meaning as + * interpreted by the image running in the instance. The only restriction placed on values is + * that their size must be less than or equal to 262144 bytes (256 KiB). + */ public Builder setValue(String value) { this.value = value; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java index 4d55dfe26347..4f3c1623ec19 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A license resource. */ public final class License implements ApiMessage { private final Boolean chargesUseFee; private final String creationTimestamp; @@ -119,30 +120,44 @@ public List getFieldMask() { return null; } + /** + * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. + */ public Boolean getChargesUseFee() { return chargesUseFee; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#license for licenses. */ public String getKind() { return kind; } + /** [Output Only] The unique code used to attach this license to images, snapshots, and disks. */ public String getLicenseCode() { return licenseCode; } + /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } @@ -151,10 +166,15 @@ public LicenseResourceRequirements getResourceRequirements() { return resourceRequirements; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * If false, licenses will not be copied from the source resource when creating an image from a + * disk, disk from snapshot, or snapshot from disk. + */ public Boolean getTransferable() { return transferable; } @@ -243,64 +263,100 @@ public Builder mergeFrom(License other) { this.transferable = source.transferable; } + /** + * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage + * fee. + */ public Boolean getChargesUseFee() { return chargesUseFee; } + /** + * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage + * fee. + */ public Builder setChargesUseFee(Boolean chargesUseFee) { this.chargesUseFee = chargesUseFee; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#license for licenses. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#license for licenses. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] The unique code used to attach this license to images, snapshots, and disks. + */ public String getLicenseCode() { return licenseCode; } + /** + * [Output Only] The unique code used to attach this license to images, snapshots, and disks. + */ public Builder setLicenseCode(String licenseCode) { this.licenseCode = licenseCode; return this; } + /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } + /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ public Builder setName(String name) { this.name = name; return this; @@ -315,19 +371,29 @@ public Builder setResourceRequirements(LicenseResourceRequirements resourceRequi return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * If false, licenses will not be copied from the source resource when creating an image from a + * disk, disk from snapshot, or snapshot from disk. + */ public Boolean getTransferable() { return transferable; } + /** + * If false, licenses will not be copied from the source resource when creating an image from a + * disk, disk from snapshot, or snapshot from disk. + */ public Builder setTransferable(Boolean transferable) { this.transferable = transferable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java index 9a33da499c55..f2cceb1215ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java @@ -113,38 +113,55 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#licenseCode for licenses. */ public String getKind() { return kind; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public List getLicenseAliasList() { return licenseAlias; } + /** + * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit + * integer. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Current state of this License Code. */ public String getState() { return state; } + /** + * [Output Only] If true, the license will remain attached when creating images or snapshots from + * disks. Otherwise, the license is not transferred. + */ public Boolean getTransferable() { return transferable; } @@ -228,46 +245,62 @@ public Builder mergeFrom(LicenseCode other) { this.transferable = source.transferable; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** [Output Only] Description of this License Code. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#licenseCode for licenses. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#licenseCode for licenses. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public List getLicenseAliasList() { return licenseAlias; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public Builder addAllLicenseAlias(List licenseAlias) { if (this.licenseAlias == null) { this.licenseAlias = new LinkedList<>(); @@ -276,6 +309,7 @@ public Builder addAllLicenseAlias(List licenseAlias) { return this; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public Builder addLicenseAlias(LicenseCodeLicenseAlias licenseAlias) { if (this.licenseAlias == null) { this.licenseAlias = new LinkedList<>(); @@ -284,37 +318,57 @@ public Builder addLicenseAlias(LicenseCodeLicenseAlias licenseAlias) { return this; } + /** + * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 + * bit integer. + */ public String getName() { return name; } + /** + * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 + * bit integer. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Current state of this License Code. */ public String getState() { return state; } + /** [Output Only] Current state of this License Code. */ public Builder setState(String state) { this.state = state; return this; } + /** + * [Output Only] If true, the license will remain attached when creating images or snapshots + * from disks. Otherwise, the license is not transferred. + */ public Boolean getTransferable() { return transferable; } + /** + * [Output Only] If true, the license will remain attached when creating images or snapshots + * from disks. Otherwise, the license is not transferred. + */ public Builder setTransferable(Boolean transferable) { this.transferable = transferable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java index 0dd81103c7c9..65fd0ae1a9a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java @@ -61,10 +61,12 @@ public List getFieldMask() { return null; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** [Output Only] URL of license corresponding to this License Code. */ public String getSelfLink() { return selfLink; } @@ -113,19 +115,23 @@ public Builder mergeFrom(LicenseCodeLicenseAlias other) { this.selfLink = source.selfLink; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** [Output Only] Description of this License Code. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] URL of license corresponding to this License Code. */ public String getSelfLink() { return selfLink; } + /** [Output Only] URL of license corresponding to this License Code. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java index f7cd6b900168..2e11ded886d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java @@ -61,10 +61,17 @@ public List getFieldMask() { return null; } + /** + * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and + * Instance start. + */ public Integer getMinGuestCpuCount() { return minGuestCpuCount; } + /** + * Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. + */ public Integer getMinMemoryMb() { return minMemoryMb; } @@ -113,19 +120,35 @@ public Builder mergeFrom(LicenseResourceRequirements other) { this.minMemoryMb = source.minMemoryMb; } + /** + * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and + * Instance start. + */ public Integer getMinGuestCpuCount() { return minGuestCpuCount; } + /** + * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and + * Instance start. + */ public Builder setMinGuestCpuCount(Integer minGuestCpuCount) { this.minGuestCpuCount = minGuestCpuCount; return this; } + /** + * Minimum memory required to use the Instance. Enforced at Instance creation and Instance + * start. + */ public Integer getMinMemoryMb() { return minMemoryMb; } + /** + * Minimum memory required to use the Instance. Enforced at Instance creation and Instance + * start. + */ public Builder setMinMemoryMb(Integer minMemoryMb) { this.minMemoryMb = minMemoryMb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java index 9b2552b8d6de..8ba5ebb4ebed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java @@ -81,22 +81,32 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of License resources. */ public List getItemsList() { return items; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -160,19 +170,23 @@ public Builder mergeFrom(LicensesListResponse other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of License resources. */ public List getItemsList() { return items; } + /** A list of License resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -181,6 +195,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of License resources. */ public Builder addItems(License items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -189,28 +204,44 @@ public Builder addItems(License items) { return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java index b56b714a1633..f86e833f5389 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/acceleratorTypes`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListAcceleratorTypesHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/acceleratorTypes`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/acceleratorTypes`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java index f1c6e576b9ff..f05d46fbf8fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListAddressesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java index 42c7c5edc111..ab7b449be37d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListAutoscalersHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java index bfd26660c907..1cbc8df4c596 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format + * `{project}/global/sslPolicies/listAvailableFeatures`. \`{project}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,221 @@ public Builder mergeFrom(ListAvailableFeaturesSslPoliciesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format + * `{project}/global/sslPolicies/listAvailableFeatures`. \`{project}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format + * `{project}/global/sslPolicies/listAvailableFeatures`. \`{project}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java index d9258bd41024..947ffcdb40cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/backendBuckets`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListBackendBucketsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/backendBuckets`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/backendBuckets`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java index 60b3d29b4c31..08f0f2ef1473 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/backendServices`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListBackendServicesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/backendServices`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/backendServices`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java index c5fe5454c941..cb245f1af3de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/diskTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListDiskTypesHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/diskTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/diskTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java index b7d56982fd2d..bf049c2475af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format `{project}/zones/{zone}/disks`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListDisksHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java index bacaf8cddc4f..58c50b2fc8a5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/firewalls`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListFirewallsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/firewalls`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/firewalls`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java index ee107e2dfc70..6abb1b3a9ba7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListForwardingRulesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java index 09487640441c..3ac03e40536e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java @@ -134,50 +134,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -276,109 +330,219 @@ public Builder mergeFrom(ListGlobalAddressesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/addresses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java index 49a586bbf039..109ea86707f7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListGlobalForwardingRulesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/forwardingRules`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java index 6704ac58a9da..16bbfe6e8198 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/operations`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListGlobalOperationsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/operations`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/operations`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java index b25b8a8389be..73ca800503d8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/healthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListHealthChecksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/healthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/healthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java index 70706b6763ed..a6e2ad54e347 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/httpHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListHttpHealthChecksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/httpHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/httpHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java index 2a9b053fff04..438e94c0ee7a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/httpsHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListHttpsHealthChecksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/httpsHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/httpsHealthChecks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java index cb169b2ebd81..faad236a3719 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java @@ -140,50 +140,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/images`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -282,109 +336,219 @@ public Builder mergeFrom(ListImagesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/images`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/images`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java index a38a4b8807bd..711800d2d92b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone where the managed instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstanceGroupManagersHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone where the managed instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone where the managed instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java index 427572002881..d28eac2bb69c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone where the instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstanceGroupsHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone where the instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone where the instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java index 29cb5b61de76..7d1bfe2416f6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/instanceTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstanceTemplatesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/instanceTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/instanceTemplates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java index 5eedfd77b595..eb6873a10a54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstancesHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java index b3dc4a186a11..d3dac8b75a3a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java @@ -144,22 +144,52 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * The name of the instance group from which you want to generate a list of included instances. It + * must have the format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } @@ -168,30 +198,55 @@ public InstanceGroupsListInstancesRequest getInstanceGroupsListInstancesRequestR return instanceGroupsListInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -297,46 +352,110 @@ public Builder mergeFrom(ListInstancesInstanceGroupsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** + * The name of the instance group from which you want to generate a list of included instances. + * It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances`. \`{instanceGroup}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group from which you want to generate a list of included instances. + * It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances`. \`{instanceGroup}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -352,64 +471,114 @@ public Builder setInstanceGroupsListInstancesRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java index ebdaa54e544b..8bc27bc50e2b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java @@ -147,46 +147,100 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * Name of the regional instance group for which we want to list the instances. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -196,6 +250,7 @@ public String getQuotaUser() { return regionInstanceGroupsListInstancesRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -302,100 +357,210 @@ public Builder mergeFrom(ListInstancesRegionInstanceGroupsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** + * Name of the regional instance group for which we want to list the instances. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * Name of the regional instance group for which we want to list the instances. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -413,10 +578,12 @@ public Builder setRegionInstanceGroupsListInstancesRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java index aa23c9eac909..9860635308d3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,221 @@ public Builder mergeFrom(ListInterconnectAttachmentsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java index ed5d42e41ff4..bc2c47c8246f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnectLocations`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInterconnectLocationsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format + * `{project}/global/interconnectLocations`. \`{project}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format + * `{project}/global/interconnectLocations`. \`{project}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java index 94dd7fc2fe99..d31532ea615f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnects`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInterconnectsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnects`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnects`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java index 8df955ad34dc..30586f5ae7c1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java @@ -140,50 +140,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/licenses`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -282,109 +336,219 @@ public Builder mergeFrom(ListLicensesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/licenses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/licenses`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java index 65cae5edf9ec..8cccf41681b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/machineTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListMachineTypesHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/machineTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/machineTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java index 081150476a5e..5f4f61bb0d3e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java @@ -140,50 +140,105 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -283,109 +338,221 @@ public Builder mergeFrom(ListManagedInstancesInstanceGroupManagersHttpRequest ot this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java index a9be54f0cf1b..400e3d2282d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java @@ -139,50 +139,105 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -283,109 +338,221 @@ public Builder mergeFrom(ListManagedInstancesRegionInstanceGroupManagersHttpRequ this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java index 7b6ce593c2e2..249bca7db19b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/networks`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNetworksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/networks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/networks`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java index 848a9f712462..628ae3779a23 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNodeGroupsHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java index 63cb37aaed69..e90c0b649bb2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNodeTemplatesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java index 094f29c3138b..d586c25395ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNodeTypesHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeTypes`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java index aeeeb0fba945..3fd7c0186304 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java @@ -134,50 +134,105 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Name of the NodeGroup resource whose nodes you want to list. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes`. \`{nodeGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -276,109 +331,221 @@ public Builder mergeFrom(ListNodesNodeGroupsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Name of the NodeGroup resource whose nodes you want to list. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes`. \`{nodeGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource whose nodes you want to list. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes`. \`{nodeGroup}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java index c1070107d252..d0847317aff1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java @@ -138,50 +138,106 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * Name of the target instance scoping this request, or '-' if the request should span over all + * instances in the container. It must have the format + * `{project}/zones/{zone}/instances/{instance}/referrers`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -280,109 +336,223 @@ public Builder mergeFrom(ListReferrersInstancesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** + * Name of the target instance scoping this request, or '-' if the request should span over all + * instances in the container. It must have the format + * `{project}/zones/{zone}/instances/{instance}/referrers`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the target instance scoping this request, or '-' if the request should span over all + * instances in the container. It must have the format + * `{project}/zones/{zone}/instances/{instance}/referrers`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java index ff379f5d4558..4e36f7d62714 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionAutoscalersHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java index 02ae11353f2e..3631fa023be3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionBackendServicesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java index 895cd686f051..9304bcdcbe47 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionCommitmentsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java index 6dbb8c8b3087..51c5ba9bc481 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/diskTypes`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionDiskTypesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/diskTypes`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/diskTypes`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java index 15291887109a..9680f51f3365 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionDisksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java index ae41e3edbe7e..348e5f5626be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,221 @@ public Builder mergeFrom(ListRegionInstanceGroupManagersHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java index 9e0d20ae82a1..1b9313ae7f4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroups`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionInstanceGroupsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroups`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroups`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java index ea3c117e7c11..748c7331467a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/operations`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionOperationsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/operations`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/operations`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java index 4a3e8f5b946c..0b99247a5d3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/regions`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/regions`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/regions`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java index 3fcd7fd3aa77..6c386498f37e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRoutersHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java index d8811d0f85b7..258cff28d29e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/routes`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRoutesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/routes`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/routes`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java index 145a5e90d3b3..8706f0ff3e35 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/securityPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSecurityPoliciesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/securityPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/securityPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java index 9e4b0bb9bc39..746c52f4cf3e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/snapshots`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSnapshotsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/snapshots`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/snapshots`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java index abb59269f89e..c507f0612ec0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/sslCertificates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSslCertificatesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/sslCertificates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/sslCertificates`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java index c47f52d1fb6e..46da8fbede82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/sslPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSslPoliciesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/sslPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/sslPolicies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java index f925ee238f08..fb5ba8887002 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSubnetworksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java index c380d2b91eff..ddf42e9fca56 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetHttpProxiesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java index f908babf7cd1..9427e5fd8236 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpsProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetHttpsProxiesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpsProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpsProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java index 8a52860e2b48..8f6bee669fcd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetInstancesHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java index d157b6dea9f0..ff3868a326ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetPoolsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java index 3be909a5c568..ecb03649f7f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetSslProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetSslProxiesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetSslProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetSslProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java index 2bf81c72b473..bef7bad13c2e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetTcpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetTcpProxiesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/targetTcpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/targetTcpProxies`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java index 84593cb99562..131e9ba83abc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetVpnGatewaysHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java index 9a5785bc27f1..35983ccf286b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/urlMaps`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListUrlMapsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/global/urlMaps`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/global/urlMaps`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java index e9c26c93580f..3067ab151a30 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/subnetworks/listUsable`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListUsableSubnetworksHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/subnetworks/listUsable`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format + * `{project}/aggregated/subnetworks/listUsable`. \`{project}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java index ebd68176083e..88acd87880e3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListVpnTunnelsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java index 073568154310..1a232c22a435 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java @@ -144,42 +144,94 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/listXpnHosts`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } @@ -188,10 +240,12 @@ public ProjectsListXpnHostsRequest getProjectsListXpnHostsRequestResource() { return projectsListXpnHostsRequestResource; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -295,91 +349,197 @@ public Builder mergeFrom(ListXpnHostsProjectsHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/listXpnHosts`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/listXpnHosts`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; @@ -395,19 +555,23 @@ public Builder setProjectsListXpnHostsRequestResource( return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java index 8547ad66ca72..eb9ca20331ef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for request. It must have the format `{project}/zones/{zone}/operations`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListZoneOperationsHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone for request. It must have the format `{project}/zones/{zone}/operations`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone for request. It must have the format `{project}/zones/{zone}/operations`. + * \`{zone}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java index 17ac6f0a7e2b..e6376d26e09e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java @@ -137,50 +137,104 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, + * >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each + * expression is an AND expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/zones`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListZonesHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public String getFilter() { return filter; } + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either =, !=, >, or <. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named example-instance by specifying name != example-instance. + * + *

You can also filter nested fields. For example, you could specify + * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By + * default, each expression is an AND expression. However, you can include AND and OR + * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ public Builder setFilter(String filter) { this.filter = filter; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Integer getMaxResults() { return maxResults; } + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to + * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, + * inclusive. (Default: 500) + */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; return this; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public String getOrderBy() { return orderBy; } + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in + * reverse chronological order (newest result first). Use this to sort resources like operations + * so that the newest operation is returned first. + * + *

Currently, only sorting by name or creationTimestamp desc is supported. + */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public String getPageToken() { return pageToken; } + /** + * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list + * request to get the next page of results. + */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/zones`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/zones`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java index c454e7ffae80..afeb813c7aba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Specifies what kind of log the caller must write */ public final class LogConfig implements ApiMessage { private final LogConfigCloudAuditOptions cloudAudit; private final LogConfigCounterOptions counter; @@ -70,14 +71,17 @@ public List getFieldMask() { return null; } + /** Cloud audit options. */ public LogConfigCloudAuditOptions getCloudAudit() { return cloudAudit; } + /** Counter options. */ public LogConfigCounterOptions getCounter() { return counter; } + /** Data access options. */ public LogConfigDataAccessOptions getDataAccess() { return dataAccess; } @@ -131,28 +135,34 @@ public Builder mergeFrom(LogConfig other) { this.dataAccess = source.dataAccess; } + /** Cloud audit options. */ public LogConfigCloudAuditOptions getCloudAudit() { return cloudAudit; } + /** Cloud audit options. */ public Builder setCloudAudit(LogConfigCloudAuditOptions cloudAudit) { this.cloudAudit = cloudAudit; return this; } + /** Counter options. */ public LogConfigCounterOptions getCounter() { return counter; } + /** Counter options. */ public Builder setCounter(LogConfigCounterOptions counter) { this.counter = counter; return this; } + /** Data access options. */ public LogConfigDataAccessOptions getDataAccess() { return dataAccess; } + /** Data access options. */ public Builder setDataAccess(LogConfigDataAccessOptions dataAccess) { this.dataAccess = dataAccess; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java index aa472bdc542e..9df51cdee947 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Write a Cloud Audit log */ public final class LogConfigCloudAuditOptions implements ApiMessage { private final AuthorizationLoggingOptions authorizationLoggingOptions; private final String logName; @@ -62,10 +63,12 @@ public List getFieldMask() { return null; } + /** Information used by the Cloud Audit Logging pipeline. */ public AuthorizationLoggingOptions getAuthorizationLoggingOptions() { return authorizationLoggingOptions; } + /** The log_name to populate in the Cloud Audit Record. */ public String getLogName() { return logName; } @@ -114,20 +117,24 @@ public Builder mergeFrom(LogConfigCloudAuditOptions other) { this.logName = source.logName; } + /** Information used by the Cloud Audit Logging pipeline. */ public AuthorizationLoggingOptions getAuthorizationLoggingOptions() { return authorizationLoggingOptions; } + /** Information used by the Cloud Audit Logging pipeline. */ public Builder setAuthorizationLoggingOptions( AuthorizationLoggingOptions authorizationLoggingOptions) { this.authorizationLoggingOptions = authorizationLoggingOptions; return this; } + /** The log_name to populate in the Cloud Audit Record. */ public String getLogName() { return logName; } + /** The log_name to populate in the Cloud Audit Record. */ public Builder setLogName(String logName) { this.logName = logName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java index 848fcdb6395a..281ff9dcb005 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java @@ -24,6 +24,27 @@ @Generated("by GAPIC") @BetaApi +/** + * Increment a streamz counter with the specified metric and field names. + * + *

Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field + * names should not contain an initial slash. The actual exported metric names will have + * "/iam/policy" prepended. + * + *

Field names correspond to IAM request parameters and field values are their respective values. + * + *

Supported field names: - "authority", which is "[token]" if IAMContext.token is present, + * otherwise the value of IAMContext.authority_selector if present, and otherwise a representation + * of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a + * token or authority selector is present; or - "" (empty string), resulting in a counter with no + * fields. + * + *

Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment + * counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]} + * + *

At this time we do not support multiple field names (though this may be supported in the + * future). + */ public final class LogConfigCounterOptions implements ApiMessage { private final String field; private final String metric; @@ -61,10 +82,12 @@ public List getFieldMask() { return null; } + /** The field value to attribute. */ public String getField() { return field; } + /** The metric to update. */ public String getMetric() { return metric; } @@ -113,19 +136,23 @@ public Builder mergeFrom(LogConfigCounterOptions other) { this.metric = source.metric; } + /** The field value to attribute. */ public String getField() { return field; } + /** The field value to attribute. */ public Builder setField(String field) { this.field = field; return this; } + /** The metric to update. */ public String getMetric() { return metric; } + /** The metric to update. */ public Builder setMetric(String metric) { this.metric = metric; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java index 0626b27f432d..ee0f1de69237 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Write a Data Access (Gin) log */ public final class LogConfigDataAccessOptions implements ApiMessage { private final String logMode; @@ -55,6 +56,15 @@ public List getFieldMask() { return null; } + /** + * Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only + * in the LocalIAM implementation, for now. + * + *

NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being + * done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have + * no effect, but still exists because there is active work being done to support it + * (b/115874152). + */ public String getLogMode() { return logMode; } @@ -98,10 +108,28 @@ public Builder mergeFrom(LogConfigDataAccessOptions other) { this.logMode = source.logMode; } + /** + * Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant + * only in the LocalIAM implementation, for now. + * + *

NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being + * done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have + * no effect, but still exists because there is active work being done to support it + * (b/115874152). + */ public String getLogMode() { return logMode; } + /** + * Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant + * only in the LocalIAM implementation, for now. + * + *

NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being + * done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have + * no effect, but still exists because there is active work being done to support it + * (b/115874152). + */ public Builder setLogMode(String logMode) { this.logMode = logMode; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java index 581b43f64f1c..1cbad3237c22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A Machine Type resource. (== resource_for v1.machineTypes ==) (== resource_for beta.machineTypes + * ==) + */ public final class MachineType implements ApiMessage { private final String creationTimestamp; private final DeprecationStatus deprecated; @@ -155,62 +159,84 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this machine type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] The number of virtual CPUs that are available to the instance. */ public Integer getGuestCpus() { return guestCpus; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Deprecated] This property is deprecated and will never be populated with any relevant values. + */ public Integer getImageSpaceGb() { return imageSpaceGb; } + /** + * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for + * more information. + */ public Boolean getIsSharedCpu() { return isSharedCpu; } + /** [Output Only] The type of the resource. Always compute#machineType for machine types. */ public String getKind() { return kind; } + /** [Output Only] Maximum persistent disks allowed. */ public Integer getMaximumPersistentDisks() { return maximumPersistentDisks; } + /** [Output Only] Maximum total persistent disks size (GB) allowed. */ public String getMaximumPersistentDisksSizeGb() { return maximumPersistentDisksSizeGb; } + /** [Output Only] The amount of physical memory available to the instance, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public List getScratchDisksList() { return scratchDisks; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The name of the zone where the machine type resides, such as us-central1-a. */ public String getZone() { return zone; } @@ -324,118 +350,162 @@ public Builder mergeFrom(MachineType other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this machine type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this machine type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The number of virtual CPUs that are available to the instance. */ public Integer getGuestCpus() { return guestCpus; } + /** [Output Only] The number of virtual CPUs that are available to the instance. */ public Builder setGuestCpus(Integer guestCpus) { this.guestCpus = guestCpus; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Deprecated] This property is deprecated and will never be populated with any relevant + * values. + */ public Integer getImageSpaceGb() { return imageSpaceGb; } + /** + * [Deprecated] This property is deprecated and will never be populated with any relevant + * values. + */ public Builder setImageSpaceGb(Integer imageSpaceGb) { this.imageSpaceGb = imageSpaceGb; return this; } + /** + * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for + * more information. + */ public Boolean getIsSharedCpu() { return isSharedCpu; } + /** + * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for + * more information. + */ public Builder setIsSharedCpu(Boolean isSharedCpu) { this.isSharedCpu = isSharedCpu; return this; } + /** [Output Only] The type of the resource. Always compute#machineType for machine types. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#machineType for machine types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Maximum persistent disks allowed. */ public Integer getMaximumPersistentDisks() { return maximumPersistentDisks; } + /** [Output Only] Maximum persistent disks allowed. */ public Builder setMaximumPersistentDisks(Integer maximumPersistentDisks) { this.maximumPersistentDisks = maximumPersistentDisks; return this; } + /** [Output Only] Maximum total persistent disks size (GB) allowed. */ public String getMaximumPersistentDisksSizeGb() { return maximumPersistentDisksSizeGb; } + /** [Output Only] Maximum total persistent disks size (GB) allowed. */ public Builder setMaximumPersistentDisksSizeGb(String maximumPersistentDisksSizeGb) { this.maximumPersistentDisksSizeGb = maximumPersistentDisksSizeGb; return this; } + /** [Output Only] The amount of physical memory available to the instance, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] The amount of physical memory available to the instance, defined in MB. */ public Builder setMemoryMb(Integer memoryMb) { this.memoryMb = memoryMb; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public List getScratchDisksList() { return scratchDisks; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public Builder addAllScratchDisks(List scratchDisks) { if (this.scratchDisks == null) { this.scratchDisks = new LinkedList<>(); @@ -444,6 +514,7 @@ public Builder addAllScratchDisks(List scratchDisks) { return this; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public Builder addScratchDisks(ScratchDisks scratchDisks) { if (this.scratchDisks == null) { this.scratchDisks = new LinkedList<>(); @@ -452,19 +523,23 @@ public Builder addScratchDisks(ScratchDisks scratchDisks) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The name of the zone where the machine type resides, such as us-central1-a. */ public String getZone() { return zone; } + /** [Output Only] The name of the zone where the machine type resides, such as us-central1-a. */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java index 26a7403069f1..27e56f9745cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of MachineTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of machine types. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists + * of machine types. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(MachineTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of MachineTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of machine types. + */ public Map getItemsMap() { return items; } + /** + * A list of MachineTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of machine types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists + * of machine types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists + * of machine types. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java index 5bd13afe0955..7870abd07061 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of machine types. */ public final class MachineTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of MachineType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(MachineTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of MachineType resources. */ public List getItemsList() { return items; } + /** A list of MachineType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of MachineType resources. */ public Builder addItems(MachineType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,59 @@ public Builder addItems(MachineType items) { return this; } + /** + * [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java index d96f69bbe7af..f8e17bfd6152 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of machine types contained in this scope. */ public List getMachineTypesList() { return machineTypes; } + /** [Output Only] An informational warning that appears when the machine types list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(MachineTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of machine types contained in this scope. */ public List getMachineTypesList() { return machineTypes; } + /** [Output Only] A list of machine types contained in this scope. */ public Builder addAllMachineTypes(List machineTypes) { if (this.machineTypes == null) { this.machineTypes = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllMachineTypes(List machineTypes) { return this; } + /** [Output Only] A list of machine types contained in this scope. */ public Builder addMachineTypes(MachineType machineTypes) { if (this.machineTypes == null) { this.machineTypes = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addMachineTypes(MachineType machineTypes) { return this; } + /** [Output Only] An informational warning that appears when the machine types list is empty. */ public Warning getWarning() { return warning; } + /** [Output Only] An informational warning that appears when the machine types list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java index 46762286bc35..9e33ece61a7d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A Managed Instance resource. */ public final class ManagedInstance implements ApiMessage { private final String currentAction; private final String id; @@ -84,22 +85,51 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The current action that the managed instance group has scheduled for the + * instance. Possible values: - NONE The instance is running, and the managed instance group does + * not have any scheduled actions for this instance. - CREATING The managed instance group is + * creating this instance. If the group fails to create this instance, it will try again until it + * is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create + * this instance only once. If the group fails to create this instance, it does not try again and + * the group's targetSize value is decreased instead. - RECREATING The managed instance group is + * recreating this instance. - DELETING The managed instance group is permanently deleting this + * instance. - ABANDONING The managed instance group is abandoning this instance. The instance + * will be removed from the instance group and from any target pools that are associated with this + * group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The + * managed instance group is applying configuration changes to the instance without stopping it. + * For example, the group can update the target pool list for an instance without stopping that + * instance. - VERIFYING The managed instance group has created the instance and it is in the + * process of being verified. + */ public String getCurrentAction() { return currentAction; } + /** + * [Output only] The unique identifier for this resource. This field is empty when instance does + * not exist. + */ public String getId() { return id; } + /** + * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been + * created. + */ public String getInstance() { return instance; } + /** + * [Output Only] The status of the instance. This field is empty when the instance does not exist. + */ public String getInstanceStatus() { return instanceStatus; } + /** [Output Only] Information about the last attempt to create or delete the instance. */ public ManagedInstanceLastAttempt getLastAttempt() { return lastAttempt; } @@ -163,46 +193,106 @@ public Builder mergeFrom(ManagedInstance other) { this.lastAttempt = source.lastAttempt; } + /** + * [Output Only] The current action that the managed instance group has scheduled for the + * instance. Possible values: - NONE The instance is running, and the managed instance group + * does not have any scheduled actions for this instance. - CREATING The managed instance group + * is creating this instance. If the group fails to create this instance, it will try again + * until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting + * to create this instance only once. If the group fails to create this instance, it does not + * try again and the group's targetSize value is decreased instead. - RECREATING The managed + * instance group is recreating this instance. - DELETING The managed instance group is + * permanently deleting this instance. - ABANDONING The managed instance group is abandoning + * this instance. The instance will be removed from the instance group and from any target pools + * that are associated with this group. - RESTARTING The managed instance group is restarting + * the instance. - REFRESHING The managed instance group is applying configuration changes to + * the instance without stopping it. For example, the group can update the target pool list for + * an instance without stopping that instance. - VERIFYING The managed instance group has + * created the instance and it is in the process of being verified. + */ public String getCurrentAction() { return currentAction; } + /** + * [Output Only] The current action that the managed instance group has scheduled for the + * instance. Possible values: - NONE The instance is running, and the managed instance group + * does not have any scheduled actions for this instance. - CREATING The managed instance group + * is creating this instance. If the group fails to create this instance, it will try again + * until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting + * to create this instance only once. If the group fails to create this instance, it does not + * try again and the group's targetSize value is decreased instead. - RECREATING The managed + * instance group is recreating this instance. - DELETING The managed instance group is + * permanently deleting this instance. - ABANDONING The managed instance group is abandoning + * this instance. The instance will be removed from the instance group and from any target pools + * that are associated with this group. - RESTARTING The managed instance group is restarting + * the instance. - REFRESHING The managed instance group is applying configuration changes to + * the instance without stopping it. For example, the group can update the target pool list for + * an instance without stopping that instance. - VERIFYING The managed instance group has + * created the instance and it is in the process of being verified. + */ public Builder setCurrentAction(String currentAction) { this.currentAction = currentAction; return this; } + /** + * [Output only] The unique identifier for this resource. This field is empty when instance does + * not exist. + */ public String getId() { return id; } + /** + * [Output only] The unique identifier for this resource. This field is empty when instance does + * not exist. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet + * been created. + */ public String getInstance() { return instance; } + /** + * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet + * been created. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** + * [Output Only] The status of the instance. This field is empty when the instance does not + * exist. + */ public String getInstanceStatus() { return instanceStatus; } + /** + * [Output Only] The status of the instance. This field is empty when the instance does not + * exist. + */ public Builder setInstanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } + /** [Output Only] Information about the last attempt to create or delete the instance. */ public ManagedInstanceLastAttempt getLastAttempt() { return lastAttempt; } + /** [Output Only] Information about the last attempt to create or delete the instance. */ public Builder setLastAttempt(ManagedInstanceLastAttempt lastAttempt) { this.lastAttempt = lastAttempt; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java index 9d5af52adf39..3a927e7263ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** [Output Only] Encountered errors during the last attempt to create or delete the instance. */ public Errors getErrors() { return errors; } @@ -98,10 +99,16 @@ public Builder mergeFrom(ManagedInstanceLastAttempt other) { this.errors = source.errors; } + /** + * [Output Only] Encountered errors during the last attempt to create or delete the instance. + */ public Errors getErrors() { return errors; } + /** + * [Output Only] Encountered errors during the last attempt to create or delete the instance. + */ public Builder setErrors(Errors errors) { this.errors = errors; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java index 8b62e9b8a4a4..06fd9748cc16 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A metadata key/value entry. */ public final class Metadata implements ApiMessage { private final String fingerprint; private final List items; @@ -68,14 +69,25 @@ public List getFieldMask() { return null; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide an + * up-to-date fingerprint hash in order to update or change metadata, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve the resource. + */ public String getFingerprint() { return fingerprint; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public List getItemsList() { return items; } + /** [Output Only] Type of the resource. Always compute#metadata for metadata. */ public String getKind() { return kind; } @@ -129,19 +141,39 @@ public Builder mergeFrom(Metadata other) { this.kind = source.kind; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve the resource. + */ public String getFingerprint() { return fingerprint; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve the resource. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public List getItemsList() { return items; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -150,6 +182,7 @@ public Builder addAllItems(List items) { return this; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public Builder addItems(Items items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -158,10 +191,12 @@ public Builder addItems(Items items) { return this; } + /** [Output Only] Type of the resource. Always compute#metadata for metadata. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#metadata for metadata. */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java index 9830089aff94..d9ec68157362 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java @@ -123,10 +123,12 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -135,30 +137,55 @@ public DiskMoveRequest getDiskMoveRequestResource() { return diskMoveRequestResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/moveDisk`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,19 +274,23 @@ public Builder mergeFrom(MoveDiskProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -274,64 +305,114 @@ public Builder setDiskMoveRequestResource(DiskMoveRequest diskMoveRequestResourc return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/moveDisk`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/moveDisk`. \`{project}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java index 8a1019cf2604..7cb06bca0fdd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java @@ -123,14 +123,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -139,26 +142,50 @@ public InstanceMoveRequest getInstanceMoveRequestResource() { return instanceMoveRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/moveInstance`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,28 +274,34 @@ public Builder mergeFrom(MoveInstanceProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -283,55 +316,103 @@ public Builder setInstanceMoveRequestResource(InstanceMoveRequest instanceMoveRe return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/moveInstance`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/moveInstance`. \`{project}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java index 1d1dcec1a9dd..002a5d1c6d34 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** The named port. For example: . */ public final class NamedPort implements ApiMessage { private final String name; private final Integer port; @@ -61,10 +62,14 @@ public List getFieldMask() { return null; } + /** + * The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. + */ public String getName() { return name; } + /** The port number, which can be a value between 1 and 65535. */ public Integer getPort() { return port; } @@ -113,19 +118,27 @@ public Builder mergeFrom(NamedPort other) { this.port = source.port; } + /** + * The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. + */ public String getName() { return name; } + /** + * The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** The port number, which can be a value between 1 and 65535. */ public Integer getPort() { return port; } + /** The port number, which can be a value between 1 and 65535. */ public Builder setPort(Integer port) { this.port = port; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java index a315c8d78154..c66adc6cad2d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public final class Network implements ApiMessage { private final Boolean autoCreateSubnetworks; private final String creationTimestamp; @@ -138,50 +142,87 @@ public List getFieldMask() { return null; } + /** + * When set to true, the VPC network is created in "auto" mode. When set to false, the VPC network + * is created in "custom" mode. + * + *

An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined + * range as described in Auto mode VPC network IP ranges. + */ public Boolean getAutoCreateSubnetworks() { return autoCreateSubnetworks; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The gateway address for default routing out of the network. This value is read + * only and is selected by GCP. + */ public String getGatewayIPv4() { return gatewayIPv4; } + /** + * The range of internal addresses that are legal on this network. This range is a CIDR + * specification, for example: 192.168.0.0/16. Provided by the client when the network is created. + */ public String getIPv4Range() { return iPv4Range; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#network for networks. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] A list of network peerings for the resource. */ public List getPeeringsList() { return peerings; } + /** + * The network-level routing configuration for this network. Used by Cloud Router to determine + * what type of network-wide routing behavior to enforce. + */ public NetworkRoutingConfig getRoutingConfig() { return routingConfig; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. */ public List getSubnetworksList() { return subnetworks; } @@ -280,82 +321,148 @@ public Builder mergeFrom(Network other) { this.subnetworks = source.subnetworks; } + /** + * When set to true, the VPC network is created in "auto" mode. When set to false, the VPC + * network is created in "custom" mode. + * + *

An auto mode VPC network starts with one subnet per region. Each subnet has a + * predetermined range as described in Auto mode VPC network IP ranges. + */ public Boolean getAutoCreateSubnetworks() { return autoCreateSubnetworks; } + /** + * When set to true, the VPC network is created in "auto" mode. When set to false, the VPC + * network is created in "custom" mode. + * + *

An auto mode VPC network starts with one subnet per region. Each subnet has a + * predetermined range as described in Auto mode VPC network IP ranges. + */ public Builder setAutoCreateSubnetworks(Boolean autoCreateSubnetworks) { this.autoCreateSubnetworks = autoCreateSubnetworks; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The gateway address for default routing out of the network. This value is read + * only and is selected by GCP. + */ public String getGatewayIPv4() { return gatewayIPv4; } + /** + * [Output Only] The gateway address for default routing out of the network. This value is read + * only and is selected by GCP. + */ public Builder setGatewayIPv4(String gatewayIPv4) { this.gatewayIPv4 = gatewayIPv4; return this; } + /** + * The range of internal addresses that are legal on this network. This range is a CIDR + * specification, for example: 192.168.0.0/16. Provided by the client when the network is + * created. + */ public String getIPv4Range() { return iPv4Range; } + /** + * The range of internal addresses that are legal on this network. This range is a CIDR + * specification, for example: 192.168.0.0/16. Provided by the client when the network is + * created. + */ public Builder setIPv4Range(String iPv4Range) { this.iPv4Range = iPv4Range; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#network for networks. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#network for networks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] A list of network peerings for the resource. */ public List getPeeringsList() { return peerings; } + /** [Output Only] A list of network peerings for the resource. */ public Builder addAllPeerings(List peerings) { if (this.peerings == null) { this.peerings = new LinkedList<>(); @@ -364,6 +471,7 @@ public Builder addAllPeerings(List peerings) { return this; } + /** [Output Only] A list of network peerings for the resource. */ public Builder addPeerings(NetworkPeering peerings) { if (this.peerings == null) { this.peerings = new LinkedList<>(); @@ -372,28 +480,44 @@ public Builder addPeerings(NetworkPeering peerings) { return this; } + /** + * The network-level routing configuration for this network. Used by Cloud Router to determine + * what type of network-wide routing behavior to enforce. + */ public NetworkRoutingConfig getRoutingConfig() { return routingConfig; } + /** + * The network-level routing configuration for this network. Used by Cloud Router to determine + * what type of network-wide routing behavior to enforce. + */ public Builder setRoutingConfig(NetworkRoutingConfig routingConfig) { this.routingConfig = routingConfig; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. + */ public List getSubnetworksList() { return subnetworks; } + /** + * [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. + */ public Builder addAllSubnetworks(List subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -402,6 +526,9 @@ public Builder addAllSubnetworks(List subnetworks) { return this; } + /** + * [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. + */ public Builder addSubnetworks(String subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java index caae20606c22..15e631f801e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A network interface resource attached to an instance. */ public final class NetworkInterface implements ApiMessage { private final List accessConfigs; private final List aliasIpRanges; @@ -106,34 +107,80 @@ public List getFieldMask() { return null; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will + * have no external internet access. + */ public List getAccessConfigsList() { return accessConfigs; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public List getAliasIpRangesList() { return aliasIpRanges; } + /** + * Fingerprint hash of contents stored in this network interface. This field will be ignored when + * inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided + * in order to update the NetworkInterface, otherwise the request will fail with error 412 + * conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */ public String getKind() { return kind; } + /** + * [Output Only] The name of the network interface, generated by the server. For network devices, + * these are eth0, eth1, etc. + */ public String getName() { return name; } + /** + * URL of the network resource for this instance. When creating an instance, if neither the + * network nor the subnetwork is specified, the default network global/networks/default is used; + * if the network is not specified but the subnetwork is specified, the network is inferred. + * + *

This field is optional when creating a firewall rule. If not specified when creating a + * firewall rule, the default network global/networks/default is used. + * + *

If you specify this property, you can specify the network as a full or partial URL. For + * example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/global/networks/network - + * projects/project/global/networks/network - global/networks/default + */ public String getNetwork() { return network; } + /** + * An IPv4 internal network address to assign to the instance for this network interface. If not + * specified by the user, an unused internal IP is assigned by the system. + */ public String getNetworkIP() { return networkIP; } + /** + * The URL of the Subnetwork resource for this instance. If the network resource is in legacy + * mode, do not provide this property. If the network is in auto subnet mode, providing the + * subnetwork is optional. If the network is in custom subnet mode, then this field should be + * specified. If you specify this property, you can specify the subnetwork as a full or partial + * URL. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork - + * regions/region/subnetworks/subnetwork + */ public String getSubnetwork() { return subnetwork; } @@ -212,10 +259,20 @@ public Builder mergeFrom(NetworkInterface other) { this.subnetwork = source.subnetwork; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance + * will have no external internet access. + */ public List getAccessConfigsList() { return accessConfigs; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance + * will have no external internet access. + */ public Builder addAllAccessConfigs(List accessConfigs) { if (this.accessConfigs == null) { this.accessConfigs = new LinkedList<>(); @@ -224,6 +281,11 @@ public Builder addAllAccessConfigs(List accessConfigs) { return this; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance + * will have no external internet access. + */ public Builder addAccessConfigs(AccessConfig accessConfigs) { if (this.accessConfigs == null) { this.accessConfigs = new LinkedList<>(); @@ -232,10 +294,18 @@ public Builder addAccessConfigs(AccessConfig accessConfigs) { return this; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public List getAliasIpRangesList() { return aliasIpRanges; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public Builder addAllAliasIpRanges(List aliasIpRanges) { if (this.aliasIpRanges == null) { this.aliasIpRanges = new LinkedList<>(); @@ -244,6 +314,10 @@ public Builder addAllAliasIpRanges(List aliasIpRanges) { return this; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public Builder addAliasIpRanges(AliasIpRange aliasIpRanges) { if (this.aliasIpRanges == null) { this.aliasIpRanges = new LinkedList<>(); @@ -252,55 +326,133 @@ public Builder addAliasIpRanges(AliasIpRange aliasIpRanges) { return this; } + /** + * Fingerprint hash of contents stored in this network interface. This field will be ignored + * when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be + * provided in order to update the NetworkInterface, otherwise the request will fail with error + * 412 conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint hash of contents stored in this network interface. This field will be ignored + * when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be + * provided in order to update the NetworkInterface, otherwise the request will fail with error + * 412 conditionNotMet. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] The name of the network interface, generated by the server. For network + * devices, these are eth0, eth1, etc. + */ public String getName() { return name; } + /** + * [Output Only] The name of the network interface, generated by the server. For network + * devices, these are eth0, eth1, etc. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the network resource for this instance. When creating an instance, if neither the + * network nor the subnetwork is specified, the default network global/networks/default is used; + * if the network is not specified but the subnetwork is specified, the network is inferred. + * + *

This field is optional when creating a firewall rule. If not specified when creating a + * firewall rule, the default network global/networks/default is used. + * + *

If you specify this property, you can specify the network as a full or partial URL. For + * example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/global/networks/network - + * projects/project/global/networks/network - global/networks/default + */ public String getNetwork() { return network; } + /** + * URL of the network resource for this instance. When creating an instance, if neither the + * network nor the subnetwork is specified, the default network global/networks/default is used; + * if the network is not specified but the subnetwork is specified, the network is inferred. + * + *

This field is optional when creating a firewall rule. If not specified when creating a + * firewall rule, the default network global/networks/default is used. + * + *

If you specify this property, you can specify the network as a full or partial URL. For + * example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/global/networks/network - + * projects/project/global/networks/network - global/networks/default + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * An IPv4 internal network address to assign to the instance for this network interface. If not + * specified by the user, an unused internal IP is assigned by the system. + */ public String getNetworkIP() { return networkIP; } + /** + * An IPv4 internal network address to assign to the instance for this network interface. If not + * specified by the user, an unused internal IP is assigned by the system. + */ public Builder setNetworkIP(String networkIP) { this.networkIP = networkIP; return this; } + /** + * The URL of the Subnetwork resource for this instance. If the network resource is in legacy + * mode, do not provide this property. If the network is in auto subnet mode, providing the + * subnetwork is optional. If the network is in custom subnet mode, then this field should be + * specified. If you specify this property, you can specify the subnetwork as a full or partial + * URL. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork + * - regions/region/subnetworks/subnetwork + */ public String getSubnetwork() { return subnetwork; } + /** + * The URL of the Subnetwork resource for this instance. If the network resource is in legacy + * mode, do not provide this property. If the network is in auto subnet mode, providing the + * subnetwork is optional. If the network is in custom subnet mode, then this field should be + * specified. If you specify this property, you can specify the subnetwork as a full or partial + * URL. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork + * - regions/region/subnetworks/subnetwork + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java index 8695b18db360..57fca289efce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of networks. */ public final class NetworkList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Network resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#networkList for lists of networks. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NetworkList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Network resources. */ public List getItemsList() { return items; } + /** A list of Network resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Network resources. */ public Builder addItems(Network items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Network items) { return this; } + /** [Output Only] Type of resource. Always compute#networkList for lists of networks. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#networkList for lists of networks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java index 326c77b22d4f..8ef6fb210c5e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A network peering attached to a network resource. The message includes the peering name, peer + * network, peering state, and a flag indicating whether Google Compute Engine should automatically + * create routes for the peering. + */ public final class NetworkPeering implements ApiMessage { private final Boolean autoCreateRoutes; private final String name; @@ -80,22 +85,42 @@ public List getFieldMask() { return null; } + /** + * Indicates whether full mesh connectivity is created and managed automatically. When it is set + * to true, Google Compute Engine will automatically create and manage the routes between two + * networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route + * packets to peer network. + */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** + * Name of this peering. Provided by the client when the peering is created. The name must comply + * with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all the following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed that + * the peer network is in the same project as the current network. + */ public String getNetwork() { return network; } + /** [Output Only] State for the peering. */ public String getState() { return state; } + /** [Output Only] Details about the current state of the peering. */ public String getStateDetails() { return stateDetails; } @@ -159,46 +184,86 @@ public Builder mergeFrom(NetworkPeering other) { this.stateDetails = source.stateDetails; } + /** + * Indicates whether full mesh connectivity is created and managed automatically. When it is set + * to true, Google Compute Engine will automatically create and manage the routes between two + * networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route + * packets to peer network. + */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** + * Indicates whether full mesh connectivity is created and managed automatically. When it is set + * to true, Google Compute Engine will automatically create and manage the routes between two + * networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route + * packets to peer network. + */ public Builder setAutoCreateRoutes(Boolean autoCreateRoutes) { this.autoCreateRoutes = autoCreateRoutes; return this; } + /** + * Name of this peering. Provided by the client when the peering is created. The name must + * comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular + * expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a + * lowercase letter, and all the following characters must be a dash, lowercase letter, or + * digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of this peering. Provided by the client when the peering is created. The name must + * comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular + * expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a + * lowercase letter, and all the following characters must be a dash, lowercase letter, or + * digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public String getNetwork() { return network; } + /** + * The URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** [Output Only] State for the peering. */ public String getState() { return state; } + /** [Output Only] State for the peering. */ public Builder setState(String state) { this.state = state; return this; } + /** [Output Only] Details about the current state of the peering. */ public String getStateDetails() { return stateDetails; } + /** [Output Only] Details about the current state of the peering. */ public Builder setStateDetails(String stateDetails) { this.stateDetails = stateDetails; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java index 13dd96235d34..6346166ae713 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A routing configuration attached to a network resource. The message includes the list of routers + * associated with the network, and a flag indicating the type of routing behavior to enforce + * network-wide. + */ public final class NetworkRoutingConfig implements ApiMessage { private final String routingMode; @@ -55,6 +60,12 @@ public List getFieldMask() { return null; } + /** + * The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will + * only advertise routes with subnets of this network in the same region as the router. If set to + * GLOBAL, this network's cloud routers will advertise routes with all subnets of this network, + * across regions. + */ public String getRoutingMode() { return routingMode; } @@ -98,10 +109,22 @@ public Builder mergeFrom(NetworkRoutingConfig other) { this.routingMode = source.routingMode; } + /** + * The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will + * only advertise routes with subnets of this network in the same region as the router. If set + * to GLOBAL, this network's cloud routers will advertise routes with all subnets of this + * network, across regions. + */ public String getRoutingMode() { return routingMode; } + /** + * The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will + * only advertise routes with subnets of this network in the same region as the router. If set + * to GLOBAL, this network's cloud routers will advertise routes with all subnets of this + * network, across regions. + */ public Builder setRoutingMode(String routingMode) { this.routingMode = routingMode; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java index af7b8d70fdff..705dad00b6fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java @@ -67,14 +67,21 @@ public List getFieldMask() { return null; } + /** Whether Google Compute Engine manages the routes automatically. */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } + /** + * URL of the peer network. It can be either full URL or partial URL. The peer network may belong + * to a different project. If the partial URL does not contain project, it is assumed that the + * peer network is in the same project as the current network. + */ public String getPeerNetwork() { return peerNetwork; } @@ -128,28 +135,42 @@ public Builder mergeFrom(NetworksAddPeeringRequest other) { this.peerNetwork = source.peerNetwork; } + /** Whether Google Compute Engine manages the routes automatically. */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** Whether Google Compute Engine manages the routes automatically. */ public Builder setAutoCreateRoutes(Boolean autoCreateRoutes) { this.autoCreateRoutes = autoCreateRoutes; return this; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } + /** Name of the peering, which should conform to RFC1035. */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public String getPeerNetwork() { return peerNetwork; } + /** + * URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public Builder setPeerNetwork(String peerNetwork) { this.peerNetwork = peerNetwork; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java index 34166d7caccc..3073baccde6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } @@ -98,10 +99,12 @@ public Builder mergeFrom(NetworksRemovePeeringRequest other) { this.name = source.name; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } + /** Name of the peering, which should conform to RFC1035. */ public Builder setName(String name) { this.name = name; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java index be9f0040a8e2..989a78cbe4e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A NodeGroup resource. */ public final class NodeGroup implements ApiMessage { private final String creationTimestamp; private final String description; @@ -119,34 +120,52 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] The type of the resource. Always compute#nodeGroup for node group. */ public String getKind() { return kind; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The URL of the node template to which this node group belongs. */ public String getNodeTemplate() { return nodeTemplate; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The total number of nodes in the node group. */ public Integer getSize() { return size; } @@ -155,6 +174,7 @@ public String getStatus() { return status; } + /** [Output Only] The name of the zone where the node group resides, such as us-central1-a. */ public String getZone() { return zone; } @@ -243,73 +263,113 @@ public Builder mergeFrom(NodeGroup other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The type of the resource. Always compute#nodeGroup for node group. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#nodeGroup for node group. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The URL of the node template to which this node group belongs. */ public String getNodeTemplate() { return nodeTemplate; } + /** The URL of the node template to which this node group belongs. */ public Builder setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The total number of nodes in the node group. */ public Integer getSize() { return size; } + /** [Output Only] The total number of nodes in the node group. */ public Builder setSize(Integer size) { this.size = size; return this; @@ -324,10 +384,12 @@ public Builder setStatus(String status) { return this; } + /** [Output Only] The name of the zone where the node group resides, such as us-central1-a. */ public String getZone() { return zone; } + /** [Output Only] The name of the zone where the node group resides, such as us-central1-a. */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java index c5cb249f1d55..1995d351b12a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of NodeGroupsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node groups. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of + * node groups. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(NodeGroupAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of NodeGroupsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node groups. + */ public Map getItemsMap() { return items; } + /** + * A list of NodeGroupsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node groups. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of + * node groups. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of + * node groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java index 450296e37a0d..8c90abb7e1d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of nodeGroups. */ public final class NodeGroupList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of NodeGroup resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NodeGroupList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of NodeGroup resources. */ public List getItemsList() { return items; } + /** A list of NodeGroup resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of NodeGroup resources. */ public Builder addItems(NodeGroup items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(NodeGroup items) { return this; } + /** [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. */ public String getKind() { return kind; } + /** [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java index f981664668a4..74c698a163fa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java @@ -74,14 +74,17 @@ public List getFieldMask() { return null; } + /** Instances scheduled on this node. */ public List getInstancesList() { return instances; } + /** The name of the node. */ public String getName() { return name; } + /** The type of this node. */ public String getNodeType() { return nodeType; } @@ -144,10 +147,12 @@ public Builder mergeFrom(NodeGroupNode other) { this.status = source.status; } + /** Instances scheduled on this node. */ public List getInstancesList() { return instances; } + /** Instances scheduled on this node. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -156,6 +161,7 @@ public Builder addAllInstances(List instances) { return this; } + /** Instances scheduled on this node. */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -164,19 +170,23 @@ public Builder addInstances(String instances) { return this; } + /** The name of the node. */ public String getName() { return name; } + /** The name of the node. */ public Builder setName(String name) { this.name = name; return this; } + /** The type of this node. */ public String getNodeType() { return nodeType; } + /** The type of this node. */ public Builder setNodeType(String nodeType) { this.nodeType = nodeType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java index f48042182445..599dfef6ba78 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Count of additional nodes to be added to the node group. */ public Integer getAdditionalNodeCount() { return additionalNodeCount; } @@ -98,10 +99,12 @@ public Builder mergeFrom(NodeGroupsAddNodesRequest other) { this.additionalNodeCount = source.additionalNodeCount; } + /** Count of additional nodes to be added to the node group. */ public Integer getAdditionalNodeCount() { return additionalNodeCount; } + /** Count of additional nodes to be added to the node group. */ public Builder setAdditionalNodeCount(Integer additionalNodeCount) { this.additionalNodeCount = additionalNodeCount; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java index 7db8a93459eb..7545a96e0939 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Node resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of + * nodes in the specified node group. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,23 @@ public Builder mergeFrom(NodeGroupsListNodes other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Node resources. */ public List getItemsList() { return items; } + /** A list of Node resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +219,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Node resources. */ public Builder addItems(NodeGroupNode items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +228,61 @@ public Builder addItems(NodeGroupNode items) { return this; } + /** + * [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of + * nodes in the specified node group. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of + * nodes in the specified node group. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java index e0607488ad1c..4a07ac02e4c5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of node groups contained in this scope. */ public List getNodeGroupsList() { return nodeGroups; } + /** [Output Only] An informational warning that appears when the nodeGroup list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(NodeGroupsScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of node groups contained in this scope. */ public List getNodeGroupsList() { return nodeGroups; } + /** [Output Only] A list of node groups contained in this scope. */ public Builder addAllNodeGroups(List nodeGroups) { if (this.nodeGroups == null) { this.nodeGroups = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllNodeGroups(List nodeGroups) { return this; } + /** [Output Only] A list of node groups contained in this scope. */ public Builder addNodeGroups(NodeGroup nodeGroups) { if (this.nodeGroups == null) { this.nodeGroups = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addNodeGroups(NodeGroup nodeGroups) { return this; } + /** [Output Only] An informational warning that appears when the nodeGroup list is empty. */ public Warning getWarning() { return warning; } + /** [Output Only] An informational warning that appears when the nodeGroup list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java index b640b9faa027..97c44d0217b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Full or partial URL of the node template resource to be updated for this node group. */ public String getNodeTemplate() { return nodeTemplate; } @@ -98,10 +99,12 @@ public Builder mergeFrom(NodeGroupsSetNodeTemplateRequest other) { this.nodeTemplate = source.nodeTemplate; } + /** Full or partial URL of the node template resource to be updated for this node group. */ public String getNodeTemplate() { return nodeTemplate; } + /** Full or partial URL of the node template resource to be updated for this node group. */ public Builder setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java index dcc1c3d00277..270107899f8a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A Node Template resource. */ public final class NodeTemplate implements ApiMessage { private final String creationTimestamp; private final String description; @@ -134,50 +135,81 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. */ public String getKind() { return kind; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** Labels to use for node affinity, which will be used in instance scheduling. */ public Map getNodeAffinityLabelsMap() { return nodeAffinityLabels; } + /** The node type to use for nodes group that are created from this template. */ public String getNodeType() { return nodeType; } + /** + * The flexible properties of the desired node type. Node groups that use this node template will + * create nodes of a type that matches these properties. + * + *

This field is mutually exclusive with the node_type property; you can only define one or the + * other, but not both. + */ public NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility() { return nodeTypeFlexibility; } + /** [Output Only] The name of the region where the node template resides, such as us-central1. */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The status of the node template. One of the following values: CREATING, READY, + * and DELETING. + */ public String getStatus() { return status; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } @@ -276,109 +308,179 @@ public Builder mergeFrom(NodeTemplate other) { this.statusMessage = source.statusMessage; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** Labels to use for node affinity, which will be used in instance scheduling. */ public Map getNodeAffinityLabelsMap() { return nodeAffinityLabels; } + /** Labels to use for node affinity, which will be used in instance scheduling. */ public Builder putAllNodeAffinityLabels(Map nodeAffinityLabels) { this.nodeAffinityLabels = nodeAffinityLabels; return this; } + /** The node type to use for nodes group that are created from this template. */ public String getNodeType() { return nodeType; } + /** The node type to use for nodes group that are created from this template. */ public Builder setNodeType(String nodeType) { this.nodeType = nodeType; return this; } + /** + * The flexible properties of the desired node type. Node groups that use this node template + * will create nodes of a type that matches these properties. + * + *

This field is mutually exclusive with the node_type property; you can only define one or + * the other, but not both. + */ public NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility() { return nodeTypeFlexibility; } + /** + * The flexible properties of the desired node type. Node groups that use this node template + * will create nodes of a type that matches these properties. + * + *

This field is mutually exclusive with the node_type property; you can only define one or + * the other, but not both. + */ public Builder setNodeTypeFlexibility(NodeTemplateNodeTypeFlexibility nodeTypeFlexibility) { this.nodeTypeFlexibility = nodeTypeFlexibility; return this; } + /** + * [Output Only] The name of the region where the node template resides, such as us-central1. + */ public String getRegion() { return region; } + /** + * [Output Only] The name of the region where the node template resides, such as us-central1. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The status of the node template. One of the following values: CREATING, READY, + * and DELETING. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the node template. One of the following values: CREATING, READY, + * and DELETING. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional, human-readable explanation of the status. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java index f115d2e75a32..eae2372588ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of NodeTemplatesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node templates. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists + * of node templates. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(NodeTemplateAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of NodeTemplatesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of node templates. + */ public Map getItemsMap() { return items; } + /** + * A list of NodeTemplatesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of node templates. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists + * of node templates. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists + * of node templates. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java index 64e8b3c32f73..e971130f05aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of node templates. */ public final class NodeTemplateList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of NodeTemplate resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NodeTemplateList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of NodeTemplate resources. */ public List getItemsList() { return items; } + /** A list of NodeTemplate resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of NodeTemplate resources. */ public Builder addItems(NodeTemplate items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,59 @@ public Builder addItems(NodeTemplate items) { return this; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java index 72bebcfb70a3..fc79bacaeeba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of node templates contained in this scope. */ public List getNodeTemplatesList() { return nodeTemplates; } + /** [Output Only] An informational warning that appears when the node templates list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(NodeTemplatesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of node templates contained in this scope. */ public List getNodeTemplatesList() { return nodeTemplates; } + /** [Output Only] A list of node templates contained in this scope. */ public Builder addAllNodeTemplates(List nodeTemplates) { if (this.nodeTemplates == null) { this.nodeTemplates = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllNodeTemplates(List nodeTemplates) { return this; } + /** [Output Only] A list of node templates contained in this scope. */ public Builder addNodeTemplates(NodeTemplate nodeTemplates) { if (this.nodeTemplates == null) { this.nodeTemplates = new LinkedList<>(); @@ -134,10 +139,16 @@ public Builder addNodeTemplates(NodeTemplate nodeTemplates) { return this; } + /** + * [Output Only] An informational warning that appears when the node templates list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] An informational warning that appears when the node templates list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java index 6373cf7e5b62..34e612d0987c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A Node Type resource. */ public final class NodeType implements ApiMessage { private final String cpuPlatform; private final String creationTimestamp; @@ -133,50 +134,64 @@ public List getFieldMask() { return null; } + /** [Output Only] The CPU platform used by this node type. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this node type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] The number of virtual CPUs that are available to the node type. */ public Integer getGuestCpus() { return guestCpus; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] The type of the resource. Always compute#nodeType for node types. */ public String getKind() { return kind; } + /** [Output Only] Local SSD available to the node type, defined in GB. */ public Integer getLocalSsdGb() { return localSsdGb; } + /** [Output Only] The amount of physical memory available to the node type, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The name of the zone where the node type resides, such as us-central1-a. */ public String getZone() { return zone; } @@ -275,109 +290,139 @@ public Builder mergeFrom(NodeType other) { this.zone = source.zone; } + /** [Output Only] The CPU platform used by this node type. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] The CPU platform used by this node type. */ public Builder setCpuPlatform(String cpuPlatform) { this.cpuPlatform = cpuPlatform; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this node type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this node type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The number of virtual CPUs that are available to the node type. */ public Integer getGuestCpus() { return guestCpus; } + /** [Output Only] The number of virtual CPUs that are available to the node type. */ public Builder setGuestCpus(Integer guestCpus) { this.guestCpus = guestCpus; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The type of the resource. Always compute#nodeType for node types. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#nodeType for node types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Local SSD available to the node type, defined in GB. */ public Integer getLocalSsdGb() { return localSsdGb; } + /** [Output Only] Local SSD available to the node type, defined in GB. */ public Builder setLocalSsdGb(Integer localSsdGb) { this.localSsdGb = localSsdGb; return this; } + /** [Output Only] The amount of physical memory available to the node type, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] The amount of physical memory available to the node type, defined in MB. */ public Builder setMemoryMb(Integer memoryMb) { this.memoryMb = memoryMb; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The name of the zone where the node type resides, such as us-central1-a. */ public String getZone() { return zone; } + /** [Output Only] The name of the zone where the node type resides, such as us-central1-a. */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java index 3eb1e2a4ce98..9706a53bcedd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of NodeTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node types. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of + * node types. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(NodeTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of NodeTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node types. + */ public Map getItemsMap() { return items; } + /** + * A list of NodeTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of + * node types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of + * node types. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java index 8c9729b75c6f..945d2142a9f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of node types. */ public final class NodeTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of NodeType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NodeTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of NodeType resources. */ public List getItemsList() { return items; } + /** A list of NodeType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of NodeType resources. */ public Builder addItems(NodeType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(NodeType items) { return this; } + /** [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. */ public String getKind() { return kind; } + /** [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java index c1409a525602..cd22586a121e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of node types contained in this scope. */ public List getNodeTypesList() { return nodeTypes; } + /** [Output Only] An informational warning that appears when the node types list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(NodeTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of node types contained in this scope. */ public List getNodeTypesList() { return nodeTypes; } + /** [Output Only] A list of node types contained in this scope. */ public Builder addAllNodeTypes(List nodeTypes) { if (this.nodeTypes == null) { this.nodeTypes = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllNodeTypes(List nodeTypes) { return this; } + /** [Output Only] A list of node types contained in this scope. */ public Builder addNodeTypes(NodeType nodeTypes) { if (this.nodeTypes == null) { this.nodeTypes = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addNodeTypes(NodeType nodeTypes) { return this; } + /** [Output Only] An informational warning that appears when the node types list is empty. */ public Warning getWarning() { return warning; } + /** [Output Only] An informational warning that appears when the node types list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java index 1ade2d0ec825..cab308e8f792 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * An Operation resource, used to manage asynchronous API requests. (== resource_for + * v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for + * v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for + * v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) + */ public final class Operation implements ApiMessage { private final String clientOperationId; private final String creationTimestamp; @@ -211,94 +217,166 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The value of `requestId` if you provided it in the request. Not present + * otherwise. + */ public String getClientOperationId() { return clientOperationId; } + /** [Deprecated] This field is deprecated. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] A textual description of the operation, which is set when the operation is + * created. + */ public String getDescription() { return description; } + /** + * [Output Only] The time that this operation was completed. This value is in RFC3339 text format. + */ public String getEndTime() { return endTime; } + /** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public Error getError() { return error; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error message that was + * returned, such as NOT FOUND. + */ public String getHttpErrorMessage() { return httpErrorMessage; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error status code that was + * returned. For example, a 404 means the resource was not found. + */ public Integer getHttpErrorStatusCode() { return httpErrorStatusCode; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] The time that this operation was requested. This value is in RFC3339 text format. + */ public String getInsertTime() { return insertTime; } + /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ public String getOperationType() { return operationType; } + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement + * that this be linear or support any granularity of operations. This should not be used to guess + * when the operation will be complete. This number should monotonically increase as the operation + * progresses. + */ public Integer getProgress() { return progress; } + /** + * [Output Only] The URL of the region where the operation resides. Only available when performing + * regional operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The time that this operation was started by the server. This value is in RFC3339 + * text format. + */ public String getStartTime() { return startTime; } + /** + * [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, + * or DONE. + */ public String getStatus() { return status; } + /** [Output Only] An optional textual description of the current status of the operation. */ public String getStatusMessage() { return statusMessage; } + /** + * [Output Only] The unique target ID, which identifies a specific incarnation of the target + * resource. + */ public String getTargetId() { return targetId; } + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to + * creating a snapshot, this points to the persistent disk that the snapshot was created from. + */ public String getTargetLink() { return targetLink; } + /** [Output Only] User who requested the operation, for example: user{@literal @}example.com. */ public String getUser() { return user; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this field + * will be populated. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] The URL of the zone where the operation resides. Only available when performing + * per-zone operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public String getZone() { return zone; } @@ -452,199 +530,339 @@ public Builder mergeFrom(Operation other) { this.zone = source.zone; } + /** + * [Output Only] The value of `requestId` if you provided it in the request. Not present + * otherwise. + */ public String getClientOperationId() { return clientOperationId; } + /** + * [Output Only] The value of `requestId` if you provided it in the request. Not present + * otherwise. + */ public Builder setClientOperationId(String clientOperationId) { this.clientOperationId = clientOperationId; return this; } + /** [Deprecated] This field is deprecated. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Deprecated] This field is deprecated. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * [Output Only] A textual description of the operation, which is set when the operation is + * created. + */ public String getDescription() { return description; } + /** + * [Output Only] A textual description of the operation, which is set when the operation is + * created. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The time that this operation was completed. This value is in RFC3339 text + * format. + */ public String getEndTime() { return endTime; } + /** + * [Output Only] The time that this operation was completed. This value is in RFC3339 text + * format. + */ public Builder setEndTime(String endTime) { this.endTime = endTime; return this; } + /** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public Error getError() { return error; } + /** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public Builder setError(Error error) { this.error = error; return this; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error message that was + * returned, such as NOT FOUND. + */ public String getHttpErrorMessage() { return httpErrorMessage; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error message that was + * returned, such as NOT FOUND. + */ public Builder setHttpErrorMessage(String httpErrorMessage) { this.httpErrorMessage = httpErrorMessage; return this; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error status code that was + * returned. For example, a 404 means the resource was not found. + */ public Integer getHttpErrorStatusCode() { return httpErrorStatusCode; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error status code that was + * returned. For example, a 404 means the resource was not found. + */ public Builder setHttpErrorStatusCode(Integer httpErrorStatusCode) { this.httpErrorStatusCode = httpErrorStatusCode; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The time that this operation was requested. This value is in RFC3339 text + * format. + */ public String getInsertTime() { return insertTime; } + /** + * [Output Only] The time that this operation was requested. This value is in RFC3339 text + * format. + */ public Builder setInsertTime(String insertTime) { this.insertTime = insertTime; return this; } + /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ public String getOperationType() { return operationType; } + /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ public Builder setOperationType(String operationType) { this.operationType = operationType; return this; } + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no + * requirement that this be linear or support any granularity of operations. This should not be + * used to guess when the operation will be complete. This number should monotonically increase + * as the operation progresses. + */ public Integer getProgress() { return progress; } + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no + * requirement that this be linear or support any granularity of operations. This should not be + * used to guess when the operation will be complete. This number should monotonically increase + * as the operation progresses. + */ public Builder setProgress(Integer progress) { this.progress = progress; return this; } + /** + * [Output Only] The URL of the region where the operation resides. Only available when + * performing regional operations. You must specify this field as part of the HTTP request URL. + * It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] The URL of the region where the operation resides. Only available when + * performing regional operations. You must specify this field as part of the HTTP request URL. + * It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The time that this operation was started by the server. This value is in + * RFC3339 text format. + */ public String getStartTime() { return startTime; } + /** + * [Output Only] The time that this operation was started by the server. This value is in + * RFC3339 text format. + */ public Builder setStartTime(String startTime) { this.startTime = startTime; return this; } + /** + * [Output Only] The status of the operation, which can be one of the following: PENDING, + * RUNNING, or DONE. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the operation, which can be one of the following: PENDING, + * RUNNING, or DONE. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional textual description of the current status of the operation. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional textual description of the current status of the operation. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; } + /** + * [Output Only] The unique target ID, which identifies a specific incarnation of the target + * resource. + */ public String getTargetId() { return targetId; } + /** + * [Output Only] The unique target ID, which identifies a specific incarnation of the target + * resource. + */ public Builder setTargetId(String targetId) { this.targetId = targetId; return this; } + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to + * creating a snapshot, this points to the persistent disk that the snapshot was created from. + */ public String getTargetLink() { return targetLink; } + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to + * creating a snapshot, this points to the persistent disk that the snapshot was created from. + */ public Builder setTargetLink(String targetLink) { this.targetLink = targetLink; return this; } + /** [Output Only] User who requested the operation, for example: user{@literal @}example.com. */ public String getUser() { return user; } + /** [Output Only] User who requested the operation, for example: user{@literal @}example.com. */ public Builder setUser(String user) { this.user = user; return this; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this + * field will be populated. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this + * field will be populated. + */ public Builder addAllWarnings(List warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -653,6 +871,10 @@ public Builder addAllWarnings(List warnings) { return this; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this + * field will be populated. + */ public Builder addWarnings(Warnings warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -661,10 +883,20 @@ public Builder addWarnings(Warnings warnings) { return this; } + /** + * [Output Only] The URL of the zone where the operation resides. Only available when performing + * per-zone operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] The URL of the zone where the operation resides. Only available when performing + * per-zone operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java index f992f3f88e54..95909cb5efc9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java @@ -92,26 +92,45 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] A map of scoped operation lists. The key for the map is: [Output Only] Name of + * the scope containing this set of operations. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists of + * operations. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +199,95 @@ public Builder mergeFrom(OperationAggregatedList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] A map of scoped operation lists. The key for the map is: [Output Only] Name of + * the scope containing this set of operations. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] A map of scoped operation lists. The key for the map is: [Output Only] Name of + * the scope containing this set of operations. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists + * of operations. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists + * of operations. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java index ca87ac0063af..5df8346a4c24 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Operation resources. */ public final class OperationList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,39 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] A list of Operation resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,29 @@ public Builder mergeFrom(OperationList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] A list of Operation resources. */ public List getItemsList() { return items; } + /** [Output Only] A list of Operation resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +225,7 @@ public Builder addAllItems(List items) { return this; } + /** [Output Only] A list of Operation resources. */ public Builder addItems(Operation items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +234,55 @@ public Builder addItems(Operation items) { return this; } + /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java index e60eaa2b00e8..fb42890ac2ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of operations contained in this scope. */ public List getOperationsList() { return operations; } + /** + * [Output Only] Informational warning which replaces the list of operations when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(OperationsScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of operations contained in this scope. */ public List getOperationsList() { return operations; } + /** [Output Only] A list of operations contained in this scope. */ public Builder addAllOperations(List operations) { if (this.operations == null) { this.operations = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllOperations(List operations) { return this; } + /** [Output Only] A list of operations contained in this scope. */ public Builder addOperations(Operation operations) { if (this.operations == null) { this.operations = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addOperations(Operation operations) { return this; } + /** + * [Output Only] Informational warning which replaces the list of operations when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of operations when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java index eefaf6902d24..b60c456a02b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java @@ -133,18 +133,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -153,30 +163,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -275,37 +310,57 @@ public Builder mergeFrom(PatchAutoscalerHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to patch. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -331,64 +386,114 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java index c23f101141a4..810892d02b3d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java @@ -126,18 +126,29 @@ public BackendBucket getApiMessageRequestBody() { return backendBucketResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to patch. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -146,26 +157,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,37 +288,59 @@ public Builder mergeFrom(PatchBackendBucketHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendBucket resource to patch. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to patch. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public Builder setBackendBucketResource(BackendBucket backendBucketResource) { this.backendBucketResource = backendBucketResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -315,55 +366,91 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java index d333e0ff07bb..007e870e59e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java @@ -128,18 +128,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -148,26 +163,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -261,37 +294,67 @@ public Builder mergeFrom(PatchBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -317,55 +380,91 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java index 864493a1116b..39bf8dc7791e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java @@ -126,10 +126,12 @@ public Firewall getApiMessageRequestBody() { return firewallResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the firewall rule to patch. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +287,23 @@ public Builder mergeFrom(PatchFirewallHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +329,125 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the firewall rule to patch. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** + * Name of the firewall rule to patch. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setFirewall(String firewall) { this.firewall = firewall; return this; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** Represents a Firewall resource. */ public Builder setFirewallResource(Firewall firewallResource) { this.firewallResource = firewallResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java index d13357696846..11094d6c4aab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java @@ -126,10 +126,12 @@ public HealthCheck getApiMessageRequestBody() { return healthCheckResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HealthCheck resource to patch. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +290,23 @@ public Builder mergeFrom(PatchHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +332,133 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HealthCheck resource to patch. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to patch. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public Builder setHealthCheckResource(HealthCheck healthCheckResource) { this.healthCheckResource = healthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java index a62374c01e7e..a6d292a30205 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java @@ -126,10 +126,12 @@ public HttpHealthCheck2 getApiMessageRequestBody() { return httpHealthCheckResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpHealthCheck resource to patch. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +291,23 @@ public Builder mergeFrom(PatchHttpHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +333,133 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpHealthCheck resource to patch. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to patch. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; return this; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public Builder setHttpHealthCheckResource(HttpHealthCheck2 httpHealthCheckResource) { this.httpHealthCheckResource = httpHealthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java index 821c62fbb74d..14f4dc5a5140 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java @@ -126,10 +126,12 @@ public HttpsHealthCheck2 getApiMessageRequestBody() { return httpsHealthCheckResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpsHealthCheck resource to patch. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +291,23 @@ public Builder mergeFrom(PatchHttpsHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +333,133 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpsHealthCheck resource to patch. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to patch. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; return this; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public Builder setHttpsHealthCheckResource(HttpsHealthCheck2 httpsHealthCheckResource) { this.httpsHealthCheckResource = httpsHealthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java index 93dd9fb8a8e2..197d34d5c407 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java @@ -129,10 +129,12 @@ public InstanceGroupManager getApiMessageRequestBody() { return instanceGroupManagerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -141,34 +143,65 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group manager. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -262,19 +295,23 @@ public Builder mergeFrom(PatchInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -300,74 +337,136 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance group manager. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the instance group manager. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java index aacd15969f0e..2e16d93bb65f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java @@ -126,10 +126,12 @@ public InterconnectAttachment getApiMessageRequestBody() { return interconnectAttachmentResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,65 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect attachment to patch. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInterconnectAttachment() { return interconnectAttachment; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +292,23 @@ public Builder mergeFrom(PatchInterconnectAttachmentHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,74 +334,136 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect attachment to patch. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInterconnectAttachment() { return interconnectAttachment; } + /** + * Name of the interconnect attachment to patch. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` must start with a letter, and contain only letters + * (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 + * and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setInterconnectAttachment(String interconnectAttachment) { this.interconnectAttachment = interconnectAttachment; return this; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public Builder setInterconnectAttachmentResource( InterconnectAttachment interconnectAttachmentResource) { this.interconnectAttachmentResource = interconnectAttachmentResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java index c45f072a105b..afba5436ce7e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java @@ -126,10 +126,12 @@ public Interconnect getApiMessageRequestBody() { return interconnectResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect to update. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the Dedicated + * overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +291,23 @@ public Builder mergeFrom(PatchInterconnectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +333,137 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the interconnect to update. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInterconnect() { return interconnect; } + /** + * Name of the interconnect to update. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInterconnect(String interconnect) { this.interconnect = interconnect; return this; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Builder setInterconnectResource(Interconnect interconnectResource) { this.interconnectResource = interconnectResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java index 426ae1dee514..e9fac96994f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java @@ -125,10 +125,12 @@ public Network getApiMessageRequestBody() { return networkResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to update. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +289,23 @@ public Builder mergeFrom(PatchNetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +331,131 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the network to update. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } + /** + * Name of the network to update. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Builder setNetworkResource(Network networkResource) { this.networkResource = networkResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java index 14893b8e3947..fac9131f79a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java @@ -133,18 +133,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -153,30 +163,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -275,37 +310,57 @@ public Builder mergeFrom(PatchRegionAutoscalerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to patch. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -331,64 +386,114 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java index fe8abff3d087..7f76063d469e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java @@ -128,18 +128,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -148,26 +163,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -261,37 +294,67 @@ public Builder mergeFrom(PatchRegionBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -317,55 +380,91 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java index bdade87a5ad2..66aedd8bc680 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java @@ -129,10 +129,12 @@ public InstanceGroupManager getApiMessageRequestBody() { return instanceGroupManagerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -141,34 +143,65 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group manager. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -262,19 +295,23 @@ public Builder mergeFrom(PatchRegionInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -300,74 +337,136 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance group manager. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the instance group manager. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java index 2f8a755aae33..653c19814ae7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java @@ -126,10 +126,12 @@ public Router getApiMessageRequestBody() { return routerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Router resource to patch. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +287,23 @@ public Builder mergeFrom(PatchRouterHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +329,125 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Router resource to patch. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** + * Name of the Router resource to patch. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java index 4a41bf75bac7..491b4bd9e57f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java @@ -123,42 +123,62 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** The priority of the rule to patch. */ public Integer getPriority() { return priority; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/patchRule`. \`{securityPolicy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Represents a rule that describes one or more match conditions along with the action to be taken + * when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +267,131 @@ public Builder mergeFrom(PatchRuleSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** The priority of the rule to patch. */ public Integer getPriority() { return priority; } + /** The priority of the rule to patch. */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/patchRule`. \`{securityPolicy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/patchRule`. \`{securityPolicy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public Builder setSecurityPolicyRuleResource(SecurityPolicyRule securityPolicyRuleResource) { this.securityPolicyRuleResource = securityPolicyRuleResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java index 3458421c20e5..505eaa2b5530 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java @@ -125,10 +125,12 @@ public SecurityPolicy getApiMessageRequestBody() { return securityPolicyResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or more + * 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +290,23 @@ public Builder mergeFrom(PatchSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +332,135 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public Builder setSecurityPolicyResource(SecurityPolicy securityPolicyResource) { this.securityPolicyResource = securityPolicyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java index 3bd32129a714..77683a2d669e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java @@ -125,10 +125,12 @@ public SslPolicy getApiMessageRequestBody() { return sslPolicyResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,66 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getSslPolicy() { return sslPolicy; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or + * SSL proxy load balancer. They do not affect the connection between the load balancers and the + * backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +292,23 @@ public Builder mergeFrom(PatchSslPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +334,137 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getSslPolicy() { return sslPolicy; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public Builder setSslPolicyResource(SslPolicy sslPolicyResource) { this.sslPolicyResource = sslPolicyResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java index 40eb539e986e..27df277521f8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java @@ -127,10 +127,12 @@ public Subnetwork getApiMessageRequestBody() { return subnetworkResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -139,34 +141,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource to patch. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -260,19 +292,23 @@ public Builder mergeFrom(PatchSubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -298,73 +334,133 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource to patch. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to patch. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Builder setSubnetworkResource(Subnetwork subnetworkResource) { this.subnetworkResource = subnetworkResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java index 1fad01a27fb6..f563ed9019c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java @@ -126,10 +126,12 @@ public UrlMap getApiMessageRequestBody() { return urlMapResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap resource to patch. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +290,23 @@ public Builder mergeFrom(PatchUrlMapHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +332,131 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap resource to patch. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to patch. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public Builder setUrlMapResource(UrlMap urlMapResource) { this.urlMapResource = urlMapResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java index c6682587bacf..ab04b9a89e73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A matcher for the path portion of the URL. The BackendService from the longest-matched rule will + * serve the URL. If no rule was matched, the default service will be used. + */ public final class PathMatcher implements ApiMessage { private final String defaultService; private final String description; @@ -75,18 +79,44 @@ public List getFieldMask() { return null; } + /** + * The full or partial URL to the BackendService resource. This will be used if none of the + * pathRules or routeRules defined by this PathMatcher are matched. For example, the following are + * all valid URLs to a BackendService resource: - + * https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService - + * compute/v1/projects/project/global/backendServices/backendService - + * global/backendServices/backendService If defaultRouteAction is additionally specified, advanced + * routing actions like URL Rewrites, etc. take effect prior to sending the request to the + * backend. However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if defaultRouteAction specifies any + * weightedBackendServices, defaultService must not be specified. Only one of defaultService, + * defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Authorization + * requires one or more of the following Google IAM permissions on the specified resource + * default_service: - compute.backendBuckets.use - compute.backendServices.use + */ public String getDefaultService() { return defaultService; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** The name to which this PathMatcher is referred by the HostRule. */ public String getName() { return name; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear + * in this list. Only one of pathRules or routeRules must be set. + */ public List getPathRulesList() { return pathRules; } @@ -145,37 +175,89 @@ public Builder mergeFrom(PathMatcher other) { this.pathRules = source.pathRules; } + /** + * The full or partial URL to the BackendService resource. This will be used if none of the + * pathRules or routeRules defined by this PathMatcher are matched. For example, the following + * are all valid URLs to a BackendService resource: - + * https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService + * - compute/v1/projects/project/global/backendServices/backendService - + * global/backendServices/backendService If defaultRouteAction is additionally specified, + * advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to + * the backend. However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if defaultRouteAction specifies any + * weightedBackendServices, defaultService must not be specified. Only one of defaultService, + * defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Authorization + * requires one or more of the following Google IAM permissions on the specified resource + * default_service: - compute.backendBuckets.use - compute.backendServices.use + */ public String getDefaultService() { return defaultService; } + /** + * The full or partial URL to the BackendService resource. This will be used if none of the + * pathRules or routeRules defined by this PathMatcher are matched. For example, the following + * are all valid URLs to a BackendService resource: - + * https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService + * - compute/v1/projects/project/global/backendServices/backendService - + * global/backendServices/backendService If defaultRouteAction is additionally specified, + * advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to + * the backend. However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if defaultRouteAction specifies any + * weightedBackendServices, defaultService must not be specified. Only one of defaultService, + * defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Authorization + * requires one or more of the following Google IAM permissions on the specified resource + * default_service: - compute.backendBuckets.use - compute.backendServices.use + */ public Builder setDefaultService(String defaultService) { this.defaultService = defaultService; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** The name to which this PathMatcher is referred by the HostRule. */ public String getName() { return name; } + /** The name to which this PathMatcher is referred by the HostRule. */ public Builder setName(String name) { this.name = name; return this; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths + * appear in this list. Only one of pathRules or routeRules must be set. + */ public List getPathRulesList() { return pathRules; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths + * appear in this list. Only one of pathRules or routeRules must be set. + */ public Builder addAllPathRules(List pathRules) { if (this.pathRules == null) { this.pathRules = new LinkedList<>(); @@ -184,6 +266,13 @@ public Builder addAllPathRules(List pathRules) { return this; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths + * appear in this list. Only one of pathRules or routeRules must be set. + */ public Builder addPathRules(PathRule pathRules) { if (this.pathRules == null) { this.pathRules = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java index d9894f25c888..ad43bb9be8e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A path-matching rule for a URL. If matched, will use the specified BackendService to handle the + * traffic arriving at this URL. + */ public final class PathRule implements ApiMessage { private final List paths; private final String service; @@ -62,10 +66,23 @@ public List getFieldMask() { return null; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public List getPathsList() { return paths; } + /** + * The full or partial URL of the backend service resource to which traffic is directed if this + * rule is matched. If routeAction is additionally specified, advanced routing actions like URL + * Rewrites, etc. take effect prior to sending the request to the backend. However, if service is + * specified, routeAction cannot contain any weightedBackendService s. Conversely, if routeAction + * specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, + * service or routeAction.weightedBackendService must be set. + */ public String getService() { return service; } @@ -114,10 +131,20 @@ public Builder mergeFrom(PathRule other) { this.service = source.service; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public List getPathsList() { return paths; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public Builder addAllPaths(List paths) { if (this.paths == null) { this.paths = new LinkedList<>(); @@ -126,6 +153,11 @@ public Builder addAllPaths(List paths) { return this; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public Builder addPaths(String paths) { if (this.paths == null) { this.paths = new LinkedList<>(); @@ -134,10 +166,26 @@ public Builder addPaths(String paths) { return this; } + /** + * The full or partial URL of the backend service resource to which traffic is directed if this + * rule is matched. If routeAction is additionally specified, advanced routing actions like URL + * Rewrites, etc. take effect prior to sending the request to the backend. However, if service + * is specified, routeAction cannot contain any weightedBackendService s. Conversely, if + * routeAction specifies any weightedBackendServices, service must not be specified. Only one of + * urlRedirect, service or routeAction.weightedBackendService must be set. + */ public String getService() { return service; } + /** + * The full or partial URL of the backend service resource to which traffic is directed if this + * rule is matched. If routeAction is additionally specified, advanced routing actions like URL + * Rewrites, etc. take effect prior to sending the request to the backend. However, if service + * is specified, routeAction cannot contain any weightedBackendService s. Conversely, if + * routeAction specifies any weightedBackendServices, service must not be specified. Only one of + * urlRedirect, service or routeAction.weightedBackendService must be set. + */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java index 9acbe4331782..88dca1e5e8c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java @@ -25,6 +25,30 @@ @Generated("by GAPIC") @BetaApi +/** + * Defines an Identity and Access Management (IAM) policy. It is used to specify access control + * policies for Cloud Platform resources. + * + *

A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a + * `role`, where the members can be user accounts, Google groups, Google domains, and service + * accounts. A `role` is a named list of permissions defined by IAM. + * + *

**JSON Example** + * + *

{ "bindings": [ { "role": "roles/owner", "members": [ "user:mike{@literal @}example.com", + * "group:admins{@literal @}example.com", "domain:google.com", + * "serviceAccount:my-other-app{@literal @}appspot.gserviceaccount.com" ] }, { "role": + * "roles/viewer", "members": ["user:sean{@literal @}example.com"] } ] } + * + *

**YAML Example** + * + *

bindings: - members: - user:mike{@literal @}example.com - group:admins{@literal @}example.com + * - domain:google.com - serviceAccount:my-other-app{@literal @}appspot.gserviceaccount.com role: + * roles/owner - members: - user:sean{@literal @}example.com role: roles/viewer + * + *

For a description of IAM and its features, see the [IAM developer's + * guide](https://cloud.google.com/iam/docs). + */ public final class Policy implements ApiMessage { private final List auditConfigs; private final List bindings; @@ -92,14 +116,29 @@ public List getFieldMask() { return null; } + /** Specifies cloud audit logging configuration for this policy. */ public List getAuditConfigsList() { return auditConfigs; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an error. + */ public List getBindingsList() { return bindings; } + /** + * `etag` is 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; } @@ -108,10 +147,18 @@ public Boolean getIamOwned() { return iamOwned; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is + * denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if + * any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or + * more matching rule requires logging. - Otherwise, if no rule applies, permission is denied. + */ public List getRulesList() { return rules; } + /** Deprecated. */ public Integer getVersion() { return version; } @@ -180,10 +227,12 @@ public Builder mergeFrom(Policy other) { this.version = source.version; } + /** Specifies cloud audit logging configuration for this policy. */ public List getAuditConfigsList() { return auditConfigs; } + /** Specifies cloud audit logging configuration for this policy. */ public Builder addAllAuditConfigs(List auditConfigs) { if (this.auditConfigs == null) { this.auditConfigs = new LinkedList<>(); @@ -192,6 +241,7 @@ public Builder addAllAuditConfigs(List auditConfigs) { return this; } + /** Specifies cloud audit logging configuration for this policy. */ public Builder addAuditConfigs(AuditConfig auditConfigs) { if (this.auditConfigs == null) { this.auditConfigs = new LinkedList<>(); @@ -200,10 +250,18 @@ public Builder addAuditConfigs(AuditConfig auditConfigs) { return this; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an + * error. + */ public List getBindingsList() { return bindings; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an + * error. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -212,6 +270,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an + * error. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -220,10 +282,32 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * `etag` is 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; } + /** + * `etag` is 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 Builder setEtag(String etag) { this.etag = etag; return this; @@ -238,10 +322,26 @@ public Builder setIamOwned(Boolean iamOwned) { return this; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission + * is denied. Logging will be applied if one or more matching rule requires logging. - + * Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be + * applied if one or more matching rule requires logging. - Otherwise, if no rule applies, + * permission is denied. + */ public List getRulesList() { return rules; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission + * is denied. Logging will be applied if one or more matching rule requires logging. - + * Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be + * applied if one or more matching rule requires logging. - Otherwise, if no rule applies, + * permission is denied. + */ public Builder addAllRules(List rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -250,6 +350,14 @@ public Builder addAllRules(List rules) { return this; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission + * is denied. Logging will be applied if one or more matching rule requires logging. - + * Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be + * applied if one or more matching rule requires logging. - Otherwise, if no rule applies, + * permission is denied. + */ public Builder addRules(Rule rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -258,10 +366,12 @@ public Builder addRules(Rule rules) { return this; } + /** Deprecated. */ public Integer getVersion() { return version; } + /** Deprecated. */ public Builder setVersion(Integer version) { this.version = version; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java index 33071629675e..f802fac990c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java @@ -116,38 +116,53 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/preview`. \`{router}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +246,114 @@ public Builder mergeFrom(PreviewRouterHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/preview`. \`{router}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getRouter() { return router; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/preview`. \`{router}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java index 19a5fccd47b4..cce141100e11 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A Project resource. For an overview of projects, see Cloud Platform Resource Hierarchy. (== + * resource_for v1.projects ==) (== resource_for beta.projects ==) + */ public final class Project implements ApiMessage { private final Metadata commonInstanceMetadata; private final String creationTimestamp; @@ -141,54 +145,87 @@ public List getFieldMask() { return null; } + /** + * Metadata key/value pairs available to all instances contained in this project. See Custom + * metadata for more information. + */ public Metadata getCommonInstanceMetadata() { return commonInstanceMetadata; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * This signifies the default network tier used for configuring resources of the project and can + * only take the following values: PREMIUM, STANDARD. Initially the default network tier is + * PREMIUM. + */ public String getDefaultNetworkTier() { return defaultNetworkTier; } + /** [Output Only] Default service account used by VMs running in this project. */ public String getDefaultServiceAccount() { return defaultServiceAccount; } + /** An optional textual description of the resource. */ public String getDescription() { return description; } + /** Restricted features enabled for use on this project. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + * This is not the project ID, and is just a unique ID used by Compute Engine to identify + * resources. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#project for projects. */ public String getKind() { return kind; } + /** + * The project ID. For example: my-example-project. Use the project ID to make requests to Compute + * Engine. + */ public String getName() { return name; } + /** [Output Only] Quotas assigned to this project. */ public List getQuotasList() { return quotas; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are + * stored. + */ public UsageExportLocation getUsageExportLocation() { return usageExportLocation; } + /** + * [Output Only] The role this project has in a shared VPC configuration. Currently only HOST + * projects are differentiated. + */ public String getXpnProjectStatus() { return xpnProjectStatus; } @@ -292,55 +329,81 @@ public Builder mergeFrom(Project other) { this.xpnProjectStatus = source.xpnProjectStatus; } + /** + * Metadata key/value pairs available to all instances contained in this project. See Custom + * metadata for more information. + */ public Metadata getCommonInstanceMetadata() { return commonInstanceMetadata; } + /** + * Metadata key/value pairs available to all instances contained in this project. See Custom + * metadata for more information. + */ public Builder setCommonInstanceMetadata(Metadata commonInstanceMetadata) { this.commonInstanceMetadata = commonInstanceMetadata; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * This signifies the default network tier used for configuring resources of the project and can + * only take the following values: PREMIUM, STANDARD. Initially the default network tier is + * PREMIUM. + */ public String getDefaultNetworkTier() { return defaultNetworkTier; } + /** + * This signifies the default network tier used for configuring resources of the project and can + * only take the following values: PREMIUM, STANDARD. Initially the default network tier is + * PREMIUM. + */ public Builder setDefaultNetworkTier(String defaultNetworkTier) { this.defaultNetworkTier = defaultNetworkTier; return this; } + /** [Output Only] Default service account used by VMs running in this project. */ public String getDefaultServiceAccount() { return defaultServiceAccount; } + /** [Output Only] Default service account used by VMs running in this project. */ public Builder setDefaultServiceAccount(String defaultServiceAccount) { this.defaultServiceAccount = defaultServiceAccount; return this; } + /** An optional textual description of the resource. */ public String getDescription() { return description; } + /** An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** Restricted features enabled for use on this project. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** Restricted features enabled for use on this project. */ public Builder addAllEnabledFeatures(List enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -349,6 +412,7 @@ public Builder addAllEnabledFeatures(List enabledFeatures) { return this; } + /** Restricted features enabled for use on this project. */ public Builder addEnabledFeatures(String enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -357,37 +421,59 @@ public Builder addEnabledFeatures(String enabledFeatures) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. This is not the project ID, and is just a unique ID used by Compute Engine to + * identify resources. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. This is not the project ID, and is just a unique ID used by Compute Engine to + * identify resources. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#project for projects. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#project for projects. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The project ID. For example: my-example-project. Use the project ID to make requests to + * Compute Engine. + */ public String getName() { return name; } + /** + * The project ID. For example: my-example-project. Use the project ID to make requests to + * Compute Engine. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Quotas assigned to this project. */ public List getQuotasList() { return quotas; } + /** [Output Only] Quotas assigned to this project. */ public Builder addAllQuotas(List quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -396,6 +482,7 @@ public Builder addAllQuotas(List quotas) { return this; } + /** [Output Only] Quotas assigned to this project. */ public Builder addQuotas(Quota quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -404,28 +491,46 @@ public Builder addQuotas(Quota quotas) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are + * stored. + */ public UsageExportLocation getUsageExportLocation() { return usageExportLocation; } + /** + * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are + * stored. + */ public Builder setUsageExportLocation(UsageExportLocation usageExportLocation) { this.usageExportLocation = usageExportLocation; return this; } + /** + * [Output Only] The role this project has in a shared VPC configuration. Currently only HOST + * projects are differentiated. + */ public String getXpnProjectStatus() { return xpnProjectStatus; } + /** + * [Output Only] The role this project has in a shared VPC configuration. Currently only HOST + * projects are differentiated. + */ public Builder setXpnProjectStatus(String xpnProjectStatus) { this.xpnProjectStatus = xpnProjectStatus; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java index 243510452ca6..bd16f4f0eb52 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(ProjectsDisableXpnResourceRequest other) { this.xpnResource = source.xpnResource; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } + /** Service resource (a.k.a service project) ID. */ public Builder setXpnResource(XpnResourceId xpnResource) { this.xpnResource = xpnResource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java index 11afd5d75be4..12dca1129cd6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(ProjectsEnableXpnResourceRequest other) { this.xpnResource = source.xpnResource; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } + /** Service resource (a.k.a service project) ID. */ public Builder setXpnResource(XpnResourceId xpnResource) { this.xpnResource = xpnResource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java index e51fd622537d..938814c1383a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java @@ -69,14 +69,27 @@ public List getFieldMask() { return null; } + /** + * [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service + * resources (a.k.a service projects) + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public List getResourcesList() { return resources; } @@ -130,28 +143,54 @@ public Builder mergeFrom(ProjectsGetXpnResources other) { this.resources = source.resources; } + /** + * [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service + * resources (a.k.a service projects) + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service + * resources (a.k.a service projects) + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public List getResourcesList() { return resources; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public Builder addAllResources(List resources) { if (this.resources == null) { this.resources = new LinkedList<>(); @@ -160,6 +199,9 @@ public Builder addAllResources(List resources) { return this; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public Builder addResources(XpnResourceId resources) { if (this.resources == null) { this.resources = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java index f8a06b3a90f2..70c042323e6f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host + * projects. If not specified, the organization will be inferred from the project. + */ public String getOrganization() { return organization; } @@ -98,10 +102,18 @@ public Builder mergeFrom(ProjectsListXpnHostsRequest other) { this.organization = source.organization; } + /** + * Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host + * projects. If not specified, the organization will be inferred from the project. + */ public String getOrganization() { return organization; } + /** + * Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host + * projects. If not specified, the organization will be inferred from the project. + */ public Builder setOrganization(String organization) { this.organization = organization; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java index bac42a90b02b..7dc6dff05054 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Default network tier to be set. */ public String getNetworkTier() { return networkTier; } @@ -98,10 +99,12 @@ public Builder mergeFrom(ProjectsSetDefaultNetworkTierRequest other) { this.networkTier = source.networkTier; } + /** Default network tier to be set. */ public String getNetworkTier() { return networkTier; } + /** Default network tier to be set. */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java index 7f8521e2f1fe..1d05e21749c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A quotas entry. */ public final class Quota implements ApiMessage { private final Double limit; private final String metric; @@ -73,18 +74,22 @@ public List getFieldMask() { return null; } + /** [Output Only] Quota limit for this metric. */ public Double getLimit() { return limit; } + /** [Output Only] Name of the quota metric. */ public String getMetric() { return metric; } + /** [Output Only] Owning resource. This is the resource on which this quota is applied. */ public String getOwner() { return owner; } + /** [Output Only] Current usage of this metric. */ public Double getUsage() { return usage; } @@ -143,37 +148,45 @@ public Builder mergeFrom(Quota other) { this.usage = source.usage; } + /** [Output Only] Quota limit for this metric. */ public Double getLimit() { return limit; } + /** [Output Only] Quota limit for this metric. */ public Builder setLimit(Double limit) { this.limit = limit; return this; } + /** [Output Only] Name of the quota metric. */ public String getMetric() { return metric; } + /** [Output Only] Name of the quota metric. */ public Builder setMetric(String metric) { this.metric = metric; return this; } + /** [Output Only] Owning resource. This is the resource on which this quota is applied. */ public String getOwner() { return owner; } + /** [Output Only] Owning resource. This is the resource on which this quota is applied. */ public Builder setOwner(String owner) { this.owner = owner; return this; } + /** [Output Only] Current usage of this metric. */ public Double getUsage() { return usage; } + /** [Output Only] Current usage of this metric. */ public Builder setUsage(Double usage) { this.usage = usage; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java index f55e6eee8fca..d66260b27e8d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** The parameters of the raw disk image. */ public final class RawDisk implements ApiMessage { private final String containerType; private final String sha1Checksum; @@ -67,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * The format used to encode and transmit the block device, which should be TAR. This is just a + * container and transmission format and not a runtime format. Provided by the client when the + * disk image is created. + */ public String getContainerType() { return containerType; } + /** + * An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the + * disk image is created. + */ public String getSha1Checksum() { return sha1Checksum; } + /** + * The full Google Cloud Storage URL where the disk image is stored. You must provide either this + * property or the sourceDisk property but not both. + */ public String getSource() { return source; } @@ -128,28 +142,54 @@ public Builder mergeFrom(RawDisk other) { this.source = source.source; } + /** + * The format used to encode and transmit the block device, which should be TAR. This is just a + * container and transmission format and not a runtime format. Provided by the client when the + * disk image is created. + */ public String getContainerType() { return containerType; } + /** + * The format used to encode and transmit the block device, which should be TAR. This is just a + * container and transmission format and not a runtime format. Provided by the client when the + * disk image is created. + */ public Builder setContainerType(String containerType) { this.containerType = containerType; return this; } + /** + * An optional SHA1 checksum of the disk image before unpackaging; provided by the client when + * the disk image is created. + */ public String getSha1Checksum() { return sha1Checksum; } + /** + * An optional SHA1 checksum of the disk image before unpackaging; provided by the client when + * the disk image is created. + */ public Builder setSha1Checksum(String sha1Checksum) { this.sha1Checksum = sha1Checksum; return this; } + /** + * The full Google Cloud Storage URL where the disk image is stored. You must provide either + * this property or the sourceDisk property but not both. + */ public String getSource() { return source; } + /** + * The full Google Cloud Storage URL where the disk image is stored. You must provide either + * this property or the sourceDisk property but not both. + */ public Builder setSource(String source) { this.source = source; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java index 5784a9e39884..c1a8c98b8507 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java @@ -135,18 +135,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } @@ -156,22 +167,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersRecreateInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,37 +292,59 @@ public Builder mergeFrom(RecreateInstancesInstanceGroupManagerHttpRequest other) this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -313,46 +363,80 @@ public Builder setInstanceGroupManagersRecreateInstancesRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java index 0032157ba538..9af1e13999d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java @@ -135,30 +135,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -168,10 +182,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersRecreateRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -265,64 +293,92 @@ public Builder mergeFrom(RecreateInstancesRegionInstanceGroupManagerHttpRequest this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -341,19 +397,47 @@ public Builder setRegionInstanceGroupManagersRecreateRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java index 3b5f0bd6643e..634dacd1a5a6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a reference to a resource. */ public final class Reference implements ApiMessage { private final String kind; private final String referenceType; @@ -73,18 +74,25 @@ public List getFieldMask() { return null; } + /** [Output Only] Type of the resource. Always compute#reference for references. */ public String getKind() { return kind; } + /** + * A description of the reference type with no implied semantics. Possible values include: - + * MEMBER_OF + */ public String getReferenceType() { return referenceType; } + /** URL of the resource which refers to the target. */ public String getReferrer() { return referrer; } + /** URL of the resource to which this reference points. */ public String getTarget() { return target; } @@ -143,37 +151,51 @@ public Builder mergeFrom(Reference other) { this.target = source.target; } + /** [Output Only] Type of the resource. Always compute#reference for references. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#reference for references. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A description of the reference type with no implied semantics. Possible values include: - + * MEMBER_OF + */ public String getReferenceType() { return referenceType; } + /** + * A description of the reference type with no implied semantics. Possible values include: - + * MEMBER_OF + */ public Builder setReferenceType(String referenceType) { this.referenceType = referenceType; return this; } + /** URL of the resource which refers to the target. */ public String getReferrer() { return referrer; } + /** URL of the resource which refers to the target. */ public Builder setReferrer(String referrer) { this.referrer = referrer; return this; } + /** URL of the resource to which this reference points. */ public String getTarget() { return target; } + /** URL of the resource to which this reference points. */ public Builder setTarget(String target) { this.target = target; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java index 207ed7a361e2..2638d58bd7ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions ==) */ public final class Region implements ApiMessage { private final String creationTimestamp; private final DeprecationStatus deprecated; @@ -120,42 +121,54 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this region. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#region for regions. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Quotas assigned to this region. */ public List getQuotasList() { return quotas; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Status of the region, either UP or DOWN. */ public String getStatus() { return status; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public List getZonesList() { return zones; } @@ -244,64 +257,84 @@ public Builder mergeFrom(Region other) { this.zones = source.zones; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this region. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this region. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] Textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#region for regions. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#region for regions. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Quotas assigned to this region. */ public List getQuotasList() { return quotas; } + /** [Output Only] Quotas assigned to this region. */ public Builder addAllQuotas(List quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -310,6 +343,7 @@ public Builder addAllQuotas(List quotas) { return this; } + /** [Output Only] Quotas assigned to this region. */ public Builder addQuotas(Quota quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -318,28 +352,34 @@ public Builder addQuotas(Quota quotas) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Status of the region, either UP or DOWN. */ public String getStatus() { return status; } + /** [Output Only] Status of the region, either UP or DOWN. */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public List getZonesList() { return zones; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public Builder addAllZones(List zones) { if (this.zones == null) { this.zones = new LinkedList<>(); @@ -348,6 +388,7 @@ public Builder addAllZones(List zones) { return this; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public Builder addZones(String zones) { if (this.zones == null) { this.zones = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java index 9aaeb8f29654..ccd75a1314e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of autoscalers. */ public final class RegionAutoscalerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RegionAutoscalerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** A list of Autoscaler resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Autoscaler resources. */ public Builder addItems(Autoscaler items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Autoscaler items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java index 5b98c1e8ecf9..0b77b6c85d00 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java @@ -92,26 +92,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +191,23 @@ public Builder mergeFrom(RegionDiskTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** A list of DiskType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +216,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of DiskType resources. */ public Builder addItems(DiskType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +225,55 @@ public Builder addItems(DiskType items) { return this; } + /** [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java index afc3b88f778c..e5268fbf7ede 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The new size of the regional persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } @@ -98,10 +99,12 @@ public Builder mergeFrom(RegionDisksResizeRequest other) { this.sizeGb = source.sizeGb; } + /** The new size of the regional persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } + /** The new size of the regional persistent disk, which is specified in GB. */ public Builder setSizeGb(String sizeGb) { this.sizeGb = sizeGb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java index 0c0bd2304fe6..75ec51c78c3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of InstanceGroup resources. */ public final class RegionInstanceGroupList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** The resource type. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RegionInstanceGroupList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroup resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroup resources. */ public Builder addItems(InstanceGroup items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(InstanceGroup items) { return this; } + /** The resource type. */ public String getKind() { return kind; } + /** The resource type. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java index b2b132d90ecc..4b697bf5148d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of managed instance groups. */ public final class RegionInstanceGroupManagerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of + * managed instance groups that exist in th regional scope. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(RegionInstanceGroupManagerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroupManager resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroupManager resources. */ public Builder addItems(InstanceGroupManager items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceGroupManager items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups that exist in th regional scope. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups that exist in th regional scope. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java index 5c0d8a06189b..37e9bc000bfc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -100,10 +104,18 @@ public Builder mergeFrom(RegionInstanceGroupManagersAbandonInstancesRequest othe this.instances = source.instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -112,6 +124,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java index 91f8ef8f911f..5b43d18bb0cc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -100,10 +104,18 @@ public Builder mergeFrom(RegionInstanceGroupManagersDeleteInstancesRequest other this.instances = source.instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -112,6 +124,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java index bbfef5e280b8..ef4d02f5492a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** A list of managed instances. */ public List getManagedInstancesList() { return managedInstances; } @@ -100,10 +101,12 @@ public Builder mergeFrom(RegionInstanceGroupManagersListInstancesResponse other) this.managedInstances = source.managedInstances; } + /** A list of managed instances. */ public List getManagedInstancesList() { return managedInstances; } + /** A list of managed instances. */ public Builder addAllManagedInstances(List managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); @@ -112,6 +115,7 @@ public Builder addAllManagedInstances(List managedInstances) { return this; } + /** A list of managed instances. */ public Builder addManagedInstances(ManagedInstance managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java index a7ffd013869a..a7fff8529a15 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(RegionInstanceGroupManagersRecreateRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java index 23b4e81f0ea6..c284b34fdd33 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java @@ -63,10 +63,18 @@ public List getFieldMask() { return null; } + /** + * Fingerprint of the target pools information, which is a hash of the contents. This field is + * used for optimistic locking when you update the target pool entries. This field is optional. + */ public String getFingerprint() { return fingerprint; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public List getTargetPoolsList() { return targetPools; } @@ -116,19 +124,35 @@ public Builder mergeFrom(RegionInstanceGroupManagersSetTargetPoolsRequest other) this.targetPools = source.targetPools; } + /** + * Fingerprint of the target pools information, which is a hash of the contents. This field is + * used for optimistic locking when you update the target pool entries. This field is optional. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of the target pools information, which is a hash of the contents. This field is + * used for optimistic locking when you update the target pool entries. This field is optional. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -137,6 +161,10 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public Builder addTargetPools(String targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java index 39b2de127d4f..f7a6075719a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** URL of the InstanceTemplate resource from which all new instances will be created. */ public String getInstanceTemplate() { return instanceTemplate; } @@ -98,10 +99,12 @@ public Builder mergeFrom(RegionInstanceGroupManagersSetTemplateRequest other) { this.instanceTemplate = source.instanceTemplate; } + /** URL of the InstanceTemplate resource from which all new instances will be created. */ public String getInstanceTemplate() { return instanceTemplate; } + /** URL of the InstanceTemplate resource from which all new instances will be created. */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java index 39b347049d00..eeb2907e6793 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java @@ -92,26 +92,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** The resource type. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +191,23 @@ public Builder mergeFrom(RegionInstanceGroupsListInstances other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +216,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addItems(InstanceWithNamedPorts items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +225,55 @@ public Builder addItems(InstanceWithNamedPorts items) { return this; } + /** The resource type. */ public String getKind() { return kind; } + /** The resource type. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java index cafe134fdcd0..cccd9d9d8fe4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java @@ -61,10 +61,19 @@ public List getFieldMask() { return null; } + /** + * Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, + * it lists all instances. + */ public String getInstanceState() { return instanceState; } + /** + * Name of port user is interested in. It is optional. If it is set, only information about this + * ports will be returned. If it is not set, all the named ports will be returned. Always lists + * all instances. + */ public String getPortName() { return portName; } @@ -113,19 +122,37 @@ public Builder mergeFrom(RegionInstanceGroupsListInstancesRequest other) { this.portName = source.portName; } + /** + * Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, + * it lists all instances. + */ public String getInstanceState() { return instanceState; } + /** + * Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, + * it lists all instances. + */ public Builder setInstanceState(String instanceState) { this.instanceState = instanceState; return this; } + /** + * Name of port user is interested in. It is optional. If it is set, only information about this + * ports will be returned. If it is not set, all the named ports will be returned. Always lists + * all instances. + */ public String getPortName() { return portName; } + /** + * Name of port user is interested in. It is optional. If it is set, only information about this + * ports will be returned. If it is not set, all the named ports will be returned. Always lists + * all instances. + */ public Builder setPortName(String portName) { this.portName = portName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java index bb39c9d5321b..4f5281572901 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java @@ -62,10 +62,18 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings concurrently. + * Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in + * your request to ensure that you do not overwrite changes that were applied from another + * concurrent request. + */ public String getFingerprint() { return fingerprint; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } @@ -114,19 +122,35 @@ public Builder mergeFrom(RegionInstanceGroupsSetNamedPortsRequest other) { this.namedPorts = source.namedPorts; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. + */ public String getFingerprint() { return fingerprint; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** The list of named ports to set for this instance group. */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -135,6 +159,7 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** The list of named ports to set for this instance group. */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java index d22b06ec7331..38439fd9fb53 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of region resources. */ public final class RegionList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Region resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#regionList for lists of regions. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RegionList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Region resources. */ public List getItemsList() { return items; } + /** A list of Region resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Region resources. */ public Builder addItems(Region items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Region items) { return this; } + /** [Output Only] Type of resource. Always compute#regionList for lists of regions. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#regionList for lists of regions. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java index 7277d6d670e3..76bfa6cb446b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java @@ -62,10 +62,17 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The + * fingerprint is initially generated by Compute Engine and changes after every request to modify + * or update labels. You must always provide an up-to-date fingerprint hash in order to update or + * change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } @@ -114,19 +121,33 @@ public Builder mergeFrom(RegionSetLabelsRequest other) { this.labels = source.labels; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } + /** The labels to set for this resource. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java index 7d77d6ed0d93..e862553ea3a6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java @@ -68,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify + * bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * the etag. + */ public String getEtag() { return etag; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } @@ -129,10 +142,18 @@ public Builder mergeFrom(RegionSetPolicyRequest other) { this.policy = source.policy; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -141,6 +162,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -149,19 +174,37 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public String getEtag() { return etag; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public Builder setEtag(String etag) { this.etag = etag; return this; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Builder setPolicy(Policy policy) { this.policy = policy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java index 8690fbedd7f6..2fb055f705fc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the target pool to remove health checks from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } @@ -159,6 +186,7 @@ public TargetPoolsRemoveHealthCheckRequest getTargetPoolsRemoveHealthCheckReques return targetPoolsRemoveHealthCheckRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(RemoveHealthCheckTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the target pool to remove health checks from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck`. \`{targetPool}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the target pool to remove health checks from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck`. \`{targetPool}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -332,10 +414,12 @@ public Builder setTargetPoolsRemoveHealthCheckRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java index d8b455eb35a9..6d56fdd9c53b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to remove instances from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeInstance`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } @@ -159,6 +186,7 @@ public TargetPoolsRemoveInstanceRequest getTargetPoolsRemoveInstanceRequestResou return targetPoolsRemoveInstanceRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(RemoveInstanceTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to remove instances from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeInstance`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to remove instances from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeInstance`. \`{targetPool}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -331,10 +413,12 @@ public Builder setTargetPoolsRemoveInstanceRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java index 5dd1e09ac90a..e55e473e951e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java @@ -128,18 +128,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group where the specified instances will be removed. It must have the + * format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } @@ -148,22 +159,39 @@ public InstanceGroupsRemoveInstancesRequest getInstanceGroupsRemoveInstancesRequ return instanceGroupsRemoveInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -254,37 +282,59 @@ public Builder mergeFrom(RemoveInstancesInstanceGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance group where the specified instances will be removed. It must have + * the format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group where the specified instances will be removed. It must have + * the format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -301,46 +351,80 @@ public Builder setInstanceGroupsRemoveInstancesRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java index 45f43af540cd..f0203b854d8a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java @@ -123,22 +123,33 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network resource to remove peering from. It must have the format + * `{project}/global/networks/{network}/removePeering`. \`{network}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getNetwork() { return network; } @@ -147,18 +158,34 @@ public NetworksRemovePeeringRequest getNetworksRemovePeeringRequestResource() { return networksRemovePeeringRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,46 +274,70 @@ public Builder mergeFrom(RemovePeeringNetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the network resource to remove peering from. It must have the format + * `{project}/global/networks/{network}/removePeering`. \`{network}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNetwork() { return network; } + /** + * Name of the network resource to remove peering from. It must have the format + * `{project}/global/networks/{network}/removePeering`. \`{network}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNetwork(String network) { this.network = network; return this; @@ -302,37 +353,69 @@ public Builder setNetworksRemovePeeringRequestResource( return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java index 040e18ba577e..7ffaff31ed1e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java @@ -116,38 +116,54 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** The priority of the rule to remove from the security policy. */ public Integer getPriority() { return priority; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/removeRule`. \`{securityPolicy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +247,114 @@ public Builder mergeFrom(RemoveRuleSecurityPolicyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** The priority of the rule to remove from the security policy. */ public Integer getPriority() { return priority; } + /** The priority of the rule to remove from the security policy. */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/removeRule`. \`{securityPolicy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/removeRule`. \`{securityPolicy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java index 0c10c912b8bf..99ce35fbbb54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java @@ -117,38 +117,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/reset`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +259,138 @@ public Builder mergeFrom(ResetInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/reset`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/reset`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java index 96fee2db3a94..fc5273aa1df5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java @@ -123,14 +123,23 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * The name of the persistent disk. It must have the format + * `{project}/zones/{zone}/disks/{disk}/resize`. \`{disk}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } @@ -139,26 +148,44 @@ public DisksResizeRequest getDisksResizeRequestResource() { return disksResizeRequestResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,28 +274,46 @@ public Builder mergeFrom(ResizeDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * The name of the persistent disk. It must have the format + * `{project}/zones/{zone}/disks/{disk}/resize`. \`{disk}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * The name of the persistent disk. It must have the format + * `{project}/zones/{zone}/disks/{disk}/resize`. \`{disk}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; @@ -283,55 +328,91 @@ public Builder setDisksResizeRequestResource(DisksResizeRequest disksResizeReque return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java index 7cd34757e185..5e79108dd732 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java @@ -140,42 +140,75 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * The number of running instances that the managed instance group should maintain at any given + * time. The group automatically adds or removes instances to maintain the number of instances + * specified by this parameter. + */ public Integer getSize() { return size; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,91 +297,157 @@ public Builder mergeFrom(ResizeInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * The number of running instances that the managed instance group should maintain at any given + * time. The group automatically adds or removes instances to maintain the number of instances + * specified by this parameter. + */ public Integer getSize() { return size; } + /** + * The number of running instances that the managed instance group should maintain at any given + * time. The group automatically adds or removes instances to maintain the number of instances + * specified by this parameter. + */ public Builder setSize(Integer size) { this.size = size; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java index d8d1f5184bb0..08b879c3b805 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java @@ -123,30 +123,43 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * Name of the regional persistent disk. It must have the format + * `{project}/regions/{region}/disks/{disk}/resize`. \`{disk}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -155,10 +168,24 @@ public RegionDisksResizeRequest getRegionDisksResizeRequestResource() { return regionDisksResizeRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,64 +274,90 @@ public Builder mergeFrom(ResizeRegionDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * Name of the regional persistent disk. It must have the format + * `{project}/regions/{region}/disks/{disk}/resize`. \`{disk}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getDisk() { return disk; } + /** + * Name of the regional persistent disk. It must have the format + * `{project}/regions/{region}/disks/{disk}/resize`. \`{disk}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setDisk(String disk) { this.disk = disk; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -320,19 +373,47 @@ public Builder setRegionDisksResizeRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java index 45db6dcc6bdb..dd9fded1ebb8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java @@ -132,42 +132,71 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Number of instances that should exist in this instance group manager. */ public Integer getSize() { return size; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -256,91 +285,149 @@ public Builder mergeFrom(ResizeRegionInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Number of instances that should exist in this instance group manager. */ public Integer getSize() { return size; } + /** Number of instances that should exist in this instance group manager. */ public Builder setSize(Integer size) { this.size = size; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java index 674fbb561d7a..7fed74d9d9b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Commitment for a particular resource (a Commitment is composed of one or more of these). */ public final class ResourceCommitment implements ApiMessage { private final String amount; private final String type; @@ -61,10 +62,16 @@ public List getFieldMask() { return null; } + /** + * The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this + * can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of + * 256 MB, with up to 6.5GB of memory per every vCPU. + */ public String getAmount() { return amount; } + /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */ public String getType() { return type; } @@ -113,19 +120,31 @@ public Builder mergeFrom(ResourceCommitment other) { this.type = source.type; } + /** + * The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, + * this can just be an integer. For memory, this must be provided in MB. Memory must be a + * multiple of 256 MB, with up to 6.5GB of memory per every vCPU. + */ public String getAmount() { return amount; } + /** + * The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, + * this can just be an integer. For memory, this must be provided in MB. Memory must be a + * multiple of 256 MB, with up to 6.5GB of memory per every vCPU. + */ public Builder setAmount(String amount) { this.amount = amount; return this; } + /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */ public String getType() { return type; } + /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java index 2028923a81b1..f2ccbc311b74 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * A URI referencing one of the instance groups or network endpoint groups listed in the backend + * service. + */ public String getGroup() { return group; } @@ -98,10 +102,18 @@ public Builder mergeFrom(ResourceGroupReference other) { this.group = source.group; } + /** + * A URI referencing one of the instance groups or network endpoint groups listed in the backend + * service. + */ public String getGroup() { return group; } + /** + * A URI referencing one of the instance groups or network endpoint groups listed in the backend + * service. + */ public Builder setGroup(String group) { this.group = group; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java index 3331f466f218..b361bdfd39fa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java @@ -25,6 +25,22 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for a + * single best matching route. Routes match packets by destination IP address, preferring smaller or + * more specific ranges over larger ones. If there is a tie, the system selects the route with the + * smallest priority value. If there is still a tie, it uses the layer three and four packet headers + * to select just one of the remaining matching routes. The packet is then forwarded as specified by + * the nextHop field of the winning route - either to another instance destination, an instance + * gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. (== + * resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public final class Route implements ApiMessage { private final String creationTimestamp; private final String description; @@ -169,70 +185,121 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The destination range of outgoing packets that this route applies to. Only IPv4 is supported. + */ public String getDestRange() { return destRange; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of this resource. Always compute#routes for Route resources. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** Fully-qualified URL of the network that this route applies to. */ public String getNetwork() { return network; } + /** + * The URL to a gateway that should handle matching packets. You can only specify the internet + * gateway using a full or partial valid URL: + * projects/<project-id>/global/gateways/default-internet-gateway + */ public String getNextHopGateway() { return nextHopGateway; } + /** + * The URL to an instance that should handle matching packets. You can specify this as a full or + * partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + */ public String getNextHopInstance() { return nextHopInstance; } + /** + * The network IP address of an instance that should handle matching packets. Only IPv4 is + * supported. + */ public String getNextHopIp() { return nextHopIp; } + /** The URL of the local network if it should handle matching packets. */ public String getNextHopNetwork() { return nextHopNetwork; } + /** + * [Output Only] The network peering name that should handle matching packets, which should + * conform to RFC1035. + */ public String getNextHopPeering() { return nextHopPeering; } + /** The URL to a VpnTunnel that should handle matching packets. */ public String getNextHopVpnTunnel() { return nextHopVpnTunnel; } + /** + * The priority of this route. Priority is used to break ties in cases where there is more than + * one matching route of equal prefix length. In the case of two routes with equal prefix length, + * the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 + * through 65535. + */ public Integer getPriority() { return priority; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** A list of instance tags to which this route applies. */ public List getTagsList() { return tags; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public List getWarningsList() { return warnings; } @@ -356,145 +423,241 @@ public Builder mergeFrom(Route other) { this.warnings = source.warnings; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The destination range of outgoing packets that this route applies to. Only IPv4 is supported. + */ public String getDestRange() { return destRange; } + /** + * The destination range of outgoing packets that this route applies to. Only IPv4 is supported. + */ public Builder setDestRange(String destRange) { this.destRange = destRange; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of this resource. Always compute#routes for Route resources. */ public String getKind() { return kind; } + /** [Output Only] Type of this resource. Always compute#routes for Route resources. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** Fully-qualified URL of the network that this route applies to. */ public String getNetwork() { return network; } + /** Fully-qualified URL of the network that this route applies to. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * The URL to a gateway that should handle matching packets. You can only specify the internet + * gateway using a full or partial valid URL: + * projects/<project-id>/global/gateways/default-internet-gateway + */ public String getNextHopGateway() { return nextHopGateway; } + /** + * The URL to a gateway that should handle matching packets. You can only specify the internet + * gateway using a full or partial valid URL: + * projects/<project-id>/global/gateways/default-internet-gateway + */ public Builder setNextHopGateway(String nextHopGateway) { this.nextHopGateway = nextHopGateway; return this; } + /** + * The URL to an instance that should handle matching packets. You can specify this as a full or + * partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + */ public String getNextHopInstance() { return nextHopInstance; } + /** + * The URL to an instance that should handle matching packets. You can specify this as a full or + * partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + */ public Builder setNextHopInstance(String nextHopInstance) { this.nextHopInstance = nextHopInstance; return this; } + /** + * The network IP address of an instance that should handle matching packets. Only IPv4 is + * supported. + */ public String getNextHopIp() { return nextHopIp; } + /** + * The network IP address of an instance that should handle matching packets. Only IPv4 is + * supported. + */ public Builder setNextHopIp(String nextHopIp) { this.nextHopIp = nextHopIp; return this; } + /** The URL of the local network if it should handle matching packets. */ public String getNextHopNetwork() { return nextHopNetwork; } + /** The URL of the local network if it should handle matching packets. */ public Builder setNextHopNetwork(String nextHopNetwork) { this.nextHopNetwork = nextHopNetwork; return this; } + /** + * [Output Only] The network peering name that should handle matching packets, which should + * conform to RFC1035. + */ public String getNextHopPeering() { return nextHopPeering; } + /** + * [Output Only] The network peering name that should handle matching packets, which should + * conform to RFC1035. + */ public Builder setNextHopPeering(String nextHopPeering) { this.nextHopPeering = nextHopPeering; return this; } + /** The URL to a VpnTunnel that should handle matching packets. */ public String getNextHopVpnTunnel() { return nextHopVpnTunnel; } + /** The URL to a VpnTunnel that should handle matching packets. */ public Builder setNextHopVpnTunnel(String nextHopVpnTunnel) { this.nextHopVpnTunnel = nextHopVpnTunnel; return this; } + /** + * The priority of this route. Priority is used to break ties in cases where there is more than + * one matching route of equal prefix length. In the case of two routes with equal prefix + * length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid + * range is 0 through 65535. + */ public Integer getPriority() { return priority; } + /** + * The priority of this route. Priority is used to break ties in cases where there is more than + * one matching route of equal prefix length. In the case of two routes with equal prefix + * length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid + * range is 0 through 65535. + */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** A list of instance tags to which this route applies. */ public List getTagsList() { return tags; } + /** A list of instance tags to which this route applies. */ public Builder addAllTags(List tags) { if (this.tags == null) { this.tags = new LinkedList<>(); @@ -503,6 +666,7 @@ public Builder addAllTags(List tags) { return this; } + /** A list of instance tags to which this route applies. */ public Builder addTags(String tags) { if (this.tags == null) { this.tags = new LinkedList<>(); @@ -511,10 +675,18 @@ public Builder addTags(String tags) { return this; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public Builder addAllWarnings(List warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -523,6 +695,10 @@ public Builder addAllWarnings(List warnings) { return this; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public Builder addWarnings(Warnings warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java index c16da4c017f2..5b766567bca6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Route resources. */ public final class RouteList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Route resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RouteList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Route resources. */ public List getItemsList() { return items; } + /** A list of Route resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Route resources. */ public Builder addItems(Route items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Route items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java index 04f52cc5986c..8685ee4ce338 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Router resource. */ public final class Router implements ApiMessage { private final RouterBgp bgp; private final List bgpPeers; @@ -134,50 +135,82 @@ public List getFieldMask() { return null; } + /** BGP information specific to this router. */ public RouterBgp getBgp() { return bgp; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public List getBgpPeersList() { return bgpPeers; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public List getInterfacesList() { return interfaces; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** A list of Nat services created in this router. */ public List getNatsList() { return nats; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } + /** + * [Output Only] URI of the region where the router resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -276,19 +309,31 @@ public Builder mergeFrom(Router other) { this.selfLink = source.selfLink; } + /** BGP information specific to this router. */ public RouterBgp getBgp() { return bgp; } + /** BGP information specific to this router. */ public Builder setBgp(RouterBgp bgp) { this.bgp = bgp; return this; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public List getBgpPeersList() { return bgpPeers; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public Builder addAllBgpPeers(List bgpPeers) { if (this.bgpPeers == null) { this.bgpPeers = new LinkedList<>(); @@ -297,6 +342,11 @@ public Builder addAllBgpPeers(List bgpPeers) { return this; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public Builder addBgpPeers(RouterBgpPeer bgpPeers) { if (this.bgpPeers == null) { this.bgpPeers = new LinkedList<>(); @@ -305,37 +355,61 @@ public Builder addBgpPeers(RouterBgpPeer bgpPeers) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public List getInterfacesList() { return interfaces; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public Builder addAllInterfaces(List interfaces) { if (this.interfaces == null) { this.interfaces = new LinkedList<>(); @@ -344,6 +418,10 @@ public Builder addAllInterfaces(List interfaces) { return this; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public Builder addInterfaces(RouterInterface interfaces) { if (this.interfaces == null) { this.interfaces = new LinkedList<>(); @@ -352,28 +430,46 @@ public Builder addInterfaces(RouterInterface interfaces) { return this; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** A list of Nat services created in this router. */ public List getNatsList() { return nats; } + /** A list of Nat services created in this router. */ public Builder addAllNats(List nats) { if (this.nats == null) { this.nats = new LinkedList<>(); @@ -382,6 +478,7 @@ public Builder addAllNats(List nats) { return this; } + /** A list of Nat services created in this router. */ public Builder addNats(RouterNat nats) { if (this.nats == null) { this.nats = new LinkedList<>(); @@ -390,28 +487,40 @@ public Builder addNats(RouterNat nats) { return this; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } + /** URI of the network to which this router belongs. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * [Output Only] URI of the region where the router resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URI of the region where the router resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java index 1cdf3d3bf54b..e79e78dd8614 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Description-tagged IP ranges for the router to advertise. */ public final class RouterAdvertisedIpRange implements ApiMessage { private final String description; private final String range; @@ -61,10 +62,12 @@ public List getFieldMask() { return null; } + /** User-specified description for the IP range. */ public String getDescription() { return description; } + /** The IP range to advertise. The value must be a CIDR-formatted string. */ public String getRange() { return range; } @@ -113,19 +116,23 @@ public Builder mergeFrom(RouterAdvertisedIpRange other) { this.range = source.range; } + /** User-specified description for the IP range. */ public String getDescription() { return description; } + /** User-specified description for the IP range. */ public Builder setDescription(String description) { this.description = description; return this; } + /** The IP range to advertise. The value must be a CIDR-formatted string. */ public String getRange() { return range; } + /** The IP range to advertise. The value must be a CIDR-formatted string. */ public Builder setRange(String range) { this.range = range; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java index 4f35d0de9adb..a124bda20b46 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of routers. */ public final class RouterAggregatedList implements ApiMessage { private final String id; private final Map items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of Router resources. The key for the map is: Name of the scope containing this set of + * routers. + */ public Map getItemsMap() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +195,83 @@ public Builder mergeFrom(RouterAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of Router resources. The key for the map is: Name of the scope containing this set of + * routers. + */ public Map getItemsMap() { return items; } + /** + * A list of Router resources. The key for the map is: Name of the scope containing this set of + * routers. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java index 3da413d1872b..c46280540f77 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java @@ -78,18 +78,36 @@ public List getFieldMask() { return null; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP + * ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or + * 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this + * router will have the same local ASN. + */ public Integer getAsn() { return asn; } @@ -148,19 +166,33 @@ public Builder mergeFrom(RouterBgp other) { this.asn = source.asn; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** User-specified flag to indicate which mode to use for advertisement. */ public Builder setAdvertiseMode(String advertiseMode) { this.advertiseMode = advertiseMode; return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public Builder addAllAdvertisedGroups(List advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -169,6 +201,12 @@ public Builder addAllAdvertisedGroups(List advertisedGroups) { return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public Builder addAdvertisedGroups(String advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -177,10 +215,22 @@ public Builder addAdvertisedGroups(String advertisedGroups) { return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * IP ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * IP ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public Builder addAllAdvertisedIpRanges(List advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -189,6 +239,12 @@ public Builder addAllAdvertisedIpRanges(List advertised return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * IP ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -197,10 +253,20 @@ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) return this; } + /** + * Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or + * 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this + * router will have the same local ASN. + */ public Integer getAsn() { return asn; } + /** + * Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or + * 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this + * router will have the same local ASN. + */ public Builder setAsn(Integer asn) { this.asn = asn; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java index 564c419b4a72..c61f1a1cb3fd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java @@ -120,42 +120,74 @@ public List getFieldMask() { return null; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These IP ranges will be advertised in addition to any specified groups. Leave this + * field blank to advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * The priority of routes advertised to this BGP peer. In the case where there is more than one + * matching route of maximum length, the routes with lowest priority value win. + */ public Integer getAdvertisedRoutePriority() { return advertisedRoutePriority; } + /** Name of the interface the BGP peer is associated with. */ public String getInterfaceName() { return interfaceName; } + /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */ public String getIpAddress() { return ipAddress; } + /** + * [Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer + * that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment + * of type PARTNER. Google will automatically create, update, and delete this type of BGP peer + * when the PARTNER InterconnectAttachment is created, updated, or deleted. + */ public String getManagementType() { return managementType; } + /** Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } + /** + * Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for + * every tunnel. + */ public Integer getPeerAsn() { return peerAsn; } + /** IP address of the BGP interface outside Google cloud. Only IPv4 is supported. */ public String getPeerIpAddress() { return peerIpAddress; } @@ -244,19 +276,33 @@ public Builder mergeFrom(RouterBgpPeer other) { this.peerIpAddress = source.peerIpAddress; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** User-specified flag to indicate which mode to use for advertisement. */ public Builder setAdvertiseMode(String advertiseMode) { this.advertiseMode = advertiseMode; return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public Builder addAllAdvertisedGroups(List advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -265,6 +311,12 @@ public Builder addAllAdvertisedGroups(List advertisedGroups) { return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public Builder addAdvertisedGroups(String advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -273,10 +325,22 @@ public Builder addAdvertisedGroups(String advertisedGroups) { return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in + * Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave + * this field blank to advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in + * Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave + * this field blank to advertise no custom IP ranges. + */ public Builder addAllAdvertisedIpRanges(List advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -285,6 +349,12 @@ public Builder addAllAdvertisedIpRanges(List advertised return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in + * Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave + * this field blank to advertise no custom IP ranges. + */ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -293,64 +363,104 @@ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) return this; } + /** + * The priority of routes advertised to this BGP peer. In the case where there is more than one + * matching route of maximum length, the routes with lowest priority value win. + */ public Integer getAdvertisedRoutePriority() { return advertisedRoutePriority; } + /** + * The priority of routes advertised to this BGP peer. In the case where there is more than one + * matching route of maximum length, the routes with lowest priority value win. + */ public Builder setAdvertisedRoutePriority(Integer advertisedRoutePriority) { this.advertisedRoutePriority = advertisedRoutePriority; return this; } + /** Name of the interface the BGP peer is associated with. */ public String getInterfaceName() { return interfaceName; } + /** Name of the interface the BGP peer is associated with. */ public Builder setInterfaceName(String interfaceName) { this.interfaceName = interfaceName; return this; } + /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */ public String getIpAddress() { return ipAddress; } + /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** + * [Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public String getManagementType() { return managementType; } + /** + * [Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public Builder setManagementType(String managementType) { this.managementType = managementType; return this; } + /** Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } + /** Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035. */ public Builder setName(String name) { this.name = name; return this; } + /** + * Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for + * every tunnel. + */ public Integer getPeerAsn() { return peerAsn; } + /** + * Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for + * every tunnel. + */ public Builder setPeerAsn(Integer peerAsn) { this.peerAsn = peerAsn; return this; } + /** IP address of the BGP interface outside Google cloud. Only IPv4 is supported. */ public String getPeerIpAddress() { return peerIpAddress; } + /** IP address of the BGP interface outside Google cloud. Only IPv4 is supported. */ public Builder setPeerIpAddress(String peerIpAddress) { this.peerIpAddress = peerIpAddress; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java index df216cfc4f69..18b8d5080f63 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java @@ -84,22 +84,47 @@ public List getFieldMask() { return null; } + /** + * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. + * The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate + * the address as it represents the IP address of the interface. + */ public String getIpRange() { return ipRange; } + /** + * URI of the linked interconnect attachment. It must be in the same region as the router. Each + * interface can have at most one linked resource and it could either be a VPN Tunnel or an + * interconnect attachment. + */ public String getLinkedInterconnectAttachment() { return linkedInterconnectAttachment; } + /** + * URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can + * have at most one linked resource and it could either be a VPN Tunnel or an interconnect + * attachment. + */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** + * [Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface + * that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment + * of type PARTNER. Google will automatically create, update, and delete this type of interface + * when the PARTNER InterconnectAttachment is created, updated, or deleted. + */ public String getManagementType() { return managementType; } + /** + * Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035. + */ public String getName() { return name; } @@ -163,46 +188,98 @@ public Builder mergeFrom(RouterInterface other) { this.name = source.name; } + /** + * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP + * space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not + * truncate the address as it represents the IP address of the interface. + */ public String getIpRange() { return ipRange; } + /** + * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP + * space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not + * truncate the address as it represents the IP address of the interface. + */ public Builder setIpRange(String ipRange) { this.ipRange = ipRange; return this; } + /** + * URI of the linked interconnect attachment. It must be in the same region as the router. Each + * interface can have at most one linked resource and it could either be a VPN Tunnel or an + * interconnect attachment. + */ public String getLinkedInterconnectAttachment() { return linkedInterconnectAttachment; } + /** + * URI of the linked interconnect attachment. It must be in the same region as the router. Each + * interface can have at most one linked resource and it could either be a VPN Tunnel or an + * interconnect attachment. + */ public Builder setLinkedInterconnectAttachment(String linkedInterconnectAttachment) { this.linkedInterconnectAttachment = linkedInterconnectAttachment; return this; } + /** + * URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can + * have at most one linked resource and it could either be a VPN Tunnel or an interconnect + * attachment. + */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** + * URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can + * have at most one linked resource and it could either be a VPN Tunnel or an interconnect + * attachment. + */ public Builder setLinkedVpnTunnel(String linkedVpnTunnel) { this.linkedVpnTunnel = linkedVpnTunnel; return this; } + /** + * [Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of interface when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public String getManagementType() { return managementType; } + /** + * [Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of interface when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public Builder setManagementType(String managementType) { this.managementType = managementType; return this; } + /** + * Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035. + */ public String getName() { return name; } + /** + * Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035. + */ public Builder setName(String name) { this.name = name; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java index e3e0eaf822a4..eab2b49188da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Router resources. */ public final class RouterList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Router resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RouterList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Router resources. */ public List getItemsList() { return items; } + /** A list of Router resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Router resources. */ public Builder addItems(Router items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Router items) { return this; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java index c9266a5a947f..0394a04df217 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet + * without external IP addresses. It specifies a list of subnetworks (and the ranges within) that + * want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP + * would auto-allocate ephemeral IPs if no external IPs are provided. + */ public final class RouterNat implements ApiMessage { private final Integer icmpIdleTimeoutSec; private final Integer minPortsPerVm; @@ -120,42 +126,68 @@ public List getFieldMask() { return null; } + /** Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. */ public Integer getIcmpIdleTimeoutSec() { return icmpIdleTimeoutSec; } + /** + * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of + * ports is allocated to a VM. This gets rounded up to the nearest power of 2. Eg. if the value of + * this field is 50, at least 64 ports will be allocated to a VM. + */ public Integer getMinPortsPerVm() { return minPortsPerVm; } + /** + * Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. + */ public String getName() { return name; } + /** Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be empty. */ public String getNatIpAllocateOption() { return natIpAllocateOption; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public List getNatIpsList() { return natIps; } + /** + * Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or + * ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in + * any Router for this network in this region. + */ public String getSourceSubnetworkIpRangesToNat() { return sourceSubnetworkIpRangesToNat; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public List getSubnetworksList() { return subnetworks; } + /** Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. */ public Integer getTcpEstablishedIdleTimeoutSec() { return tcpEstablishedIdleTimeoutSec; } + /** Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. */ public Integer getTcpTransitoryIdleTimeoutSec() { return tcpTransitoryIdleTimeoutSec; } + /** Timeout (in seconds) for UDP connections. Defaults to 30s if not set. */ public Integer getUdpIdleTimeoutSec() { return udpIdleTimeoutSec; } @@ -244,46 +276,76 @@ public Builder mergeFrom(RouterNat other) { this.udpIdleTimeoutSec = source.udpIdleTimeoutSec; } + /** Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. */ public Integer getIcmpIdleTimeoutSec() { return icmpIdleTimeoutSec; } + /** Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. */ public Builder setIcmpIdleTimeoutSec(Integer icmpIdleTimeoutSec) { this.icmpIdleTimeoutSec = icmpIdleTimeoutSec; return this; } + /** + * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number + * of ports is allocated to a VM. This gets rounded up to the nearest power of 2. Eg. if the + * value of this field is 50, at least 64 ports will be allocated to a VM. + */ public Integer getMinPortsPerVm() { return minPortsPerVm; } + /** + * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number + * of ports is allocated to a VM. This gets rounded up to the nearest power of 2. Eg. if the + * value of this field is 50, at least 64 ports will be allocated to a VM. + */ public Builder setMinPortsPerVm(Integer minPortsPerVm) { this.minPortsPerVm = minPortsPerVm; return this; } + /** + * Unique name of this Nat service. The name must be 1-63 characters long and comply with + * RFC1035. + */ public String getName() { return name; } + /** + * Unique name of this Nat service. The name must be 1-63 characters long and comply with + * RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be empty. */ public String getNatIpAllocateOption() { return natIpAllocateOption; } + /** Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be empty. */ public Builder setNatIpAllocateOption(String natIpAllocateOption) { this.natIpAllocateOption = natIpAllocateOption; return this; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public List getNatIpsList() { return natIps; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public Builder addAllNatIps(List natIps) { if (this.natIps == null) { this.natIps = new LinkedList<>(); @@ -292,6 +354,10 @@ public Builder addAllNatIps(List natIps) { return this; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public Builder addNatIps(String natIps) { if (this.natIps == null) { this.natIps = new LinkedList<>(); @@ -300,19 +366,37 @@ public Builder addNatIps(String natIps) { return this; } + /** + * Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or + * ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section + * in any Router for this network in this region. + */ public String getSourceSubnetworkIpRangesToNat() { return sourceSubnetworkIpRangesToNat; } + /** + * Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or + * ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section + * in any Router for this network in this region. + */ public Builder setSourceSubnetworkIpRangesToNat(String sourceSubnetworkIpRangesToNat) { this.sourceSubnetworkIpRangesToNat = sourceSubnetworkIpRangesToNat; return this; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public List getSubnetworksList() { return subnetworks; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public Builder addAllSubnetworks(List subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -321,6 +405,10 @@ public Builder addAllSubnetworks(List subnetworks) { return this; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public Builder addSubnetworks(RouterNatSubnetworkToNat subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -329,28 +417,34 @@ public Builder addSubnetworks(RouterNatSubnetworkToNat subnetworks) { return this; } + /** Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. */ public Integer getTcpEstablishedIdleTimeoutSec() { return tcpEstablishedIdleTimeoutSec; } + /** Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. */ public Builder setTcpEstablishedIdleTimeoutSec(Integer tcpEstablishedIdleTimeoutSec) { this.tcpEstablishedIdleTimeoutSec = tcpEstablishedIdleTimeoutSec; return this; } + /** Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. */ public Integer getTcpTransitoryIdleTimeoutSec() { return tcpTransitoryIdleTimeoutSec; } + /** Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. */ public Builder setTcpTransitoryIdleTimeoutSec(Integer tcpTransitoryIdleTimeoutSec) { this.tcpTransitoryIdleTimeoutSec = tcpTransitoryIdleTimeoutSec; return this; } + /** Timeout (in seconds) for UDP connections. Defaults to 30s if not set. */ public Integer getUdpIdleTimeoutSec() { return udpIdleTimeoutSec; } + /** Timeout (in seconds) for UDP connections. Defaults to 30s if not set. */ public Builder setUdpIdleTimeoutSec(Integer udpIdleTimeoutSec) { this.udpIdleTimeoutSec = udpIdleTimeoutSec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java index 3ff7f22a93b1..1f9178483c6c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Defines the IP ranges that want to use NAT for a subnetwork. */ public final class RouterNatSubnetworkToNat implements ApiMessage { private final String name; private final List secondaryIpRangeNames; @@ -69,14 +70,25 @@ public List getFieldMask() { return null; } + /** URL for the subnetwork resource to use NAT. */ public String getName() { return name; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public List getSecondaryIpRangeNamesList() { return secondaryIpRangeNames; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public List getSourceIpRangesToNatList() { return sourceIpRangesToNat; } @@ -130,19 +142,31 @@ public Builder mergeFrom(RouterNatSubnetworkToNat other) { this.sourceIpRangesToNat = source.sourceIpRangesToNat; } + /** URL for the subnetwork resource to use NAT. */ public String getName() { return name; } + /** URL for the subnetwork resource to use NAT. */ public Builder setName(String name) { this.name = name; return this; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public List getSecondaryIpRangeNamesList() { return secondaryIpRangeNames; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public Builder addAllSecondaryIpRangeNames(List secondaryIpRangeNames) { if (this.secondaryIpRangeNames == null) { this.secondaryIpRangeNames = new LinkedList<>(); @@ -151,6 +175,11 @@ public Builder addAllSecondaryIpRangeNames(List secondaryIpRangeNames) { return this; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public Builder addSecondaryIpRangeNames(String secondaryIpRangeNames) { if (this.secondaryIpRangeNames == null) { this.secondaryIpRangeNames = new LinkedList<>(); @@ -159,10 +188,20 @@ public Builder addSecondaryIpRangeNames(String secondaryIpRangeNames) { return this; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public List getSourceIpRangesToNatList() { return sourceIpRangesToNat; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public Builder addAllSourceIpRangesToNat(List sourceIpRangesToNat) { if (this.sourceIpRangesToNat == null) { this.sourceIpRangesToNat = new LinkedList<>(); @@ -171,6 +210,11 @@ public Builder addAllSourceIpRangesToNat(List sourceIpRangesToNat) { return this; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public Builder addSourceIpRangesToNat(String sourceIpRangesToNat) { if (this.sourceIpRangesToNat == null) { this.sourceIpRangesToNat = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java index 0472249bf16d..172c0d5784b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java @@ -85,10 +85,12 @@ public List getFieldMask() { return null; } + /** Best routes for this router's network. */ public List getBestRoutesList() { return bestRoutes; } + /** Best routes learned by this router. */ public List getBestRoutesForRouterList() { return bestRoutesForRouter; } @@ -101,6 +103,7 @@ public List getNatStatusList() { return natStatus; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } @@ -164,10 +167,12 @@ public Builder mergeFrom(RouterStatus other) { this.network = source.network; } + /** Best routes for this router's network. */ public List getBestRoutesList() { return bestRoutes; } + /** Best routes for this router's network. */ public Builder addAllBestRoutes(List bestRoutes) { if (this.bestRoutes == null) { this.bestRoutes = new LinkedList<>(); @@ -176,6 +181,7 @@ public Builder addAllBestRoutes(List bestRoutes) { return this; } + /** Best routes for this router's network. */ public Builder addBestRoutes(Route bestRoutes) { if (this.bestRoutes == null) { this.bestRoutes = new LinkedList<>(); @@ -184,10 +190,12 @@ public Builder addBestRoutes(Route bestRoutes) { return this; } + /** Best routes learned by this router. */ public List getBestRoutesForRouterList() { return bestRoutesForRouter; } + /** Best routes learned by this router. */ public Builder addAllBestRoutesForRouter(List bestRoutesForRouter) { if (this.bestRoutesForRouter == null) { this.bestRoutesForRouter = new LinkedList<>(); @@ -196,6 +204,7 @@ public Builder addAllBestRoutesForRouter(List bestRoutesForRouter) { return this; } + /** Best routes learned by this router. */ public Builder addBestRoutesForRouter(Route bestRoutesForRouter) { if (this.bestRoutesForRouter == null) { this.bestRoutesForRouter = new LinkedList<>(); @@ -244,10 +253,12 @@ public Builder addNatStatus(RouterStatusNatStatus natStatus) { return this; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } + /** URI of the network to which this router belongs. */ public Builder setNetwork(String network) { this.network = network; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java index 3cb9ab1639e5..17e9cbb33c31 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java @@ -120,42 +120,55 @@ public List getFieldMask() { return null; } + /** Routes that were advertised to the remote BGP peer */ public List getAdvertisedRoutesList() { return advertisedRoutes; } + /** IP address of the local BGP interface. */ public String getIpAddress() { return ipAddress; } + /** URL of the VPN tunnel that this BGP peer controls. */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** Name of this BGP peer. Unique within the Routers resource. */ public String getName() { return name; } + /** Number of routes learned from the remote BGP Peer. */ public Integer getNumLearnedRoutes() { return numLearnedRoutes; } + /** IP address of the remote BGP interface. */ public String getPeerIpAddress() { return peerIpAddress; } + /** BGP state as specified in RFC1771. */ public String getState() { return state; } + /** Status of the BGP peer: {UP, DOWN} */ public String getStatus() { return status; } + /** + * Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 + * seconds + */ public String getUptime() { return uptime; } + /** Time this session has been up, in seconds. Format: 145 */ public String getUptimeSeconds() { return uptimeSeconds; } @@ -244,10 +257,12 @@ public Builder mergeFrom(RouterStatusBgpPeerStatus other) { this.uptimeSeconds = source.uptimeSeconds; } + /** Routes that were advertised to the remote BGP peer */ public List getAdvertisedRoutesList() { return advertisedRoutes; } + /** Routes that were advertised to the remote BGP peer */ public Builder addAllAdvertisedRoutes(List advertisedRoutes) { if (this.advertisedRoutes == null) { this.advertisedRoutes = new LinkedList<>(); @@ -256,6 +271,7 @@ public Builder addAllAdvertisedRoutes(List advertisedRoutes) { return this; } + /** Routes that were advertised to the remote BGP peer */ public Builder addAdvertisedRoutes(Route advertisedRoutes) { if (this.advertisedRoutes == null) { this.advertisedRoutes = new LinkedList<>(); @@ -264,82 +280,106 @@ public Builder addAdvertisedRoutes(Route advertisedRoutes) { return this; } + /** IP address of the local BGP interface. */ public String getIpAddress() { return ipAddress; } + /** IP address of the local BGP interface. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** URL of the VPN tunnel that this BGP peer controls. */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** URL of the VPN tunnel that this BGP peer controls. */ public Builder setLinkedVpnTunnel(String linkedVpnTunnel) { this.linkedVpnTunnel = linkedVpnTunnel; return this; } + /** Name of this BGP peer. Unique within the Routers resource. */ public String getName() { return name; } + /** Name of this BGP peer. Unique within the Routers resource. */ public Builder setName(String name) { this.name = name; return this; } + /** Number of routes learned from the remote BGP Peer. */ public Integer getNumLearnedRoutes() { return numLearnedRoutes; } + /** Number of routes learned from the remote BGP Peer. */ public Builder setNumLearnedRoutes(Integer numLearnedRoutes) { this.numLearnedRoutes = numLearnedRoutes; return this; } + /** IP address of the remote BGP interface. */ public String getPeerIpAddress() { return peerIpAddress; } + /** IP address of the remote BGP interface. */ public Builder setPeerIpAddress(String peerIpAddress) { this.peerIpAddress = peerIpAddress; return this; } + /** BGP state as specified in RFC1771. */ public String getState() { return state; } + /** BGP state as specified in RFC1771. */ public Builder setState(String state) { this.state = state; return this; } + /** Status of the BGP peer: {UP, DOWN} */ public String getStatus() { return status; } + /** Status of the BGP peer: {UP, DOWN} */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 + * seconds + */ public String getUptime() { return uptime; } + /** + * Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 + * seconds + */ public Builder setUptime(String uptime) { this.uptime = uptime; return this; } + /** Time this session has been up, in seconds. Format: 145 */ public String getUptimeSeconds() { return uptimeSeconds; } + /** Time this session has been up, in seconds. Format: 145 */ public Builder setUptimeSeconds(String uptimeSeconds) { this.uptimeSeconds = uptimeSeconds; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java index b595199b36ef..50a39751efc6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Status of a NAT contained in this router. */ public final class RouterStatusNatStatus implements ApiMessage { private final List autoAllocatedNatIps; private final Integer minExtraNatIpsNeeded; @@ -92,26 +93,36 @@ public List getFieldMask() { return null; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public List getAutoAllocatedNatIpsList() { return autoAllocatedNatIps; } + /** + * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are + * NOT enough to allow all configured VMs to use NAT. This value is meaningful only when + * auto-allocation of NAT IPs is *not* used. + */ public Integer getMinExtraNatIpsNeeded() { return minExtraNatIpsNeeded; } + /** Unique name of this NAT. */ public String getName() { return name; } + /** Number of VM endpoints (i.e., Nics) that can use NAT. */ public Integer getNumVmEndpointsWithNatMappings() { return numVmEndpointsWithNatMappings; } + /** A list of fully qualified URLs of reserved IP address resources. */ public List getUserAllocatedNatIpResourcesList() { return userAllocatedNatIpResources; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public List getUserAllocatedNatIpsList() { return userAllocatedNatIps; } @@ -180,10 +191,12 @@ public Builder mergeFrom(RouterStatusNatStatus other) { this.userAllocatedNatIps = source.userAllocatedNatIps; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public List getAutoAllocatedNatIpsList() { return autoAllocatedNatIps; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public Builder addAllAutoAllocatedNatIps(List autoAllocatedNatIps) { if (this.autoAllocatedNatIps == null) { this.autoAllocatedNatIps = new LinkedList<>(); @@ -192,6 +205,7 @@ public Builder addAllAutoAllocatedNatIps(List autoAllocatedNatIps) { return this; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public Builder addAutoAllocatedNatIps(String autoAllocatedNatIps) { if (this.autoAllocatedNatIps == null) { this.autoAllocatedNatIps = new LinkedList<>(); @@ -200,37 +214,53 @@ public Builder addAutoAllocatedNatIps(String autoAllocatedNatIps) { return this; } + /** + * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs + * are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when + * auto-allocation of NAT IPs is *not* used. + */ public Integer getMinExtraNatIpsNeeded() { return minExtraNatIpsNeeded; } + /** + * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs + * are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when + * auto-allocation of NAT IPs is *not* used. + */ public Builder setMinExtraNatIpsNeeded(Integer minExtraNatIpsNeeded) { this.minExtraNatIpsNeeded = minExtraNatIpsNeeded; return this; } + /** Unique name of this NAT. */ public String getName() { return name; } + /** Unique name of this NAT. */ public Builder setName(String name) { this.name = name; return this; } + /** Number of VM endpoints (i.e., Nics) that can use NAT. */ public Integer getNumVmEndpointsWithNatMappings() { return numVmEndpointsWithNatMappings; } + /** Number of VM endpoints (i.e., Nics) that can use NAT. */ public Builder setNumVmEndpointsWithNatMappings(Integer numVmEndpointsWithNatMappings) { this.numVmEndpointsWithNatMappings = numVmEndpointsWithNatMappings; return this; } + /** A list of fully qualified URLs of reserved IP address resources. */ public List getUserAllocatedNatIpResourcesList() { return userAllocatedNatIpResources; } + /** A list of fully qualified URLs of reserved IP address resources. */ public Builder addAllUserAllocatedNatIpResources(List userAllocatedNatIpResources) { if (this.userAllocatedNatIpResources == null) { this.userAllocatedNatIpResources = new LinkedList<>(); @@ -239,6 +269,7 @@ public Builder addAllUserAllocatedNatIpResources(List userAllocatedNatIp return this; } + /** A list of fully qualified URLs of reserved IP address resources. */ public Builder addUserAllocatedNatIpResources(String userAllocatedNatIpResources) { if (this.userAllocatedNatIpResources == null) { this.userAllocatedNatIpResources = new LinkedList<>(); @@ -247,10 +278,12 @@ public Builder addUserAllocatedNatIpResources(String userAllocatedNatIpResources return this; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public List getUserAllocatedNatIpsList() { return userAllocatedNatIps; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public Builder addAllUserAllocatedNatIps(List userAllocatedNatIps) { if (this.userAllocatedNatIps == null) { this.userAllocatedNatIps = new LinkedList<>(); @@ -259,6 +292,7 @@ public Builder addAllUserAllocatedNatIps(List userAllocatedNatIps) { return this; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public Builder addUserAllocatedNatIps(String userAllocatedNatIps) { if (this.userAllocatedNatIps == null) { this.userAllocatedNatIps = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java index 0b1fcb3438f3..e037e13624c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java @@ -61,6 +61,7 @@ public List getFieldMask() { return null; } + /** Type of resource. */ public String getKind() { return kind; } @@ -113,10 +114,12 @@ public Builder mergeFrom(RouterStatusResponse other) { this.result = source.result; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java index 28c3274803d6..ea1153350a43 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Preview of given router. */ public Router getResource() { return resource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(RoutersPreviewResponse other) { this.resource = source.resource; } + /** Preview of given router. */ public Router getResource() { return resource; } + /** Preview of given router. */ public Builder setResource(Router resource) { this.resource = resource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java index 261da9c99efc..8200c21f23b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of routers contained in this scope. */ public List getRoutersList() { return routers; } + /** Informational warning which replaces the list of routers when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(RoutersScopedList other) { this.warning = source.warning; } + /** A list of routers contained in this scope. */ public List getRoutersList() { return routers; } + /** A list of routers contained in this scope. */ public Builder addAllRouters(List routers) { if (this.routers == null) { this.routers = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllRouters(List routers) { return this; } + /** A list of routers contained in this scope. */ public Builder addRouters(Router routers) { if (this.routers == null) { this.routers = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addRouters(Router routers) { return this; } + /** Informational warning which replaces the list of routers when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of routers when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java index 17be94744aed..6db5cd8a9d2d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A rule to be applied in a Policy. */ public final class Rule implements ApiMessage { private final String action; private final List conditions; @@ -99,30 +100,50 @@ public List getFieldMask() { return null; } + /** Required */ public String getAction() { return action; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public List getConditionsList() { return conditions; } + /** Human-readable description of the rule. */ public String getDescription() { return description; } + /** + * If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR + * is in at least one of these entries. + */ public List getInsList() { return ins; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public List getLogConfigsList() { return logConfigs; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public List getNotInsList() { return notIns; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all + * verbs. + */ public List getPermissionsList() { return permissions; } @@ -196,19 +217,23 @@ public Builder mergeFrom(Rule other) { this.permissions = source.permissions; } + /** Required */ public String getAction() { return action; } + /** Required */ public Builder setAction(String action) { this.action = action; return this; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public List getConditionsList() { return conditions; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public Builder addAllConditions(List conditions) { if (this.conditions == null) { this.conditions = new LinkedList<>(); @@ -217,6 +242,7 @@ public Builder addAllConditions(List conditions) { return this; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public Builder addConditions(Condition conditions) { if (this.conditions == null) { this.conditions = new LinkedList<>(); @@ -225,19 +251,29 @@ public Builder addConditions(Condition conditions) { return this; } + /** Human-readable description of the rule. */ public String getDescription() { return description; } + /** Human-readable description of the rule. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * If one or more 'in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + */ public List getInsList() { return ins; } + /** + * If one or more 'in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + */ public Builder addAllIns(List ins) { if (this.ins == null) { this.ins = new LinkedList<>(); @@ -246,6 +282,10 @@ public Builder addAllIns(List ins) { return this; } + /** + * If one or more 'in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + */ public Builder addIns(String ins) { if (this.ins == null) { this.ins = new LinkedList<>(); @@ -254,10 +294,18 @@ public Builder addIns(String ins) { return this; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public List getLogConfigsList() { return logConfigs; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public Builder addAllLogConfigs(List logConfigs) { if (this.logConfigs == null) { this.logConfigs = new LinkedList<>(); @@ -266,6 +314,10 @@ public Builder addAllLogConfigs(List logConfigs) { return this; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public Builder addLogConfigs(LogConfig logConfigs) { if (this.logConfigs == null) { this.logConfigs = new LinkedList<>(); @@ -274,10 +326,18 @@ public Builder addLogConfigs(LogConfig logConfigs) { return this; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public List getNotInsList() { return notIns; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public Builder addAllNotIns(List notIns) { if (this.notIns == null) { this.notIns = new LinkedList<>(); @@ -286,6 +346,10 @@ public Builder addAllNotIns(List notIns) { return this; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public Builder addNotIns(String notIns) { if (this.notIns == null) { this.notIns = new LinkedList<>(); @@ -294,10 +358,20 @@ public Builder addNotIns(String notIns) { return this; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches + * all verbs. + */ public List getPermissionsList() { return permissions; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches + * all verbs. + */ public Builder addAllPermissions(List permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); @@ -306,6 +380,11 @@ public Builder addAllPermissions(List permissions) { return this; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches + * all verbs. + */ public Builder addPermissions(String permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java index 2ca8180514e6..1a40c176f4d1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java @@ -80,22 +80,43 @@ public List getFieldMask() { return null; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The application data to send once the SSL connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -159,46 +180,88 @@ public Builder mergeFrom(SSLHealthCheck other) { this.response = source.response; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** + * The application data to send once the SSL connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The application data to send once the SSL connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public Builder setRequest(String request) { this.request = request; return this; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java index 0809482b5942..5ce6438171a8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Sets the scheduling options for an Instance. */ public final class Scheduling implements ApiMessage { private final Boolean automaticRestart; private final List nodeAffinities; @@ -78,18 +79,36 @@ public List getFieldMask() { return null; } + /** + * Specifies whether the instance should be automatically restarted if it is terminated by Compute + * Engine (not terminated by a user). You can only set the automatic restart option for standard + * instances. Preemptible instances cannot be automatically restarted. + * + *

By default, this is set to true so an instance is automatically restarted if it is + * terminated by Compute Engine. + */ public Boolean getAutomaticRestart() { return automaticRestart; } + /** A set of node affinity and anti-affinity. */ public List getNodeAffinitiesList() { return nodeAffinities; } + /** + * Defines the maintenance behavior for this instance. For standard instances, the default + * behavior is MIGRATE. For preemptible instances, the default and only possible behavior is + * TERMINATE. For more information, see Setting Instance Scheduling Options. + */ public String getOnHostMaintenance() { return onHostMaintenance; } + /** + * Defines whether the instance is preemptible. This can only be set during instance creation, it + * cannot be set or changed after the instance has been created. + */ public Boolean getPreemptible() { return preemptible; } @@ -148,19 +167,37 @@ public Builder mergeFrom(Scheduling other) { this.preemptible = source.preemptible; } + /** + * Specifies whether the instance should be automatically restarted if it is terminated by + * Compute Engine (not terminated by a user). You can only set the automatic restart option for + * standard instances. Preemptible instances cannot be automatically restarted. + * + *

By default, this is set to true so an instance is automatically restarted if it is + * terminated by Compute Engine. + */ public Boolean getAutomaticRestart() { return automaticRestart; } + /** + * Specifies whether the instance should be automatically restarted if it is terminated by + * Compute Engine (not terminated by a user). You can only set the automatic restart option for + * standard instances. Preemptible instances cannot be automatically restarted. + * + *

By default, this is set to true so an instance is automatically restarted if it is + * terminated by Compute Engine. + */ public Builder setAutomaticRestart(Boolean automaticRestart) { this.automaticRestart = automaticRestart; return this; } + /** A set of node affinity and anti-affinity. */ public List getNodeAffinitiesList() { return nodeAffinities; } + /** A set of node affinity and anti-affinity. */ public Builder addAllNodeAffinities(List nodeAffinities) { if (this.nodeAffinities == null) { this.nodeAffinities = new LinkedList<>(); @@ -169,6 +206,7 @@ public Builder addAllNodeAffinities(List nodeAffinities) return this; } + /** A set of node affinity and anti-affinity. */ public Builder addNodeAffinities(SchedulingNodeAffinity nodeAffinities) { if (this.nodeAffinities == null) { this.nodeAffinities = new LinkedList<>(); @@ -177,19 +215,37 @@ public Builder addNodeAffinities(SchedulingNodeAffinity nodeAffinities) { return this; } + /** + * Defines the maintenance behavior for this instance. For standard instances, the default + * behavior is MIGRATE. For preemptible instances, the default and only possible behavior is + * TERMINATE. For more information, see Setting Instance Scheduling Options. + */ public String getOnHostMaintenance() { return onHostMaintenance; } + /** + * Defines the maintenance behavior for this instance. For standard instances, the default + * behavior is MIGRATE. For preemptible instances, the default and only possible behavior is + * TERMINATE. For more information, see Setting Instance Scheduling Options. + */ public Builder setOnHostMaintenance(String onHostMaintenance) { this.onHostMaintenance = onHostMaintenance; return this; } + /** + * Defines whether the instance is preemptible. This can only be set during instance creation, + * it cannot be set or changed after the instance has been created. + */ public Boolean getPreemptible() { return preemptible; } + /** + * Defines whether the instance is preemptible. This can only be set during instance creation, + * it cannot be set or changed after the instance has been created. + */ public Builder setPreemptible(Boolean preemptible) { this.preemptible = preemptible; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java index 6d9c797560c2..2d5c388f33a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java @@ -25,6 +25,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. + */ public final class SchedulingNodeAffinity implements ApiMessage { private final String key; private final String operator; @@ -68,14 +71,17 @@ public List getFieldMask() { return null; } + /** Corresponds to the label key of Node resource. */ public String getKey() { return key; } + /** Defines the operation of node selection. */ public String getOperator() { return operator; } + /** Corresponds to the label values of Node resource. */ public List getValuesList() { return values; } @@ -129,28 +135,34 @@ public Builder mergeFrom(SchedulingNodeAffinity other) { this.values = source.values; } + /** Corresponds to the label key of Node resource. */ public String getKey() { return key; } + /** Corresponds to the label key of Node resource. */ public Builder setKey(String key) { this.key = key; return this; } + /** Defines the operation of node selection. */ public String getOperator() { return operator; } + /** Defines the operation of node selection. */ public Builder setOperator(String operator) { this.operator = operator; return this; } + /** Corresponds to the label values of Node resource. */ public List getValuesList() { return values; } + /** Corresponds to the label values of Node resource. */ public Builder addAllValues(List values) { if (this.values == null) { this.values = new LinkedList<>(); @@ -159,6 +171,7 @@ public Builder addAllValues(List values) { return this; } + /** Corresponds to the label values of Node resource. */ public Builder addValues(String values) { if (this.values == null) { this.values = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java index 6f8b4bbd4f98..dcb0d31cc74e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] A list of extended scratch disks assigned to the instance. */ public final class ScratchDisks implements ApiMessage { private final Integer diskGb; @@ -55,6 +56,7 @@ public List getFieldMask() { return null; } + /** Size of the scratch disk, defined in GB. */ public Integer getDiskGb() { return diskGb; } @@ -98,10 +100,12 @@ public Builder mergeFrom(ScratchDisks other) { this.diskGb = source.diskGb; } + /** Size of the scratch disk, defined in GB. */ public Integer getDiskGb() { return diskGb; } + /** Size of the scratch disk, defined in GB. */ public Builder setDiskGb(Integer diskGb) { this.diskGb = diskGb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java index 706358b9d814..429925c3f157 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A security policy is comprised of one or more rules. It can also be associated with one or more + * 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for beta.securityPolicies ==) + */ public final class SecurityPolicy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -106,34 +110,64 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Specifies a fingerprint for this resource, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide an + * up-to-date fingerprint hash in order to update or change metadata, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make get() request to the security policy. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output only] Type of the resource. Always compute#securityPolicyfor security policies */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public List getRulesList() { return rules; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -212,64 +246,124 @@ public Builder mergeFrom(SecurityPolicy other) { this.selfLink = source.selfLink; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Specifies a fingerprint for this resource, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make get() request to the security policy. + */ public String getFingerprint() { return fingerprint; } + /** + * Specifies a fingerprint for this resource, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make get() request to the security policy. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output only] Type of the resource. Always compute#securityPolicyfor security policies */ public String getKind() { return kind; } + /** [Output only] Type of the resource. Always compute#securityPolicyfor security policies */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public List getRulesList() { return rules; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public Builder addAllRules(List rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -278,6 +372,11 @@ public Builder addAllRules(List rules) { return this; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public Builder addRules(SecurityPolicyRule rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -286,10 +385,12 @@ public Builder addRules(SecurityPolicyRule rules) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java index cea23f52136c..31af83e9bcdb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java @@ -81,22 +81,34 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of SecurityPolicy resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#securityPolicyList for listsof securityPolicies + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -160,19 +172,23 @@ public Builder mergeFrom(SecurityPolicyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of SecurityPolicy resources. */ public List getItemsList() { return items; } + /** A list of SecurityPolicy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -181,6 +197,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of SecurityPolicy resources. */ public Builder addItems(SecurityPolicy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -189,28 +206,50 @@ public Builder addItems(SecurityPolicy items) { return this; } + /** + * [Output Only] Type of resource. Always compute#securityPolicyList for listsof + * securityPolicies + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#securityPolicyList for listsof + * securityPolicies + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java index 2939b7552702..81a9e1575c69 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a rule that describes one or more match conditions along with the action to be taken + * when traffic matches this condition (allow or deny). + */ public final class SecurityPolicyRule implements ApiMessage { private final String action; private final String description; @@ -91,26 +95,46 @@ public List getFieldMask() { return null; } + /** + * The Action to preform when the client connection triggers the rule. Can currently be either + * "allow" or "deny()" where valid values for status are 403, 404, and 502. + */ public String getAction() { return action; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules + */ public String getKind() { return kind; } + /** + * A match condition that incoming traffic is evaluated against. If it evaluates to true, the + * corresponding ?action? is enforced. + */ public SecurityPolicyRuleMatcher getMatch() { return match; } + /** If set to true, the specified action is not enforced. */ public Boolean getPreview() { return preview; } + /** + * An integer indicating the priority of a rule in the list. The priority must be a positive value + * between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the + * highest priority and 2147483647 is the lowest prority. + */ public Integer getPriority() { return priority; } @@ -179,55 +203,97 @@ public Builder mergeFrom(SecurityPolicyRule other) { this.priority = source.priority; } + /** + * The Action to preform when the client connection triggers the rule. Can currently be either + * "allow" or "deny()" where valid values for status are 403, 404, and 502. + */ public String getAction() { return action; } + /** + * The Action to preform when the client connection triggers the rule. Can currently be either + * "allow" or "deny()" where valid values for status are 403, 404, and 502. + */ public Builder setAction(String action) { this.action = action; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output only] Type of the resource. Always compute#securityPolicyRule for security policy + * rules + */ public String getKind() { return kind; } + /** + * [Output only] Type of the resource. Always compute#securityPolicyRule for security policy + * rules + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A match condition that incoming traffic is evaluated against. If it evaluates to true, the + * corresponding ?action? is enforced. + */ public SecurityPolicyRuleMatcher getMatch() { return match; } + /** + * A match condition that incoming traffic is evaluated against. If it evaluates to true, the + * corresponding ?action? is enforced. + */ public Builder setMatch(SecurityPolicyRuleMatcher match) { this.match = match; return this; } + /** If set to true, the specified action is not enforced. */ public Boolean getPreview() { return preview; } + /** If set to true, the specified action is not enforced. */ public Builder setPreview(Boolean preview) { this.preview = preview; return this; } + /** + * An integer indicating the priority of a rule in the list. The priority must be a positive + * value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 + * is the highest priority and 2147483647 is the lowest prority. + */ public Integer getPriority() { return priority; } + /** + * An integer indicating the priority of a rule in the list. The priority must be a positive + * value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 + * is the highest priority and 2147483647 is the lowest prority. + */ public Builder setPriority(Integer priority) { this.priority = priority; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java index c3d8ad275cfa..7991e145db93 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a match condition that incoming traffic is evaluated against. Exactly one field must + * be specified. + */ public final class SecurityPolicyRuleMatcher implements ApiMessage { private final SecurityPolicyRuleMatcherConfig config; private final String versionedExpr; @@ -61,10 +65,20 @@ public List getFieldMask() { return null; } + /** + * The configuration options available when specifying versioned_expr. This field must be + * specified if versioned_expr is specified and cannot be specified if versioned_expr is not + * specified. + */ public SecurityPolicyRuleMatcherConfig getConfig() { return config; } + /** + * Preconfigured versioned expression. If this field is specified, config must also be specified. + * Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must + * specify the corresponding src_ip_range field in config. + */ public String getVersionedExpr() { return versionedExpr; } @@ -113,19 +127,39 @@ public Builder mergeFrom(SecurityPolicyRuleMatcher other) { this.versionedExpr = source.versionedExpr; } + /** + * The configuration options available when specifying versioned_expr. This field must be + * specified if versioned_expr is specified and cannot be specified if versioned_expr is not + * specified. + */ public SecurityPolicyRuleMatcherConfig getConfig() { return config; } + /** + * The configuration options available when specifying versioned_expr. This field must be + * specified if versioned_expr is specified and cannot be specified if versioned_expr is not + * specified. + */ public Builder setConfig(SecurityPolicyRuleMatcherConfig config) { this.config = config; return this; } + /** + * Preconfigured versioned expression. If this field is specified, config must also be + * specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 + * - must specify the corresponding src_ip_range field in config. + */ public String getVersionedExpr() { return versionedExpr; } + /** + * Preconfigured versioned expression. If this field is specified, config must also be + * specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 + * - must specify the corresponding src_ip_range field in config. + */ public Builder setVersionedExpr(String versionedExpr) { this.versionedExpr = versionedExpr; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java index 1c0818d036a0..581b7a00616d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** CIDR IP address range. */ public List getSrcIpRangesList() { return srcIpRanges; } @@ -99,10 +100,12 @@ public Builder mergeFrom(SecurityPolicyRuleMatcherConfig other) { this.srcIpRanges = source.srcIpRanges; } + /** CIDR IP address range. */ public List getSrcIpRangesList() { return srcIpRanges; } + /** CIDR IP address range. */ public Builder addAllSrcIpRanges(List srcIpRanges) { if (this.srcIpRanges == null) { this.srcIpRanges = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllSrcIpRanges(List srcIpRanges) { return this; } + /** CIDR IP address range. */ public Builder addSrcIpRanges(String srcIpRanges) { if (this.srcIpRanges == null) { this.srcIpRanges = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java index 3ccda0acdb48..fd99b73e8d03 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** An instance's serial console output. */ public final class SerialPortOutput implements ApiMessage { private final String contents; private final String kind; @@ -80,22 +81,34 @@ public List getFieldMask() { return null; } + /** [Output Only] The contents of the console output. */ public String getContents() { return contents; } + /** [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. */ public String getKind() { return kind; } + /** + * [Output Only] The position of the next byte of content from the serial console output. Use this + * value in the next request as the start parameter. + */ public String getNext() { return next; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * The starting byte position of the output that was returned. This should match the start + * parameter sent with the request. If the serial console output exceeds the size of the buffer, + * older output will be overwritten by newer content and the start values will be mismatched. + */ public String getStart() { return start; } @@ -159,46 +172,74 @@ public Builder mergeFrom(SerialPortOutput other) { this.start = source.start; } + /** [Output Only] The contents of the console output. */ public String getContents() { return contents; } + /** [Output Only] The contents of the console output. */ public Builder setContents(String contents) { this.contents = contents; return this; } + /** + * [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] The position of the next byte of content from the serial console output. Use + * this value in the next request as the start parameter. + */ public String getNext() { return next; } + /** + * [Output Only] The position of the next byte of content from the serial console output. Use + * this value in the next request as the start parameter. + */ public Builder setNext(String next) { this.next = next; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The starting byte position of the output that was returned. This should match the start + * parameter sent with the request. If the serial console output exceeds the size of the buffer, + * older output will be overwritten by newer content and the start values will be mismatched. + */ public String getStart() { return start; } + /** + * The starting byte position of the output that was returned. This should match the start + * parameter sent with the request. If the serial console output exceeds the size of the buffer, + * older output will be overwritten by newer content and the start values will be mismatched. + */ public Builder setStart(String start) { this.start = start; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java index 16328f484f67..0bc9124fdaf2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A service account. */ public final class ServiceAccount implements ApiMessage { private final String email; private final List scopes; @@ -62,10 +63,12 @@ public List getFieldMask() { return null; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } @@ -114,19 +117,23 @@ public Builder mergeFrom(ServiceAccount other) { this.scopes = source.scopes; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** Email address of the service account. */ public Builder setEmail(String email) { this.email = email; return this; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } + /** The list of scopes to be made available for this service account. */ public Builder addAllScopes(List scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); @@ -135,6 +142,7 @@ public Builder addAllScopes(List scopes) { return this; } + /** The list of scopes to be made available for this service account. */ public Builder addScopes(String scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java index 0ce4316396fd..46e832a1fa65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java @@ -125,30 +125,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,19 @@ public String getRequestId() { return targetSslProxiesSetBackendServiceRequestResource; } + /** + * Name of the TargetSslProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setBackendService`. + * \`{targetSslProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,102 @@ public Builder mergeFrom(SetBackendServiceTargetSslProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,19 +394,37 @@ public Builder setTargetSslProxiesSetBackendServiceRequestResource( return this; } + /** + * Name of the TargetSslProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setBackendService`. + * \`{targetSslProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setBackendService`. + * \`{targetSslProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java index 85034ed7e6ca..2fbda86cf3e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java @@ -125,30 +125,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,19 @@ public String getRequestId() { return targetTcpProxiesSetBackendServiceRequestResource; } + /** + * Name of the TargetTcpProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService`. + * \`{targetTcpProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,102 @@ public Builder mergeFrom(SetBackendServiceTargetTcpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,19 +394,37 @@ public Builder setTargetTcpProxiesSetBackendServiceRequestResource( return this; } + /** + * Name of the TargetTcpProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService`. + * \`{targetTcpProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService`. + * \`{targetTcpProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java index 4349094d696d..e70174a135de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java @@ -130,38 +130,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** New failoverRatio value for the target pool. */ public Float getFailoverRatio() { return failoverRatio; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to set a backup pool for. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/setBackup`. \`{targetPool}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetPool() { return targetPool; } @@ -170,6 +198,7 @@ public TargetReference getTargetReferenceResource() { return targetReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,82 +292,138 @@ public Builder mergeFrom(SetBackupTargetPoolHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** New failoverRatio value for the target pool. */ public Float getFailoverRatio() { return failoverRatio; } + /** New failoverRatio value for the target pool. */ public Builder setFailoverRatio(Float failoverRatio) { this.failoverRatio = failoverRatio; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to set a backup pool for. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/setBackup`. \`{targetPool}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to set a backup pool for. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/setBackup`. \`{targetPool}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -353,10 +438,12 @@ public Builder setTargetReferenceResource(TargetReference targetReferenceResourc return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java index 0f0b359ec7af..b5209b7e47b5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/setCommonInstanceMetadata`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(SetCommonInstanceMetadataProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** A metadata key/value entry. */ public Builder setMetadataResource(Metadata metadataResource) { this.metadataResource = metadataResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/setCommonInstanceMetadata`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/setCommonInstanceMetadata`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java index ee5ffff9c3c8..18c912b769f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java @@ -125,26 +125,38 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/setDefaultNetworkTier`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } @@ -153,14 +165,29 @@ public ProjectsSetDefaultNetworkTierRequest getProjectsSetDefaultNetworkTierRequ return projectsSetDefaultNetworkTierRequestResource; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -251,55 +278,79 @@ public Builder mergeFrom(SetDefaultNetworkTierProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/setDefaultNetworkTier`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/setDefaultNetworkTier`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; @@ -316,28 +367,58 @@ public Builder setProjectsSetDefaultNetworkTierRequestResource( return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java index 77adccebba48..fdaaaa9b92ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java @@ -123,42 +123,71 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setDeletionProtection`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +276,149 @@ public Builder mergeFrom(SetDeletionProtectionInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** Whether the resource should be protected against deletion. */ public Builder setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setDeletionProtection`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setDeletionProtection`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java index afeb47affa27..4fb9e5600e4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java @@ -130,46 +130,79 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Whether to auto-delete the disk when the instance is deleted. */ public Boolean getAutoDelete() { return autoDelete; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * The device name of the disk to modify. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete`. \`{instance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +296,166 @@ public Builder mergeFrom(SetDiskAutoDeleteInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Whether to auto-delete the disk when the instance is deleted. */ public Boolean getAutoDelete() { return autoDelete; } + /** Whether to auto-delete the disk when the instance is deleted. */ public Builder setAutoDelete(Boolean autoDelete) { this.autoDelete = autoDelete; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** + * The device name of the disk to modify. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** + * The device name of the disk to modify. Make a get() request on the instance to view currently + * attached disks and device names. + */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java index fc6bec6f1513..1d29d8a8fe8e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java @@ -116,34 +116,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,73 +246,103 @@ public Builder mergeFrom(SetIamPolicyDiskHttpRequest other) { this.zoneSetPolicyRequestResource = source.zoneSetPolicyRequestResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java index 3ccbe9832390..da38b190b411 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java @@ -116,14 +116,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -132,22 +135,33 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setIamPolicy`. \`{resource}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetIamPolicyImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -268,46 +288,70 @@ public Builder setGlobalSetPolicyRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java index 8b1786f3e114..a80b1edbf15e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java @@ -116,34 +116,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,73 +246,103 @@ public Builder mergeFrom(SetIamPolicyInstanceHttpRequest other) { this.zoneSetPolicyRequestResource = source.zoneSetPolicyRequestResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java index 4c72fb24abb3..f2219c36021a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java @@ -116,14 +116,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -132,22 +135,34 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +246,34 @@ public Builder mergeFrom(SetIamPolicyInstanceTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -268,46 +289,70 @@ public Builder setGlobalSetPolicyRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/setIamPolicy`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/setIamPolicy`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java index 9d6ef101d6aa..2092e8bf9f17 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java @@ -116,14 +116,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -132,22 +135,33 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/setIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetIamPolicyLicenseHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -268,46 +288,70 @@ public Builder setGlobalSetPolicyRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/setIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/setIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java index 3c7245d7fc98..00d5389af568 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java @@ -116,34 +116,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,73 +246,103 @@ public Builder mergeFrom(SetIamPolicyNodeGroupHttpRequest other) { this.zoneSetPolicyRequestResource = source.zoneSetPolicyRequestResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java index 3aa770e48618..154fcb805d4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java @@ -116,26 +116,32 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -144,10 +150,19 @@ public RegionSetPolicyRequest getRegionSetPolicyRequestResource() { return regionSetPolicyRequestResource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,55 +246,67 @@ public Builder mergeFrom(SetIamPolicyNodeTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -295,19 +322,37 @@ public Builder setRegionSetPolicyRequestResource( return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java index b0a9f9594ad0..3b2fd08e8c3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java @@ -116,14 +116,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -132,22 +135,33 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setIamPolicy`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetIamPolicySnapshotHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -268,46 +288,70 @@ public Builder setGlobalSetPolicyRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setIamPolicy`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java index 91ed0b363447..e7bf9339a76e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java @@ -116,26 +116,32 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -144,10 +150,19 @@ public RegionSetPolicyRequest getRegionSetPolicyRequestResource() { return regionSetPolicyRequestResource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/setIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,55 +246,67 @@ public Builder mergeFrom(SetIamPolicySubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -295,19 +322,37 @@ public Builder setRegionSetPolicyRequestResource( return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/setIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/setIamPolicy`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java index 9a968b2074c3..bf8d0cae28dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java @@ -127,18 +127,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } @@ -148,22 +159,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersSetInstanceTemplateRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -256,37 +284,59 @@ public Builder mergeFrom(SetInstanceTemplateInstanceGroupManagerHttpRequest othe this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -305,46 +355,80 @@ public Builder setInstanceGroupManagersSetInstanceTemplateRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java index 20091b1a5eeb..4b7fc1d59f51 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java @@ -127,30 +127,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -160,10 +174,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersSetTemplateRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -257,64 +285,92 @@ public Builder mergeFrom(SetInstanceTemplateRegionInstanceGroupManagerHttpReques this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -333,19 +389,47 @@ public Builder setRegionInstanceGroupManagersSetTemplateRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java index 91942152f345..236c3783ce85 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java @@ -123,38 +123,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setLabels`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,82 +274,138 @@ public Builder mergeFrom(SetLabelsDiskHttpRequest other) { this.zoneSetLabelsRequestResource = source.zoneSetLabelsRequestResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setLabels`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setLabels`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java index cb70cf2ab498..7ea263b60162 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java @@ -116,14 +116,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -132,22 +135,33 @@ public GlobalSetLabelsRequest getGlobalSetLabelsRequestResource() { return globalSetLabelsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setLabels`. \`{resource}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetLabelsImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -268,46 +288,68 @@ public Builder setGlobalSetLabelsRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setLabels`. \`{resource}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setLabels`. \`{resource}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java index b5288192189c..0c346193d368 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java @@ -123,18 +123,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setLabels`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } @@ -143,22 +154,39 @@ public InstancesSetLabelsRequest getInstancesSetLabelsRequestResource() { return instancesSetLabelsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,37 +275,59 @@ public Builder mergeFrom(SetLabelsInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setLabels`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setLabels`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; @@ -293,46 +343,80 @@ public Builder setInstancesSetLabelsRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java index 9958d03e1165..45d2fbd35638 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java @@ -123,26 +123,32 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -151,14 +157,36 @@ public RegionSetLabelsRequest getRegionSetLabelsRequestResource() { return regionSetLabelsRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/setLabels`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,55 +275,67 @@ public Builder mergeFrom(SetLabelsRegionDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -311,28 +351,72 @@ public Builder setRegionSetLabelsRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/setLabels`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/setLabels`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java index fd91cc000466..807f0d2884e9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java @@ -116,14 +116,17 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -132,22 +135,33 @@ public GlobalSetLabelsRequest getGlobalSetLabelsRequestResource() { return globalSetLabelsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setLabels`. \`{resource}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetLabelsSnapshotHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; @@ -268,46 +288,70 @@ public Builder setGlobalSetLabelsRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setLabels`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setLabels`. \`{resource}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java index 411a4dee21cf..e8ae32020d01 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java @@ -123,18 +123,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineResources`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } @@ -143,22 +154,39 @@ public InstancesSetMachineResourcesRequest getInstancesSetMachineResourcesReques return instancesSetMachineResourcesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,37 +277,59 @@ public Builder mergeFrom(SetMachineResourcesInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineResources`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineResources`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; @@ -296,46 +346,80 @@ public Builder setInstancesSetMachineResourcesRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java index 38bb690a4fb6..a0a56488a7dd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java @@ -123,18 +123,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineType`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } @@ -143,22 +154,39 @@ public InstancesSetMachineTypeRequest getInstancesSetMachineTypeRequestResource( return instancesSetMachineTypeRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,37 +275,59 @@ public Builder mergeFrom(SetMachineTypeInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineType`. \`{instance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineType`. \`{instance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; @@ -293,46 +343,80 @@ public Builder setInstancesSetMachineTypeRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java index 5e783ea277e6..ce38e5c2f380 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java @@ -123,42 +123,71 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMetadata`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +276,149 @@ public Builder mergeFrom(SetMetadataInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMetadata`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMetadata`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** A metadata key/value entry. */ public Builder setMetadataResource(Metadata metadataResource) { this.metadataResource = metadataResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java index defc35b6cc0d..39ecab98dfe7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java @@ -124,18 +124,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform`. \`{instance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } @@ -144,22 +155,39 @@ public InstancesSetMinCpuPlatformRequest getInstancesSetMinCpuPlatformRequestRes return instancesSetMinCpuPlatformRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,37 +278,59 @@ public Builder mergeFrom(SetMinCpuPlatformInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; @@ -296,46 +346,80 @@ public Builder setInstancesSetMinCpuPlatformRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java index ecd8ae822738..975976de71f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java @@ -123,18 +123,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group where the named ports are updated. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts`. \`{instanceGroup}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } @@ -143,22 +154,39 @@ public InstanceGroupsSetNamedPortsRequest getInstanceGroupsSetNamedPortsRequestR return instanceGroupsSetNamedPortsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,37 +277,59 @@ public Builder mergeFrom(SetNamedPortsInstanceGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the instance group where the named ports are updated. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts`. \`{instanceGroup}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group where the named ports are updated. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts`. \`{instanceGroup}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -295,46 +345,80 @@ public Builder setInstanceGroupsSetNamedPortsRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java index 9e4ef13e52ed..6c2c69915dc0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java @@ -125,30 +125,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the regional instance group where the named ports are updated. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -158,10 +172,24 @@ public String getQuotaUser() { return regionInstanceGroupsSetNamedPortsRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,92 @@ public Builder mergeFrom(SetNamedPortsRegionInstanceGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the regional instance group where the named ports are updated. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroup() { return instanceGroup; } + /** + * The name of the regional instance group where the named ports are updated. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts`. + * \`{instanceGroup}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -328,19 +384,47 @@ public Builder setRegionInstanceGroupsSetNamedPortsRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java index 06d408eac47e..5dd698ba7b73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java @@ -123,22 +123,34 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource to update. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate`. \`{nodeGroup}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } @@ -147,18 +159,34 @@ public NodeGroupsSetNodeTemplateRequest getNodeGroupsSetNodeTemplateRequestResou return nodeGroupsSetNodeTemplateRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,46 +277,70 @@ public Builder mergeFrom(SetNodeTemplateNodeGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the NodeGroup resource to update. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate`. \`{nodeGroup}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource to update. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate`. \`{nodeGroup}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; @@ -304,37 +356,69 @@ public Builder setNodeGroupsSetNodeTemplateRequestResource( return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java index cf04d3fdc9b4..f8e8d6962b65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java @@ -126,34 +126,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess`. + * \`{subnetwork}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } @@ -163,6 +190,7 @@ public String getSubnetwork() { return subnetworksSetPrivateIpGoogleAccessRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -254,73 +282,127 @@ public Builder mergeFrom(SetPrivateIpGoogleAccessSubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess`. + * \`{subnetwork}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess`. + * \`{subnetwork}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; @@ -339,10 +421,12 @@ public Builder setSubnetworksSetPrivateIpGoogleAccessRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java index 961af60bb3dd..18a54f01b657 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java @@ -124,30 +124,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -156,10 +175,19 @@ public TargetSslProxiesSetProxyHeaderRequest getTargetSslProxiesSetProxyHeaderRe return targetSslProxiesSetProxyHeaderRequestResource; } + /** + * Name of the TargetSslProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader`. \`{targetSslProxy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,64 +278,102 @@ public Builder mergeFrom(SetProxyHeaderTargetSslProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -325,19 +391,37 @@ public Builder setTargetSslProxiesSetProxyHeaderRequestResource( return this; } + /** + * Name of the TargetSslProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader`. \`{targetSslProxy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader`. \`{targetSslProxy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java index cdd50efd7e88..e9d829f11e6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java @@ -124,30 +124,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -156,10 +175,19 @@ public TargetTcpProxiesSetProxyHeaderRequest getTargetTcpProxiesSetProxyHeaderRe return targetTcpProxiesSetProxyHeaderRequestResource; } + /** + * Name of the TargetTcpProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader`. \`{targetTcpProxy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,64 +278,102 @@ public Builder mergeFrom(SetProxyHeaderTargetTcpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -325,19 +391,37 @@ public Builder setTargetTcpProxiesSetProxyHeaderRequestResource( return this; } + /** + * Name of the TargetTcpProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader`. \`{targetTcpProxy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader`. \`{targetTcpProxy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java index d0a0ca5d7811..f12e74262e39 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java @@ -125,30 +125,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,20 @@ public String getRequestId() { return targetHttpsProxiesSetQuicOverrideRequestResource; } + /** + * Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should + * conform to RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride`. + * \`{targetHttpsProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +282,102 @@ public Builder mergeFrom(SetQuicOverrideTargetHttpsProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,19 +395,39 @@ public Builder setTargetHttpsProxiesSetQuicOverrideRequestResource( return this; } + /** + * Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should + * conform to RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride`. + * \`{targetHttpsProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should + * conform to RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride`. + * \`{targetHttpsProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java index 76b9c7f89338..2cb877ffdf65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java @@ -122,42 +122,71 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setScheduling`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Sets the scheduling options for an Instance. */ public Scheduling getSchedulingResource() { return schedulingResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -246,91 +275,149 @@ public Builder mergeFrom(SetSchedulingInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setScheduling`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setScheduling`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Sets the scheduling options for an Instance. */ public Scheduling getSchedulingResource() { return schedulingResource; } + /** Sets the scheduling options for an Instance. */ public Builder setSchedulingResource(Scheduling schedulingResource) { this.schedulingResource = schedulingResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java index c006ba2cab42..296f4270c647 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java @@ -123,34 +123,62 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the security policy should be set. The name should + * conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/setSecurityPolicy`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,6 +187,7 @@ public SecurityPolicyReference getSecurityPolicyReferenceResource() { return securityPolicyReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +276,129 @@ public Builder mergeFrom(SetSecurityPolicyBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to which the security policy should be set. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/setSecurityPolicy`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the security policy should be set. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/setSecurityPolicy`. \`{backendService}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -329,10 +414,12 @@ public Builder setSecurityPolicyReferenceResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java index 18f942840e15..f4f886fd84e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java @@ -124,18 +124,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setServiceAccount`. \`{instance}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } @@ -144,22 +155,39 @@ public InstancesSetServiceAccountRequest getInstancesSetServiceAccountRequestRes return instancesSetServiceAccountRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,37 +278,59 @@ public Builder mergeFrom(SetServiceAccountInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setServiceAccount`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setServiceAccount`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; @@ -296,46 +346,80 @@ public Builder setInstancesSetServiceAccountRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java index 7132820584e2..fb928939e767 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java @@ -126,30 +126,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,10 +178,19 @@ public String getRequestId() { return targetHttpsProxiesSetSslCertificatesRequestResource; } + /** + * Name of the TargetHttpsProxy resource to set an SslCertificates resource for. It must have the + * format `{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates`. + * \`{targetHttpsProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -254,64 +282,102 @@ public Builder mergeFrom(SetSslCertificatesTargetHttpsProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -330,19 +396,37 @@ public Builder setTargetHttpsProxiesSetSslCertificatesRequestResource( return this; } + /** + * Name of the TargetHttpsProxy resource to set an SslCertificates resource for. It must have + * the format `{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates`. + * \`{targetHttpsProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to set an SslCertificates resource for. It must have + * the format `{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates`. + * \`{targetHttpsProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java index fcfb14fa0f10..4b117fee9d27 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java @@ -125,30 +125,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,19 @@ public String getRequestId() { return targetSslProxiesSetSslCertificatesRequestResource; } + /** + * Name of the TargetSslProxy resource whose SslCertificate resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates`. + * \`{targetSslProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,102 @@ public Builder mergeFrom(SetSslCertificatesTargetSslProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -329,19 +395,37 @@ public Builder setTargetSslProxiesSetSslCertificatesRequestResource( return this; } + /** + * Name of the TargetSslProxy resource whose SslCertificate resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates`. + * \`{targetSslProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose SslCertificate resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates`. + * \`{targetSslProxy}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java index 060fa8575df3..f308a59749cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java @@ -125,30 +125,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -157,10 +176,20 @@ public SslPolicyReference getSslPolicyReferenceResource() { return sslPolicyReferenceResource; } + /** + * Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy`. \`{targetHttpsProxy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,64 +278,102 @@ public Builder mergeFrom(SetSslPolicyTargetHttpsProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -321,19 +388,39 @@ public Builder setSslPolicyReferenceResource(SslPolicyReference sslPolicyReferen return this; } + /** + * Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy`. \`{targetHttpsProxy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy`. \`{targetHttpsProxy}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java index bc9bc50f33f8..fcb8b7355a22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java @@ -125,30 +125,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -157,10 +176,20 @@ public SslPolicyReference getSslPolicyReferenceResource() { return sslPolicyReferenceResource; } + /** + * Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy`. \`{targetSslProxy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,64 +278,102 @@ public Builder mergeFrom(SetSslPolicyTargetSslProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -321,19 +388,39 @@ public Builder setSslPolicyReferenceResource(SslPolicyReference sslPolicyReferen return this; } + /** + * Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy`. \`{targetSslProxy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy`. \`{targetSslProxy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java index 595dc10969e0..da6eb3f0a080 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setTags`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** A set of instance tags. */ public Tags getTagsResource() { return tagsResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,149 @@ public Builder mergeFrom(SetTagsInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setTags`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setTags`. \`{instance}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** A set of instance tags. */ public Tags getTagsResource() { return tagsResource; } + /** A set of instance tags. */ public Builder setTagsResource(Tags tagsResource) { this.tagsResource = tagsResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java index faf29660a5cc..8b51caab99ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,6 +186,7 @@ public TargetReference getTargetReferenceResource() { return targetReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetTargetForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` + * must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), + * dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or + * percent * signs (\`%\`). It must be between 3 and 255 characters in length, and it * + * must not start with \`"goog"\`. + */ public Builder setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,10 +410,12 @@ public Builder setTargetReferenceResource(TargetReference targetReferenceResourc return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java index 3b8d9a67b432..8d6fe9bd975c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,6 +186,7 @@ public TargetReference getTargetReferenceResource() { return targetReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetTargetGlobalForwardingRuleHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,10 +410,12 @@ public Builder setTargetReferenceResource(TargetReference targetReferenceResourc return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java index 59ce338c558b..f2135f55f611 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java @@ -129,18 +129,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } @@ -150,22 +161,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersSetTargetPoolsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -257,37 +285,59 @@ public Builder mergeFrom(SetTargetPoolsInstanceGroupManagerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -306,46 +356,80 @@ public Builder setInstanceGroupManagersSetTargetPoolsRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java index 69b16dc13f5d..3c8ba772bcae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java @@ -127,30 +127,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -160,10 +174,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersSetTargetPoolsRequestResource; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -256,64 +284,92 @@ public Builder mergeFrom(SetTargetPoolsRegionInstanceGroupManagerHttpRequest oth this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public String getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), + * numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes + * (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters + * in length, and it * must not start with \`"goog"\`. + */ public Builder setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -332,19 +388,47 @@ public Builder setRegionInstanceGroupManagersSetTargetPoolsRequestResource( return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java index 971207fe1b1d..3a68c775b9d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpProxy to set a URL map for. It must have the format + * `{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap`. \`{targetHttpProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpProxy() { return targetHttpProxy; } @@ -159,6 +186,7 @@ public UrlMapReference getUrlMapReferenceResource() { return urlMapReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetUrlMapTargetHttpProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpProxy to set a URL map for. It must have the format + * `{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap`. \`{targetHttpProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getTargetHttpProxy() { return targetHttpProxy; } + /** + * Name of the TargetHttpProxy to set a URL map for. It must have the format + * `{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap`. \`{targetHttpProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setTargetHttpProxy(String targetHttpProxy) { this.targetHttpProxy = targetHttpProxy; return this; @@ -328,10 +410,12 @@ public Builder setUrlMapReferenceResource(UrlMapReference urlMapReferenceResourc return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java index 5d3834a4423d..36da810c0143 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java @@ -123,34 +123,61 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpsProxy resource whose URL map is to be set. It must have the format + * `{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap`. \`{targetHttpsProxy}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } @@ -159,6 +186,7 @@ public UrlMapReference getUrlMapReferenceResource() { return urlMapReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetUrlMapTargetHttpsProxyHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpsProxy resource whose URL map is to be set. It must have the format + * `{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap`. \`{targetHttpsProxy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource whose URL map is to be set. It must have the format + * `{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap`. \`{targetHttpsProxy}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; return this; @@ -328,10 +410,12 @@ public Builder setUrlMapReferenceResource(UrlMapReference urlMapReferenceResourc return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java index 5cf6bd3bcde0..ee1f4785e0a2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java @@ -124,42 +124,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/setUsageExportBucket`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, and + * it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name + * and report_name prefix. + */ public UsageExportLocation getUsageExportLocationResource() { return usageExportLocationResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -248,91 +279,153 @@ public Builder mergeFrom(SetUsageExportBucketProjectHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** + * Project ID for this request. It must have the format `{project}/setUsageExportBucket`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public String getProject() { return project; } + /** + * Project ID for this request. It must have the format `{project}/setUsageExportBucket`. + * \`{project}\` must start with a letter, and contain only letters (\`[A-Za-z]\`), numbers + * (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus + * (\`+\`) or percent * signs (\`%\`). It must be between 3 and 255 characters in length, + * and it * must not start with \`"goog"\`. + */ public Builder setProject(String project) { this.project = project; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * The location in Cloud Storage and naming method of the daily usage report. Contains + * bucket_name and report_name prefix. + */ public UsageExportLocation getUsageExportLocationResource() { return usageExportLocationResource; } + /** + * The location in Cloud Storage and naming method of the daily usage report. Contains + * bucket_name and report_name prefix. + */ public Builder setUsageExportLocationResource(UsageExportLocation usageExportLocationResource) { this.usageExportLocationResource = usageExportLocationResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java index 21c07b195bf4..c8cff4f19d93 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public final class SignedUrlKey implements ApiMessage { private final String keyName; private final String keyValue; @@ -61,10 +62,21 @@ public List getFieldMask() { return null; } + /** + * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, + * the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getKeyName() { return keyName; } + /** + * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 + * base64url encoded string. + */ public String getKeyValue() { return keyValue; } @@ -113,19 +125,41 @@ public Builder mergeFrom(SignedUrlKey other) { this.keyValue = source.keyValue; } + /** + * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getKeyName() { return keyName; } + /** + * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setKeyName(String keyName) { this.keyName = keyName; return this; } + /** + * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 + * base64url encoded string. + */ public String getKeyValue() { return keyValue; } + /** + * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 + * base64url encoded string. + */ public Builder setKeyValue(String keyValue) { this.keyValue = keyValue; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java index 82828f961102..1fea1cb71364 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent`. \`{instance}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(SimulateMaintenanceEventInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent`. \`{instance}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent`. \`{instance}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java index 38e136280aa6..549b9e8bb2e0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public final class Snapshot implements ApiMessage { private final String creationTimestamp; private final String description; @@ -177,74 +181,148 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] Size of the snapshot, specified in GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. */ public String getKind() { return kind; } + /** + * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a snapshot. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label + * values may be empty. + */ public Map getLabelsMap() { return labels; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public List getLicenseCodesList() { return licenseCodes; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public List getLicensesList() { return licenses; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Encrypts the snapshot using a customer-supplied encryption key. + * + *

After you encrypt a snapshot using a customer-supplied key, you must provide the same key if + * you use the image later For example, you must provide the encryption key when you create a disk + * from the encrypted snapshot in a future request. + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the snapshot, then the snapshot will + * be encrypted using an automatically generated key and you do not need to provide a key to use + * the snapshot later. + */ public CustomerEncryptionKey getSnapshotEncryptionKey() { return snapshotEncryptionKey; } + /** [Output Only] The source disk used to create this snapshot. */ public String getSourceDisk() { return sourceDisk; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * [Output Only] The ID value of the disk used to create this snapshot. This value may be used to + * determine whether the snapshot was taken from the current or a previous instance of a given + * disk name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or + * UPLOADING. + */ public String getStatus() { return status; } + /** + * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this + * number is expected to change with snapshot creation/deletion. + */ public String getStorageBytes() { return storageBytes; } + /** + * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as + * a result of shared storage reallocation. This status can either be UPDATING, meaning the size + * of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is + * up-to-date. + */ public String getStorageBytesStatus() { return storageBytesStatus; } @@ -373,73 +451,125 @@ public Builder mergeFrom(Snapshot other) { this.storageBytesStatus = source.storageBytesStatus; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] Size of the snapshot, specified in GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** [Output Only] Size of the snapshot, specified in GB. */ public Builder setDiskSizeGb(String diskSizeGb) { this.diskSizeGb = diskSizeGb; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of + * the labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a snapshot. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of + * the labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a snapshot. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** + * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label + * values may be empty. + */ public Map getLabelsMap() { return labels; } + /** + * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label + * values may be empty. + */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public List getLicenseCodesList() { return licenseCodes; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public Builder addAllLicenseCodes(List licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -448,6 +578,9 @@ public Builder addAllLicenseCodes(List licenseCodes) { return this; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public Builder addLicenseCodes(String licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -456,10 +589,18 @@ public Builder addLicenseCodes(String licenseCodes) { return this; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public List getLicensesList() { return licenses; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -468,6 +609,10 @@ public Builder addAllLicenses(List licenses) { return this; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -476,82 +621,172 @@ public Builder addLicenses(String licenses) { return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Encrypts the snapshot using a customer-supplied encryption key. + * + *

After you encrypt a snapshot using a customer-supplied key, you must provide the same key + * if you use the image later For example, you must provide the encryption key when you create a + * disk from the encrypted snapshot in a future request. + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the snapshot, then the snapshot will + * be encrypted using an automatically generated key and you do not need to provide a key to use + * the snapshot later. + */ public CustomerEncryptionKey getSnapshotEncryptionKey() { return snapshotEncryptionKey; } + /** + * Encrypts the snapshot using a customer-supplied encryption key. + * + *

After you encrypt a snapshot using a customer-supplied key, you must provide the same key + * if you use the image later For example, you must provide the encryption key when you create a + * disk from the encrypted snapshot in a future request. + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the snapshot, then the snapshot will + * be encrypted using an automatically generated key and you do not need to provide a key to use + * the snapshot later. + */ public Builder setSnapshotEncryptionKey(CustomerEncryptionKey snapshotEncryptionKey) { this.snapshotEncryptionKey = snapshotEncryptionKey; return this; } + /** [Output Only] The source disk used to create this snapshot. */ public String getSourceDisk() { return sourceDisk; } + /** [Output Only] The source disk used to create this snapshot. */ public Builder setSourceDisk(String sourceDisk) { this.sourceDisk = sourceDisk; return this; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public Builder setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey) { this.sourceDiskEncryptionKey = sourceDiskEncryptionKey; return this; } + /** + * [Output Only] The ID value of the disk used to create this snapshot. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given disk name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * [Output Only] The ID value of the disk used to create this snapshot. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given disk name. + */ public Builder setSourceDiskId(String sourceDiskId) { this.sourceDiskId = sourceDiskId; return this; } + /** + * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or + * UPLOADING. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or + * UPLOADING. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this + * number is expected to change with snapshot creation/deletion. + */ public String getStorageBytes() { return storageBytes; } + /** + * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this + * number is expected to change with snapshot creation/deletion. + */ public Builder setStorageBytes(String storageBytes) { this.storageBytes = storageBytes; return this; } + /** + * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted + * as a result of shared storage reallocation. This status can either be UPDATING, meaning the + * size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is + * up-to-date. + */ public String getStorageBytesStatus() { return storageBytesStatus; } + /** + * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted + * as a result of shared storage reallocation. This status can either be UPDATING, meaning the + * size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is + * up-to-date. + */ public Builder setStorageBytesStatus(String storageBytesStatus) { this.storageBytesStatus = storageBytesStatus; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java index 3523e66f2b14..a50f2be0f10f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Snapshot resources. */ public final class SnapshotList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Snapshot resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(SnapshotList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Snapshot resources. */ public List getItemsList() { return items; } + /** A list of Snapshot resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Snapshot resources. */ public Builder addItems(Snapshot items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Snapshot items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java index fe9d23596f28..156c7f88d2d0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A specification of the parameters to use when creating the instance template from a source + * instance. + */ public final class SourceInstanceParams implements ApiMessage { private final List diskConfigs; @@ -56,6 +60,11 @@ public List getFieldMask() { return null; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public List getDiskConfigsList() { return diskConfigs; } @@ -99,10 +108,20 @@ public Builder mergeFrom(SourceInstanceParams other) { this.diskConfigs = source.diskConfigs; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public List getDiskConfigsList() { return diskConfigs; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public Builder addAllDiskConfigs(List diskConfigs) { if (this.diskConfigs == null) { this.diskConfigs = new LinkedList<>(); @@ -111,6 +130,11 @@ public Builder addAllDiskConfigs(List diskConfigs) { return this; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public Builder addDiskConfigs(DiskInstantiationConfig diskConfigs) { if (this.diskConfigs == null) { this.diskConfigs = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java index 9eb223041f76..8e81f108e837 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public final class SslCertificate implements ApiMessage { private final String certificate; private final String creationTimestamp; @@ -105,34 +110,55 @@ public List getFieldMask() { return null; } + /** + * A local certificate file. The certificate must be in PEM format. The certificate chain must be + * no greater than 5 certs long. The chain must include at least one intermediate cert. + */ public String getCertificate() { return certificate; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** A write-only private key in PEM format. Only insert requests will include this field. */ public String getPrivateKey() { return privateKey; } + /** [Output only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -211,73 +237,117 @@ public Builder mergeFrom(SslCertificate other) { this.selfLink = source.selfLink; } + /** + * A local certificate file. The certificate must be in PEM format. The certificate chain must + * be no greater than 5 certs long. The chain must include at least one intermediate cert. + */ public String getCertificate() { return certificate; } + /** + * A local certificate file. The certificate must be in PEM format. The certificate chain must + * be no greater than 5 certs long. The chain must include at least one intermediate cert. + */ public Builder setCertificate(String certificate) { this.certificate = certificate; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** A write-only private key in PEM format. Only insert requests will include this field. */ public String getPrivateKey() { return privateKey; } + /** A write-only private key in PEM format. Only insert requests will include this field. */ public Builder setPrivateKey(String privateKey) { this.privateKey = privateKey; return this; } + /** [Output only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java index 6283a40a63db..0d2e88b6218e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of SslCertificate resources. */ public final class SslCertificateList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of SslCertificate resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(SslCertificateList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of SslCertificate resources. */ public List getItemsList() { return items; } + /** A list of SslCertificate resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of SslCertificate resources. */ public Builder addItems(SslCertificate items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(SslCertificate items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java index 4848073275f0..266759eb2bd2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java @@ -92,26 +92,39 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of SslPolicy resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +193,23 @@ public Builder mergeFrom(SslPoliciesList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of SslPolicy resources. */ public List getItemsList() { return items; } + /** A list of SslPolicy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +218,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of SslPolicy resources. */ public Builder addItems(SslPolicy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +227,59 @@ public Builder addItems(SslPolicy items) { return this; } + /** + * [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java index 76f908da46cb..b0dd1e3af528 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or + * SSL proxy load balancer. They do not affect the connection between the load balancers and the + * backends. + */ public final class SslPolicy implements ApiMessage { private final String creationTimestamp; private final List customFeatures; @@ -134,50 +140,93 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set of + * features that can be specified in this list. This field must be empty if the profile is not + * CUSTOM. + */ public List getCustomFeaturesList() { return customFeatures; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] The list of features enabled in the SSL policy. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date + * fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an SslPolicy. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. */ public String getKind() { return kind; } + /** + * The minimum version of SSL protocol that can be used by the clients to establish a connection + * with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + */ public String getMinTlsVersion() { return minTlsVersion; } + /** + * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Profile specifies the set of SSL features that can be used by the load balancer when + * negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If + * using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. + */ public String getProfile() { return profile; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field will + * be populated with warning messages. + */ public List getWarningsList() { return warnings; } @@ -276,19 +325,31 @@ public Builder mergeFrom(SslPolicy other) { this.warnings = source.warnings; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set + * of features that can be specified in this list. This field must be empty if the profile is + * not CUSTOM. + */ public List getCustomFeaturesList() { return customFeatures; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set + * of features that can be specified in this list. This field must be empty if the profile is + * not CUSTOM. + */ public Builder addAllCustomFeatures(List customFeatures) { if (this.customFeatures == null) { this.customFeatures = new LinkedList<>(); @@ -297,6 +358,11 @@ public Builder addAllCustomFeatures(List customFeatures) { return this; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set + * of features that can be specified in this list. This field must be empty if the profile is + * not CUSTOM. + */ public Builder addCustomFeatures(String customFeatures) { if (this.customFeatures == null) { this.customFeatures = new LinkedList<>(); @@ -305,19 +371,27 @@ public Builder addCustomFeatures(String customFeatures) { return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The list of features enabled in the SSL policy. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** [Output Only] The list of features enabled in the SSL policy. */ public Builder addAllEnabledFeatures(List enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -326,6 +400,7 @@ public Builder addAllEnabledFeatures(List enabledFeatures) { return this; } + /** [Output Only] The list of features enabled in the SSL policy. */ public Builder addEnabledFeatures(String enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -334,73 +409,143 @@ public Builder addEnabledFeatures(String enabledFeatures) { return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a SslPolicy. An + * up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an SslPolicy. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a SslPolicy. An + * up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an SslPolicy. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. */ public String getKind() { return kind; } + /** [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The minimum version of SSL protocol that can be used by the clients to establish a connection + * with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + */ public String getMinTlsVersion() { return minTlsVersion; } + /** + * The minimum version of SSL protocol that can be used by the clients to establish a connection + * with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + */ public Builder setMinTlsVersion(String minTlsVersion) { this.minTlsVersion = minTlsVersion; return this; } + /** + * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Profile specifies the set of SSL features that can be used by the load balancer when + * negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. + * If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures + * field. + */ public String getProfile() { return profile; } + /** + * Profile specifies the set of SSL features that can be used by the load balancer when + * negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. + * If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures + * field. + */ public Builder setProfile(String profile) { this.profile = profile; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field + * will be populated with warning messages. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field + * will be populated with warning messages. + */ public Builder addAllWarnings(List warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -409,6 +554,10 @@ public Builder addAllWarnings(List warnings) { return this; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field + * will be populated with warning messages. + */ public Builder addWarnings(Warnings warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java index 688b26fa69bb..6715641012da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy + * associated with the target proxy resource. + */ public String getSslPolicy() { return sslPolicy; } @@ -98,10 +102,18 @@ public Builder mergeFrom(SslPolicyReference other) { this.sslPolicy = source.sslPolicy; } + /** + * URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy + * associated with the target proxy resource. + */ public String getSslPolicy() { return sslPolicy; } + /** + * URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy + * associated with the target proxy resource. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java index 6c94effd09f2..e1e927763652 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java @@ -116,38 +116,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/start`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,138 @@ public Builder mergeFrom(StartInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/start`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/start`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java index 9ba13efab1a8..e0a5778e9e8b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java @@ -125,18 +125,29 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } @@ -146,22 +157,39 @@ public String getInstance() { return instancesStartWithEncryptionKeyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -252,37 +280,59 @@ public Builder mergeFrom(StartWithEncryptionKeyInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey`. \`{instance}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey`. \`{instance}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; @@ -300,46 +350,80 @@ public Builder setInstancesStartWithEncryptionKeyRequestResource( return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java index 77598eafd8ad..4621f5447480 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java @@ -119,38 +119,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the instance resource to stop. It must have the format + * `{project}/zones/{zone}/instances/{instance}/stop`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -234,82 +261,138 @@ public Builder mergeFrom(StopInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the instance resource to stop. It must have the format + * `{project}/zones/{zone}/instances/{instance}/stop`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * Name of the instance resource to stop. It must have the format + * `{project}/zones/{zone}/instances/{instance}/stop`. \`{instance}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java index 003609079253..6ac7fb7d7a4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java @@ -25,6 +25,9 @@ @Generated("by GAPIC") @BetaApi +/** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks ==) + */ public final class Subnetwork implements ApiMessage { private final String creationTimestamp; private final String description; @@ -148,58 +151,117 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + * This field can be set only at resource creation time. + */ public String getDescription() { return description; } + /** + * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it + * will not appear in get listings. If not set the default behavior is to disable flow logging. + */ public Boolean getEnableFlowLogs() { return enableFlowLogs; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date + * fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a Subnetwork. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The gateway address for default routes to reach destination addresses outside + * this subnetwork. + */ public String getGatewayAddress() { return gatewayAddress; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * The range of internal addresses that are owned by this subnetwork. Provide this property when + * you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and + * non-overlapping within a network. Only IPv4 is supported. This field can be set only at + * resource creation time. + */ public String getIpCidrRange() { return ipCidrRange; } + /** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */ public String getKind() { return kind; } + /** + * The name of the resource, provided by the client when initially creating the resource. The name + * must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 + * characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means + * the first character must be a lowercase letter, and all following characters must be a dash, + * lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The URL of the network to which this subnetwork belongs, provided by the client when initially + * creating the subnetwork. Only networks that are in the distributed mode can have subnetworks. + * This field can be set only at resource creation time. + */ public String getNetwork() { return network; } + /** + * Whether the VMs in this subnet can access Google services without assigned external IP + * addresses. This field can be both set at resource creation time and updated using + * setPrivateIpGoogleAccess. + */ public Boolean getPrivateIpGoogleAccess() { return privateIpGoogleAccess; } + /** + * URL of the region where the Subnetwork resides. This field can be set only at resource creation + * time. + */ public String getRegion() { return region; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. + * The alias IPs may belong to either primary or secondary ranges. This field can be updated with + * a patch request. + */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -308,118 +370,236 @@ public Builder mergeFrom(Subnetwork other) { this.selfLink = source.selfLink; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + * This field can be set only at resource creation time. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + * This field can be set only at resource creation time. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it + * will not appear in get listings. If not set the default behavior is to disable flow logging. + */ public Boolean getEnableFlowLogs() { return enableFlowLogs; } + /** + * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it + * will not appear in get listings. If not set the default behavior is to disable flow logging. + */ public Builder setEnableFlowLogs(Boolean enableFlowLogs) { this.enableFlowLogs = enableFlowLogs; return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a Subnetwork. An + * up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a Subnetwork. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a Subnetwork. An + * up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a Subnetwork. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] The gateway address for default routes to reach destination addresses outside + * this subnetwork. + */ public String getGatewayAddress() { return gatewayAddress; } + /** + * [Output Only] The gateway address for default routes to reach destination addresses outside + * this subnetwork. + */ public Builder setGatewayAddress(String gatewayAddress) { this.gatewayAddress = gatewayAddress; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * The range of internal addresses that are owned by this subnetwork. Provide this property when + * you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique + * and non-overlapping within a network. Only IPv4 is supported. This field can be set only at + * resource creation time. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The range of internal addresses that are owned by this subnetwork. Provide this property when + * you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique + * and non-overlapping within a network. Only IPv4 is supported. This field can be set only at + * resource creation time. + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be + * 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which + * means the first character must be a lowercase letter, and all following characters must be a + * dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be + * 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which + * means the first character must be a lowercase letter, and all following characters must be a + * dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The URL of the network to which this subnetwork belongs, provided by the client when + * initially creating the subnetwork. Only networks that are in the distributed mode can have + * subnetworks. This field can be set only at resource creation time. + */ public String getNetwork() { return network; } + /** + * The URL of the network to which this subnetwork belongs, provided by the client when + * initially creating the subnetwork. Only networks that are in the distributed mode can have + * subnetworks. This field can be set only at resource creation time. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * Whether the VMs in this subnet can access Google services without assigned external IP + * addresses. This field can be both set at resource creation time and updated using + * setPrivateIpGoogleAccess. + */ public Boolean getPrivateIpGoogleAccess() { return privateIpGoogleAccess; } + /** + * Whether the VMs in this subnet can access Google services without assigned external IP + * addresses. This field can be both set at resource creation time and updated using + * setPrivateIpGoogleAccess. + */ public Builder setPrivateIpGoogleAccess(Boolean privateIpGoogleAccess) { this.privateIpGoogleAccess = privateIpGoogleAccess; return this; } + /** + * URL of the region where the Subnetwork resides. This field can be set only at resource + * creation time. + */ public String getRegion() { return region; } + /** + * URL of the region where the Subnetwork resides. This field can be set only at resource + * creation time. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the + * subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be + * updated with a patch request. + */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the + * subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be + * updated with a patch request. + */ public Builder addAllSecondaryIpRanges(List secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -428,6 +608,12 @@ public Builder addAllSecondaryIpRanges(List secondaryI return this; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the + * subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be + * updated with a patch request. + */ public Builder addSecondaryIpRanges(SubnetworkSecondaryRange secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -436,10 +622,12 @@ public Builder addSecondaryIpRanges(SubnetworkSecondaryRange secondaryIpRanges) return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java index 73ce4a7e89ee..4e0be8fa1d13 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of SubnetworksScopedList resources. The key for the map is: Name of the scope containing + * this set of Subnetworks. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of + * subnetworks. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(SubnetworkAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of SubnetworksScopedList resources. The key for the map is: Name of the scope + * containing this set of Subnetworks. + */ public Map getItemsMap() { return items; } + /** + * A list of SubnetworksScopedList resources. The key for the map is: Name of the scope + * containing this set of Subnetworks. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists + * of subnetworks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists + * of subnetworks. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java index 89e06da80520..51a669c35cf6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Subnetwork resources. */ public final class SubnetworkList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Subnetwork resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(SubnetworkList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Subnetwork resources. */ public List getItemsList() { return items; } + /** A list of Subnetwork resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Subnetwork resources. */ public Builder addItems(Subnetwork items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Subnetwork items) { return this; } + /** [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java index 13f028e619d5..fd3a6db61764 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a secondary IP range of a subnetwork. */ public final class SubnetworkSecondaryRange implements ApiMessage { private final String ipCidrRange; private final String rangeName; @@ -61,10 +62,20 @@ public List getFieldMask() { return null; } + /** + * The range of IP addresses belonging to this subnetwork secondary range. Provide this property + * when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and + * secondary IP ranges within a network. Only IPv4 is supported. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range to + * a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be + * unique within the subnetwork. + */ public String getRangeName() { return rangeName; } @@ -113,19 +124,39 @@ public Builder mergeFrom(SubnetworkSecondaryRange other) { this.rangeName = source.rangeName; } + /** + * The range of IP addresses belonging to this subnetwork secondary range. Provide this property + * when you create the subnetwork. Ranges must be unique and non-overlapping with all primary + * and secondary IP ranges within a network. Only IPv4 is supported. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The range of IP addresses belonging to this subnetwork secondary range. Provide this property + * when you create the subnetwork. Ranges must be unique and non-overlapping with all primary + * and secondary IP ranges within a network. Only IPv4 is supported. + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public String getRangeName() { return rangeName; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public Builder setRangeName(String rangeName) { this.rangeName = rangeName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java index 58fa7fc53762..ea8c096803b5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java @@ -55,6 +55,11 @@ public List getFieldMask() { return null; } + /** + * The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. + * This range should be disjoint from other subnetworks within this network. This range can only + * be larger than (i.e. a superset of) the range previously defined before the update. + */ public String getIpCidrRange() { return ipCidrRange; } @@ -98,10 +103,20 @@ public Builder mergeFrom(SubnetworksExpandIpCidrRangeRequest other) { this.ipCidrRange = source.ipCidrRange; } + /** + * The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. + * This range should be disjoint from other subnetworks within this network. This range can only + * be larger than (i.e. a superset of) the range previously defined before the update. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. + * This range should be disjoint from other subnetworks within this network. This range can only + * be larger than (i.e. a superset of) the range previously defined before the update. + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java index b9678cddbb84..1bd6de1e9408 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of subnetworks contained in this scope. */ public List getSubnetworksList() { return subnetworks; } + /** An informational warning that appears when the list of addresses is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(SubnetworksScopedList other) { this.warning = source.warning; } + /** A list of subnetworks contained in this scope. */ public List getSubnetworksList() { return subnetworks; } + /** A list of subnetworks contained in this scope. */ public Builder addAllSubnetworks(List subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllSubnetworks(List subnetworks) { return this; } + /** A list of subnetworks contained in this scope. */ public Builder addSubnetworks(Subnetwork subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addSubnetworks(Subnetwork subnetworks) { return this; } + /** An informational warning that appears when the list of addresses is empty. */ public Warning getWarning() { return warning; } + /** An informational warning that appears when the list of addresses is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java index 7b107a367f29..edc9361097e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to be updated. It must have the format + * `{project}/global/networks/{network}/switchToCustomMode`. \`{network}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNetwork() { return network; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(SwitchToCustomModeNetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Name of the network to be updated. It must have the format + * `{project}/global/networks/{network}/switchToCustomMode`. \`{network}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getNetwork() { return network; } + /** + * Name of the network to be updated. It must have the format + * `{project}/global/networks/{network}/switchToCustomMode`. \`{network}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java index c79defaeb292..bee57d1c62da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java @@ -80,22 +80,43 @@ public List getFieldMask() { return null; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The application data to send once the TCP connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -159,46 +180,88 @@ public Builder mergeFrom(TCPHealthCheck other) { this.response = source.response; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** + * The application data to send once the TCP connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The application data to send once the TCP connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public Builder setRequest(String request) { this.request = request; return this; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java index 9a7405e3973c..8f2587b4ca25 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A set of instance tags. */ public final class Tags implements ApiMessage { private final String fingerprint; private final List items; @@ -62,10 +63,19 @@ public List getFieldMask() { return null; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and + * used for optimistic locking. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update tags. You must always provide an up-to-date + * fingerprint hash in order to update or change tags. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getFingerprint() { return fingerprint; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public List getItemsList() { return items; } @@ -114,19 +124,37 @@ public Builder mergeFrom(Tags other) { this.items = source.items; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the tags' contents + * and used for optimistic locking. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update tags. You must always provide an up-to-date + * fingerprint hash in order to update or change tags. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getFingerprint() { return fingerprint; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the tags' contents + * and used for optimistic locking. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update tags. You must always provide an up-to-date + * fingerprint hash in order to update or change tags. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public List getItemsList() { return items; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -135,6 +163,7 @@ public Builder addAllItems(List items) { return this; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public Builder addItems(String items) { if (this.items == null) { this.items = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java index 73b125982218..a8c4c6111ac7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public final class TargetHttpProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -98,30 +102,47 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** URL to the UrlMap resource that defines the mapping from URL to the BackendService. */ public String getUrlMap() { return urlMap; } @@ -195,64 +216,100 @@ public Builder mergeFrom(TargetHttpProxy other) { this.urlMap = source.urlMap; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** URL to the UrlMap resource that defines the mapping from URL to the BackendService. */ public String getUrlMap() { return urlMap; } + /** URL to the UrlMap resource that defines the mapping from URL to the BackendService. */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java index 64d51c809d53..f740aeaa77e4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of TargetHttpProxy resources. */ public final class TargetHttpProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetHttpProxy resources. */ public List getItemsList() { return items; } + /** Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetHttpProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetHttpProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetHttpProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetHttpProxy resources. */ public Builder addItems(TargetHttpProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetHttpProxy items) { return this; } + /** Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. */ public String getKind() { return kind; } + /** Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java index d26ad0e5e39d..81681218f414 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** QUIC policy for the TargetHttpsProxy resource. */ public String getQuicOverride() { return quicOverride; } @@ -98,10 +99,12 @@ public Builder mergeFrom(TargetHttpsProxiesSetQuicOverrideRequest other) { this.quicOverride = source.quicOverride; } + /** QUIC policy for the TargetHttpsProxy resource. */ public String getQuicOverride() { return quicOverride; } + /** QUIC policy for the TargetHttpsProxy resource. */ public Builder setQuicOverride(String quicOverride) { this.quicOverride = quicOverride; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java index 3bcdd751018b..1b87add9f987 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. Currently + * exactly one SslCertificate resource must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } @@ -99,10 +103,18 @@ public Builder mergeFrom(TargetHttpsProxiesSetSslCertificatesRequest other) { this.sslCertificates = source.sslCertificates; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. + * Currently exactly one SslCertificate resource must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. + * Currently exactly one SslCertificate resource must be specified. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. + * Currently exactly one SslCertificate resource must be specified. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java index 97c0e50225bf..d5b2a6a4a3af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public final class TargetHttpsProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -120,42 +124,81 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Specifies the QUIC override policy for this TargetHttpsProxy resource. This determines whether + * the load balancer will attempt to negotiate QUIC with clients or not. Can specify one of NONE, + * ENABLE, or DISABLE. Specify ENABLE to always enable QUIC, Enables QUIC when set to ENABLE, and + * disables QUIC when set to DISABLE. If NONE is specified, uses the QUIC policy with no user + * overrides, which is equivalent to DISABLE. Not specifying this field is equivalent to + * specifying NONE. + */ public String getQuicOverride() { return quicOverride; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not + * set, the TargetHttpsProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } + /** + * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL + * to the BackendService. For example, the following are all valid URLs for specifying a URL map: + * - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map - + * projects/project/global/urlMaps/url-map - global/urlMaps/url-map + */ public String getUrlMap() { return urlMap; } @@ -244,73 +287,133 @@ public Builder mergeFrom(TargetHttpsProxy other) { this.urlMap = source.urlMap; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the QUIC override policy for this TargetHttpsProxy resource. This determines + * whether the load balancer will attempt to negotiate QUIC with clients or not. Can specify one + * of NONE, ENABLE, or DISABLE. Specify ENABLE to always enable QUIC, Enables QUIC when set to + * ENABLE, and disables QUIC when set to DISABLE. If NONE is specified, uses the QUIC policy + * with no user overrides, which is equivalent to DISABLE. Not specifying this field is + * equivalent to specifying NONE. + */ public String getQuicOverride() { return quicOverride; } + /** + * Specifies the QUIC override policy for this TargetHttpsProxy resource. This determines + * whether the load balancer will attempt to negotiate QUIC with clients or not. Can specify one + * of NONE, ENABLE, or DISABLE. Specify ENABLE to always enable QUIC, Enables QUIC when set to + * ENABLE, and disables QUIC when set to DISABLE. If NONE is specified, uses the QUIC policy + * with no user overrides, which is equivalent to DISABLE. Not specifying this field is + * equivalent to specifying NONE. + */ public Builder setQuicOverride(String quicOverride) { this.quicOverride = quicOverride; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -319,6 +422,11 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -327,19 +435,39 @@ public Builder addSslCertificates(String sslCertificates) { return this; } + /** + * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not + * set, the TargetHttpsProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } + /** + * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not + * set, the TargetHttpsProxy resource will not have any SSL policy configured. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; } + /** + * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from + * URL to the BackendService. For example, the following are all valid URLs for specifying a URL + * map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map - + * projects/project/global/urlMaps/url-map - global/urlMaps/url-map + */ public String getUrlMap() { return urlMap; } + /** + * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from + * URL to the BackendService. For example, the following are all valid URLs for specifying a URL + * map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map - + * projects/project/global/urlMaps/url-map - global/urlMaps/url-map + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java index bba3606b6105..af7fd231ebbe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetHttpsProxy resources. */ public final class TargetHttpsProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetHttpsProxy resources. */ public List getItemsList() { return items; } + /** Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetHttpsProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetHttpsProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetHttpsProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetHttpsProxy resources. */ public Builder addItems(TargetHttpsProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetHttpsProxy items) { return this; } + /** Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. */ public String getKind() { return kind; } + /** Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java index 934643559cf5..f05f5d687da4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of + * certain protocols. (== resource_for beta.targetInstances ==) (== resource_for v1.targetInstances + * ==) + */ public final class TargetInstance implements ApiMessage { private final String creationTimestamp; private final String description; @@ -112,38 +117,69 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * A URL to the virtual machine instance that handles traffic for this target instance. When + * creating a target instance, you can provide the fully-qualified URL or a valid partial URL to + * the desired virtual machine. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getInstance() { return instance; } + /** [Output Only] The type of the resource. Always compute#targetInstance for target instances. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default + * value) is supported. + */ public String getNatPolicy() { return natPolicy; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] URL of the zone where the target instance resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -227,82 +263,150 @@ public Builder mergeFrom(TargetInstance other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * A URL to the virtual machine instance that handles traffic for this target instance. When + * creating a target instance, you can provide the fully-qualified URL or a valid partial URL to + * the desired virtual machine. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getInstance() { return instance; } + /** + * A URL to the virtual machine instance that handles traffic for this target instance. When + * creating a target instance, you can provide the fully-qualified URL or a valid partial URL to + * the desired virtual machine. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** + * [Output Only] The type of the resource. Always compute#targetInstance for target instances. + */ public String getKind() { return kind; } + /** + * [Output Only] The type of the resource. Always compute#targetInstance for target instances. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default + * value) is supported. + */ public String getNatPolicy() { return natPolicy; } + /** + * NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default + * value) is supported. + */ public Builder setNatPolicy(String natPolicy) { this.natPolicy = natPolicy; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] URL of the zone where the target instance resides. You must specify this field + * as part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the target instance resides. You must specify this field + * as part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java index 4133db4b9797..aeb09d95d5d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of TargetInstance resources. The key for the map is: Name of the scope containing this + * set of target instances. + */ public Map getItemsMap() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(TargetInstanceAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of TargetInstance resources. The key for the map is: Name of the scope containing this + * set of target instances. + */ public Map getItemsMap() { return items; } + /** + * A list of TargetInstance resources. The key for the map is: Name of the scope containing this + * set of target instances. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java index b53e053f8083..f6e3ccdd3403 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetInstance resources. */ public final class TargetInstanceList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetInstance resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetInstanceList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetInstance resources. */ public List getItemsList() { return items; } + /** A list of TargetInstance resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetInstance resources. */ public Builder addItems(TargetInstance items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetInstance items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java index bb62b3f360cd..55bf21d0c043 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of target instances contained in this scope. */ public List getTargetInstancesList() { return targetInstances; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(TargetInstancesScopedList other) { this.warning = source.warning; } + /** A list of target instances contained in this scope. */ public List getTargetInstancesList() { return targetInstances; } + /** A list of target instances contained in this scope. */ public Builder addAllTargetInstances(List targetInstances) { if (this.targetInstances == null) { this.targetInstances = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllTargetInstances(List targetInstances) { return this; } + /** A list of target instances contained in this scope. */ public Builder addTargetInstances(TargetInstance targetInstances) { if (this.targetInstances == null) { this.targetInstances = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addTargetInstances(TargetInstance targetInstances) { return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java index 7a5152cf2672..cf13b5c6881a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck + * resource, and the fallback target pool. (== resource_for beta.targetPools ==) (== resource_for + * v1.targetPools ==) + */ public final class TargetPool implements ApiMessage { private final String backupPool; private final String creationTimestamp; @@ -134,50 +139,111 @@ public List getFieldMask() { return null; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. + * + *

backupPool and failoverRatio together define the fallback behavior of the primary target + * pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, + * traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio and backupPool are not set, or all the instances in the backup + * pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, + * where traffic will be spread to the healthy instances with the best effort, or to all instances + * when no instance is healthy. + */ public String getBackupPool() { return backupPool; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool (i.e., not as a backup pool to some other target pool). The value of the field + * must be in [0, 1]. + * + *

If set, backupPool must also be set. They together define the fallback behavior of the + * primary target pool: if the ratio of the healthy instances in the primary pool is at or below + * this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio is not set or all the instances in the backup pool are + * unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where + * traffic will be spread to the healthy instances with the best effort, or to all instances when + * no instance is healthy. + */ public Float getFailoverRatio() { return failoverRatio; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may + * be specified. + */ public List getHealthChecksList() { return healthChecks; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public List getInstancesList() { return instances; } + /** [Output Only] Type of the resource. Always compute#targetPool for target pools. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] URL of the region where the target pool resides. */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Session affinity option, must be one of the following values: NONE: Connections from the same + * client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP + * will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: + * Connections from the same client IP with the same IP protocol will go to the same instance in + * the pool while that instance remains healthy. + */ public String getSessionAffinity() { return sessionAffinity; } @@ -276,46 +342,120 @@ public Builder mergeFrom(TargetPool other) { this.sessionAffinity = source.sessionAffinity; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. + * + *

backupPool and failoverRatio together define the fallback behavior of the primary target + * pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, + * traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio and backupPool are not set, or all the instances in the backup + * pool are unhealthy, the traffic will be directed back to the primary pool in the "force" + * mode, where traffic will be spread to the healthy instances with the best effort, or to all + * instances when no instance is healthy. + */ public String getBackupPool() { return backupPool; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. + * + *

backupPool and failoverRatio together define the fallback behavior of the primary target + * pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, + * traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio and backupPool are not set, or all the instances in the backup + * pool are unhealthy, the traffic will be directed back to the primary pool in the "force" + * mode, where traffic will be spread to the healthy instances with the best effort, or to all + * instances when no instance is healthy. + */ public Builder setBackupPool(String backupPool) { this.backupPool = backupPool; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool (i.e., not as a backup pool to some other target pool). The value of the + * field must be in [0, 1]. + * + *

If set, backupPool must also be set. They together define the fallback behavior of the + * primary target pool: if the ratio of the healthy instances in the primary pool is at or below + * this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio is not set or all the instances in the backup pool are + * unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where + * traffic will be spread to the healthy instances with the best effort, or to all instances + * when no instance is healthy. + */ public Float getFailoverRatio() { return failoverRatio; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool (i.e., not as a backup pool to some other target pool). The value of the + * field must be in [0, 1]. + * + *

If set, backupPool must also be set. They together define the fallback behavior of the + * primary target pool: if the ratio of the healthy instances in the primary pool is at or below + * this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio is not set or all the instances in the backup pool are + * unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where + * traffic will be spread to the healthy instances with the best effort, or to all instances + * when no instance is healthy. + */ public Builder setFailoverRatio(Float failoverRatio) { this.failoverRatio = failoverRatio; return this; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check + * may be specified. + */ public List getHealthChecksList() { return healthChecks; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check + * may be specified. + */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -324,6 +464,12 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check + * may be specified. + */ public Builder addHealthChecks(String healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -332,19 +478,35 @@ public Builder addHealthChecks(String healthChecks) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public List getInstancesList() { return instances; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -353,6 +515,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -361,46 +527,80 @@ public Builder addInstances(String instances) { return this; } + /** [Output Only] Type of the resource. Always compute#targetPool for target pools. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#targetPool for target pools. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] URL of the region where the target pool resides. */ public String getRegion() { return region; } + /** [Output Only] URL of the region where the target pool resides. */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Session affinity option, must be one of the following values: NONE: Connections from the same + * client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP + * will go to the same instance in the pool while that instance remains healthy. + * CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the + * same instance in the pool while that instance remains healthy. + */ public String getSessionAffinity() { return sessionAffinity; } + /** + * Session affinity option, must be one of the following values: NONE: Connections from the same + * client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP + * will go to the same instance in the pool while that instance remains healthy. + * CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the + * same instance in the pool while that instance remains healthy. + */ public Builder setSessionAffinity(String sessionAffinity) { this.sessionAffinity = sessionAffinity; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java index 5e146d4c3b61..e4e6d8d8528c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of TargetPool resources. The key for the map is: Name of the scope containing this set + * of target pools. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of + * target pools. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(TargetPoolAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of TargetPool resources. The key for the map is: Name of the scope containing this set + * of target pools. + */ public Map getItemsMap() { return items; } + /** + * A list of TargetPool resources. The key for the map is: Name of the scope containing this set + * of target pools. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists + * of target pools. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists + * of target pools. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java index 0a430e6d8bf7..b98cba266d4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java @@ -66,6 +66,10 @@ public List getHealthStatusList() { return healthStatus; } + /** + * [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the + * health of an instance. + */ public String getKind() { return kind; } @@ -134,10 +138,18 @@ public Builder addHealthStatus(HealthStatus healthStatus) { return this; } + /** + * [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the + * health of an instance. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the + * health of an instance. + */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java index 378a8d20d22f..097fe92b2924 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetPool resources. */ public final class TargetPoolList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetPool resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetPoolList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetPool resources. */ public List getItemsList() { return items; } + /** A list of TargetPool resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetPool resources. */ public Builder addItems(TargetPool items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetPool items) { return this; } + /** [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java index ec9a38554792..accd5bd6148c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** The HttpHealthCheck to add to the target pool. */ public List getHealthChecksList() { return healthChecks; } @@ -99,10 +100,12 @@ public Builder mergeFrom(TargetPoolsAddHealthCheckRequest other) { this.healthChecks = source.healthChecks; } + /** The HttpHealthCheck to add to the target pool. */ public List getHealthChecksList() { return healthChecks; } + /** The HttpHealthCheck to add to the target pool. */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** The HttpHealthCheck to add to the target pool. */ public Builder addHealthChecks(HealthCheckReference healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java index ccbce2450c6e..e38651937d90 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java @@ -56,6 +56,12 @@ public List getFieldMask() { return null; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or partial + * URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name - + * projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public List getInstancesList() { return instances; } @@ -99,10 +105,22 @@ public Builder mergeFrom(TargetPoolsAddInstanceRequest other) { this.instances = source.instances; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or + * partial URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name + * - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public List getInstancesList() { return instances; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or + * partial URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name + * - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +129,12 @@ public Builder addAllInstances(List instances) { return this; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or + * partial URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name + * - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java index 9fe4947ec969..a61ed57ed771 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java @@ -56,6 +56,12 @@ public List getFieldMask() { return null; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check - + * projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check + */ public List getHealthChecksList() { return healthChecks; } @@ -99,10 +105,24 @@ public Builder mergeFrom(TargetPoolsRemoveHealthCheckRequest other) { this.healthChecks = source.healthChecks; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check + * - projects/project/global/httpHealthChecks/health-check - + * global/httpHealthChecks/health-check + */ public List getHealthChecksList() { return healthChecks; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check + * - projects/project/global/httpHealthChecks/health-check - + * global/httpHealthChecks/health-check + */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -111,6 +131,13 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check + * - projects/project/global/httpHealthChecks/health-check - + * global/httpHealthChecks/health-check + */ public Builder addHealthChecks(HealthCheckReference healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java index 0a68a6ed779a..23044bfb085e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** URLs of the instances to be removed from target pool. */ public List getInstancesList() { return instances; } @@ -99,10 +100,12 @@ public Builder mergeFrom(TargetPoolsRemoveInstanceRequest other) { this.instances = source.instances; } + /** URLs of the instances to be removed from target pool. */ public List getInstancesList() { return instances; } + /** URLs of the instances to be removed from target pool. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllInstances(List instances) { return this; } + /** URLs of the instances to be removed from target pool. */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java index 935c558b5c06..ba0117ae7bf0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of target pools contained in this scope. */ public List getTargetPoolsList() { return targetPools; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(TargetPoolsScopedList other) { this.warning = source.warning; } + /** A list of target pools contained in this scope. */ public List getTargetPoolsList() { return targetPools; } + /** A list of target pools contained in this scope. */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** A list of target pools contained in this scope. */ public Builder addTargetPools(TargetPool targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addTargetPools(TargetPool targetPools) { return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java index c6aafa137509..daaf953d1eb9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The URL of the new BackendService resource for the targetSslProxy. */ public String getService() { return service; } @@ -98,10 +99,12 @@ public Builder mergeFrom(TargetSslProxiesSetBackendServiceRequest other) { this.service = source.service; } + /** The URL of the new BackendService resource for the targetSslProxy. */ public String getService() { return service; } + /** The URL of the new BackendService resource for the targetSslProxy. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java index 87975d5af8c8..589229c6c1eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are + * allowed. + */ public String getProxyHeader() { return proxyHeader; } @@ -98,10 +102,18 @@ public Builder mergeFrom(TargetSslProxiesSetProxyHeaderRequest other) { this.proxyHeader = source.proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java index f8f0e4a95dc8..5ed2e986ae98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } @@ -99,10 +103,18 @@ public Builder mergeFrom(TargetSslProxiesSetSslCertificatesRequest other) { this.sslCertificates = source.sslCertificates; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java index 57079782b4a2..436148c7ff33 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public final class TargetSslProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -120,42 +124,72 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** URL to the BackendService resource. */ public String getService() { return service; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, + * the TargetSslProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } @@ -244,82 +278,136 @@ public Builder mergeFrom(TargetSslProxy other) { this.sslPolicy = source.sslPolicy; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** URL to the BackendService resource. */ public String getService() { return service; } + /** URL to the BackendService resource. */ public Builder setService(String service) { this.service = service; return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -328,6 +416,11 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -336,10 +429,18 @@ public Builder addSslCertificates(String sslCertificates) { return this; } + /** + * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not + * set, the TargetSslProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } + /** + * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not + * set, the TargetSslProxy resource will not have any SSL policy configured. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java index 3a858dce69b1..7513e0e3fee0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetSslProxy resources. */ public final class TargetSslProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetSslProxy resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetSslProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetSslProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetSslProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetSslProxy resources. */ public Builder addItems(TargetSslProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetSslProxy items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java index 1411095e9dcf..bcb77cf781ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The URL of the new BackendService resource for the targetTcpProxy. */ public String getService() { return service; } @@ -98,10 +99,12 @@ public Builder mergeFrom(TargetTcpProxiesSetBackendServiceRequest other) { this.service = source.service; } + /** The URL of the new BackendService resource for the targetTcpProxy. */ public String getService() { return service; } + /** The URL of the new BackendService resource for the targetTcpProxy. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java index 45897e36da21..d653593a2f3d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are + * allowed. + */ public String getProxyHeader() { return proxyHeader; } @@ -98,10 +102,18 @@ public Builder mergeFrom(TargetTcpProxiesSetProxyHeaderRequest other) { this.proxyHeader = source.proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java index d9008fc2a744..167ef59a0e0a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public final class TargetTcpProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -105,34 +109,55 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** URL to the BackendService resource. */ public String getService() { return service; } @@ -211,73 +236,117 @@ public Builder mergeFrom(TargetTcpProxy other) { this.service = source.service; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** URL to the BackendService resource. */ public String getService() { return service; } + /** URL to the BackendService resource. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java index 36b676bf85e8..628df3b9f178 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetTcpProxy resources. */ public final class TargetTcpProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetTcpProxy resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetTcpProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetTcpProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetTcpProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetTcpProxy resources. */ public Builder addItems(TargetTcpProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetTcpProxy items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java index f066e462c212..3d9c26a146f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public final class TargetVpnGateway implements ApiMessage { private final String creationTimestamp; private final String description; @@ -127,46 +131,79 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using + * compute.forwardingRules.insert and associated to a VPN gateway. + */ public List getForwardingRulesList() { return forwardingRules; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN + * gateway is created. + */ public String getNetwork() { return network; } + /** + * [Output Only] URL of the region where the target VPN gateway resides. You must specify this + * field as part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The status of the VPN gateway. */ public String getStatus() { return status; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public List getTunnelsList() { return tunnels; } @@ -260,28 +297,44 @@ public Builder mergeFrom(TargetVpnGateway other) { this.tunnels = source.tunnels; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created + * using compute.forwardingRules.insert and associated to a VPN gateway. + */ public List getForwardingRulesList() { return forwardingRules; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created + * using compute.forwardingRules.insert and associated to a VPN gateway. + */ public Builder addAllForwardingRules(List forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -290,6 +343,10 @@ public Builder addAllForwardingRules(List forwardingRules) { return this; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created + * using compute.forwardingRules.insert and associated to a VPN gateway. + */ public Builder addForwardingRules(String forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -298,73 +355,125 @@ public Builder addForwardingRules(String forwardingRules) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN + * gateway is created. + */ public String getNetwork() { return network; } + /** + * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN + * gateway is created. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * [Output Only] URL of the region where the target VPN gateway resides. You must specify this + * field as part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the target VPN gateway resides. You must specify this + * field as part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The status of the VPN gateway. */ public String getStatus() { return status; } + /** [Output Only] The status of the VPN gateway. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public List getTunnelsList() { return tunnels; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public Builder addAllTunnels(List tunnels) { if (this.tunnels == null) { this.tunnels = new LinkedList<>(); @@ -373,6 +482,10 @@ public Builder addAllTunnels(List tunnels) { return this; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public Builder addTunnels(String tunnels) { if (this.tunnels == null) { this.tunnels = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java index 25855bea964e..b8180cb0d238 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of TargetVpnGateway resources. The key for the map is: [Output Only] Name of the scope + * containing this set of target VPN gateways. + */ public Map getItemsMap() { return items; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(TargetVpnGatewayAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of TargetVpnGateway resources. The key for the map is: [Output Only] Name of the scope + * containing this set of target VPN gateways. + */ public Map getItemsMap() { return items; } + /** + * A list of TargetVpnGateway resources. The key for the map is: [Output Only] Name of the scope + * containing this set of target VPN gateways. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java index fbbb626a28a5..94d7335f948a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetVpnGateway resources. */ public final class TargetVpnGatewayList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetVpnGateway resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetVpnGatewayList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetVpnGateway resources. */ public List getItemsList() { return items; } + /** A list of TargetVpnGateway resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetVpnGateway resources. */ public Builder addItems(TargetVpnGateway items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetVpnGateway items) { return this; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java index b8c376d6dc9d..e73c87b5ffd9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public List getTargetVpnGatewaysList() { return targetVpnGateways; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(TargetVpnGatewaysScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public List getTargetVpnGatewaysList() { return targetVpnGateways; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public Builder addAllTargetVpnGateways(List targetVpnGateways) { if (this.targetVpnGateways == null) { this.targetVpnGateways = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllTargetVpnGateways(List targetVpnGateways) return this; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public Builder addTargetVpnGateways(TargetVpnGateway targetVpnGateways) { if (this.targetVpnGateways == null) { this.targetVpnGateways = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addTargetVpnGateways(TargetVpnGateway targetVpnGateways) { return this; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java index 27e222c494b1..d0e2b502596e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/testIamPermissions`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/testIamPermissions`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java index 5a95f59e0cc6..484a84ed091e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsImageHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java index 18f8dbd025b0..07977dddd621 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java index d2b2e628d070..e398c09367be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsInstanceTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java index e78ea523c2b0..04e5ee8069ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenseCodes/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsLicenseCodeHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenseCodes/{resource}/testIamPermissions`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenseCodes/{resource}/testIamPermissions`. \`{resource}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java index c56335305e36..842bbdf0a929 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsLicenseHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java index 3370a1859f52..05a4c8badc1d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsNodeGroupHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java index e0e867c2c64d..cb17db86e787 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsNodeTemplateHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java index 88b3c4008df4..035899c61f78 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsRegionDiskHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/testIamPermissions`. \`{resource}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java index 3d2d38eee5db..1c80d2afc3d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsSnapshotHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/testIamPermissions`. \`{resource}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java index 71caa8254329..7709ccf60ca7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/testIamPermissions`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsSubnetworkHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/testIamPermissions`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/testIamPermissions`. \`{resource}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java index 475355b7a7b6..210486e2605e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' + * or 'storage.*') are not allowed. + */ public List getPermissionsList() { return permissions; } @@ -99,10 +103,18 @@ public Builder mergeFrom(TestPermissionsRequest other) { this.permissions = source.permissions; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as + * '*' or 'storage.*') are not allowed. + */ public List getPermissionsList() { return permissions; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as + * '*' or 'storage.*') are not allowed. + */ public Builder addAllPermissions(List permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllPermissions(List permissions) { return this; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as + * '*' or 'storage.*') are not allowed. + */ public Builder addPermissions(String permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java index 270011665c85..bde487829b35 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public List getPermissionsList() { return permissions; } @@ -99,10 +100,12 @@ public Builder mergeFrom(TestPermissionsResponse other) { this.permissions = source.permissions; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public List getPermissionsList() { return permissions; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public Builder addAllPermissions(List permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllPermissions(List permissions) { return this; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public Builder addPermissions(String permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java index 9c785944ecaa..41e3876fae66 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java @@ -131,46 +131,79 @@ public List getFieldMask() { return null; } + /** + * An access configuration attached to an instance's network interface. Only one access config per + * instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateAccessConfig`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface where the access config is attached. */ public String getNetworkInterface() { return networkInterface; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,100 +297,166 @@ public Builder mergeFrom(UpdateAccessConfigInstanceHttpRequest other) { this.userIp = source.userIp; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public Builder setAccessConfigResource(AccessConfig accessConfigResource) { this.accessConfigResource = accessConfigResource; return this; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateAccessConfig`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateAccessConfig`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** The name of the network interface where the access config is attached. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface where the access config is attached. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java index fa85d9a893ae..15d3516dd5d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java @@ -132,18 +132,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -152,30 +162,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } @@ -274,37 +309,57 @@ public Builder mergeFrom(UpdateAutoscalerHttpRequest other) { this.zone = source.zone; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to update. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -330,64 +385,114 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java index 6506eca1462f..bd4b602e7967 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java @@ -125,18 +125,29 @@ public BackendBucket getApiMessageRequestBody() { return backendBucketResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to update. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -145,26 +156,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,37 +287,59 @@ public Builder mergeFrom(UpdateBackendBucketHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendBucket resource to update. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to update. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public Builder setBackendBucketResource(BackendBucket backendBucketResource) { this.backendBucketResource = backendBucketResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -314,55 +365,91 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java index d1044c35f33b..007f312e1a50 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java @@ -127,18 +127,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -147,26 +162,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -260,37 +293,67 @@ public Builder mergeFrom(UpdateBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -316,55 +379,91 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java index a941faaf745f..040f1657370e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java @@ -126,10 +126,12 @@ public Firewall getApiMessageRequestBody() { return firewallResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -138,34 +140,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the firewall rule to update. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +287,23 @@ public Builder mergeFrom(UpdateFirewallHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -297,73 +329,125 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the firewall rule to update. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getFirewall() { return firewall; } + /** + * Name of the firewall rule to update. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setFirewall(String firewall) { this.firewall = firewall; return this; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** Represents a Firewall resource. */ public Builder setFirewallResource(Firewall firewallResource) { this.firewallResource = firewallResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java index 8943b12d0575..8c8ae8dca00d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java @@ -125,10 +125,12 @@ public HealthCheck getApiMessageRequestBody() { return healthCheckResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HealthCheck resource to update. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +289,23 @@ public Builder mergeFrom(UpdateHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +331,133 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HealthCheck resource to update. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to update. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` must start with a letter, + * and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public Builder setHealthCheckResource(HealthCheck healthCheckResource) { this.healthCheckResource = healthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java index 907a35c9e1c5..da949df175af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java @@ -125,10 +125,12 @@ public HttpHealthCheck2 getApiMessageRequestBody() { return httpHealthCheckResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpHealthCheck resource to update. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with a + * letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +290,23 @@ public Builder mergeFrom(UpdateHttpHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +332,133 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpHealthCheck resource to update. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to update. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public Builder setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; return this; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public Builder setHttpHealthCheckResource(HttpHealthCheck2 httpHealthCheckResource) { this.httpHealthCheckResource = httpHealthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java index 687086e43570..0bb77a9f7e71 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java @@ -125,10 +125,12 @@ public HttpsHealthCheck2 getApiMessageRequestBody() { return httpsHealthCheckResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpsHealthCheck resource to update. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start with + * a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * + * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +290,23 @@ public Builder mergeFrom(UpdateHttpsHealthCheckHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +332,133 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * Name of the HttpsHealthCheck resource to update. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public String getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to update. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ public Builder setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; return this; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public Builder setHttpsHealthCheckResource(HttpsHealthCheck2 httpsHealthCheckResource) { this.httpsHealthCheckResource = httpsHealthCheckResource; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java index adf2a8ddbadc..ffe9803d9643 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java @@ -132,10 +132,12 @@ public NetworkInterface getApiMessageRequestBody() { return networkInterfaceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -144,38 +146,66 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateNetworkInterface`. \`{instance}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface to update. */ public String getNetworkInterface() { return networkInterface; } + /** A network interface resource attached to an instance. */ public NetworkInterface getNetworkInterfaceResource() { return networkInterfaceResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -274,19 +304,23 @@ public Builder mergeFrom(UpdateNetworkInterfaceInstanceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -312,82 +346,138 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateNetworkInterface`. \`{instance}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateNetworkInterface`. \`{instance}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** The name of the network interface to update. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface to update. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; return this; } + /** A network interface resource attached to an instance. */ public NetworkInterface getNetworkInterfaceResource() { return networkInterfaceResource; } + /** A network interface resource attached to an instance. */ public Builder setNetworkInterfaceResource(NetworkInterface networkInterfaceResource) { this.networkInterfaceResource = networkInterfaceResource; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java index dfbad8583603..666fa7e37831 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java @@ -132,18 +132,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -152,30 +162,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -274,37 +309,57 @@ public Builder mergeFrom(UpdateRegionAutoscalerHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to update. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -330,64 +385,114 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` must start with a letter, and contain + * only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java index a0fbd5a162ff..ce5091451489 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java @@ -127,18 +127,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -147,26 +162,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -260,37 +293,67 @@ public Builder mergeFrom(UpdateRegionBackendServiceHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public String getBackendService() { return backendService; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` must + * start with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes + * (\`-\`), * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent + * * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not + * start with \`"goog"\`. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -316,55 +379,91 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java index 30b61794acf4..fa79404f37ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java @@ -125,10 +125,12 @@ public Router getApiMessageRequestBody() { return routerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Router resource to update. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +286,23 @@ public Builder mergeFrom(UpdateRouterHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +328,125 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Router resource to update. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getRouter() { return router; } + /** + * Name of the Router resource to update. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java index 26e44eef3764..04a934da33b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java @@ -125,10 +125,12 @@ public UrlMap getApiMessageRequestBody() { return urlMapResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -137,34 +139,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap resource to update. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), periods + * (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be between 3 and + * 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +289,23 @@ public Builder mergeFrom(UpdateUrlMapHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; @@ -296,73 +331,131 @@ public Builder addFieldMask(String fieldMask) { return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * 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. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap resource to update. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to update. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` must start with a letter, and contain only + * letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores (\`_\`), + * periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must be + * between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public Builder setUrlMapResource(UrlMap urlMapResource) { this.urlMapResource = urlMapResource; return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java index 815ab029df18..5a74dbac3845 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public final class UrlMap implements ApiMessage { private final String creationTimestamp; private final String defaultService; @@ -127,46 +131,85 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * The full or partial URL of the defaultService resource to which traffic is directed if none of + * the hostRules match. If defaultRouteAction is additionally specified, advanced routing actions + * like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if + * defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. + * Conversely, if routeAction specifies any weightedBackendServices, service must not be + * specified. Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. + */ public String getDefaultService() { return defaultService; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date + * fingerprint must be provided in order to update the UrlMap, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a UrlMap. + */ public String getFingerprint() { return fingerprint; } + /** The list of HostRules to use against the URL. */ public List getHostRulesList() { return hostRules; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#urlMaps for url maps. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The list of named PathMatchers to use against the URL. */ public List getPathMatchersList() { return pathMatchers; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if all + * of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public List getTestsList() { return tests; } @@ -260,46 +303,90 @@ public Builder mergeFrom(UrlMap other) { this.tests = source.tests; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * The full or partial URL of the defaultService resource to which traffic is directed if none + * of the hostRules match. If defaultRouteAction is additionally specified, advanced routing + * actions like URL Rewrites, etc. take effect prior to sending the request to the backend. + * However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, + * service must not be specified. Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. + */ public String getDefaultService() { return defaultService; } + /** + * The full or partial URL of the defaultService resource to which traffic is directed if none + * of the hostRules match. If defaultRouteAction is additionally specified, advanced routing + * actions like URL Rewrites, etc. take effect prior to sending the request to the backend. + * However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, + * service must not be specified. Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. + */ public Builder setDefaultService(String defaultService) { this.defaultService = defaultService; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date + * fingerprint must be provided in order to update the UrlMap, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a UrlMap. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date + * fingerprint must be provided in order to update the UrlMap, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a UrlMap. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** The list of HostRules to use against the URL. */ public List getHostRulesList() { return hostRules; } + /** The list of HostRules to use against the URL. */ public Builder addAllHostRules(List hostRules) { if (this.hostRules == null) { this.hostRules = new LinkedList<>(); @@ -308,6 +395,7 @@ public Builder addAllHostRules(List hostRules) { return this; } + /** The list of HostRules to use against the URL. */ public Builder addHostRules(HostRule hostRules) { if (this.hostRules == null) { this.hostRules = new LinkedList<>(); @@ -316,37 +404,63 @@ public Builder addHostRules(HostRule hostRules) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#urlMaps for url maps. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#urlMaps for url maps. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The list of named PathMatchers to use against the URL. */ public List getPathMatchersList() { return pathMatchers; } + /** The list of named PathMatchers to use against the URL. */ public Builder addAllPathMatchers(List pathMatchers) { if (this.pathMatchers == null) { this.pathMatchers = new LinkedList<>(); @@ -355,6 +469,7 @@ public Builder addAllPathMatchers(List pathMatchers) { return this; } + /** The list of named PathMatchers to use against the URL. */ public Builder addPathMatchers(PathMatcher pathMatchers) { if (this.pathMatchers == null) { this.pathMatchers = new LinkedList<>(); @@ -363,19 +478,29 @@ public Builder addPathMatchers(PathMatcher pathMatchers) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if + * all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public List getTestsList() { return tests; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if + * all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public Builder addAllTests(List tests) { if (this.tests == null) { this.tests = new LinkedList<>(); @@ -384,6 +509,10 @@ public Builder addAllTests(List tests) { return this; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if + * all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public Builder addTests(UrlMapTest tests) { if (this.tests == null) { this.tests = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java index 078bfe21f64c..3644cd829565 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of UrlMap resources. */ public final class UrlMapList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of UrlMap resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(UrlMapList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of UrlMap resources. */ public List getItemsList() { return items; } + /** A list of UrlMap resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of UrlMap resources. */ public Builder addItems(UrlMap items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(UrlMap items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java index 860e64d16f91..705671a1e7d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Message for the expected URL mappings. */ public final class UrlMapTest implements ApiMessage { private final String description; private final String host; @@ -73,18 +74,22 @@ public List getFieldMask() { return null; } + /** Description of this test case. */ public String getDescription() { return description; } + /** Host portion of the URL. */ public String getHost() { return host; } + /** Path portion of the URL. */ public String getPath() { return path; } + /** Expected BackendService resource the given URL should be mapped to. */ public String getService() { return service; } @@ -143,37 +148,45 @@ public Builder mergeFrom(UrlMapTest other) { this.service = source.service; } + /** Description of this test case. */ public String getDescription() { return description; } + /** Description of this test case. */ public Builder setDescription(String description) { this.description = description; return this; } + /** Host portion of the URL. */ public String getHost() { return host; } + /** Host portion of the URL. */ public Builder setHost(String host) { this.host = host; return this; } + /** Path portion of the URL. */ public String getPath() { return path; } + /** Path portion of the URL. */ public Builder setPath(String path) { this.path = path; return this; } + /** Expected BackendService resource the given URL should be mapped to. */ public String getService() { return service; } + /** Expected BackendService resource the given URL should be mapped to. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java index 223486366667..b1f4d2fe3cd7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message representing the validation result for a UrlMap. */ public final class UrlMapValidationResult implements ApiMessage { private final List loadErrors; private final Boolean loadSucceeded; @@ -82,6 +83,10 @@ public List getLoadErrorsList() { return loadErrors; } + /** + * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the + * reasons. + */ public Boolean getLoadSucceeded() { return loadSucceeded; } @@ -90,6 +95,10 @@ public List getTestFailuresList() { return testFailures; } + /** + * If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's + * indicate the reason of failure. + */ public Boolean getTestPassed() { return testPassed; } @@ -168,10 +177,18 @@ public Builder addLoadErrors(String loadErrors) { return this; } + /** + * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the + * reasons. + */ public Boolean getLoadSucceeded() { return loadSucceeded; } + /** + * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the + * reasons. + */ public Builder setLoadSucceeded(Boolean loadSucceeded) { this.loadSucceeded = loadSucceeded; return this; @@ -197,10 +214,18 @@ public Builder addTestFailures(TestFailure testFailures) { return this; } + /** + * If successfully loaded, this field indicates whether the test passed. If false, + * 'testFailures's indicate the reason of failure. + */ public Boolean getTestPassed() { return testPassed; } + /** + * If successfully loaded, this field indicates whether the test passed. If false, + * 'testFailures's indicate the reason of failure. + */ public Builder setTestPassed(Boolean testPassed) { this.testPassed = testPassed; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java index 0737be7bbc10..071191bc515e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Content of the UrlMap to be validated. */ public UrlMap getResource() { return resource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(UrlMapsValidateRequest other) { this.resource = source.resource; } + /** Content of the UrlMap to be validated. */ public UrlMap getResource() { return resource; } + /** Content of the UrlMap to be validated. */ public Builder setResource(UrlMap resource) { this.resource = resource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java index a5f733943a9d..c4a185f6845f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Subnetwork which the current user has compute.subnetworks.use permission on. */ public final class UsableSubnetwork implements ApiMessage { private final String ipCidrRange; private final String network; @@ -78,18 +79,22 @@ public List getFieldMask() { return null; } + /** The range of internal addresses that are owned by this subnetwork. */ public String getIpCidrRange() { return ipCidrRange; } + /** Network URL. */ public String getNetwork() { return network; } + /** Secondary IP ranges. */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** Subnetwork URL. */ public String getSubnetwork() { return subnetwork; } @@ -148,28 +153,34 @@ public Builder mergeFrom(UsableSubnetwork other) { this.subnetwork = source.subnetwork; } + /** The range of internal addresses that are owned by this subnetwork. */ public String getIpCidrRange() { return ipCidrRange; } + /** The range of internal addresses that are owned by this subnetwork. */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** Network URL. */ public String getNetwork() { return network; } + /** Network URL. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** Secondary IP ranges. */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** Secondary IP ranges. */ public Builder addAllSecondaryIpRanges(List secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -178,6 +189,7 @@ public Builder addAllSecondaryIpRanges(List seco return this; } + /** Secondary IP ranges. */ public Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -186,10 +198,12 @@ public Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange secondaryIpRa return this; } + /** Subnetwork URL. */ public String getSubnetwork() { return subnetwork; } + /** Subnetwork URL. */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java index 9d2701a10d0f..2ec77f6f5d0c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Secondary IP range of a usable subnetwork. */ public final class UsableSubnetworkSecondaryRange implements ApiMessage { private final String ipCidrRange; private final String rangeName; @@ -61,10 +62,16 @@ public List getFieldMask() { return null; } + /** The range of IP addresses belonging to this subnetwork secondary range. */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range to + * a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be + * unique within the subnetwork. + */ public String getRangeName() { return rangeName; } @@ -113,19 +120,31 @@ public Builder mergeFrom(UsableSubnetworkSecondaryRange other) { this.rangeName = source.rangeName; } + /** The range of IP addresses belonging to this subnetwork secondary range. */ public String getIpCidrRange() { return ipCidrRange; } + /** The range of IP addresses belonging to this subnetwork secondary range. */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public String getRangeName() { return rangeName; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public Builder setRangeName(String rangeName) { this.rangeName = rangeName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java index 5b21b4e4b913..a13f79ebe830 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java @@ -92,26 +92,42 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output] A list of usable subnetwork URLs. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated + * lists of usable subnetworks. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +196,29 @@ public Builder mergeFrom(UsableSubnetworksAggregatedList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output] A list of usable subnetwork URLs. */ public List getItemsList() { return items; } + /** [Output] A list of usable subnetwork URLs. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +227,7 @@ public Builder addAllItems(List items) { return this; } + /** [Output] A list of usable subnetwork URLs. */ public Builder addItems(UsableSubnetwork items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +236,61 @@ public Builder addItems(UsableSubnetwork items) { return this; } + /** + * [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated + * lists of usable subnetworks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated + * lists of usable subnetworks. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java index 10d5c03109a7..8039d9e656a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name + * and report_name prefix. + */ public final class UsageExportLocation implements ApiMessage { private final String bucketName; private final String reportNamePrefix; @@ -61,10 +65,22 @@ public List getFieldMask() { return null; } + /** + * The name of an existing bucket in Cloud Storage where the usage report object is stored. The + * Google Service Account is granted write access to this bucket. This can either be the bucket + * name by itself, such as example-bucket, or the bucket name with gs:// or + * https://storage.googleapis.com/ in front of it, such as gs://example-bucket. + */ public String getBucketName() { return bucketName; } + /** + * An optional prefix for the name of the usage report object stored in bucketName. If not + * supplied, defaults to usage. The report is stored as a CSV file named + * report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific + * Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions. + */ public String getReportNamePrefix() { return reportNamePrefix; } @@ -113,19 +129,45 @@ public Builder mergeFrom(UsageExportLocation other) { this.reportNamePrefix = source.reportNamePrefix; } + /** + * The name of an existing bucket in Cloud Storage where the usage report object is stored. The + * Google Service Account is granted write access to this bucket. This can either be the bucket + * name by itself, such as example-bucket, or the bucket name with gs:// or + * https://storage.googleapis.com/ in front of it, such as gs://example-bucket. + */ public String getBucketName() { return bucketName; } + /** + * The name of an existing bucket in Cloud Storage where the usage report object is stored. The + * Google Service Account is granted write access to this bucket. This can either be the bucket + * name by itself, such as example-bucket, or the bucket name with gs:// or + * https://storage.googleapis.com/ in front of it, such as gs://example-bucket. + */ public Builder setBucketName(String bucketName) { this.bucketName = bucketName; return this; } + /** + * An optional prefix for the name of the usage report object stored in bucketName. If not + * supplied, defaults to usage. The report is stored as a CSV file named + * report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to + * Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming + * conventions. + */ public String getReportNamePrefix() { return reportNamePrefix; } + /** + * An optional prefix for the name of the usage report object stored in bucketName. If not + * supplied, defaults to usage. The report is stored as a CSV file named + * report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to + * Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming + * conventions. + */ public Builder setReportNamePrefix(String reportNamePrefix) { this.reportNamePrefix = reportNamePrefix; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java index 2cbced246f9a..8ba680b9c2e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java @@ -117,30 +117,43 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the UrlMap resource to be validated as. It must have the format + * `{project}/global/urlMaps/{urlMap}/validate`. \`{urlMap}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It must + * be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } @@ -149,6 +162,7 @@ public UrlMapsValidateRequest getUrlMapsValidateRequestResource() { return urlMapsValidateRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,64 +246,90 @@ public Builder mergeFrom(ValidateUrlMapHttpRequest other) { this.userIp = source.userIp; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** OAuth 2.0 token for the current user. */ public Builder setAccessToken(String access_token) { this.access_token = access_token; return this; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** Name of the JavaScript callback function that handles the response. */ public Builder setCallback(String callback) { this.callback = callback; return this; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** Selector specifying a subset of fields to include in the response. */ public Builder setFields(String fields) { this.fields = fields; return this; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public Builder setKey(String key) { this.key = key; return this; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Returns response with indentations and line breaks. */ public Builder setPrettyPrint(String prettyPrint) { this.prettyPrint = prettyPrint; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the UrlMap resource to be validated as. It must have the format + * `{project}/global/urlMaps/{urlMap}/validate`. \`{urlMap}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public String getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to be validated as. It must have the format + * `{project}/global/urlMaps/{urlMap}/validate`. \`{urlMap}\` must start with a letter, and + * contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), * underscores + * (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs (\`%\`). It + * must be between 3 and 255 characters in length, and it * must not start with \`"goog"\`. + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; @@ -305,10 +345,12 @@ public Builder setUrlMapsValidateRequestResource( return this; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** IP address of the end user for whom the API call is being made. */ public Builder setUserIp(String userIp) { this.userIp = userIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java index 6a8f4eea0341..35cfd5abffa8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contain information of Nat mapping for a VM endpoint (i.e., NIC). */ public final class VmEndpointNatMappings implements ApiMessage { private final String instanceName; private final List interfaceNatMappings; @@ -63,6 +64,7 @@ public List getFieldMask() { return null; } + /** Name of the VM instance which the endpoint belongs to */ public String getInstanceName() { return instanceName; } @@ -115,10 +117,12 @@ public Builder mergeFrom(VmEndpointNatMappings other) { this.interfaceNatMappings = source.interfaceNatMappings; } + /** Name of the VM instance which the endpoint belongs to */ public String getInstanceName() { return instanceName; } + /** Name of the VM instance which the endpoint belongs to */ public Builder setInstanceName(String instanceName) { this.instanceName = instanceName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java index 99901f4178d3..690919b3182e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contain information of Nat mapping for an interface of this endpoint. */ public final class VmEndpointNatMappingsInterfaceNatMappings implements ApiMessage { private final List natIpPortRanges; private final Integer numTotalNatPorts; @@ -78,18 +79,32 @@ public List getFieldMask() { return null; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public List getNatIpPortRangesList() { return natIpPortRanges; } + /** + * Total number of ports across all NAT IPs allocated to this interface. It equals to the + * aggregated port number in the field nat_ip_port_ranges. + */ public Integer getNumTotalNatPorts() { return numTotalNatPorts; } + /** + * Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: + * "10.33.4.55/32", or "192.168.5.0/24". + */ public String getSourceAliasIpRange() { return sourceAliasIpRange; } + /** Primary IP of the VM for this NIC. */ public String getSourceVirtualIp() { return sourceVirtualIp; } @@ -148,10 +163,20 @@ public Builder mergeFrom(VmEndpointNatMappingsInterfaceNatMappings other) { this.sourceVirtualIp = source.sourceVirtualIp; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public List getNatIpPortRangesList() { return natIpPortRanges; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public Builder addAllNatIpPortRanges(List natIpPortRanges) { if (this.natIpPortRanges == null) { this.natIpPortRanges = new LinkedList<>(); @@ -160,6 +185,11 @@ public Builder addAllNatIpPortRanges(List natIpPortRanges) { return this; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public Builder addNatIpPortRanges(String natIpPortRanges) { if (this.natIpPortRanges == null) { this.natIpPortRanges = new LinkedList<>(); @@ -168,28 +198,46 @@ public Builder addNatIpPortRanges(String natIpPortRanges) { return this; } + /** + * Total number of ports across all NAT IPs allocated to this interface. It equals to the + * aggregated port number in the field nat_ip_port_ranges. + */ public Integer getNumTotalNatPorts() { return numTotalNatPorts; } + /** + * Total number of ports across all NAT IPs allocated to this interface. It equals to the + * aggregated port number in the field nat_ip_port_ranges. + */ public Builder setNumTotalNatPorts(Integer numTotalNatPorts) { this.numTotalNatPorts = numTotalNatPorts; return this; } + /** + * Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. + * Examples: "10.33.4.55/32", or "192.168.5.0/24". + */ public String getSourceAliasIpRange() { return sourceAliasIpRange; } + /** + * Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. + * Examples: "10.33.4.55/32", or "192.168.5.0/24". + */ public Builder setSourceAliasIpRange(String sourceAliasIpRange) { this.sourceAliasIpRange = sourceAliasIpRange; return this; } + /** Primary IP of the VM for this NIC. */ public String getSourceVirtualIp() { return sourceVirtualIp; } + /** Primary IP of the VM for this NIC. */ public Builder setSourceVirtualIp(String sourceVirtualIp) { this.sourceVirtualIp = sourceVirtualIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java index c04fc6fa9e91..26ca707d7f6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of VmEndpointNatMappings. */ public final class VmEndpointNatMappingsList implements ApiMessage { private final String id; private final String kind; @@ -92,26 +93,42 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat + * mappings of VM endpoints. + */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public List getResultList() { return result; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,37 +197,67 @@ public Builder mergeFrom(VmEndpointNatMappingsList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat + * mappings of VM endpoints. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat + * mappings of VM endpoints. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public List getResultList() { return result; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public Builder addAllResult(List result) { if (this.result == null) { this.result = new LinkedList<>(); @@ -219,6 +266,7 @@ public Builder addAllResult(List result) { return this; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public Builder addResult(VmEndpointNatMappings result) { if (this.result == null) { this.result = new LinkedList<>(); @@ -227,19 +275,23 @@ public Builder addResult(VmEndpointNatMappings result) { return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java index 034a1cc1bba2..8ca946aecb99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) */ public final class VpnTunnel implements ApiMessage { private final String creationTimestamp; private final String description; @@ -169,70 +170,117 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] Detailed status message for the VPN tunnel. */ public String getDetailedStatus() { return detailedStatus; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. Acceptable + * IKE versions are 1 or 2. Default version is 2. + */ public Integer getIkeVersion() { return ikeVersion; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The value + * should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. + * Only IPv4 is supported. + */ public List getLocalTrafficSelectorList() { return localTrafficSelector; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** IP address of the peer VPN gateway. Only IPv4 is supported. */ public String getPeerIp() { return peerIp; } + /** + * [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public List getRemoteTrafficSelectorList() { return remoteTrafficSelector; } + /** URL of router resource to be used for dynamic routing. */ public String getRouter() { return router; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN + * gateway. + */ public String getSharedSecret() { return sharedSecret; } + /** Hash of the shared secret. */ public String getSharedSecretHash() { return sharedSecretHash; } + /** [Output Only] The status of the VPN tunnel. */ public String getStatus() { return status; } + /** + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client + * when the VPN tunnel is created. + */ public String getTargetVpnGateway() { return targetVpnGateway; } @@ -356,64 +404,102 @@ public Builder mergeFrom(VpnTunnel other) { this.targetVpnGateway = source.targetVpnGateway; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] Detailed status message for the VPN tunnel. */ public String getDetailedStatus() { return detailedStatus; } + /** [Output Only] Detailed status message for the VPN tunnel. */ public Builder setDetailedStatus(String detailedStatus) { this.detailedStatus = detailedStatus; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. + * Acceptable IKE versions are 1 or 2. Default version is 2. + */ public Integer getIkeVersion() { return ikeVersion; } + /** + * IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. + * Acceptable IKE versions are 1 or 2. Default version is 2. + */ public Builder setIkeVersion(Integer ikeVersion) { this.ikeVersion = ikeVersion; return this; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public List getLocalTrafficSelectorList() { return localTrafficSelector; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addAllLocalTrafficSelector(List localTrafficSelector) { if (this.localTrafficSelector == null) { this.localTrafficSelector = new LinkedList<>(); @@ -422,6 +508,11 @@ public Builder addAllLocalTrafficSelector(List localTrafficSelector) { return this; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addLocalTrafficSelector(String localTrafficSelector) { if (this.localTrafficSelector == null) { this.localTrafficSelector = new LinkedList<>(); @@ -430,37 +521,71 @@ public Builder addLocalTrafficSelector(String localTrafficSelector) { return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** IP address of the peer VPN gateway. Only IPv4 is supported. */ public String getPeerIp() { return peerIp; } + /** IP address of the peer VPN gateway. Only IPv4 is supported. */ public Builder setPeerIp(String peerIp) { this.peerIp = peerIp; return this; } + /** + * [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public List getRemoteTrafficSelectorList() { return remoteTrafficSelector; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addAllRemoteTrafficSelector(List remoteTrafficSelector) { if (this.remoteTrafficSelector == null) { this.remoteTrafficSelector = new LinkedList<>(); @@ -469,6 +594,11 @@ public Builder addAllRemoteTrafficSelector(List remoteTrafficSelector) { return this; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addRemoteTrafficSelector(String remoteTrafficSelector) { if (this.remoteTrafficSelector == null) { this.remoteTrafficSelector = new LinkedList<>(); @@ -477,55 +607,79 @@ public Builder addRemoteTrafficSelector(String remoteTrafficSelector) { return this; } + /** URL of router resource to be used for dynamic routing. */ public String getRouter() { return router; } + /** URL of router resource to be used for dynamic routing. */ public Builder setRouter(String router) { this.router = router; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN + * gateway. + */ public String getSharedSecret() { return sharedSecret; } + /** + * Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN + * gateway. + */ public Builder setSharedSecret(String sharedSecret) { this.sharedSecret = sharedSecret; return this; } + /** Hash of the shared secret. */ public String getSharedSecretHash() { return sharedSecretHash; } + /** Hash of the shared secret. */ public Builder setSharedSecretHash(String sharedSecretHash) { this.sharedSecretHash = sharedSecretHash; return this; } + /** [Output Only] The status of the VPN tunnel. */ public String getStatus() { return status; } + /** [Output Only] The status of the VPN tunnel. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the + * client when the VPN tunnel is created. + */ public String getTargetVpnGateway() { return targetVpnGateway; } + /** + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the + * client when the VPN tunnel is created. + */ public Builder setTargetVpnGateway(String targetVpnGateway) { this.targetVpnGateway = targetVpnGateway; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java index aea8722c0b9d..084d99022a82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of VpnTunnelsScopedList resources. The key for the map is: Name of the scope containing + * this set of vpn tunnels. + */ public Map getItemsMap() { return items; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(VpnTunnelAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of VpnTunnelsScopedList resources. The key for the map is: Name of the scope + * containing this set of vpn tunnels. + */ public Map getItemsMap() { return items; } + /** + * A list of VpnTunnelsScopedList resources. The key for the map is: Name of the scope + * containing this set of vpn tunnels. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java index 961743962bac..d1ca77c5c456 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of VpnTunnel resources. */ public final class VpnTunnelList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of VpnTunnel resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(VpnTunnelList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of VpnTunnel resources. */ public List getItemsList() { return items; } + /** A list of VpnTunnel resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of VpnTunnel resources. */ public Builder addItems(VpnTunnel items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(VpnTunnel items) { return this; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java index e748f4fca7e0..3d317a4cf17d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of vpn tunnels contained in this scope. */ public List getVpnTunnelsList() { return vpnTunnels; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(VpnTunnelsScopedList other) { this.warning = source.warning; } + /** A list of vpn tunnels contained in this scope. */ public List getVpnTunnelsList() { return vpnTunnels; } + /** A list of vpn tunnels contained in this scope. */ public Builder addAllVpnTunnels(List vpnTunnels) { if (this.vpnTunnels == null) { this.vpnTunnels = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllVpnTunnels(List vpnTunnels) { return this; } + /** A list of vpn tunnels contained in this scope. */ public Builder addVpnTunnels(VpnTunnel vpnTunnels) { if (this.vpnTunnels == null) { this.vpnTunnels = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addVpnTunnels(VpnTunnel vpnTunnels) { return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java index 4e773729aa5b..c7c149be2960 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] Informational warning message. */ public final class Warning implements ApiMessage { private final String code; private final List data; @@ -68,14 +69,23 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": + * "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } @@ -129,19 +139,35 @@ public Builder mergeFrom(Warning other) { this.message = source.message; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public Builder setCode(String code) { this.code = code; return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addAllData(List data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -150,6 +176,10 @@ public Builder addAllData(List data) { return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addData(Data data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -158,10 +188,12 @@ public Builder addData(Data data) { return this; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } + /** [Output Only] A human-readable description of the warning code. */ public Builder setMessage(String message) { this.message = message; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java index 8283c2508007..df581ee0424b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * [Output Only] If warning messages are generated during processing of the operation, this field + * will be populated. + */ public final class Warnings implements ApiMessage { private final String code; private final List data; @@ -68,14 +72,23 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": + * "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } @@ -129,19 +142,35 @@ public Builder mergeFrom(Warnings other) { this.message = source.message; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public Builder setCode(String code) { this.code = code; return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addAllData(List data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -150,6 +179,10 @@ public Builder addAllData(List data) { return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addData(Data data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -158,10 +191,12 @@ public Builder addData(Data data) { return this; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } + /** [Output Only] A human-readable description of the warning code. */ public Builder setMessage(String message) { this.message = message; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java index 307089de84bf..2bcc41577b00 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java @@ -92,26 +92,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] A list of shared VPC host project URLs. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +191,23 @@ public Builder mergeFrom(XpnHostList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] A list of shared VPC host project URLs. */ public List getItemsList() { return items; } + /** [Output Only] A list of shared VPC host project URLs. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +216,7 @@ public Builder addAllItems(List items) { return this; } + /** [Output Only] A list of shared VPC host project URLs. */ public Builder addItems(Project items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +225,55 @@ public Builder addItems(Project items) { return this; } + /** [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java index a53a46069cff..d9ca4ed5ff1f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Service resource (a.k.a service project) ID. */ public final class XpnResourceId implements ApiMessage { private final String id; private final String type; @@ -61,10 +62,15 @@ public List getFieldMask() { return null; } + /** + * The ID of the service resource. In the case of projects, this field supports project id (e.g., + * my-project-123) and project number (e.g. 12345678). + */ public String getId() { return id; } + /** The type of the service resource. */ public String getType() { return type; } @@ -113,19 +119,29 @@ public Builder mergeFrom(XpnResourceId other) { this.type = source.type; } + /** + * The ID of the service resource. In the case of projects, this field supports project id + * (e.g., my-project-123) and project number (e.g. 12345678). + */ public String getId() { return id; } + /** + * The ID of the service resource. In the case of projects, this field supports project id + * (e.g., my-project-123) and project number (e.g. 12345678). + */ public Builder setId(String id) { this.id = id; return this; } + /** The type of the service resource. */ public String getType() { return type; } + /** The type of the service resource. */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java index 22e85cd04480..3ad1b2c885ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==) */ public final class Zone implements ApiMessage { private final List availableCpuPlatforms; private final String creationTimestamp; @@ -120,42 +121,54 @@ public List getFieldMask() { return null; } + /** [Output Only] Available cpu/platform selections for the zone. */ public List getAvailableCpuPlatformsList() { return availableCpuPlatforms; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this zone. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#zone for zones. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Full URL reference to the region which hosts the zone. */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Status of the zone, either UP or DOWN. */ public String getStatus() { return status; } @@ -244,10 +257,12 @@ public Builder mergeFrom(Zone other) { this.status = source.status; } + /** [Output Only] Available cpu/platform selections for the zone. */ public List getAvailableCpuPlatformsList() { return availableCpuPlatforms; } + /** [Output Only] Available cpu/platform selections for the zone. */ public Builder addAllAvailableCpuPlatforms(List availableCpuPlatforms) { if (this.availableCpuPlatforms == null) { this.availableCpuPlatforms = new LinkedList<>(); @@ -256,6 +271,7 @@ public Builder addAllAvailableCpuPlatforms(List availableCpuPlatforms) { return this; } + /** [Output Only] Available cpu/platform selections for the zone. */ public Builder addAvailableCpuPlatforms(String availableCpuPlatforms) { if (this.availableCpuPlatforms == null) { this.availableCpuPlatforms = new LinkedList<>(); @@ -264,82 +280,106 @@ public Builder addAvailableCpuPlatforms(String availableCpuPlatforms) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this zone. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this zone. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] Textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#zone for zones. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#zone for zones. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Full URL reference to the region which hosts the zone. */ public String getRegion() { return region; } + /** [Output Only] Full URL reference to the region which hosts the zone. */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Status of the zone, either UP or DOWN. */ public String getStatus() { return status; } + /** [Output Only] Status of the zone, either UP or DOWN. */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java index 2010585f8843..c835d51e1be9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of zone resources. */ public final class ZoneList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Zone resources. */ public List getItemsList() { return items; } + /** Type of resource. */ public String getKind() { return kind; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(ZoneList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Zone resources. */ public List getItemsList() { return items; } + /** A list of Zone resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Zone resources. */ public Builder addItems(Zone items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Zone items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public String getNextPageToken() { return nextPageToken; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java index 3daa8b78eef6..6a9aa18f998a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java @@ -62,10 +62,17 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The + * fingerprint is initially generated by Compute Engine and changes after every request to modify + * or update labels. You must always provide an up-to-date fingerprint hash in order to update or + * change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } @@ -114,19 +121,33 @@ public Builder mergeFrom(ZoneSetLabelsRequest other) { this.labels = source.labels; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } + /** The labels to set for this resource. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java index 98666cba9fef..5b795aa9be4e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java @@ -68,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify + * bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * the etag. + */ public String getEtag() { return etag; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } @@ -129,10 +142,18 @@ public Builder mergeFrom(ZoneSetPolicyRequest other) { this.policy = source.policy; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -141,6 +162,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -149,19 +174,37 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public String getEtag() { return etag; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public Builder setEtag(String etag) { this.etag = etag; return this; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Builder setPolicy(Policy policy) { this.policy = policy; return this; diff --git a/google-cloud-clients/google-cloud-compute/synth.metadata b/google-cloud-clients/google-cloud-compute/synth.metadata index 2cf8b3ea0ebc..615298033e1f 100644 --- a/google-cloud-clients/google-cloud-compute/synth.metadata +++ b/google-cloud-clients/google-cloud-compute/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2019-02-05T08:35:33.921691Z", + "updateTime": "2019-02-07T08:37:03.870551Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "fc085434085ed98073f1cd84d0c8fc1d95c2731d" + "sha": "0f4866cba323464d38b0d5c5a6e9f5bf9cae6595" } }, { "generator": { "name": "artman", - "version": "0.16.9", - "dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3" + "version": "0.16.10", + "dockerImage": "googleapis/artman@sha256:0954ba3e40d694e631bb2f39460d502a3d9f3a66d40b7a9a67f4b30012195beb" } } ] From f27d35d5f51ccaf06f12084dbc75f332626ffe56 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 7 Feb 2019 05:55:29 -0800 Subject: [PATCH 77/90] Skip integration tests if no changes (#4392) * Add environment variable for allowing skipping ITs * Skip integration tests if there are no changes in that directory * Also check google-cloud-core client and the grpc-api generated models --- .kokoro/build.sh | 32 +++++++++++++++++++++++++++++++- .kokoro/common.cfg | 6 ++++++ .kokoro/presubmit/common.cfg | 14 ++++++++++---- 3 files changed, 47 insertions(+), 5 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 55c2b0b3da60..a3ce28669510 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -17,14 +17,44 @@ set -eo pipefail cd github/google-cloud-java/ +function client_has_changes() { + CLIENT_NAME=$1 + if [[ ! -z $(git diff master google-cloud-clients/google-cloud-core*) ]]; then + echo "true" + return + fi + + if [[ ! -z $(git diff master google-cloud-clients/${CLIENT_NAME}) ]]; then + echo "true" + return + fi + + if [[ ! -z $(git diff master google-api-grpc/*${CLIENT_NAME}*) ]]; then + echo "true" + return + fi + + echo "false" +} + # Print out Java version java -version echo $JOB_TYPE +if [[ "${SKIP_INTEGRATION_TESTS_IF_NO_CHANGES}" == "true" ]] && + [[ "${JOB_TYPE}" == "integration" ]]; then + CLIENT=$(echo ${INTEGRATION_TEST_ARGS} | cut -d' ' -f1 | cut -d'/' -f2) + CLIENT_HAS_CHANGES=$(client_has_changes ${CLIENT}) + if [[ "${CLIENT_HAS_CHANGES}" == "false" ]]; then + echo "No difference from master, skipping tests." + exit 0 + fi +fi + mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V # prepend Kokoro root directory onto GOOGLE_APPLICATION_CREDENTIALS path -if [ ! -z "$GOOGLE_APPLICATION_CREDENTIALS" ]; then +if [[ ! -z "$GOOGLE_APPLICATION_CREDENTIALS" ]]; then export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) fi diff --git a/.kokoro/common.cfg b/.kokoro/common.cfg index 89302a415028..b2ba55d55096 100644 --- a/.kokoro/common.cfg +++ b/.kokoro/common.cfg @@ -11,3 +11,9 @@ env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/google-auth-library-java/.kokoro/build.sh" } + +# By default, always run integration tests +env_vars: { + key: "SKIP_INTEGRATION_TESTS_IF_NO_CHANGES" + value: "false" +} diff --git a/.kokoro/presubmit/common.cfg b/.kokoro/presubmit/common.cfg index 772a5bee1b2f..41dd193a4bb5 100644 --- a/.kokoro/presubmit/common.cfg +++ b/.kokoro/presubmit/common.cfg @@ -14,13 +14,19 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" build_file: "google-cloud-java/.kokoro/trampoline.sh" env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/google-cloud-java/.kokoro/build.sh" + key: "TRAMPOLINE_BUILD_FILE" + value: "github/google-cloud-java/.kokoro/build.sh" } env_vars: { - key: "JOB_TYPE" - value: "test" + key: "JOB_TYPE" + value: "test" +} + +# For presubmits, only run integrations if the code has changed +env_vars: { + key: "SKIP_INTEGRATION_TESTS_IF_NO_CHANGES" + value: "true" } before_action { From a29a7cf422a2263b796bc21b2304701d322f0217 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 7 Feb 2019 08:56:23 -0500 Subject: [PATCH 78/90] update TESTING.md (#4409) --- TESTING.md | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a/TESTING.md b/TESTING.md index 268e0fb73cf6..179774638429 100644 --- a/TESTING.md +++ b/TESTING.md @@ -156,50 +156,7 @@ uses the `RemoteLoggingHelper` to create a metric. You can test against a Pub/Sub emulator: -1. [Install Cloud SDK](https://cloud.google.com/sdk/downloads) - -2. Start the emulator: -```shell -$ gcloud beta emulators pubsub start -``` - -To determine which host/port the emulator is running on: -```shell -$ gcloud beta emulators pubsub env-init -# Sample output: -# export PUBSUB_EMULATOR_HOST=localhost:8759 -``` - -3. Point your client to the emulator. -```java -String hostport = System.getenv("PUBSUB_EMULATOR_HOST"); -ManagedChannel channel = ManagedChannelBuilder.forTarget(hostport).usePlaintext(true).build(); -try { - ChannelProvider channelProvider = FixedChannelProvider.create(channel); - CredentialsProvider credentialsProvider = new NoCredentialsProvider(); - - // Similarly for SubscriptionAdminSettings - TopicAdminClient topicClient = TopicAdminClient.create( - TopicAdminSettings - .defaultBuilder() - .setTransportProvider( - GrpcTransportProvider.newBuilder() - .setChannelProvider(channelProvider) - .build()) - .setCredentialsProvider(credentialsProvider) - .build()); - - // Similarly for Subscriber - Publisher publisher = - Publisher - .defaultBuilder(topicName) - .setChannelProvider(channelProvider) - .setCredentialsProvider(credentialsProvider) - .build(); -} finally { - channel.shutdown(); -} -``` +1. [Set up the emulator](https://cloud.google.com/pubsub/docs/emulator) ### Testing code that uses Redis From b7f0c1b12430f9208470d6c2867fff71dddd38a8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 7 Feb 2019 05:56:58 -0800 Subject: [PATCH 79/90] Regenerate spanner client (#4433) --- .../admin/database/v1/DatabaseAdminClient.java | 12 ++++++------ .../admin/instance/v1/InstanceAdminClient.java | 4 ++-- .../google-cloud-spanner/synth.metadata | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java index ccc2d175b103..1f611ca292ee 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java @@ -461,7 +461,7 @@ public final OperationFuture createDatabaseAsy * .setParent(parent.toString()) * .setCreateStatement(createStatement) * .build(); - * OperationFuture<Operation> future = databaseAdminClient.createDatabaseOperationCallable().futureCall(request); + * OperationFuture<Database, CreateDatabaseMetadata> future = databaseAdminClient.createDatabaseOperationCallable().futureCall(request); * // Do something * Database response = future.get(); * } @@ -611,7 +611,7 @@ public final UnaryCallable getDatabaseCallable() { * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) { * DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); * List<String> statements = new ArrayList<>(); - * Empty response = databaseAdminClient.updateDatabaseDdlAsync(database, statements).get(); + * databaseAdminClient.updateDatabaseDdlAsync(database, statements).get(); * } * * @@ -648,7 +648,7 @@ public final OperationFuture updateDatabaseDdl * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) { * DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); * List<String> statements = new ArrayList<>(); - * Empty response = databaseAdminClient.updateDatabaseDdlAsync(database.toString(), statements).get(); + * databaseAdminClient.updateDatabaseDdlAsync(database.toString(), statements).get(); * } * * @@ -689,7 +689,7 @@ public final OperationFuture updateDatabaseDdl * .setDatabase(database.toString()) * .addAllStatements(statements) * .build(); - * Empty response = databaseAdminClient.updateDatabaseDdlAsync(request).get(); + * databaseAdminClient.updateDatabaseDdlAsync(request).get(); * } * * @@ -723,9 +723,9 @@ public final OperationFuture updateDatabaseDdl * .setDatabase(database.toString()) * .addAllStatements(statements) * .build(); - * OperationFuture<Operation> future = databaseAdminClient.updateDatabaseDdlOperationCallable().futureCall(request); + * OperationFuture<Empty, UpdateDatabaseDdlMetadata> future = databaseAdminClient.updateDatabaseDdlOperationCallable().futureCall(request); * // Do something - * Empty response = future.get(); + * future.get(); * } * */ diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java index b305ec22e137..94bc50a45fcc 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java @@ -893,7 +893,7 @@ public final OperationFuture createInstanceAsy * .setInstanceId(instanceId.toString()) * .setInstance(instance) * .build(); - * OperationFuture<Operation> future = instanceAdminClient.createInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, CreateInstanceMetadata> future = instanceAdminClient.createInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } @@ -1131,7 +1131,7 @@ public final OperationFuture updateInstanceAsy * .setInstance(instance) * .setFieldMask(fieldMask) * .build(); - * OperationFuture<Operation> future = instanceAdminClient.updateInstanceOperationCallable().futureCall(request); + * OperationFuture<Instance, UpdateInstanceMetadata> future = instanceAdminClient.updateInstanceOperationCallable().futureCall(request); * // Do something * Instance response = future.get(); * } diff --git a/google-cloud-clients/google-cloud-spanner/synth.metadata b/google-cloud-clients/google-cloud-spanner/synth.metadata index 2ea4176ca90f..a99d1a66ed2b 100644 --- a/google-cloud-clients/google-cloud-spanner/synth.metadata +++ b/google-cloud-clients/google-cloud-spanner/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-18T08:47:08.714209Z", + "updateTime": "2019-02-02T08:47:49.148359Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.7", - "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" + "version": "0.16.8", + "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "c3e6909ae91bd2d520995030c34c22259c47e8fb", - "internalRef": "229821540" + "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a", + "internalRef": "231974277" } } ], From 05bdd1f99696a0f2dec8df95936d97494cdfb5cc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 7 Feb 2019 06:07:55 -0800 Subject: [PATCH 80/90] Regenerate texttospeech client (#4463) --- .../texttospeech/v1/TextToSpeechGrpc.java | 12 +- .../cloud/texttospeech/v1/AudioConfig.java | 325 ++++++++++++++++++ .../texttospeech/v1/AudioConfigOrBuilder.java | 65 ++++ .../texttospeech/v1/TextToSpeechProto.java | 48 +-- .../cloud/texttospeech/v1/cloud_tts.proto | 16 +- .../texttospeech/v1/TextToSpeechClient.java | 8 +- .../texttospeech/v1/TextToSpeechSettings.java | 2 +- .../cloud/texttospeech/v1/package-info.java | 2 +- .../stub/GrpcTextToSpeechCallableFactory.java | 2 +- .../v1/stub/GrpcTextToSpeechStub.java | 2 +- .../v1/stub/TextToSpeechStub.java | 2 +- .../v1/stub/TextToSpeechStubSettings.java | 2 +- .../v1beta1/TextToSpeechClient.java | 2 +- .../v1beta1/TextToSpeechSettings.java | 2 +- .../texttospeech/v1beta1/package-info.java | 2 +- .../stub/GrpcTextToSpeechCallableFactory.java | 2 +- .../v1beta1/stub/GrpcTextToSpeechStub.java | 2 +- .../v1beta1/stub/TextToSpeechStub.java | 2 +- .../stub/TextToSpeechStubSettings.java | 2 +- .../texttospeech/v1/MockTextToSpeech.java | 2 +- .../texttospeech/v1/MockTextToSpeechImpl.java | 2 +- .../v1/TextToSpeechClientTest.java | 2 +- .../v1/TextToSpeechSmokeTest.java | 2 +- .../v1beta1/MockTextToSpeech.java | 2 +- .../v1beta1/MockTextToSpeechImpl.java | 2 +- .../v1beta1/TextToSpeechClientTest.java | 2 +- .../v1beta1/TextToSpeechSmokeTest.java | 2 +- .../google-cloud-texttospeech/synth.metadata | 10 +- 28 files changed, 464 insertions(+), 62 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java b/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java index 32a3f2f70d53..3459e3956efb 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java @@ -171,8 +171,7 @@ public abstract static class TextToSpeechImplBase implements io.grpc.BindableSer * * *

-     * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
-     * supported for synthesis.
+     * Returns a list of Voice supported for synthesis.
      * 
*/ public void listVoices( @@ -243,8 +242,7 @@ protected TextToSpeechStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * * *
-     * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
-     * supported for synthesis.
+     * Returns a list of Voice supported for synthesis.
      * 
*/ public void listVoices( @@ -303,8 +301,7 @@ protected TextToSpeechBlockingStub build( * * *
-     * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
-     * supported for synthesis.
+     * Returns a list of Voice supported for synthesis.
      * 
*/ public com.google.cloud.texttospeech.v1.ListVoicesResponse listVoices( @@ -355,8 +352,7 @@ protected TextToSpeechFutureStub build( * * *
-     * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
-     * supported for synthesis.
+     * Returns a list of Voice supported for synthesis.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java index 181ba74813db..d2e7742d1c53 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfig.java @@ -28,6 +28,7 @@ private AudioConfig() { pitch_ = 0D; volumeGainDb_ = 0D; sampleRateHertz_ = 0; + effectsProfileId_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @@ -81,6 +82,16 @@ private AudioConfig( sampleRateHertz_ = input.readInt32(); break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000020; + } + effectsProfileId_.add(s); + break; + } default: { if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { @@ -95,6 +106,9 @@ private AudioConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = effectsProfileId_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -115,6 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.texttospeech.v1.AudioConfig.Builder.class); } + private int bitField0_; public static final int AUDIO_ENCODING_FIELD_NUMBER = 1; private int audioEncoding_; /** @@ -222,6 +237,81 @@ public int getSampleRateHertz() { return sampleRateHertz_; } + public static final int EFFECTS_PROFILE_ID_FIELD_NUMBER = 6; + private com.google.protobuf.LazyStringList effectsProfileId_; + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ProtocolStringList getEffectsProfileIdList() { + return effectsProfileId_; + } + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public int getEffectsProfileIdCount() { + return effectsProfileId_.size(); + } + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public java.lang.String getEffectsProfileId(int index) { + return effectsProfileId_.get(index); + } + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ByteString getEffectsProfileIdBytes(int index) { + return effectsProfileId_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -252,6 +342,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (sampleRateHertz_ != 0) { output.writeInt32(5, sampleRateHertz_); } + for (int i = 0; i < effectsProfileId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, effectsProfileId_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -277,6 +370,14 @@ public int getSerializedSize() { if (sampleRateHertz_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, sampleRateHertz_); } + { + int dataSize = 0; + for (int i = 0; i < effectsProfileId_.size(); i++) { + dataSize += computeStringSizeNoTag(effectsProfileId_.getRaw(i)); + } + size += dataSize; + size += 1 * getEffectsProfileIdList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -308,6 +409,7 @@ public boolean equals(final java.lang.Object obj) { && (java.lang.Double.doubleToLongBits(getVolumeGainDb()) == java.lang.Double.doubleToLongBits(other.getVolumeGainDb())); result = result && (getSampleRateHertz() == other.getSampleRateHertz()); + result = result && getEffectsProfileIdList().equals(other.getEffectsProfileIdList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -337,6 +439,10 @@ public int hashCode() { java.lang.Double.doubleToLongBits(getVolumeGainDb())); hash = (37 * hash) + SAMPLE_RATE_HERTZ_FIELD_NUMBER; hash = (53 * hash) + getSampleRateHertz(); + if (getEffectsProfileIdCount() > 0) { + hash = (37 * hash) + EFFECTS_PROFILE_ID_FIELD_NUMBER; + hash = (53 * hash) + getEffectsProfileIdList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -492,6 +598,8 @@ public Builder clear() { sampleRateHertz_ = 0; + effectsProfileId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000020); return this; } @@ -519,11 +627,19 @@ public com.google.cloud.texttospeech.v1.AudioConfig build() { public com.google.cloud.texttospeech.v1.AudioConfig buildPartial() { com.google.cloud.texttospeech.v1.AudioConfig result = new com.google.cloud.texttospeech.v1.AudioConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.audioEncoding_ = audioEncoding_; result.speakingRate_ = speakingRate_; result.pitch_ = pitch_; result.volumeGainDb_ = volumeGainDb_; result.sampleRateHertz_ = sampleRateHertz_; + if (((bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = effectsProfileId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.effectsProfileId_ = effectsProfileId_; + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -588,6 +704,16 @@ public Builder mergeFrom(com.google.cloud.texttospeech.v1.AudioConfig other) { if (other.getSampleRateHertz() != 0) { setSampleRateHertz(other.getSampleRateHertz()); } + if (!other.effectsProfileId_.isEmpty()) { + if (effectsProfileId_.isEmpty()) { + effectsProfileId_ = other.effectsProfileId_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.addAll(other.effectsProfileId_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -617,6 +743,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private int audioEncoding_ = 0; /** * @@ -920,6 +1048,203 @@ public Builder clearSampleRateHertz() { return this; } + private com.google.protobuf.LazyStringList effectsProfileId_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureEffectsProfileIdIsMutable() { + if (!((bitField0_ & 0x00000020) == 0x00000020)) { + effectsProfileId_ = new com.google.protobuf.LazyStringArrayList(effectsProfileId_); + bitField0_ |= 0x00000020; + } + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ProtocolStringList getEffectsProfileIdList() { + return effectsProfileId_.getUnmodifiableView(); + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public int getEffectsProfileIdCount() { + return effectsProfileId_.size(); + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public java.lang.String getEffectsProfileId(int index) { + return effectsProfileId_.get(index); + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public com.google.protobuf.ByteString getEffectsProfileIdBytes(int index) { + return effectsProfileId_.getByteString(index); + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder setEffectsProfileId(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder addEffectsProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder addAllEffectsProfileId(java.lang.Iterable values) { + ensureEffectsProfileIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, effectsProfileId_); + onChanged(); + return this; + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder clearEffectsProfileId() { + effectsProfileId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * An identifier which selects 'audio effects' profiles that are applied on
+     * (post synthesized) text to speech.
+     * Effects are applied on top of each other in the order they are given.
+     * See
+     * [audio-profiles](https:
+     * //cloud.google.com/text-to-speech/docs/audio-profiles)
+     * for current supported profile ids.
+     * 
+ * + * repeated string effects_profile_id = 6; + */ + public Builder addEffectsProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureEffectsProfileIdIsMutable(); + effectsProfileId_.add(value); + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfigOrBuilder.java index 37287901b911..3af4c9f58147 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioConfigOrBuilder.java @@ -89,4 +89,69 @@ public interface AudioConfigOrBuilder * int32 sample_rate_hertz = 5; */ int getSampleRateHertz(); + + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + java.util.List getEffectsProfileIdList(); + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + int getEffectsProfileIdCount(); + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + java.lang.String getEffectsProfileId(int index); + /** + * + * + *
+   * An identifier which selects 'audio effects' profiles that are applied on
+   * (post synthesized) text to speech.
+   * Effects are applied on top of each other in the order they are given.
+   * See
+   * [audio-profiles](https:
+   * //cloud.google.com/text-to-speech/docs/audio-profiles)
+   * for current supported profile ids.
+   * 
+ * + * repeated string effects_profile_id = 6; + */ + com.google.protobuf.ByteString getEffectsProfileIdBytes(int index); } diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java index 039ed3984c68..3140454662c5 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java @@ -72,30 +72,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002 \001(\tH\000B\016\n\014input_source\"\177\n\024VoiceSelectio" + "nParams\022\025\n\rlanguage_code\030\001 \001(\t\022\014\n\004name\030\002" + " \001(\t\022B\n\013ssml_gender\030\003 \001(\0162-.google.cloud" - + ".texttospeech.v1.SsmlVoiceGender\"\253\001\n\013Aud" + + ".texttospeech.v1.SsmlVoiceGender\"\307\001\n\013Aud" + "ioConfig\022C\n\016audio_encoding\030\001 \001(\0162+.googl" + "e.cloud.texttospeech.v1.AudioEncoding\022\025\n" + "\rspeaking_rate\030\002 \001(\001\022\r\n\005pitch\030\003 \001(\001\022\026\n\016v" + "olume_gain_db\030\004 \001(\001\022\031\n\021sample_rate_hertz" - + "\030\005 \001(\005\"1\n\030SynthesizeSpeechResponse\022\025\n\rau" - + "dio_content\030\001 \001(\014*W\n\017SsmlVoiceGender\022!\n\035" - + "SSML_VOICE_GENDER_UNSPECIFIED\020\000\022\010\n\004MALE\020" - + "\001\022\n\n\006FEMALE\020\002\022\013\n\007NEUTRAL\020\003*T\n\rAudioEncod" - + "ing\022\036\n\032AUDIO_ENCODING_UNSPECIFIED\020\000\022\014\n\010L" - + "INEAR16\020\001\022\007\n\003MP3\020\002\022\014\n\010OGG_OPUS\020\0032\270\002\n\014Tex" - + "tToSpeech\022\203\001\n\nListVoices\022/.google.cloud." - + "texttospeech.v1.ListVoicesRequest\0320.goog" - + "le.cloud.texttospeech.v1.ListVoicesRespo" - + "nse\"\022\202\323\344\223\002\014\022\n/v1/voices\022\241\001\n\020SynthesizeSp" - + "eech\0225.google.cloud.texttospeech.v1.Synt" - + "hesizeSpeechRequest\0326.google.cloud.textt" - + "ospeech.v1.SynthesizeSpeechResponse\"\036\202\323\344" - + "\223\002\030\"\023/v1/text:synthesize:\001*B\302\001\n com.goog" - + "le.cloud.texttospeech.v1B\021TextToSpeechPr" - + "otoP\001ZHgoogle.golang.org/genproto/google" - + "apis/cloud/texttospeech/v1;texttospeech\370" - + "\001\001\252\002\034Google.Cloud.TextToSpeech.V1\312\002\034Goog" - + "le\\Cloud\\TextToSpeech\\V1b\006proto3" + + "\030\005 \001(\005\022\032\n\022effects_profile_id\030\006 \003(\t\"1\n\030Sy" + + "nthesizeSpeechResponse\022\025\n\raudio_content\030" + + "\001 \001(\014*W\n\017SsmlVoiceGender\022!\n\035SSML_VOICE_G" + + "ENDER_UNSPECIFIED\020\000\022\010\n\004MALE\020\001\022\n\n\006FEMALE\020" + + "\002\022\013\n\007NEUTRAL\020\003*T\n\rAudioEncoding\022\036\n\032AUDIO" + + "_ENCODING_UNSPECIFIED\020\000\022\014\n\010LINEAR16\020\001\022\007\n" + + "\003MP3\020\002\022\014\n\010OGG_OPUS\020\0032\270\002\n\014TextToSpeech\022\203\001" + + "\n\nListVoices\022/.google.cloud.texttospeech" + + ".v1.ListVoicesRequest\0320.google.cloud.tex" + + "ttospeech.v1.ListVoicesResponse\"\022\202\323\344\223\002\014\022" + + "\n/v1/voices\022\241\001\n\020SynthesizeSpeech\0225.googl" + + "e.cloud.texttospeech.v1.SynthesizeSpeech" + + "Request\0326.google.cloud.texttospeech.v1.S" + + "ynthesizeSpeechResponse\"\036\202\323\344\223\002\030\"\023/v1/tex" + + "t:synthesize:\001*B\302\001\n com.google.cloud.tex" + + "ttospeech.v1B\021TextToSpeechProtoP\001ZHgoogl" + + "e.golang.org/genproto/googleapis/cloud/t" + + "exttospeech/v1;texttospeech\370\001\001\252\002\034Google." + + "Cloud.TextToSpeech.V1\312\002\034Google\\Cloud\\Tex" + + "tToSpeech\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -165,7 +166,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1_AudioConfig_descriptor, new java.lang.String[] { - "AudioEncoding", "SpeakingRate", "Pitch", "VolumeGainDb", "SampleRateHertz", + "AudioEncoding", + "SpeakingRate", + "Pitch", + "VolumeGainDb", + "SampleRateHertz", + "EffectsProfileId", }); internal_static_google_cloud_texttospeech_v1_SynthesizeSpeechResponse_descriptor = getDescriptor().getMessageTypes().get(7); diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto index 0ccbde389214..07ac4ebebeef 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google Inc. +// 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. @@ -11,6 +11,7 @@ // WITHOUT 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"; @@ -29,8 +30,7 @@ option php_namespace = "Google\\Cloud\\TextToSpeech\\V1"; // Service that implements Google Cloud Text-to-Speech API. service TextToSpeech { - // Returns a list of [Voice][google.cloud.texttospeech.v1.Voice] - // supported for synthesis. + // Returns a list of Voice supported for synthesis. rpc ListVoices(ListVoicesRequest) returns (ListVoicesResponse) { option (google.api.http) = { get: "/v1/voices" @@ -173,6 +173,16 @@ message AudioConfig { // supported for the encoding chosen, in which case it will fail the request // and return [google.rpc.Code.INVALID_ARGUMENT][]. int32 sample_rate_hertz = 5; + + // An identifier which selects 'audio effects' profiles that are applied on + // (post synthesized) text to speech. + // Effects are applied on top of each other in the order they are given. + // See + // + // [audio-profiles](https: + // //cloud.google.com/text-to-speech/docs/audio-profiles) + // for current supported profile ids. + repeated string effects_profile_id = 6; } // The message returned to the client by the `SynthesizeSpeech` method. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechClient.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechClient.java index ab6384b67223..e3359a41362a 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechClient.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -145,7 +145,7 @@ public TextToSpeechStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice] supported for synthesis. + * Returns a list of Voice supported for synthesis. * *

Sample code: * @@ -174,7 +174,7 @@ public final ListVoicesResponse listVoices(String languageCode) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice] supported for synthesis. + * Returns a list of Voice supported for synthesis. * *

Sample code: * @@ -194,7 +194,7 @@ public final ListVoicesResponse listVoices(ListVoicesRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice] supported for synthesis. + * Returns a list of Voice supported for synthesis. * *

Sample code: * diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechSettings.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechSettings.java index 3ea6ca2f89d6..ad3617082507 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechSettings.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/package-info.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/package-info.java index 812536497545..1b7cb24f9dd1 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/package-info.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechCallableFactory.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechCallableFactory.java index d0a6993f6d9e..0431819e3265 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechCallableFactory.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechStub.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechStub.java index 08e7f70d2239..c9bc5b3cab7b 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechStub.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/GrpcTextToSpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStub.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStub.java index f75175223ea7..383a96adf97f 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStub.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStubSettings.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStubSettings.java index 932079d562c0..ceca96e68dfd 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStubSettings.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/TextToSpeechStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java index a648a8298b9e..8ee19702beef 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSettings.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSettings.java index 856ac17d8d9c..0df3723feb88 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSettings.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/package-info.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/package-info.java index 24ad803ca251..feff8995b378 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/package-info.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechCallableFactory.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechCallableFactory.java index fa3c7c18fd1c..9fd1031670ae 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechCallableFactory.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechStub.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechStub.java index 4fbd2b62d2c1..15dc89d2d949 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechStub.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/GrpcTextToSpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStub.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStub.java index 8706c0bc769b..0e37d01993fa 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStub.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStubSettings.java b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStubSettings.java index 694197e38e16..537a540709a2 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStubSettings.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/TextToSpeechStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeech.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeech.java index 6b311dc30c86..5dc823e8e109 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeech.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeech.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeechImpl.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeechImpl.java index 419597e9bdcb..55b62431c806 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeechImpl.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/MockTextToSpeechImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechClientTest.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechClientTest.java index 6a133ee21e21..43a7597d9622 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechClientTest.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java index f2535f84fcce..b94298f8254e 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeech.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeech.java index 1c426479c799..4a56e5940bbc 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeech.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeech.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeechImpl.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeechImpl.java index f58832d50098..29e3479be36a 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeechImpl.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/MockTextToSpeechImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClientTest.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClientTest.java index d60d6366567a..73ec948db37a 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClientTest.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java index 01db0aabf394..cbdcfc666466 100644 --- a/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java +++ b/google-cloud-clients/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 Google LLC + * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-clients/google-cloud-texttospeech/synth.metadata b/google-cloud-clients/google-cloud-texttospeech/synth.metadata index 52a92b5f7558..5e06eb86a3a5 100644 --- a/google-cloud-clients/google-cloud-texttospeech/synth.metadata +++ b/google-cloud-clients/google-cloud-texttospeech/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-12T08:51:17.352312Z", + "updateTime": "2019-02-07T08:50:36.930179Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.5", - "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" + "version": "0.16.10", + "dockerImage": "googleapis/artman@sha256:0954ba3e40d694e631bb2f39460d502a3d9f3a66d40b7a9a67f4b30012195beb" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2156b3490f9fe4d79bcb34754a3aaed7ea52114d", - "internalRef": "228970571" + "sha": "49b7906ba5f15c1bc52bf5febc3bd0645d29b980", + "internalRef": "232773383" } } ], From a6b41826e559b989b41357ff6a21e6af0238b787 Mon Sep 17 00:00:00 2001 From: andrey-qlogic <44769745+andrey-qlogic@users.noreply.github.com> Date: Thu, 7 Feb 2019 17:25:24 +0300 Subject: [PATCH 81/90] 3534: Made HttpTransportOptions constructor public. (#4439) --- .../main/java/com/google/cloud/http/HttpTransportOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-clients/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/google-cloud-clients/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 6802e50549af..2dbcb018f857 100644 --- a/google-cloud-clients/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/google-cloud-clients/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -120,7 +120,7 @@ public Builder setReadTimeout(int readTimeout) { } } - private HttpTransportOptions(Builder builder) { + public HttpTransportOptions(Builder builder) { httpTransportFactory = firstNonNull( builder.httpTransportFactory, From eb0c6dd60d149207d99c435860c9a78478fe0a88 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Thu, 7 Feb 2019 07:31:36 -0800 Subject: [PATCH 82/90] use gax 1.38.0 (#4460) --- google-cloud-bom/pom.xml | 2 +- google-cloud-clients/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 8d6d9c62361d..43aec7516811 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -168,7 +168,7 @@ com.google.api gax-bom - 1.37.0 + 1.38.0 pom import diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 65bf89456454..95e2e2cc1b98 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -155,7 +155,7 @@ 0.79.1-alpha-SNAPSHOT 1.27.0 - 1.37.0 + 1.38.0 1.7.0 0.12.0 1.17.1 From 68963f79cc77a873914cd60f28715a806cf5a230 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 7 Feb 2019 07:41:54 -0800 Subject: [PATCH 83/90] Regenerate firestore client (#4348) --- .../google-cloud-firestore/synth.metadata | 35 +++++++++++-------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/google-cloud-clients/google-cloud-firestore/synth.metadata b/google-cloud-clients/google-cloud-firestore/synth.metadata index 2bd4f07a69a5..d7b290c01e37 100644 --- a/google-cloud-clients/google-cloud-firestore/synth.metadata +++ b/google-cloud-clients/google-cloud-firestore/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-01-16T08:42:18.702688Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.5", + "dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "7a81902f287a4ac2ac130994889c80f87f91d035", + "internalRef": "229452079" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "firestore", + "apiVersion": "v1beta1", + "language": "java", + "generator": "gapic", + "config": "google/firestore/artman_firestore.yaml" } } ] -} +} \ No newline at end of file From 2e239f7148c852b7b7e2de4af66e8e5707d9d049 Mon Sep 17 00:00:00 2001 From: Mike Kaplinskiy Date: Thu, 7 Feb 2019 08:00:29 -0800 Subject: [PATCH 84/90] Empty table results can have a schema (#4185) * Update EmptyTableResult.java * Update Job.java * add test case --- .../cloud/bigquery/EmptyTableResult.java | 5 +- .../java/com/google/cloud/bigquery/Job.java | 2 +- .../com/google/cloud/bigquery/JobTest.java | 49 +++++++++++++++++++ 3 files changed, 53 insertions(+), 3 deletions(-) diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/EmptyTableResult.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/EmptyTableResult.java index 68112ef0b5ee..7cb5e1932fa3 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/EmptyTableResult.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/EmptyTableResult.java @@ -18,6 +18,7 @@ import com.google.api.core.InternalApi; import com.google.cloud.PageImpl; +import javax.annotation.Nullable; public class EmptyTableResult extends TableResult { @@ -25,7 +26,7 @@ public class EmptyTableResult extends TableResult { /** An empty {@code TableResult} to avoid making API requests to unlistable tables. */ @InternalApi("Exposed for testing") - public EmptyTableResult() { - super(null, 0, new PageImpl(null, "", null)); + public EmptyTableResult(@Nullable Schema schema) { + super(schema, 0, new PageImpl(null, "", null)); } } diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java index 9a61192c4045..de018291d9d2 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java +++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Job.java @@ -305,7 +305,7 @@ public TableResult getQueryResults(QueryResultsOption... options) // Listing table data might fail, such as with CREATE VIEW queries. // Avoid a tabledata.list API request by returning an empty TableResult. if (response.getTotalRows() == 0) { - return new EmptyTableResult(); + return new EmptyTableResult(response.getSchema()); } TableId table = ((QueryJobConfiguration) getConfiguration()).getDestinationTable(); diff --git a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/JobTest.java b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/JobTest.java index 57c6a1104eab..b259b237ea78 100644 --- a/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/JobTest.java +++ b/google-cloud-clients/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/JobTest.java @@ -302,6 +302,55 @@ public Iterable getValues() { verify(status, mockOptions); } + @Test + public void testWaitForAndGetQueryResultsEmptyWithSchema() throws InterruptedException { + QueryJobConfiguration jobConfig = + QueryJobConfiguration.newBuilder("CREATE VIEW").setDestinationTable(TABLE_ID1).build(); + QueryStatistics jobStatistics = + QueryStatistics.newBuilder() + .setCreationTimestamp(1L) + .setEndTime(3L) + .setStartTime(2L) + .build(); + JobInfo jobInfo = + JobInfo.newBuilder(jobConfig) + .setJobId(JOB_ID) + .setStatistics(jobStatistics) + .setJobId(JOB_ID) + .setEtag(ETAG) + .setGeneratedId(GENERATED_ID) + .setSelfLink(SELF_LINK) + .setUserEmail(EMAIL) + .setStatus(JOB_STATUS) + .build(); + + initializeExpectedJob(2, jobInfo); + JobStatus status = createStrictMock(JobStatus.class); + expect(bigquery.getOptions()).andReturn(mockOptions); + expect(mockOptions.getClock()).andReturn(CurrentMillisClock.getDefaultClock()).times(2); + Job completedJob = expectedJob.toBuilder().setStatus(status).build(); + QueryResponse completedQuery = + QueryResponse.newBuilder() + .setCompleted(true) + .setTotalRows(0) + .setSchema(Schema.of(Field.of("field1", LegacySQLTypeName.BOOLEAN))) + .setErrors(ImmutableList.of()) + .build(); + + expect(bigquery.getQueryResults(jobInfo.getJobId(), Job.DEFAULT_QUERY_WAIT_OPTIONS)) + .andReturn(completedQuery); + expect(bigquery.getJob(JOB_INFO.getJobId())).andReturn(completedJob); + expect(bigquery.getQueryResults(jobInfo.getJobId(), Job.DEFAULT_QUERY_WAIT_OPTIONS)) + .andReturn(completedQuery); + + replay(status, bigquery, mockOptions); + initializeJob(jobInfo); + assertThat(job.waitFor(TEST_RETRY_OPTIONS)).isSameAs(completedJob); + assertThat(job.getQueryResults().getSchema()) + .isEqualTo(Schema.of(Field.of("field1", LegacySQLTypeName.BOOLEAN))); + verify(status, mockOptions); + } + @Test public void testWaitForAndGetQueryResults() throws InterruptedException { QueryJobConfiguration jobConfig = From cef877c477f35e253254aff5ae6381dfc82f0e4d Mon Sep 17 00:00:00 2001 From: andrey-qlogic <44769745+andrey-qlogic@users.noreply.github.com> Date: Thu, 7 Feb 2019 19:47:31 +0300 Subject: [PATCH 85/90] 4273: Added a new create method to pass offset and length of sub array. (#4407) * 4273: Added a new create method to pass offset and lenght of sub array. * 4273: Fixed codeformat error. * 4273: Rephrased a comment. * 4273: Added a new integration test using the new createBlobWithSubArrayFromByteArray code snippet. --- .../com/google/cloud/storage/Storage.java | 24 ++++++++++++++ .../com/google/cloud/storage/StorageImpl.java | 16 ++++++++++ .../google/cloud/storage/StorageImplTest.java | 31 +++++++++++++++++++ .../storage/snippets/StorageSnippets.java | 14 +++++++++ .../storage/snippets/ITStorageSnippets.java | 18 +++++++++++ 5 files changed, 103 insertions(+) diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java index 534b1e0810aa..9d2d0d5c33f2 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java @@ -1442,6 +1442,30 @@ public static Builder newBuilder() { */ Blob create(BlobInfo blobInfo, byte[] content, BlobTargetOption... options); + /** + * Creates a new blob with the sub array of the given byte array. Direct upload is used to upload + * {@code content}. For large content, {@link #writer} is recommended as it uses resumable upload. + * MD5 and CRC32C hashes of {@code content} are computed and used for validating transferred data. + * Accepts a userProject {@link BlobGetOption} option, which defines the project id to assign + * operational costs. + * + *

Example of creating a blob from a byte array. + * + *

{@code
+   * String bucketName = "my_unique_bucket";
+   * String blobName = "my_blob_name";
+   * BlobId blobId = BlobId.of(bucketName, blobName);
+   * BlobInfo blobInfo = BlobInfo.newBuilder(blobId).setContentType("text/plain").build();
+   * Blob blob = storage.create(blobInfo, "Hello, World!".getBytes(UTF_8), 7, 5);
+   * }
+ * + * @return a [@code Blob} with complete information + * @throws StorageException upon failure + * @see Hashes and ETags + */ + Blob create( + BlobInfo blobInfo, byte[] content, int offset, int length, BlobTargetOption... options); + /** * Creates a new blob. Direct upload is used to upload {@code content}. For large content, {@link * #writer} is recommended as it uses resumable upload. By default any md5 and crc32c values in diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java index ec9fdffbca5e..ac4da4c32eea 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java @@ -149,6 +149,22 @@ public Blob create(BlobInfo blobInfo, byte[] content, BlobTargetOption... option return internalCreate(updatedInfo, content, options); } + @Override + public Blob create( + BlobInfo blobInfo, byte[] content, int offset, int length, BlobTargetOption... options) { + content = firstNonNull(content, EMPTY_BYTE_ARRAY); + byte[] subContent = Arrays.copyOfRange(content, offset, offset + length); + BlobInfo updatedInfo = + blobInfo + .toBuilder() + .setMd5(BaseEncoding.base64().encode(Hashing.md5().hashBytes(subContent).asBytes())) + .setCrc32c( + BaseEncoding.base64() + .encode(Ints.toByteArray(Hashing.crc32c().hashBytes(subContent).asInt()))) + .build(); + return internalCreate(updatedInfo, subContent, options); + } + @Override @Deprecated public Blob create(BlobInfo blobInfo, InputStream content, BlobWriteOption... options) { diff --git a/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/StorageImplTest.java b/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/StorageImplTest.java index 393c7ff3bfcf..ef1fb677edcd 100644 --- a/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/StorageImplTest.java +++ b/google-cloud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/StorageImplTest.java @@ -97,8 +97,11 @@ public class StorageImplTest { private static final String BLOB_NAME2 = "n2"; private static final String BLOB_NAME3 = "n3"; private static final byte[] BLOB_CONTENT = {0xD, 0xE, 0xA, 0xD}; + private static final byte[] BLOB_SUB_CONTENT = {0xE, 0xA}; private static final String CONTENT_MD5 = "O1R4G1HJSDUISJjoIYmVhQ=="; private static final String CONTENT_CRC32C = "9N3EPQ=="; + private static final String SUB_CONTENT_MD5 = "5e7c7CdasUiOn3BO560jPg=="; + private static final String SUB_CONTENT_CRC32C = "bljNYA=="; private static final int DEFAULT_CHUNK_SIZE = 2 * 1024 * 1024; private static final String BASE64_KEY = "JVzfVl8NLD9FjedFuStegjRfES5ll5zc59CIXw572OA="; private static final Key KEY = @@ -445,6 +448,34 @@ public void testCreateBlob() throws IOException { assertEquals(-1, byteStream.read(streamBytes)); } + @Test + public void testCreateBlobWithSubArrayFromByteArray() throws IOException { + Capture capturedStream = Capture.newInstance(); + EasyMock.expect( + storageRpcMock.create( + EasyMock.eq( + BLOB_INFO1 + .toBuilder() + .setMd5(SUB_CONTENT_MD5) + .setCrc32c(SUB_CONTENT_CRC32C) + .build() + .toPb()), + EasyMock.capture(capturedStream), + EasyMock.eq(EMPTY_RPC_OPTIONS))) + .andReturn(BLOB_INFO1.toPb()); + EasyMock.replay(storageRpcMock); + initializeService(); + + Blob blob = storage.create(BLOB_INFO1, BLOB_CONTENT, 1, 2); + + assertEquals(expectedBlob1, blob); + ByteArrayInputStream byteStream = capturedStream.getValue(); + byte[] streamBytes = new byte[BLOB_SUB_CONTENT.length]; + assertEquals(BLOB_SUB_CONTENT.length, byteStream.read(streamBytes)); + assertArrayEquals(BLOB_SUB_CONTENT, streamBytes); + assertEquals(-1, byteStream.read(streamBytes)); + } + @Test public void testCreateBlobRetry() throws IOException { Capture capturedStream1 = Capture.newInstance(); diff --git a/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java b/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java index ccec623a1812..722f89cdb4d4 100644 --- a/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java +++ b/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java @@ -132,6 +132,20 @@ public Blob createBlobFromByteArray(String bucketName, String blobName) { return blob; } + /** Example of creating a blob with sub array from a byte array. */ + // [TARGET create(BlobInfo, byte[], offset, length, BlobTargetOption...)] + // [VARIABLE "my_unique_bucket"] + // [VARIABLE "my_blob_name"] + public Blob createBlobWithSubArrayFromByteArray( + String bucketName, String blobName, int offset, int length) { + // [START createBlobWithSubArrayFromByteArray] + BlobId blobId = BlobId.of(bucketName, blobName); + BlobInfo blobInfo = BlobInfo.newBuilder(blobId).setContentType("text/plain").build(); + Blob blob = storage.create(blobInfo, "Hello, World!".getBytes(UTF_8), offset, length); + // [END createBlobWithSubArrayFromByteArray] + return blob; + } + /** Example of creating a blob from an input stream. */ // [TARGET create(BlobInfo, InputStream, BlobWriteOption...)] // [VARIABLE "my_unique_bucket"] diff --git a/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java b/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java index fe618755d5cd..3af3fd08ad69 100644 --- a/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java +++ b/google-cloud-examples/src/test/java/com/google/cloud/examples/storage/snippets/ITStorageSnippets.java @@ -206,6 +206,24 @@ public void testCreateCopyAndGetBlob() { copiedBlob.delete(); } + @Test + public void testCreateCopyAndGetBlobFromSubArray() { + String blobName = "test-create-copy-get-blob-from-sub-array"; + Blob blob = storageSnippets.createBlobWithSubArrayFromByteArray(BUCKET, blobName, 7, 1); + assertNotNull(blob); + Blob copiedBlob = storageSnippets.copyBlobInChunks(BUCKET, blobName, "copy-blob"); + assertNotNull(copiedBlob); + try { + storageSnippets.getBlobFromIdWithMetageneration(BUCKET, blobName, -1); + fail("Expected StorageException to be thrown"); + } catch (StorageException ex) { + // expected + } + assertTrue( + storageSnippets.deleteBlobFromIdWithGeneration(BUCKET, blobName, blob.getGeneration())); + copiedBlob.delete(); + } + @Test public void testCreateBlobFromInputStream() { Blob blob = From cccb59d7438bc49a9e746e05d0202588afc12c72 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 7 Feb 2019 14:15:40 -0500 Subject: [PATCH 86/90] Add firestore grpc and proto versions to versions.txt (#4464) --- versions.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/versions.txt b/versions.txt index 42823b51fe6d..73cc2ded60fd 100644 --- a/versions.txt +++ b/versions.txt @@ -78,6 +78,7 @@ grpc-google-cloud-dialogflow-v2beta1:0.44.0:0.44.1-SNAPSHOT grpc-google-cloud-dlp-v2:0.44.0:0.44.1-SNAPSHOT grpc-google-cloud-error-reporting-v1beta1:0.44.0:0.44.1-SNAPSHOT grpc-google-cloud-firestore-v1beta1:0.44.0:0.44.1-SNAPSHOT +grpc-google-cloud-firestore-v1:0.44.0:0.44.1-SNAPSHOT grpc-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.1-alpha-SNAPSHOT grpc-google-cloud-iot-v1:0.44.0:0.44.1-SNAPSHOT grpc-google-cloud-kms-v1:0.44.0:0.44.1-SNAPSHOT @@ -129,6 +130,7 @@ proto-google-cloud-dialogflow-v2beta1:0.44.0:0.44.1-SNAPSHOT proto-google-cloud-dlp-v2:0.44.0:0.44.1-SNAPSHOT proto-google-cloud-error-reporting-v1beta1:0.44.0:0.44.1-SNAPSHOT proto-google-cloud-firestore-v1beta1:0.44.0:0.44.1-SNAPSHOT +proto-google-cloud-firestore-v1:0.44.0:0.44.1-SNAPSHOT proto-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.1-alpha-SNAPSHOT proto-google-cloud-iot-v1:0.44.0:0.44.1-SNAPSHOT proto-google-cloud-kms-v1:0.44.0:0.44.1-SNAPSHOT From f745e744d38e4fe636f34d0e04795ba3d014287d Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 7 Feb 2019 15:05:30 -0500 Subject: [PATCH 87/90] Release v0.80.0 (#4465) --- README.md | 8 +- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-firestore-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 208 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-firestore-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/README.md | 2 +- google-cloud-bom/pom.xml | 290 +++++++-------- .../google-cloud-asset/README.md | 6 +- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/README.md | 6 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/README.md | 6 +- .../google-cloud-bigquery/pom.xml | 4 +- .../README.md | 6 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/README.md | 6 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/README.md | 6 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/README.md | 6 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/README.md | 6 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/README.md | 6 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-contrib/README.md | 6 +- .../google-cloud-logging-logback/README.md | 6 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/README.md | 6 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/README.md | 6 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/README.md | 6 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/README.md | 6 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/README.md | 6 +- .../google-cloud-dialogflow/pom.xml | 4 +- .../google-cloud-dlp/README.md | 6 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- .../google-cloud-dns/README.md | 6 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/README.md | 6 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/README.md | 6 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/README.md | 6 +- .../google-cloud-iamcredentials/pom.xml | 4 +- .../google-cloud-iot/README.md | 6 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- .../google-cloud-kms/README.md | 6 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/README.md | 6 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/README.md | 6 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/README.md | 6 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/README.md | 6 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/README.md | 6 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/README.md | 6 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/README.md | 6 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/README.md | 6 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/README.md | 6 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/README.md | 6 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/README.md | 6 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/README.md | 6 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/README.md | 6 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/README.md | 6 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/README.md | 6 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/README.md | 6 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/README.md | 6 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/README.md | 6 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/README.md | 6 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/README.md | 6 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/README.md | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/README.md | 14 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 330 +++++++++--------- 213 files changed, 886 insertions(+), 886 deletions(-) diff --git a/README.md b/README.md index 44092d51b8fb..eecd418c48fb 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.79.0-alpha + 0.80.0-alpha pom import @@ -85,11 +85,11 @@ If you are using Maven, add this to your pom.xml file [//]: # ({x-version-update-start:google-cloud-storage:released}) If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.61.0' +compile 'com.google.cloud:google-cloud-storage:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.62.0" ``` [//]: # ({x-version-update-end}) @@ -110,7 +110,7 @@ If you are running into problems with version conflicts, the easiest way to solv com.google.cloud google-cloud-bom - 0.79.0-alpha + 0.80.0-alpha pom import diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index 822352caa338..dbaffee2b274 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 79b1c52e629b..50a89ea8ac23 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 8043843ebc37..dbf67b701ea9 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index ea2020a7c65a..f41c0ea29468 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index b3d4297ce78a..e2d5b78cc925 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index 4d56e2653838..cde322fb72f6 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index af0f807782d9..78ddbfba0869 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index 554cf292b415..d383b298e627 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index 2c36f2d596df..e84223dbc989 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index f57d138bf615..8bb7730c2a0b 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index 9360658be80d..346b06be7b5d 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 88268789cc05..6390fc90840c 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index 771cf230585f..ae0265616954 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index 0a1125d8dcad..5d18f3943a11 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml index 0c42bddddf11..ccb56cb20df5 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-firestore-v1 GRPC library for grpc-google-cloud-firestore-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index c0ffaeb8a02f..3b130b1ef2af 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index ed018e047048..fb5e210c7553 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index 2ffbbfbba1bb..01e1b4e8f252 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index 00fa8045624d..d707462ce660 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 34a40c3651cf..006b470cc1f2 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.43.1-SNAPSHOT + 1.44.0 grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index 713708329064..3233af90e0e6 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index 6b4796faa529..22091ada82f7 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index e21d6884dcef..c41171c5cc86 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.43.1-SNAPSHOT + 1.44.0 grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index 4390e839f00e..132135f8e732 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index 3e476f3a9ace..bd5b309bfa17 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.43.1-SNAPSHOT + 1.44.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index 1dcbf211a342..44bf25ebf12c 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index b0240852153e..3cb47c5300fa 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index 813c6fd885c5..e809d3237d52 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 8a3ced521834..f781b7467ab9 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index 167581c445e1..5c4970fbfdb6 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.6.1-SNAPSHOT + 1.7.0 grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index 03f49a403f14..63008aa8d933 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.6.1-SNAPSHOT + 1.7.0 grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index e696841128eb..daa3e4cdd18f 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.6.1-SNAPSHOT + 1.7.0 grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index cf6da56338a4..b765a745c162 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 350fd77f1d94..9229ffa924c3 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index 62af4a72d702..a80e197f40f6 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index faae4e1237ed..f6ddccf0feb2 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index a35eebc32c85..81c05317bb41 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index eaeac8050674..c82462e09276 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index 59c330dfce0d..341232d133da 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index 631ca1a6d169..326ca1a9efcb 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index 161de75887ac..e1235b5b6abc 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index c4fd948d1015..f5a8bf2e6bb0 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index efbf10947ecc..18b4530c6941 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index b0f438ff0f1a..26a29131a9d3 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index 3fe5e35ec8ce..832f2dfc5364 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index 9716567a424f..f03ced118cad 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index dc99c67831d8..58928d4377d8 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.43.1-SNAPSHOT + 1.44.0 grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index 6dc4c816a24d..a51bc1ae5ef5 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index 8b7dff4428bb..b55da19f8940 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.43.1-SNAPSHOT + 1.44.0 grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 74b0f75978b5..92288c787cfd 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index 27718be3c4e5..e94de20a9b5b 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.44.1-SNAPSHOT + 0.45.0 grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 9860e5ceb745..2fa5a925e70d 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.44.1-SNAPSHOT + 0.45.0 Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,517 +142,517 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-container-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-dlp-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-firestore-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-firestore-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-os-login-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-trace-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index 5082fa1bb626..75bdab5c47ea 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index 1fbc39ba5752..71c5fc5432d3 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 9a12809b527f..c8ecc3c12575 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index e0f47bced39e..98af9ba6557e 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index 119418dcf537..a7ebed2f40c2 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index f479fc7fefac..6a828fc3e0ae 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index 0c168a96dbd4..1090788ef085 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index 7b97a463c907..c973e12b361e 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index c362a6fa1adf..9dce51726fef 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index fea6f11d1716..114f8ce00192 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 6b9fdf9bf7ad..7761687693c9 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index 85e8fc1d7217..11944bdc75f0 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index c327aa639fc5..d6aeff10a376 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index 09f118ed8476..e3e9cde7fc12 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index f3355d381e1c..baa9f05e877a 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml index f043f884679a..747508bc209b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-firestore-v1 PROTO library for proto-google-cloud-firestore-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index ad0a5f81ab18..e8acd58e45fc 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index 15c7192e2046..a47acf75a1ff 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index 97474fa96e60..aa2c50f60c5e 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index 31a30f29e583..d78fcb6cad81 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index 98da3b08a30c..d1f2e2dfa070 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.43.1-SNAPSHOT + 1.44.0 proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 1a0a86febccf..8d0623fe3ff8 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index ba910bd7e5a4..249b014dc16e 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 46278dae256f..08318f47c678 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.43.1-SNAPSHOT + 1.44.0 proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index 8a1ac5bb3b8e..bacabae05ed5 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index 4cb8f8ab2a57..d9421e40e25d 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.43.1-SNAPSHOT + 1.44.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index c834918a029e..3e74d90eb650 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index eaac012669bc..affc5c68497b 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index f1f7b6620e90..980739bf6f00 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index 35db06f2d1d5..8bce534c9771 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index c4cc13dcc09f..e17ad0731510 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.6.1-SNAPSHOT + 1.7.0 proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 6b4112503d3a..21062b2488f9 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.6.1-SNAPSHOT + 1.7.0 proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index 12d17e55a2db..9d29fbec6d34 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.6.1-SNAPSHOT + 1.7.0 proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index ddb62a58fe9b..5ce639713696 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index 2b357b8cc01d..db406795acf7 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index 2ceffdccf7e1..01ca51dfc5af 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index dddc84f795cd..3a49e22fa704 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index 915e4cf4759a..da209ce83705 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index 04f0de5b30d0..3fd5c7d6743d 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index ee9aa71aa5bb..4d7acfacaafe 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index 9bfa5517555a..d1ec2e32c23d 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index 591805318d82..fb62cac6055c 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index 0604ca7d4ef2..1081ccd40cb3 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 97bcdce828b6..993c8111ff46 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index 363a04ae1485..54b9ab6e04b2 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index 0922ca949d9c..176cb1a46998 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index 4bacba94ac38..4cd91e71ab0d 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index 288570809ac1..d2ce436234cb 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.43.1-SNAPSHOT + 1.44.0 proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index cb7560ac67a6..23676ee1513e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index d4aa2a7d8eac..62684d13284e 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.43.1-SNAPSHOT + 1.44.0 proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index 83dcf73afec2..37b767e692f7 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 08bc4bf45afa..343e160a6ae6 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.44.1-SNAPSHOT + 0.45.0 proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.44.1-SNAPSHOT + 0.45.0 diff --git a/google-cloud-bom/README.md b/google-cloud-bom/README.md index 0fefd5390126..b161d8ca85fc 100644 --- a/google-cloud-bom/README.md +++ b/google-cloud-bom/README.md @@ -13,7 +13,7 @@ To use it in Maven, add the following to your POM: com.google.cloud google-cloud-bom - 0.79.0-alpha + 0.80.0-alpha pom import diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 43aec7516811..8e785187b8ac 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,723 +197,723 @@ com.google.cloud google-cloud-asset - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-automl - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-bigtable - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-bigtable-admin - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-bigtable-emulator - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.cloud google-cloud-bigquery - 1.61.1-SNAPSHOT + 1.62.0 com.google.cloud google-cloud-bigquerydatatransfer - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-compute - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.cloud google-cloud-container - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-container-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-containeranalysis - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-contrib - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.cloud google-cloud-nio - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.cloud google-cloud-core - 1.61.1-SNAPSHOT + 1.62.0 com.google.cloud google-cloud-core-grpc - 1.61.1-SNAPSHOT + 1.62.0 com.google.cloud google-cloud-core-http - 1.61.1-SNAPSHOT + 1.62.0 com.google.cloud google-cloud-dataproc - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-datastore - 1.61.1-SNAPSHOT + 1.62.0 com.google.api.grpc proto-google-cloud-datastore-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-dlp - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-dlp-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-dialogflow - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-dns - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.cloud google-cloud-errorreporting - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-firestore - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-firestore-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-firestore-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-kms - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-kms-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-language - 1.61.1-SNAPSHOT + 1.62.0 com.google.api.grpc proto-google-cloud-language-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-language-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-logging - 1.61.1-SNAPSHOT + 1.62.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-logging-logback - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.cloud google-cloud-monitoring - 1.61.1-SNAPSHOT + 1.62.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.43.1-SNAPSHOT + 1.44.0 com.google.cloud google-cloud-os-login - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.api.grpc proto-google-cloud-os-login-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-pubsub - 1.61.1-SNAPSHOT + 1.62.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.cloud google-cloud-redis - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-redis-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-resourcemanager - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-spanner - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc proto-google-cloud-spanner-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.6.1-SNAPSHOT + 1.7.0 com.google.cloud google-cloud-speech - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-speech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-storage - 1.61.1-SNAPSHOT + 1.62.0 com.google.cloud google-cloud-tasks - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-texttospeech - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-trace - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-trace-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-translate - 1.61.1-SNAPSHOT + 1.62.0 com.google.cloud google-cloud-vision - 1.61.1-SNAPSHOT + 1.62.0 com.google.api.grpc proto-google-cloud-vision-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.43.1-SNAPSHOT + 1.44.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.cloud google-cloud-video-intelligence - 0.79.1-beta-SNAPSHOT + 0.80.0-beta com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-iot-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.44.1-SNAPSHOT + 0.45.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha com.google.cloud google-cloud-iamcredentials - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha diff --git a/google-cloud-clients/google-cloud-asset/README.md b/google-cloud-clients/google-cloud-asset/README.md index c7d0fb07275b..0bacc68ec246 100644 --- a/google-cloud-clients/google-cloud-asset/README.md +++ b/google-cloud-clients/google-cloud-asset/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-asset - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-asset:0.79.0-beta' +compile 'com.google.cloud:google-cloud-asset:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index 29497666be22..d6425ceb3379 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/README.md b/google-cloud-clients/google-cloud-automl/README.md index e9f4e5a6fbae..a51fc1bc562f 100644 --- a/google-cloud-clients/google-cloud-automl/README.md +++ b/google-cloud-clients/google-cloud-automl/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-automl - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-automl:0.79.0-beta' +compile 'com.google.cloud:google-cloud-automl:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index 3357190d77e5..369b73735cab 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/README.md b/google-cloud-clients/google-cloud-bigquery/README.md index c037a9e8ffb9..e54e796fd8b3 100644 --- a/google-cloud-clients/google-cloud-bigquery/README.md +++ b/google-cloud-clients/google-cloud-bigquery/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigquery - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquery:1.61.0' +compile 'com.google.cloud:google-cloud-bigquery:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 067f9b2bb647..5c141541ef3e 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md index 349bccd3f006..956fe650e533 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/README.md @@ -23,16 +23,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerydatatransfer - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.79.0-beta' +compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index dc8c16e98662..ad2b4e07227e 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/README.md b/google-cloud-clients/google-cloud-bigquerystorage/README.md index a9830d68a629..8ce1ee77eb65 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/README.md +++ b/google-cloud-clients/google-cloud-bigquerystorage/README.md @@ -20,16 +20,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-bigquerystorage - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerystorage:0.79.0-beta' +compile 'com.google.cloud:google-cloud-bigquerystorage:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index f76bdf782545..39a22942e396 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index 17dbcb89ee3a..da18596d9f49 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha diff --git a/google-cloud-clients/google-cloud-bigtable/README.md b/google-cloud-clients/google-cloud-bigtable/README.md index 5f731cb20a48..616956fff593 100644 --- a/google-cloud-clients/google-cloud-bigtable/README.md +++ b/google-cloud-clients/google-cloud-bigtable/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bigtable - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index aa42e674864c..2b9164cd74e8 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/README.md b/google-cloud-clients/google-cloud-compute/README.md index c2b78f140060..c76d031d7d09 100644 --- a/google-cloud-clients/google-cloud-compute/README.md +++ b/google-cloud-clients/google-cloud-compute/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-compute - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-compute:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-compute:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index d3b009279d7e..51bea870bed1 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/README.md b/google-cloud-clients/google-cloud-container/README.md index 1511c6a2c78b..e86126496456 100644 --- a/google-cloud-clients/google-cloud-container/README.md +++ b/google-cloud-clients/google-cloud-container/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-container - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-container:0.79.0-beta' +compile 'com.google.cloud:google-cloud-container:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index a763295bac29..e1f9fc03f5a3 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/README.md b/google-cloud-clients/google-cloud-containeranalysis/README.md index 8ef98708d30f..d886ea54149f 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/README.md +++ b/google-cloud-clients/google-cloud-containeranalysis/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-containeranalysis - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-containeranalysis:0.79.0-beta' +compile 'com.google.cloud:google-cloud-containeranalysis:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index 787d6bb6faaa..65c6af471049 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/README.md b/google-cloud-clients/google-cloud-contrib/README.md index 7da08c448c65..419a9bf74fec 100644 --- a/google-cloud-clients/google-cloud-contrib/README.md +++ b/google-cloud-clients/google-cloud-contrib/README.md @@ -25,16 +25,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-contrib - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-contrib:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-contrib:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-contrib" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md index 5d55793aeb39..d17a160458ed 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-logging-logback - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging-logback:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-logging-logback:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index df6ef209b1cb..4c8e43f2449e 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index 7620f4599975..7c5480820478 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.79.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.80.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.80.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.79.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.80.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index 1bbc37c332d1..a15c2727666f 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md index 3e0a3616c3e3..fd45af89e7b6 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/README.md @@ -26,16 +26,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-nio - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-nio:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-nio:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-nio" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index 54079b06b026..f9886876f79f 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index b1e7a1ebe99e..67ec8e993d22 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index 8e994a683e28..4d6b340a38a2 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index dee2182fc55c..130d2089eaaf 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/README.md b/google-cloud-clients/google-cloud-core/README.md index 754ab4d03566..077683adc00e 100644 --- a/google-cloud-clients/google-cloud-core/README.md +++ b/google-cloud-clients/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.61.0' +compile 'com.google.cloud:google-cloud-core:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index f55944198f6a..2dc3bd9a7fd2 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/README.md b/google-cloud-clients/google-cloud-dataproc/README.md index 6ce4490c4913..9408ecb334b3 100644 --- a/google-cloud-clients/google-cloud-dataproc/README.md +++ b/google-cloud-clients/google-cloud-dataproc/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-dataproc - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dataproc:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-dataproc:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index 0738806d69a1..ce51d518fbde 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/README.md b/google-cloud-clients/google-cloud-datastore/README.md index d2cf2e86cbbf..973c5ca111c2 100644 --- a/google-cloud-clients/google-cloud-datastore/README.md +++ b/google-cloud-clients/google-cloud-datastore/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-datastore - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-datastore:1.61.0' +compile 'com.google.cloud:google-cloud-datastore:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index 414601407664..e24873f02c37 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/README.md b/google-cloud-clients/google-cloud-dialogflow/README.md index f8b0a41a4952..35d045877937 100644 --- a/google-cloud-clients/google-cloud-dialogflow/README.md +++ b/google-cloud-clients/google-cloud-dialogflow/README.md @@ -23,16 +23,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dialogflow - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dialogflow:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-dialogflow:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index 1acea25e9f13..e81b29a757a3 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/README.md b/google-cloud-clients/google-cloud-dlp/README.md index 1cf3596c514e..abfea3cc1d8a 100644 --- a/google-cloud-clients/google-cloud-dlp/README.md +++ b/google-cloud-clients/google-cloud-dlp/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dlp - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dlp:0.79.0-beta' +compile 'com.google.cloud:google-cloud-dlp:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index 29e9266d997a..26b37467cc32 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/README.md b/google-cloud-clients/google-cloud-dns/README.md index 86cc68d8a793..5e3eed67ad18 100644 --- a/google-cloud-clients/google-cloud-dns/README.md +++ b/google-cloud-clients/google-cloud-dns/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-dns - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dns:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-dns:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index d534d7c04efb..2687bbdd10f2 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/README.md b/google-cloud-clients/google-cloud-errorreporting/README.md index e235e6fa9c63..1afbdd6f16ac 100644 --- a/google-cloud-clients/google-cloud-errorreporting/README.md +++ b/google-cloud-clients/google-cloud-errorreporting/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-errorreporting - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-errorreporting:0.79.0-beta' +compile 'com.google.cloud:google-cloud-errorreporting:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index a5f2cacfc0f6..b5a72456b5ff 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/README.md b/google-cloud-clients/google-cloud-firestore/README.md index 9ab28d85d262..87298168887c 100644 --- a/google-cloud-clients/google-cloud-firestore/README.md +++ b/google-cloud-clients/google-cloud-firestore/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-firestore - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-firestore:0.79.0-beta' +compile 'com.google.cloud:google-cloud-firestore:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 36b4eabe15ec..136c58365880 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/README.md b/google-cloud-clients/google-cloud-iamcredentials/README.md index 144a23750733..c8d4a1dfe089 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/README.md +++ b/google-cloud-clients/google-cloud-iamcredentials/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iamcredentials - 0.6.0-alpha + 0.7.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iamcredentials:0.6.0-alpha' +compile 'com.google.cloud:google-cloud-iamcredentials:0.7.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.6.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "0.7.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index 2ee075366c6e..312db99bc77f 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.6.1-alpha-SNAPSHOT + 0.7.0-alpha jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/README.md b/google-cloud-clients/google-cloud-iot/README.md index aac43ef30cb3..4895b8ae9734 100644 --- a/google-cloud-clients/google-cloud-iot/README.md +++ b/google-cloud-clients/google-cloud-iot/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-iot - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-iot:0.79.0-beta' +compile 'com.google.cloud:google-cloud-iot:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index d6a828c5009e..7a7a5c0ae14f 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/README.md b/google-cloud-clients/google-cloud-kms/README.md index bc6e842f1ac3..c361bb73fdc8 100644 --- a/google-cloud-clients/google-cloud-kms/README.md +++ b/google-cloud-clients/google-cloud-kms/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-kms - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-kms:0.79.0-beta' +compile 'com.google.cloud:google-cloud-kms:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index 8cb47d1ef021..e3f783842090 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/README.md b/google-cloud-clients/google-cloud-language/README.md index 5deee6d8ca40..6075e5793031 100644 --- a/google-cloud-clients/google-cloud-language/README.md +++ b/google-cloud-clients/google-cloud-language/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-language - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-language:1.61.0' +compile 'com.google.cloud:google-cloud-language:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index 3539aa38347e..52f4b5aa2adc 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/README.md b/google-cloud-clients/google-cloud-logging/README.md index 5154f3539fd0..b1ae4c554a9f 100644 --- a/google-cloud-clients/google-cloud-logging/README.md +++ b/google-cloud-clients/google-cloud-logging/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-logging - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-logging:1.61.0' +compile 'com.google.cloud:google-cloud-logging:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 7f08c4cc4d2c..1d1506e6615a 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/README.md b/google-cloud-clients/google-cloud-monitoring/README.md index 5c40148489bb..f18db0f328f4 100644 --- a/google-cloud-clients/google-cloud-monitoring/README.md +++ b/google-cloud-clients/google-cloud-monitoring/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-monitoring - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-monitoring:1.61.0' +compile 'com.google.cloud:google-cloud-monitoring:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index 854b2555e1c1..7c49ef759461 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/README.md b/google-cloud-clients/google-cloud-notification/README.md index ce5034348742..e714a4c221c9 100644 --- a/google-cloud-clients/google-cloud-notification/README.md +++ b/google-cloud-clients/google-cloud-notification/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-notification - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-notification:0.79.0-beta' +compile 'com.google.cloud:google-cloud-notification:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-notification" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index f44db53395c8..703e5dc55d7a 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/README.md b/google-cloud-clients/google-cloud-os-login/README.md index 7f38389bde34..08514b04f9d8 100644 --- a/google-cloud-clients/google-cloud-os-login/README.md +++ b/google-cloud-clients/google-cloud-os-login/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-os-login - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-os-login:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-os-login:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index 24b597082a6f..a490fa612cc7 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/README.md b/google-cloud-clients/google-cloud-pubsub/README.md index dd05eed73224..cd2829d411f4 100644 --- a/google-cloud-clients/google-cloud-pubsub/README.md +++ b/google-cloud-clients/google-cloud-pubsub/README.md @@ -19,16 +19,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-pubsub - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-pubsub:1.61.0' +compile 'com.google.cloud:google-cloud-pubsub:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index 2efaa0336044..ec9b582aad5d 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/README.md b/google-cloud-clients/google-cloud-redis/README.md index 9cc97ab38806..49df6c32f749 100644 --- a/google-cloud-clients/google-cloud-redis/README.md +++ b/google-cloud-clients/google-cloud-redis/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-redis - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-redis:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-redis:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index 63fd9dcb30ec..126c663a9924 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/README.md b/google-cloud-clients/google-cloud-resourcemanager/README.md index 076cc3350191..ab544f995314 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/README.md +++ b/google-cloud-clients/google-cloud-resourcemanager/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-resourcemanager - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-resourcemanager:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-resourcemanager:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index 053fc35000e2..d19a0ecdfc8a 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/README.md b/google-cloud-clients/google-cloud-scheduler/README.md index 088c8f8287b6..7afb2e90e258 100644 --- a/google-cloud-clients/google-cloud-scheduler/README.md +++ b/google-cloud-clients/google-cloud-scheduler/README.md @@ -22,16 +22,16 @@ Add this to your pom.xml file com.google.cloud google-cloud-scheduler - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-scheduler:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-scheduler:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index d776660ca5f4..9d410a902d4b 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/README.md b/google-cloud-clients/google-cloud-securitycenter/README.md index 473409e9176f..6dc5485cdaa0 100644 --- a/google-cloud-clients/google-cloud-securitycenter/README.md +++ b/google-cloud-clients/google-cloud-securitycenter/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-securitycenter - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-securitycenter:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-securitycenter:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index efd19ba88701..71af8e57dea4 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/README.md b/google-cloud-clients/google-cloud-spanner/README.md index 31216152f0b2..080e129f7b16 100644 --- a/google-cloud-clients/google-cloud-spanner/README.md +++ b/google-cloud-clients/google-cloud-spanner/README.md @@ -20,16 +20,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-spanner - 1.6.0 + 1.7.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-spanner:1.6.0' +compile 'com.google.cloud:google-cloud-spanner:1.7.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "1.7.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index fa9ff3b4b137..a398bc5ab07d 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.6.1-SNAPSHOT + 1.7.0 jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/README.md b/google-cloud-clients/google-cloud-speech/README.md index dcdb16fbf8dd..b826dd470c59 100644 --- a/google-cloud-clients/google-cloud-speech/README.md +++ b/google-cloud-clients/google-cloud-speech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-speech - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-speech:0.79.0-beta' +compile 'com.google.cloud:google-cloud-speech:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index ffc9f35a873e..a410a29f8ad5 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/README.md b/google-cloud-clients/google-cloud-storage/README.md index 8c671677b2b4..56ca5ea7dc2f 100644 --- a/google-cloud-clients/google-cloud-storage/README.md +++ b/google-cloud-clients/google-cloud-storage/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-storage - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-storage:1.61.0' +compile 'com.google.cloud:google-cloud-storage:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index ff2c19459c20..8bccac013e91 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/README.md b/google-cloud-clients/google-cloud-tasks/README.md index 48b6f6d6ee88..8a2c8d41ac1d 100644 --- a/google-cloud-clients/google-cloud-tasks/README.md +++ b/google-cloud-clients/google-cloud-tasks/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-tasks - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-tasks:0.79.0-beta' +compile 'com.google.cloud:google-cloud-tasks:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index 8c2d294f43cd..0aa9c7d888a3 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/README.md b/google-cloud-clients/google-cloud-texttospeech/README.md index 783b07147be7..605e58da5265 100644 --- a/google-cloud-clients/google-cloud-texttospeech/README.md +++ b/google-cloud-clients/google-cloud-texttospeech/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-texttospeech - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-texttospeech:0.79.0-beta' +compile 'com.google.cloud:google-cloud-texttospeech:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index f7274ab42a85..9a55d038dd47 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/README.md b/google-cloud-clients/google-cloud-trace/README.md index 1026dcab96a8..0690cc5b58f4 100644 --- a/google-cloud-clients/google-cloud-trace/README.md +++ b/google-cloud-clients/google-cloud-trace/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-trace - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-trace:0.79.0-beta' +compile 'com.google.cloud:google-cloud-trace:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index abc5e5d4d27a..d4e2f23a29bc 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/README.md b/google-cloud-clients/google-cloud-translate/README.md index d9d322110f69..0cf9b3ad23b6 100644 --- a/google-cloud-clients/google-cloud-translate/README.md +++ b/google-cloud-clients/google-cloud-translate/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-translate - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-translate:1.61.0' +compile 'com.google.cloud:google-cloud-translate:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index 661feb6f196c..7f38523c4667 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/README.md b/google-cloud-clients/google-cloud-video-intelligence/README.md index f9ac67104222..0c2a17ab9a2d 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/README.md +++ b/google-cloud-clients/google-cloud-video-intelligence/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-video-intelligence - 0.79.0-beta + 0.80.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-video-intelligence:0.79.0-beta' +compile 'com.google.cloud:google-cloud-video-intelligence:0.80.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.79.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "0.80.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index b753a0370154..e90f014e662f 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.79.1-beta-SNAPSHOT + 0.80.0-beta jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/README.md b/google-cloud-clients/google-cloud-vision/README.md index 591c60dea087..59f423bb0e5f 100644 --- a/google-cloud-clients/google-cloud-vision/README.md +++ b/google-cloud-clients/google-cloud-vision/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-vision - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-vision:1.61.0' +compile 'com.google.cloud:google-cloud-vision:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index de3727fab7fe..cab1f80f6170 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/README.md b/google-cloud-clients/google-cloud-websecurityscanner/README.md index f8644168a111..5a7ffbf3d297 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/README.md +++ b/google-cloud-clients/google-cloud-websecurityscanner/README.md @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-websecurityscanner - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-websecurityscanner:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-websecurityscanner:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index 14076a70bb77..e0a45df67546 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 95e2e2cc1b98..b33ede7d30d6 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha 1.27.0 1.38.0 @@ -240,7 +240,7 @@ com.google.cloud google-cloud-core - 1.61.1-SNAPSHOT + 1.62.0 test-jar diff --git a/google-cloud-examples/README.md b/google-cloud-examples/README.md index 04ca448e4228..f4280b83fcc0 100644 --- a/google-cloud-examples/README.md +++ b/google-cloud-examples/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-examples - 0.79.0-alpha + 0.80.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-examples:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-examples:0.80.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.79.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-examples" % "0.80.0-alpha" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index 09bcf658ef76..0120b7b3a90a 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index a26ab07199bc..5c3243531235 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha war google-cloud-testing com.google.cloud - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index 8e6551640f54..f0da3a07d689 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha war google-cloud-testing com.google.cloud - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index 16f4c8607b7a..f7d4ca00b153 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha war google-cloud-testing com.google.cloud - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index 0e917a918c24..3baa60788d5f 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha war google-cloud-testing com.google.cloud - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/README.md b/google-cloud-testing/google-cloud-bigtable-emulator/README.md index 2ad7313c2e4d..be4378ef4829 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/README.md +++ b/google-cloud-testing/google-cloud-bigtable-emulator/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-bom - 0.79.0-alpha + 0.80.0-alpha pom import @@ -53,16 +53,16 @@ If you are using Maven, add this to your pom.xml file If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:0.79.0-alpha' -compile 'com.google.cloud:google-cloud-bigtable-admin:0.79.0-alpha' -testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.79.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable:0.80.0-alpha' +compile 'com.google.cloud:google-cloud-bigtable-admin:0.80.0-alpha' +testCompile 'com.google.cloud:google-cloud-bigtable-emulator:0.80.0-alpha' testCompile 'junit:junit:4.12' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.79.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.79.0-alpha" -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.79.0-alpha" % Test +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "0.80.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-admin" % "0.80.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable-emulator" % "0.80.0-alpha" % Test libraryDependencies += "junit" % "junit" % "4.12" % Test ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 71602d7b999e..6e1f62b1adf8 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha @@ -126,7 +126,7 @@ com.google.cloud google-cloud-bom - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index 9304ab9ac8a4..6619190f5bd4 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-gcloud-maven-plugin - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index e263d34bcd97..1f7c38d3327e 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar google-cloud-testing com.google.cloud - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index aacbfe4d915f..def88ab676da 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha pom import com.google.cloud google-cloud-core - 1.61.1-SNAPSHOT + 1.62.0 test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index ac4801b12ada..1326a1b9187d 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index 3a0d9d3c8de8..6d4a6dc53516 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index 73cc2ded60fd..a0519b7723cc 100644 --- a/versions.txt +++ b/versions.txt @@ -1,168 +1,168 @@ # Format: # module:released-version:current-version -google-api-grpc:0.44.0:0.44.1-SNAPSHOT -google-cloud:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-appengineflexcompat:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-appengineflexcustom:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-appengineflexjava:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-appenginejava8:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-asset:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-automl:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-bigquery:1.61.0:1.61.1-SNAPSHOT -google-cloud-bigquerydatatransfer:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-bigquerystorage:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-bigtable:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-bigtable-admin:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-bigtable-emulator:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-bom:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-clients:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-compat-checker:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-compute:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-container:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-containeranalysis:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-contrib:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-core:1.61.0:1.61.1-SNAPSHOT -google-cloud-core-grpc:1.61.0:1.61.1-SNAPSHOT -google-cloud-core-http:1.61.0:1.61.1-SNAPSHOT -google-cloud-dataproc:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-datastore:1.61.0:1.61.1-SNAPSHOT -google-cloud-dialogflow:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-dlp:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-dns:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-errorreporting:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-examples:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-firestore:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-gcloud-maven-plugin:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-iamcredentials:0.6.0-alpha:0.6.1-alpha-SNAPSHOT -google-cloud-iot:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-kms:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-language:1.61.0:1.61.1-SNAPSHOT -google-cloud-logging:1.61.0:1.61.1-SNAPSHOT -google-cloud-logging-logback:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-managedtest:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-monitoring:1.61.0:1.61.1-SNAPSHOT -google-cloud-nio:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-nio-examples:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-notification:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-os-login:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-pubsub:1.61.0:1.61.1-SNAPSHOT -google-cloud-redis:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-resourcemanager:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-scheduler:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-securitycenter:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-spanner:1.6.0:1.6.1-SNAPSHOT -google-cloud-speech:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-storage:1.61.0:1.61.1-SNAPSHOT -google-cloud-tasks:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-testing:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-texttospeech:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-trace:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-translate:1.61.0:1.61.1-SNAPSHOT -google-cloud-util:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -google-cloud-video-intelligence:0.79.0-beta:0.79.1-beta-SNAPSHOT -google-cloud-vision:1.61.0:1.61.1-SNAPSHOT -google-cloud-websecurityscanner:0.79.0-alpha:0.79.1-alpha-SNAPSHOT -grpc-google-cloud-asset-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-automl-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-bigtable-admin-v2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-bigtable-v2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-container-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-dataproc-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-dataproc-v1beta2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-dialogflow-v2beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-dlp-v2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-error-reporting-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-firestore-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-firestore-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.1-alpha-SNAPSHOT -grpc-google-cloud-iot-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-kms-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-language-v1:1.43.0:1.43.1-SNAPSHOT -grpc-google-cloud-language-v1beta2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-logging-v2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-monitoring-v3:1.43.0:1.43.1-SNAPSHOT -grpc-google-cloud-os-login-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.43.0:1.43.1-SNAPSHOT -grpc-google-cloud-redis-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-redis-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-scheduler-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-securitycenter-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-spanner-admin-database-v1:1.6.0:1.6.1-SNAPSHOT -grpc-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.1-SNAPSHOT -grpc-google-cloud-spanner-v1:1.6.0:1.6.1-SNAPSHOT -grpc-google-cloud-speech-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-speech-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-speech-v1p1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-tasks-v2beta3:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-texttospeech-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-trace-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-trace-v2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-vision-v1:1.43.0:1.43.1-SNAPSHOT -grpc-google-cloud-vision-v1p1beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-vision-v1p2beta1:1.43.0:1.43.1-SNAPSHOT -grpc-google-cloud-vision-v1p3beta1:0.44.0:0.44.1-SNAPSHOT -grpc-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-asset-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-automl-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-bigquerydatatransfer-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-bigquerystorage-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-bigtable-admin-v2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-bigtable-v2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-container-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-containeranalysis-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-dataproc-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-dataproc-v1beta2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-datastore-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-dialogflow-v2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-dialogflow-v2beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-dlp-v2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-error-reporting-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-firestore-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-firestore-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-iamcredentials-v1:0.6.0-alpha:0.6.1-alpha-SNAPSHOT -proto-google-cloud-iot-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-kms-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-language-v1:1.43.0:1.43.1-SNAPSHOT -proto-google-cloud-language-v1beta2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-logging-v2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-monitoring-v3:1.43.0:1.43.1-SNAPSHOT -proto-google-cloud-os-login-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.43.0:1.43.1-SNAPSHOT -proto-google-cloud-redis-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-redis-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-scheduler-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-securitycenter-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-spanner-admin-database-v1:1.6.0:1.6.1-SNAPSHOT -proto-google-cloud-spanner-admin-instance-v1:1.6.0:1.6.1-SNAPSHOT -proto-google-cloud-spanner-v1:1.6.0:1.6.1-SNAPSHOT -proto-google-cloud-speech-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-speech-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-speech-v1p1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-tasks-v2beta2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-tasks-v2beta3:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-texttospeech-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-texttospeech-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-trace-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-trace-v2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1beta2:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-video-intelligence-v1p2beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-vision-v1:1.43.0:1.43.1-SNAPSHOT -proto-google-cloud-vision-v1p1beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-vision-v1p2beta1:1.43.0:1.43.1-SNAPSHOT -proto-google-cloud-vision-v1p3beta1:0.44.0:0.44.1-SNAPSHOT -proto-google-cloud-websecurityscanner-v1alpha:0.44.0:0.44.1-SNAPSHOT +google-api-grpc:0.45.0:0.45.0 +google-cloud:0.80.0-alpha:0.80.0-alpha +google-cloud-appengineflexcompat:0.80.0-alpha:0.80.0-alpha +google-cloud-appengineflexcustom:0.80.0-alpha:0.80.0-alpha +google-cloud-appengineflexjava:0.80.0-alpha:0.80.0-alpha +google-cloud-appenginejava8:0.80.0-alpha:0.80.0-alpha +google-cloud-asset:0.80.0-beta:0.80.0-beta +google-cloud-automl:0.80.0-beta:0.80.0-beta +google-cloud-bigquery:1.62.0:1.62.0 +google-cloud-bigquerydatatransfer:0.80.0-beta:0.80.0-beta +google-cloud-bigquerystorage:0.80.0-beta:0.80.0-beta +google-cloud-bigtable:0.80.0-alpha:0.80.0-alpha +google-cloud-bigtable-admin:0.80.0-alpha:0.80.0-alpha +google-cloud-bigtable-emulator:0.80.0-alpha:0.80.0-alpha +google-cloud-bom:0.80.0-alpha:0.80.0-alpha +google-cloud-clients:0.80.0-alpha:0.80.0-alpha +google-cloud-compat-checker:0.80.0-alpha:0.80.0-alpha +google-cloud-compute:0.80.0-alpha:0.80.0-alpha +google-cloud-container:0.80.0-beta:0.80.0-beta +google-cloud-containeranalysis:0.80.0-beta:0.80.0-beta +google-cloud-contrib:0.80.0-alpha:0.80.0-alpha +google-cloud-core:1.62.0:1.62.0 +google-cloud-core-grpc:1.62.0:1.62.0 +google-cloud-core-http:1.62.0:1.62.0 +google-cloud-dataproc:0.80.0-alpha:0.80.0-alpha +google-cloud-datastore:1.62.0:1.62.0 +google-cloud-dialogflow:0.80.0-alpha:0.80.0-alpha +google-cloud-dlp:0.80.0-beta:0.80.0-beta +google-cloud-dns:0.80.0-alpha:0.80.0-alpha +google-cloud-errorreporting:0.80.0-beta:0.80.0-beta +google-cloud-examples:0.80.0-alpha:0.80.0-alpha +google-cloud-firestore:0.80.0-beta:0.80.0-beta +google-cloud-gcloud-maven-plugin:0.80.0-alpha:0.80.0-alpha +google-cloud-iamcredentials:0.7.0-alpha:0.7.0-alpha +google-cloud-iot:0.80.0-beta:0.80.0-beta +google-cloud-kms:0.80.0-beta:0.80.0-beta +google-cloud-language:1.62.0:1.62.0 +google-cloud-logging:1.62.0:1.62.0 +google-cloud-logging-logback:0.80.0-alpha:0.80.0-alpha +google-cloud-managedtest:0.80.0-alpha:0.80.0-alpha +google-cloud-monitoring:1.62.0:1.62.0 +google-cloud-nio:0.80.0-alpha:0.80.0-alpha +google-cloud-nio-examples:0.80.0-alpha:0.80.0-alpha +google-cloud-notification:0.80.0-beta:0.80.0-beta +google-cloud-os-login:0.80.0-alpha:0.80.0-alpha +google-cloud-pubsub:1.62.0:1.62.0 +google-cloud-redis:0.80.0-alpha:0.80.0-alpha +google-cloud-resourcemanager:0.80.0-alpha:0.80.0-alpha +google-cloud-scheduler:0.80.0-alpha:0.80.0-alpha +google-cloud-securitycenter:0.80.0-alpha:0.80.0-alpha +google-cloud-spanner:1.7.0:1.7.0 +google-cloud-speech:0.80.0-beta:0.80.0-beta +google-cloud-storage:1.62.0:1.62.0 +google-cloud-tasks:0.80.0-beta:0.80.0-beta +google-cloud-testing:0.80.0-alpha:0.80.0-alpha +google-cloud-texttospeech:0.80.0-beta:0.80.0-beta +google-cloud-trace:0.80.0-beta:0.80.0-beta +google-cloud-translate:1.62.0:1.62.0 +google-cloud-util:0.80.0-alpha:0.80.0-alpha +google-cloud-video-intelligence:0.80.0-beta:0.80.0-beta +google-cloud-vision:1.62.0:1.62.0 +google-cloud-websecurityscanner:0.80.0-alpha:0.80.0-alpha +grpc-google-cloud-asset-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-automl-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-bigquerydatatransfer-v1:0.45.0:0.45.0 +grpc-google-cloud-bigquerystorage-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-bigtable-admin-v2:0.45.0:0.45.0 +grpc-google-cloud-bigtable-v2:0.45.0:0.45.0 +grpc-google-cloud-container-v1:0.45.0:0.45.0 +grpc-google-cloud-containeranalysis-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-dataproc-v1:0.45.0:0.45.0 +grpc-google-cloud-dataproc-v1beta2:0.45.0:0.45.0 +grpc-google-cloud-dialogflow-v2:0.45.0:0.45.0 +grpc-google-cloud-dialogflow-v2beta1:0.45.0:0.45.0 +grpc-google-cloud-dlp-v2:0.45.0:0.45.0 +grpc-google-cloud-error-reporting-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-firestore-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-firestore-v1:0.45.0:0.45.0 +grpc-google-cloud-iamcredentials-v1:0.7.0-alpha:0.7.0-alpha +grpc-google-cloud-iot-v1:0.45.0:0.45.0 +grpc-google-cloud-kms-v1:0.45.0:0.45.0 +grpc-google-cloud-language-v1:1.44.0:1.44.0 +grpc-google-cloud-language-v1beta2:0.45.0:0.45.0 +grpc-google-cloud-logging-v2:0.45.0:0.45.0 +grpc-google-cloud-monitoring-v3:1.44.0:1.44.0 +grpc-google-cloud-os-login-v1:0.45.0:0.45.0 +grpc-google-cloud-pubsub-v1:1.44.0:1.44.0 +grpc-google-cloud-redis-v1:0.45.0:0.45.0 +grpc-google-cloud-redis-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-scheduler-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-securitycenter-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-spanner-admin-database-v1:1.7.0:1.7.0 +grpc-google-cloud-spanner-admin-instance-v1:1.7.0:1.7.0 +grpc-google-cloud-spanner-v1:1.7.0:1.7.0 +grpc-google-cloud-speech-v1:0.45.0:0.45.0 +grpc-google-cloud-speech-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-speech-v1p1beta1:0.45.0:0.45.0 +grpc-google-cloud-tasks-v2beta2:0.45.0:0.45.0 +grpc-google-cloud-tasks-v2beta3:0.45.0:0.45.0 +grpc-google-cloud-texttospeech-v1:0.45.0:0.45.0 +grpc-google-cloud-texttospeech-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-trace-v1:0.45.0:0.45.0 +grpc-google-cloud-trace-v2:0.45.0:0.45.0 +grpc-google-cloud-video-intelligence-v1:0.45.0:0.45.0 +grpc-google-cloud-video-intelligence-v1beta1:0.45.0:0.45.0 +grpc-google-cloud-video-intelligence-v1beta2:0.45.0:0.45.0 +grpc-google-cloud-video-intelligence-v1p1beta1:0.45.0:0.45.0 +grpc-google-cloud-video-intelligence-v1p2beta1:0.45.0:0.45.0 +grpc-google-cloud-vision-v1:1.44.0:1.44.0 +grpc-google-cloud-vision-v1p1beta1:0.45.0:0.45.0 +grpc-google-cloud-vision-v1p2beta1:1.44.0:1.44.0 +grpc-google-cloud-vision-v1p3beta1:0.45.0:0.45.0 +grpc-google-cloud-websecurityscanner-v1alpha:0.45.0:0.45.0 +proto-google-cloud-asset-v1beta1:0.45.0:0.45.0 +proto-google-cloud-automl-v1beta1:0.45.0:0.45.0 +proto-google-cloud-bigquerydatatransfer-v1:0.45.0:0.45.0 +proto-google-cloud-bigquerystorage-v1beta1:0.45.0:0.45.0 +proto-google-cloud-bigtable-admin-v2:0.45.0:0.45.0 +proto-google-cloud-bigtable-v2:0.45.0:0.45.0 +proto-google-cloud-container-v1:0.45.0:0.45.0 +proto-google-cloud-containeranalysis-v1beta1:0.45.0:0.45.0 +proto-google-cloud-dataproc-v1:0.45.0:0.45.0 +proto-google-cloud-dataproc-v1beta2:0.45.0:0.45.0 +proto-google-cloud-datastore-v1:0.45.0:0.45.0 +proto-google-cloud-dialogflow-v2:0.45.0:0.45.0 +proto-google-cloud-dialogflow-v2beta1:0.45.0:0.45.0 +proto-google-cloud-dlp-v2:0.45.0:0.45.0 +proto-google-cloud-error-reporting-v1beta1:0.45.0:0.45.0 +proto-google-cloud-firestore-v1beta1:0.45.0:0.45.0 +proto-google-cloud-firestore-v1:0.45.0:0.45.0 +proto-google-cloud-iamcredentials-v1:0.7.0-alpha:0.7.0-alpha +proto-google-cloud-iot-v1:0.45.0:0.45.0 +proto-google-cloud-kms-v1:0.45.0:0.45.0 +proto-google-cloud-language-v1:1.44.0:1.44.0 +proto-google-cloud-language-v1beta2:0.45.0:0.45.0 +proto-google-cloud-logging-v2:0.45.0:0.45.0 +proto-google-cloud-monitoring-v3:1.44.0:1.44.0 +proto-google-cloud-os-login-v1:0.45.0:0.45.0 +proto-google-cloud-pubsub-v1:1.44.0:1.44.0 +proto-google-cloud-redis-v1:0.45.0:0.45.0 +proto-google-cloud-redis-v1beta1:0.45.0:0.45.0 +proto-google-cloud-scheduler-v1beta1:0.45.0:0.45.0 +proto-google-cloud-securitycenter-v1beta1:0.45.0:0.45.0 +proto-google-cloud-spanner-admin-database-v1:1.7.0:1.7.0 +proto-google-cloud-spanner-admin-instance-v1:1.7.0:1.7.0 +proto-google-cloud-spanner-v1:1.7.0:1.7.0 +proto-google-cloud-speech-v1:0.45.0:0.45.0 +proto-google-cloud-speech-v1beta1:0.45.0:0.45.0 +proto-google-cloud-speech-v1p1beta1:0.45.0:0.45.0 +proto-google-cloud-tasks-v2beta2:0.45.0:0.45.0 +proto-google-cloud-tasks-v2beta3:0.45.0:0.45.0 +proto-google-cloud-texttospeech-v1:0.45.0:0.45.0 +proto-google-cloud-texttospeech-v1beta1:0.45.0:0.45.0 +proto-google-cloud-trace-v1:0.45.0:0.45.0 +proto-google-cloud-trace-v2:0.45.0:0.45.0 +proto-google-cloud-video-intelligence-v1:0.45.0:0.45.0 +proto-google-cloud-video-intelligence-v1beta1:0.45.0:0.45.0 +proto-google-cloud-video-intelligence-v1beta2:0.45.0:0.45.0 +proto-google-cloud-video-intelligence-v1p1beta1:0.45.0:0.45.0 +proto-google-cloud-video-intelligence-v1p2beta1:0.45.0:0.45.0 +proto-google-cloud-vision-v1:1.44.0:1.44.0 +proto-google-cloud-vision-v1p1beta1:0.45.0:0.45.0 +proto-google-cloud-vision-v1p2beta1:1.44.0:1.44.0 +proto-google-cloud-vision-v1p3beta1:0.45.0:0.45.0 +proto-google-cloud-websecurityscanner-v1alpha:0.45.0:0.45.0 From 81bdd008363130086ab4a328e28bfbe13ede8ed3 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 7 Feb 2019 18:53:34 -0500 Subject: [PATCH 88/90] Bump next snapshot (#4467) --- .../grpc-google-cloud-asset-v1beta1/pom.xml | 4 +- .../grpc-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-bigtable-v2/pom.xml | 4 +- .../grpc-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-firestore-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-iot-v1/pom.xml | 4 +- .../grpc-google-cloud-kms-v1/pom.xml | 4 +- .../grpc-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-logging-v2/pom.xml | 4 +- .../grpc-google-cloud-monitoring-v3/pom.xml | 4 +- .../grpc-google-cloud-os-login-v1/pom.xml | 4 +- .../grpc-google-cloud-pubsub-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1/pom.xml | 4 +- .../grpc-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-spanner-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1/pom.xml | 4 +- .../grpc-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../grpc-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../grpc-google-cloud-texttospeech-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-trace-v1/pom.xml | 4 +- .../grpc-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../grpc-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-api-grpc/pom.xml | 208 +++++------ .../proto-google-cloud-asset-v1beta1/pom.xml | 4 +- .../proto-google-cloud-automl-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-bigtable-v2/pom.xml | 4 +- .../proto-google-cloud-container-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dataproc-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-datastore-v1/pom.xml | 4 +- .../proto-google-cloud-dialogflow-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-dlp-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-firestore-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-iot-v1/pom.xml | 4 +- .../proto-google-cloud-kms-v1/pom.xml | 4 +- .../proto-google-cloud-language-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-logging-v2/pom.xml | 4 +- .../proto-google-cloud-monitoring-v3/pom.xml | 4 +- .../proto-google-cloud-os-login-v1/pom.xml | 4 +- .../proto-google-cloud-pubsub-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1/pom.xml | 4 +- .../proto-google-cloud-redis-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-spanner-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1/pom.xml | 4 +- .../proto-google-cloud-speech-v1beta1/pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta2/pom.xml | 4 +- .../proto-google-cloud-tasks-v2beta3/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-trace-v1/pom.xml | 4 +- .../proto-google-cloud-trace-v2/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../proto-google-cloud-vision-v1/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- google-cloud-bom/pom.xml | 290 +++++++-------- .../google-cloud-asset/pom.xml | 4 +- .../google-cloud-automl/pom.xml | 4 +- .../google-cloud-bigquery/pom.xml | 4 +- .../google-cloud-bigquerydatatransfer/pom.xml | 4 +- .../google-cloud-bigquerystorage/pom.xml | 4 +- .../google-cloud-bigtable-admin/pom.xml | 4 +- .../google-cloud-bigtable/pom.xml | 4 +- .../google-cloud-compute/pom.xml | 4 +- .../google-cloud-container/pom.xml | 4 +- .../google-cloud-containeranalysis/pom.xml | 4 +- .../google-cloud-logging-logback/pom.xml | 4 +- .../google-cloud-nio-examples/README.md | 4 +- .../google-cloud-nio-examples/pom.xml | 4 +- .../google-cloud-nio/pom.xml | 4 +- .../google-cloud-contrib/pom.xml | 4 +- .../google-cloud-core-grpc/pom.xml | 4 +- .../google-cloud-core-http/pom.xml | 4 +- .../google-cloud-core/pom.xml | 4 +- .../google-cloud-dataproc/pom.xml | 4 +- .../google-cloud-datastore/pom.xml | 4 +- .../google-cloud-dialogflow/pom.xml | 4 +- google-cloud-clients/google-cloud-dlp/pom.xml | 4 +- google-cloud-clients/google-cloud-dns/pom.xml | 4 +- .../google-cloud-errorreporting/pom.xml | 4 +- .../google-cloud-firestore/pom.xml | 4 +- .../google-cloud-iamcredentials/pom.xml | 4 +- google-cloud-clients/google-cloud-iot/pom.xml | 4 +- google-cloud-clients/google-cloud-kms/pom.xml | 4 +- .../google-cloud-language/pom.xml | 4 +- .../google-cloud-logging/pom.xml | 4 +- .../google-cloud-monitoring/pom.xml | 4 +- .../google-cloud-notification/pom.xml | 4 +- .../google-cloud-os-login/pom.xml | 4 +- .../google-cloud-pubsub/pom.xml | 4 +- .../google-cloud-redis/pom.xml | 4 +- .../google-cloud-resourcemanager/pom.xml | 4 +- .../google-cloud-scheduler/pom.xml | 4 +- .../google-cloud-securitycenter/pom.xml | 4 +- .../google-cloud-spanner/pom.xml | 4 +- .../google-cloud-speech/pom.xml | 4 +- .../google-cloud-storage/pom.xml | 4 +- .../google-cloud-tasks/pom.xml | 4 +- .../google-cloud-texttospeech/pom.xml | 4 +- .../google-cloud-trace/pom.xml | 4 +- .../google-cloud-translate/pom.xml | 4 +- .../google-cloud-video-intelligence/pom.xml | 4 +- .../google-cloud-vision/pom.xml | 4 +- .../google-cloud-websecurityscanner/pom.xml | 4 +- google-cloud-clients/pom.xml | 6 +- google-cloud-examples/pom.xml | 4 +- .../google-cloud-appengineflexcompat/pom.xml | 4 +- .../google-cloud-appengineflexcustom/pom.xml | 4 +- .../google-cloud-appengineflexjava/pom.xml | 4 +- .../google-cloud-appenginejava8/pom.xml | 4 +- .../google-cloud-bigtable-emulator/pom.xml | 6 +- .../google-cloud-gcloud-maven-plugin/pom.xml | 4 +- .../google-cloud-managedtest/pom.xml | 4 +- google-cloud-testing/pom.xml | 6 +- .../google-cloud-compat-checker/pom.xml | 4 +- google-cloud-util/pom.xml | 2 +- versions.txt | 330 +++++++++--------- 166 files changed, 742 insertions(+), 742 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml index dbaffee2b274..a4d854ffe22b 100644 --- a/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-asset-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-asset-v1beta1 GRPC library for grpc-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml index 50a89ea8ac23..4b22748b5b99 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-automl-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index dbf67b701ea9..7c02631013fb 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerydatatransfer-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml index f41c0ea29468..3ad09f596d37 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigquerystorage-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-bigquerystorage-v1beta1 GRPC library for grpc-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml index e2d5b78cc925..834e0919a8a6 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-admin-v2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml index cde322fb72f6..d0909e2e7aee 100644 --- a/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-bigtable-v2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml index 78ddbfba0869..2f51d2f14460 100644 --- a/google-api-grpc/grpc-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-container-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index d383b298e627..4a9beb7e5bd9 100644 --- a/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-containeranalysis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml index e84223dbc989..95ade9199676 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml index 8bb7730c2a0b..58f311926ec0 100644 --- a/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dataproc-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml index 346b06be7b5d..2b8d4e80cadf 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml index 6390fc90840c..14dbc5c2cb2f 100644 --- a/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dialogflow-v2beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml index ae0265616954..dc2153155eea 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-dlp-v2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml index 5d18f3943a11..2b026d0ec5b0 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-error-reporting-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml index ccb56cb20df5..13c5ae9ffe0b 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-firestore-v1 GRPC library for grpc-google-cloud-firestore-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml index 3b130b1ef2af..0b3e110bef08 100644 --- a/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-firestore-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-firestore-v1beta1 GRPC library for grpc-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml index fb5e210c7553..28bd08330593 100644 --- a/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iamcredentials-v1 - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml index 01e1b4e8f252..0e7c263dc173 100644 --- a/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-iot-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml index d707462ce660..692e17f91f06 100644 --- a/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-kms-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml index 006b470cc1f2..6865dd322828 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1 - 1.44.0 + 1.44.1-SNAPSHOT grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml index 3233af90e0e6..1ca38a4a3700 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-language-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml index 22091ada82f7..c02d5d627739 100644 --- a/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-logging-v2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml index c41171c5cc86..0f5e8b7c56d4 100644 --- a/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-monitoring-v3 - 1.44.0 + 1.44.1-SNAPSHOT grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml index 132135f8e732..71d657fa7e48 100644 --- a/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-os-login-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml index bd5b309bfa17..6e26483896fa 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-pubsub-v1 - 1.44.0 + 1.44.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml index 44bf25ebf12c..3dab005d6908 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml index 3cb47c5300fa..fff4e187a4e7 100644 --- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-redis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml index e809d3237d52..bd3ef59a1032 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-scheduler-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml index f781b7467ab9..8576836f51c2 100644 --- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-securitycenter-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml index 5c4970fbfdb6..6a2bdf756e4b 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-database-v1 - 1.7.0 + 1.7.1-SNAPSHOT grpc-google-cloud-spanner-admin-database-v1 GRPC library for grpc-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml index 63008aa8d933..4e718bc3e2ef 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-admin-instance-v1 - 1.7.0 + 1.7.1-SNAPSHOT grpc-google-cloud-spanner-admin-instance-v1 GRPC library for grpc-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml index daa3e4cdd18f..5b97e72df450 100644 --- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-spanner-v1 - 1.7.0 + 1.7.1-SNAPSHOT grpc-google-cloud-spanner-v1 GRPC library for grpc-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml index b765a745c162..ba410d12d352 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml index 9229ffa924c3..ee4f6caaf140 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml index a80e197f40f6..0f139d4d4cbc 100644 --- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-speech-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml index f6ddccf0feb2..ab9b6a03f1cd 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml index 81c05317bb41..6b3d755c4472 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-tasks-v2beta3 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml index c82462e09276..ee0d8a106c3a 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml index 341232d133da..4bf40cee92f4 100644 --- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-texttospeech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml index 326ca1a9efcb..1dc5dc0623b7 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml index e1235b5b6abc..77d46d51fbaf 100644 --- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-trace-v2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml index f5a8bf2e6bb0..5d3f958074fe 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml index 18b4530c6941..69240ec8df80 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 26a29131a9d3..2d3b40aaa563 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index 832f2dfc5364..46bdcccc244c 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index f03ced118cad..f2cf9bc37a01 100644 --- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-video-intelligence-v1p2beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml index 58928d4377d8..a96506c6c29c 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1 - 1.44.0 + 1.44.1-SNAPSHOT grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml index a51bc1ae5ef5..82bd4c887208 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml index b55da19f8940..e0321b211a6a 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p2beta1 - 1.44.0 + 1.44.1-SNAPSHOT grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml index 92288c787cfd..d942ada72de6 100644 --- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-vision-v1p3beta1 - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index e94de20a9b5b..cfea630afe96 100644 --- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 grpc-google-cloud-websecurityscanner-v1alpha - 0.45.0 + 0.45.1-SNAPSHOT grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml index 2fa5a925e70d..9112d8746cee 100644 --- a/google-api-grpc/pom.xml +++ b/google-api-grpc/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-api-grpc pom - 0.45.0 + 0.45.1-SNAPSHOT Google Cloud API gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc @@ -142,517 +142,517 @@ com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml index 75bdab5c47ea..922044726956 100644 --- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-asset-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-asset-v1beta1 PROTO library for proto-google-cloud-asset-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml index 71c5fc5432d3..7a1a19b518fb 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-automl-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index c8ecc3c12575..c0f788b2ca4a 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerydatatransfer-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml index 98af9ba6557e..f813941a8202 100644 --- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigquerystorage-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-bigquerystorage-v1beta1 PROTO library for proto-google-cloud-bigquerystorage-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml index a7ebed2f40c2..36560004bed3 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-admin-v2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml index 6a828fc3e0ae..c53679f27b73 100644 --- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-bigtable-v2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml index 1090788ef085..38c9f9c15ccf 100644 --- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-container-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml index c973e12b361e..c8aecf23956f 100644 --- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-containeranalysis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml index 9dce51726fef..14fb6688a6bb 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml index 114f8ce00192..ce743fb058f0 100644 --- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dataproc-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml index 7761687693c9..03671f64b1e5 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-datastore-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-datastore-v1 PROTO library for proto-google-cloud-datastore-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml index 11944bdc75f0..c5f2497928b8 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml index d6aeff10a376..27da3a76c076 100644 --- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dialogflow-v2beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml index e3e9cde7fc12..56324dd316e6 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-dlp-v2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml index baa9f05e877a..531a22b6f4e7 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-error-reporting-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml index 747508bc209b..cba8060e4ba5 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-firestore-v1 PROTO library for proto-google-cloud-firestore-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml index e8acd58e45fc..6f362d2e5367 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-firestore-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-firestore-v1beta1 PROTO library for proto-google-cloud-firestore-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml index a47acf75a1ff..4c85cf0f97fd 100644 --- a/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iamcredentials-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iamcredentials-v1 - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml index aa2c50f60c5e..8562e7b359f5 100644 --- a/google-api-grpc/proto-google-cloud-iot-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-iot-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-iot-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml index d78fcb6cad81..c5c2fbacb435 100644 --- a/google-api-grpc/proto-google-cloud-kms-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-kms-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-kms-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1/pom.xml b/google-api-grpc/proto-google-cloud-language-v1/pom.xml index d1f2e2dfa070..5639d79a7709 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1 - 1.44.0 + 1.44.1-SNAPSHOT proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml index 8d0623fe3ff8..8342be86c5bb 100644 --- a/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-language-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-language-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml index 249b014dc16e..1fc74a167227 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-logging-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-logging-v2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml index 08318f47c678..a5e3fc19308b 100644 --- a/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml +++ b/google-api-grpc/proto-google-cloud-monitoring-v3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-monitoring-v3 - 1.44.0 + 1.44.1-SNAPSHOT proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml index bacabae05ed5..d6b2abf662f0 100644 --- a/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-os-login-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-os-login-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml index d9421e40e25d..a0510c1e3122 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-pubsub-v1 - 1.44.0 + 1.44.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml index 3e74d90eb650..9c0205cbbf40 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml index affc5c68497b..c0ed1e639188 100644 --- a/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-redis-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-redis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml index 980739bf6f00..34d139203298 100644 --- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-scheduler-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml index 8bce534c9771..f9af4481df88 100644 --- a/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-securitycenter-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml index e17ad0731510..74edd647afdf 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-database-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-database-v1 - 1.7.0 + 1.7.1-SNAPSHOT proto-google-cloud-spanner-admin-database-v1 PROTO library for proto-google-cloud-spanner-admin-database-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml index 21062b2488f9..f67b0eb0cff4 100644 --- a/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-admin-instance-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-admin-instance-v1 - 1.7.0 + 1.7.1-SNAPSHOT proto-google-cloud-spanner-admin-instance-v1 PROTO library for proto-google-cloud-spanner-admin-instance-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml index 9d29fbec6d34..fde9fc93cd9e 100644 --- a/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-spanner-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-spanner-v1 - 1.7.0 + 1.7.1-SNAPSHOT proto-google-cloud-spanner-v1 PROTO library for proto-google-cloud-spanner-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml index 5ce639713696..2d835e067f07 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml index db406795acf7..6b24caef88f4 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml index 01ca51dfc5af..f729e0cfdc79 100644 --- a/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-speech-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml index 3a49e22fa704..24bb970c1628 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml index da209ce83705..a4d07240f2ad 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-tasks-v2beta3 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml index 3fd5c7d6743d..cf821f54d424 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml index 4d7acfacaafe..49ad6ba89279 100644 --- a/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-texttospeech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml index d1ec2e32c23d..46b76cad098f 100644 --- a/google-api-grpc/proto-google-cloud-trace-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml index fb62cac6055c..8b22bd952ed0 100644 --- a/google-api-grpc/proto-google-cloud-trace-v2/pom.xml +++ b/google-api-grpc/proto-google-cloud-trace-v2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-trace-v2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml index 1081ccd40cb3..64d65e2a3793 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml index 993c8111ff46..4aab9338bb6b 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta1 PROTO library for proto-google-cloud-video-intelligence-v1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml index 54b9ab6e04b2..7943dc184195 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index 176cb1a46998..f7ffa16c86a9 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index 4cd91e71ab0d..3826efd1c389 100644 --- a/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-video-intelligence-v1p2beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml index d2ce436234cb..170b3572066a 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1 - 1.44.0 + 1.44.1-SNAPSHOT proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml index 23676ee1513e..2f5a6134e929 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p1beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml index 62684d13284e..9030fc1a2ca7 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p2beta1 - 1.44.0 + 1.44.1-SNAPSHOT proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml index 37b767e692f7..2001e31dd68b 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/google-api-grpc/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-vision-v1p3beta1 - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 343e160a6ae6..f51b68b1bb44 100644 --- a/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/google-api-grpc/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -3,13 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 proto-google-cloud-websecurityscanner-v1alpha - 0.45.0 + 0.45.1-SNAPSHOT proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.api.grpc google-api-grpc - 0.45.0 + 0.45.1-SNAPSHOT diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml index 8e785187b8ac..a7b757d8bc34 100644 --- a/google-cloud-bom/pom.xml +++ b/google-cloud-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bom pom - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT Google Cloud Java BOM https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-bom @@ -197,723 +197,723 @@ com.google.cloud google-cloud-asset - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-asset-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-asset-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-automl - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-bigtable - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-bigtable-admin - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-bigtable-emulator - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.cloud google-cloud-bigquery - 1.62.0 + 1.62.1-SNAPSHOT com.google.cloud google-cloud-bigquerydatatransfer - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerystorage-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerystorage-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-compute - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.cloud google-cloud-container - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-containeranalysis - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-contrib - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.cloud google-cloud-nio - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.cloud google-cloud-core - 1.62.0 + 1.62.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.62.0 + 1.62.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.62.0 + 1.62.1-SNAPSHOT com.google.cloud google-cloud-dataproc - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-datastore - 1.62.0 + 1.62.1-SNAPSHOT com.google.api.grpc proto-google-cloud-datastore-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-dlp - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-dlp-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dlp-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-dialogflow - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-dialogflow-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-dns - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.cloud google-cloud-errorreporting - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-firestore - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-firestore-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-firestore-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-kms - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-kms-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-kms-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-language - 1.62.0 + 1.62.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-logging - 1.62.0 + 1.62.1-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-logging-logback - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.cloud google-cloud-monitoring - 1.62.0 + 1.62.1-SNAPSHOT com.google.api.grpc proto-google-cloud-monitoring-v3 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-monitoring-v3 - 1.44.0 + 1.44.1-SNAPSHOT com.google.cloud google-cloud-os-login - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-os-login-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-os-login-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.62.0 + 1.62.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.cloud google-cloud-redis - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-redis-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-redis-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-resourcemanager - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-spanner - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-database-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-database-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc proto-google-cloud-spanner-admin-instance-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-spanner-admin-instance-v1 - 1.7.0 + 1.7.1-SNAPSHOT com.google.cloud google-cloud-speech - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-speech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-speech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-storage - 1.62.0 + 1.62.1-SNAPSHOT com.google.cloud google-cloud-tasks - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-texttospeech - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-texttospeech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-trace - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-translate - 1.62.0 + 1.62.1-SNAPSHOT com.google.cloud google-cloud-vision - 1.62.0 + 1.62.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 1.44.0 + 1.44.1-SNAPSHOT com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.cloud google-cloud-video-intelligence - 0.80.0-beta + 0.80.1-beta-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iot-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-iot-v1 - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.45.0 + 0.45.1-SNAPSHOT com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT com.google.cloud google-cloud-iamcredentials - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-asset/pom.xml b/google-cloud-clients/google-cloud-asset/pom.xml index d6425ceb3379..2b51d4792b1c 100644 --- a/google-cloud-clients/google-cloud-asset/pom.xml +++ b/google-cloud-clients/google-cloud-asset/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-asset - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Asset https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-asset diff --git a/google-cloud-clients/google-cloud-automl/pom.xml b/google-cloud-clients/google-cloud-automl/pom.xml index 369b73735cab..dcf380ab49f2 100644 --- a/google-cloud-clients/google-cloud-automl/pom.xml +++ b/google-cloud-clients/google-cloud-automl/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-automl - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Auto ML https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-automl diff --git a/google-cloud-clients/google-cloud-bigquery/pom.xml b/google-cloud-clients/google-cloud-bigquery/pom.xml index 5c141541ef3e..a8f7fa952248 100644 --- a/google-cloud-clients/google-cloud-bigquery/pom.xml +++ b/google-cloud-clients/google-cloud-bigquery/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquery - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud BigQuery https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquery @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-bigquery diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml index ad2b4e07227e..d955ecb6baf1 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerydatatransfer - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Bigquery Data Transfer https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerydatatransfer @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-bigquerydatatransfer diff --git a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml index 39a22942e396..0a9aef12f1af 100644 --- a/google-cloud-clients/google-cloud-bigquerystorage/pom.xml +++ b/google-cloud-clients/google-cloud-bigquerystorage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigquerystorage - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Bigquery Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigquerystorage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-bigquerystorage diff --git a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml index da18596d9f49..2a073543bf73 100644 --- a/google-cloud-clients/google-cloud-bigtable-admin/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable-admin/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable-admin - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Bigtable Admin https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-bigtable/pom.xml b/google-cloud-clients/google-cloud-bigtable/pom.xml index 2b9164cd74e8..48c63c45a23f 100644 --- a/google-cloud-clients/google-cloud-bigtable/pom.xml +++ b/google-cloud-clients/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Bigtable https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-bigtable @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-bigtable diff --git a/google-cloud-clients/google-cloud-compute/pom.xml b/google-cloud-clients/google-cloud-compute/pom.xml index 51bea870bed1..af91537036e3 100644 --- a/google-cloud-clients/google-cloud-compute/pom.xml +++ b/google-cloud-clients/google-cloud-compute/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compute - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Compute https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-compute @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-compute diff --git a/google-cloud-clients/google-cloud-container/pom.xml b/google-cloud-clients/google-cloud-container/pom.xml index e1f9fc03f5a3..72e4c7e0dd15 100644 --- a/google-cloud-clients/google-cloud-container/pom.xml +++ b/google-cloud-clients/google-cloud-container/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-container - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Container https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-container @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-container diff --git a/google-cloud-clients/google-cloud-containeranalysis/pom.xml b/google-cloud-clients/google-cloud-containeranalysis/pom.xml index 65c6af471049..1dc99ce9cc90 100644 --- a/google-cloud-clients/google-cloud-containeranalysis/pom.xml +++ b/google-cloud-clients/google-cloud-containeranalysis/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-containeranalysis - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Container Analysis https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-containeranalysis @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-containeranalysis diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml index 4c8e43f2449e..da97a7fc518c 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-logging-logback - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Logging Logback Appender https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-logging-logback @@ -20,7 +20,7 @@ com.google.cloud google-cloud-contrib - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md index 7c5480820478..27fd1ddda7fc 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/README.md @@ -23,12 +23,12 @@ To run this example: [//]: # ({x-version-update-start:google-cloud-nio:current}) ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.80.0-alpha.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.80.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio/target/google-cloud-nio-0.80.1-alpha-SNAPSHOT.jar:google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.80.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` Notice that it lists Google Cloud Storage, which it wouldn't if you ran it without the NIO jar: ``` - java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.80.0-alpha.jar com.google.cloud.nio.examples.ListFilesystems + java -cp google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/target/google-cloud-nio-examples-0.80.1-alpha-SNAPSHOT.jar com.google.cloud.nio.examples.ListFilesystems ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml index a15c2727666f..13374167d438 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio-examples - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud NIO Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio-examples @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-nio-examples diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml index f9886876f79f..47421db21351 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-nio - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud NIO https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib/google-cloud-nio @@ -12,7 +12,7 @@ com.google.cloud google-cloud-contrib - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-nio diff --git a/google-cloud-clients/google-cloud-contrib/pom.xml b/google-cloud-clients/google-cloud-contrib/pom.xml index 67ec8e993d22..8db326e8d004 100644 --- a/google-cloud-clients/google-cloud-contrib/pom.xml +++ b/google-cloud-clients/google-cloud-contrib/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-contrib - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT pom Google Cloud Contributions https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-contrib @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-contrib diff --git a/google-cloud-clients/google-cloud-core-grpc/pom.xml b/google-cloud-clients/google-cloud-core-grpc/pom.xml index 4d6b340a38a2..6c62f3522b19 100644 --- a/google-cloud-clients/google-cloud-core-grpc/pom.xml +++ b/google-cloud-clients/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-core-grpc diff --git a/google-cloud-clients/google-cloud-core-http/pom.xml b/google-cloud-clients/google-cloud-core-http/pom.xml index 130d2089eaaf..cacb306965b0 100644 --- a/google-cloud-clients/google-cloud-core-http/pom.xml +++ b/google-cloud-clients/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/google-cloud-clients/google-cloud-core/pom.xml b/google-cloud-clients/google-cloud-core/pom.xml index 2dc3bd9a7fd2..15dbae2f9ac2 100644 --- a/google-cloud-clients/google-cloud-core/pom.xml +++ b/google-cloud-clients/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-core diff --git a/google-cloud-clients/google-cloud-dataproc/pom.xml b/google-cloud-clients/google-cloud-dataproc/pom.xml index ce51d518fbde..489c1e17b876 100644 --- a/google-cloud-clients/google-cloud-dataproc/pom.xml +++ b/google-cloud-clients/google-cloud-dataproc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dataproc - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Dataproc https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dataproc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-dataproc diff --git a/google-cloud-clients/google-cloud-datastore/pom.xml b/google-cloud-clients/google-cloud-datastore/pom.xml index e24873f02c37..3355d230b44c 100644 --- a/google-cloud-clients/google-cloud-datastore/pom.xml +++ b/google-cloud-clients/google-cloud-datastore/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-datastore - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Datastore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-datastore diff --git a/google-cloud-clients/google-cloud-dialogflow/pom.xml b/google-cloud-clients/google-cloud-dialogflow/pom.xml index e81b29a757a3..eadd155794fb 100644 --- a/google-cloud-clients/google-cloud-dialogflow/pom.xml +++ b/google-cloud-clients/google-cloud-dialogflow/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dialogflow - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Dialog Flow API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dialogflow @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-dialogflow diff --git a/google-cloud-clients/google-cloud-dlp/pom.xml b/google-cloud-clients/google-cloud-dlp/pom.xml index 26b37467cc32..8fb9e48cb47c 100644 --- a/google-cloud-clients/google-cloud-dlp/pom.xml +++ b/google-cloud-clients/google-cloud-dlp/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-dlp - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Data Loss Prevention API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dlp @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-dlp diff --git a/google-cloud-clients/google-cloud-dns/pom.xml b/google-cloud-clients/google-cloud-dns/pom.xml index 2687bbdd10f2..b28b104158e5 100644 --- a/google-cloud-clients/google-cloud-dns/pom.xml +++ b/google-cloud-clients/google-cloud-dns/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-dns - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud DNS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-dns diff --git a/google-cloud-clients/google-cloud-errorreporting/pom.xml b/google-cloud-clients/google-cloud-errorreporting/pom.xml index b5a72456b5ff..3a25daf5771f 100644 --- a/google-cloud-clients/google-cloud-errorreporting/pom.xml +++ b/google-cloud-clients/google-cloud-errorreporting/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-errorreporting - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Error Reporting https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-errorreporting @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-errorreporting diff --git a/google-cloud-clients/google-cloud-firestore/pom.xml b/google-cloud-clients/google-cloud-firestore/pom.xml index 136c58365880..a5512fcd3892 100644 --- a/google-cloud-clients/google-cloud-firestore/pom.xml +++ b/google-cloud-clients/google-cloud-firestore/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-firestore - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Firestore https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-firestore @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-firestore diff --git a/google-cloud-clients/google-cloud-iamcredentials/pom.xml b/google-cloud-clients/google-cloud-iamcredentials/pom.xml index 312db99bc77f..dc79b7e4b57e 100644 --- a/google-cloud-clients/google-cloud-iamcredentials/pom.xml +++ b/google-cloud-clients/google-cloud-iamcredentials/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iamcredentials - 0.7.0-alpha + 0.7.1-alpha-SNAPSHOT jar Google Cloud Java Client for IAM Service Account Credentials API https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iamcredentials @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-iamcredentials diff --git a/google-cloud-clients/google-cloud-iot/pom.xml b/google-cloud-clients/google-cloud-iot/pom.xml index 7a7a5c0ae14f..46e3c293e077 100644 --- a/google-cloud-clients/google-cloud-iot/pom.xml +++ b/google-cloud-clients/google-cloud-iot/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-iot - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud IoT https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-iot @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-iot diff --git a/google-cloud-clients/google-cloud-kms/pom.xml b/google-cloud-clients/google-cloud-kms/pom.xml index e3f783842090..5ae3eceeb33f 100644 --- a/google-cloud-clients/google-cloud-kms/pom.xml +++ b/google-cloud-clients/google-cloud-kms/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-kms - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud KMS https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-kms @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-kms-v1 diff --git a/google-cloud-clients/google-cloud-language/pom.xml b/google-cloud-clients/google-cloud-language/pom.xml index 52f4b5aa2adc..81640b559916 100644 --- a/google-cloud-clients/google-cloud-language/pom.xml +++ b/google-cloud-clients/google-cloud-language/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-language - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Natural Language https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-language @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-language diff --git a/google-cloud-clients/google-cloud-logging/pom.xml b/google-cloud-clients/google-cloud-logging/pom.xml index 1d1506e6615a..12c2f4c20775 100644 --- a/google-cloud-clients/google-cloud-logging/pom.xml +++ b/google-cloud-clients/google-cloud-logging/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-logging - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Logging https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-logging diff --git a/google-cloud-clients/google-cloud-monitoring/pom.xml b/google-cloud-clients/google-cloud-monitoring/pom.xml index 7c49ef759461..baa3ee5c35ae 100644 --- a/google-cloud-clients/google-cloud-monitoring/pom.xml +++ b/google-cloud-clients/google-cloud-monitoring/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-monitoring - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Monitoring https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-monitoring @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-monitoring diff --git a/google-cloud-clients/google-cloud-notification/pom.xml b/google-cloud-clients/google-cloud-notification/pom.xml index 703e5dc55d7a..8e288f981ec8 100644 --- a/google-cloud-clients/google-cloud-notification/pom.xml +++ b/google-cloud-clients/google-cloud-notification/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-notification - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Pub/Sub Notifications for GCS https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-notification @@ -15,7 +15,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-notification diff --git a/google-cloud-clients/google-cloud-os-login/pom.xml b/google-cloud-clients/google-cloud-os-login/pom.xml index a490fa612cc7..f17a6c00b849 100644 --- a/google-cloud-clients/google-cloud-os-login/pom.xml +++ b/google-cloud-clients/google-cloud-os-login/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-os-login - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud OS Login https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-os-login @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-os-login diff --git a/google-cloud-clients/google-cloud-pubsub/pom.xml b/google-cloud-clients/google-cloud-pubsub/pom.xml index ec9b582aad5d..429e53b8df10 100644 --- a/google-cloud-clients/google-cloud-pubsub/pom.xml +++ b/google-cloud-clients/google-cloud-pubsub/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-pubsub - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-pubsub @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-pubsub diff --git a/google-cloud-clients/google-cloud-redis/pom.xml b/google-cloud-clients/google-cloud-redis/pom.xml index 126c663a9924..806db650d91b 100644 --- a/google-cloud-clients/google-cloud-redis/pom.xml +++ b/google-cloud-clients/google-cloud-redis/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-redis - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Redis https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-redis @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-redis diff --git a/google-cloud-clients/google-cloud-resourcemanager/pom.xml b/google-cloud-clients/google-cloud-resourcemanager/pom.xml index d19a0ecdfc8a..f7d50d487fc3 100644 --- a/google-cloud-clients/google-cloud-resourcemanager/pom.xml +++ b/google-cloud-clients/google-cloud-resourcemanager/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-resourcemanager - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Resource Manager https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-resourcemanager @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-resourcemanager diff --git a/google-cloud-clients/google-cloud-scheduler/pom.xml b/google-cloud-clients/google-cloud-scheduler/pom.xml index 9d410a902d4b..46ea128c8b8e 100644 --- a/google-cloud-clients/google-cloud-scheduler/pom.xml +++ b/google-cloud-clients/google-cloud-scheduler/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-scheduler - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Scheduler https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-scheduler @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-scheduler diff --git a/google-cloud-clients/google-cloud-securitycenter/pom.xml b/google-cloud-clients/google-cloud-securitycenter/pom.xml index 71af8e57dea4..399cbbdbe02e 100644 --- a/google-cloud-clients/google-cloud-securitycenter/pom.xml +++ b/google-cloud-clients/google-cloud-securitycenter/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-securitycenter - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Security Command Center https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-securitycenter @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-securitycenter diff --git a/google-cloud-clients/google-cloud-spanner/pom.xml b/google-cloud-clients/google-cloud-spanner/pom.xml index a398bc5ab07d..ef83a769431a 100644 --- a/google-cloud-clients/google-cloud-spanner/pom.xml +++ b/google-cloud-clients/google-cloud-spanner/pom.xml @@ -4,7 +4,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 google-cloud-spanner - 1.7.0 + 1.7.1-SNAPSHOT jar Google Cloud Spanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-spanner @@ -14,7 +14,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-spanner diff --git a/google-cloud-clients/google-cloud-speech/pom.xml b/google-cloud-clients/google-cloud-speech/pom.xml index a410a29f8ad5..8bdfd79f1efa 100644 --- a/google-cloud-clients/google-cloud-speech/pom.xml +++ b/google-cloud-clients/google-cloud-speech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-speech - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-speech diff --git a/google-cloud-clients/google-cloud-storage/pom.xml b/google-cloud-clients/google-cloud-storage/pom.xml index 8bccac013e91..8129a56b3c5f 100644 --- a/google-cloud-clients/google-cloud-storage/pom.xml +++ b/google-cloud-clients/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Storage https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-storage diff --git a/google-cloud-clients/google-cloud-tasks/pom.xml b/google-cloud-clients/google-cloud-tasks/pom.xml index 0aa9c7d888a3..b8cdb2d1c034 100644 --- a/google-cloud-clients/google-cloud-tasks/pom.xml +++ b/google-cloud-clients/google-cloud-tasks/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-tasks - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Tasks https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-tasks @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-tasks-v2beta2 diff --git a/google-cloud-clients/google-cloud-texttospeech/pom.xml b/google-cloud-clients/google-cloud-texttospeech/pom.xml index 9a55d038dd47..62ca8ccd5ac0 100644 --- a/google-cloud-clients/google-cloud-texttospeech/pom.xml +++ b/google-cloud-clients/google-cloud-texttospeech/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-texttospeech - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Text-to-Speech https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-texttospeech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-texttospeech-v1beta1 diff --git a/google-cloud-clients/google-cloud-trace/pom.xml b/google-cloud-clients/google-cloud-trace/pom.xml index d4e2f23a29bc..2d597062a18c 100644 --- a/google-cloud-clients/google-cloud-trace/pom.xml +++ b/google-cloud-clients/google-cloud-trace/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-trace - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-trace diff --git a/google-cloud-clients/google-cloud-translate/pom.xml b/google-cloud-clients/google-cloud-translate/pom.xml index 7f38523c4667..298362685641 100644 --- a/google-cloud-clients/google-cloud-translate/pom.xml +++ b/google-cloud-clients/google-cloud-translate/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-translate - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Translation https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-translate @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-translate diff --git a/google-cloud-clients/google-cloud-video-intelligence/pom.xml b/google-cloud-clients/google-cloud-video-intelligence/pom.xml index e90f014e662f..901a021b6978 100644 --- a/google-cloud-clients/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-clients/google-cloud-video-intelligence/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-video-intelligence - 0.80.0-beta + 0.80.1-beta-SNAPSHOT jar Google Cloud Video Intelligence https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-video-intelligence @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-video-intelligence diff --git a/google-cloud-clients/google-cloud-vision/pom.xml b/google-cloud-clients/google-cloud-vision/pom.xml index cab1f80f6170..c7c8026508ae 100644 --- a/google-cloud-clients/google-cloud-vision/pom.xml +++ b/google-cloud-clients/google-cloud-vision/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-vision - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Vision https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-vision @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-vision diff --git a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml index e0a45df67546..c9ccdb0cd04d 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/pom.xml +++ b/google-cloud-clients/google-cloud-websecurityscanner/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-websecurityscanner - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Web Security Scanner https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-websecurityscanner @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-websecurityscanner diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index b33ede7d30d6..a3d2a9a161d6 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-clients pom - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT Google Cloud https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients @@ -152,7 +152,7 @@ UTF-8 github google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT 1.27.0 1.38.0 @@ -240,7 +240,7 @@ com.google.cloud google-cloud-core - 1.62.0 + 1.62.1-SNAPSHOT test-jar diff --git a/google-cloud-examples/pom.xml b/google-cloud-examples/pom.xml index 0120b7b3a90a..fdb77ee277cb 100644 --- a/google-cloud-examples/pom.xml +++ b/google-cloud-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-examples - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Examples https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples @@ -18,7 +18,7 @@ com.google.cloud google-cloud-bom - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml index 5c3243531235..09c90dbb5658 100644 --- a/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcompat/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcompat - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml index f0da3a07d689..044a422c400f 100644 --- a/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexcustom/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexcustom - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml index f7d4ca00b153..429e09ff96be 100644 --- a/google-cloud-testing/google-cloud-appengineflexjava/pom.xml +++ b/google-cloud-testing/google-cloud-appengineflexjava/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appengineflexjava - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-appenginejava8/pom.xml b/google-cloud-testing/google-cloud-appenginejava8/pom.xml index 3baa60788d5f..4fcba4e2e40a 100644 --- a/google-cloud-testing/google-cloud-appenginejava8/pom.xml +++ b/google-cloud-testing/google-cloud-appenginejava8/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-appenginejava8 - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT war google-cloud-testing com.google.cloud - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 6e1f62b1adf8..0f87cb477a4a 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -6,7 +6,7 @@ com.google.cloud google-cloud-bigtable-emulator - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT Google Cloud Java - Bigtable Emulator https://github.com/googleapis/google-cloud-java @@ -69,7 +69,7 @@ com.google.cloud google-cloud-gcloud-maven-plugin - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT @@ -126,7 +126,7 @@ com.google.cloud google-cloud-bom - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT pom import diff --git a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml index 6619190f5bd4..5a8b7300d9ff 100644 --- a/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml +++ b/google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml @@ -7,11 +7,11 @@ google-cloud-testing com.google.cloud - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-gcloud-maven-plugin - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT maven-plugin Experimental Maven plugin to interact with the Google Cloud SDK (https://cloud.google.com/sdk/). Currently this plugin is meant to be an internal implementation diff --git a/google-cloud-testing/google-cloud-managedtest/pom.xml b/google-cloud-testing/google-cloud-managedtest/pom.xml index 1f7c38d3327e..1ddcdf893c80 100644 --- a/google-cloud-testing/google-cloud-managedtest/pom.xml +++ b/google-cloud-testing/google-cloud-managedtest/pom.xml @@ -4,13 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-managedtest - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar google-cloud-testing com.google.cloud - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT diff --git a/google-cloud-testing/pom.xml b/google-cloud-testing/pom.xml index def88ab676da..ef023087328c 100644 --- a/google-cloud-testing/pom.xml +++ b/google-cloud-testing/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-testing - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT pom Google Cloud Testing @@ -32,14 +32,14 @@ com.google.cloud google-cloud-bom - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT pom import com.google.cloud google-cloud-core - 1.62.0 + 1.62.1-SNAPSHOT test-jar diff --git a/google-cloud-util/google-cloud-compat-checker/pom.xml b/google-cloud-util/google-cloud-compat-checker/pom.xml index 1326a1b9187d..fa1480ef2aa8 100644 --- a/google-cloud-util/google-cloud-compat-checker/pom.xml +++ b/google-cloud-util/google-cloud-compat-checker/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-compat-checker - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT jar Google Cloud Java Compatibility Checker https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker @@ -12,7 +12,7 @@ com.google.cloud google-cloud-util - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-compat-checker diff --git a/google-cloud-util/pom.xml b/google-cloud-util/pom.xml index 6d4a6dc53516..11e802042d0e 100644 --- a/google-cloud-util/pom.xml +++ b/google-cloud-util/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-util - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT pom Google Cloud Util https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-util diff --git a/versions.txt b/versions.txt index a0519b7723cc..10b57d24376b 100644 --- a/versions.txt +++ b/versions.txt @@ -1,168 +1,168 @@ # Format: # module:released-version:current-version -google-api-grpc:0.45.0:0.45.0 -google-cloud:0.80.0-alpha:0.80.0-alpha -google-cloud-appengineflexcompat:0.80.0-alpha:0.80.0-alpha -google-cloud-appengineflexcustom:0.80.0-alpha:0.80.0-alpha -google-cloud-appengineflexjava:0.80.0-alpha:0.80.0-alpha -google-cloud-appenginejava8:0.80.0-alpha:0.80.0-alpha -google-cloud-asset:0.80.0-beta:0.80.0-beta -google-cloud-automl:0.80.0-beta:0.80.0-beta -google-cloud-bigquery:1.62.0:1.62.0 -google-cloud-bigquerydatatransfer:0.80.0-beta:0.80.0-beta -google-cloud-bigquerystorage:0.80.0-beta:0.80.0-beta -google-cloud-bigtable:0.80.0-alpha:0.80.0-alpha -google-cloud-bigtable-admin:0.80.0-alpha:0.80.0-alpha -google-cloud-bigtable-emulator:0.80.0-alpha:0.80.0-alpha -google-cloud-bom:0.80.0-alpha:0.80.0-alpha -google-cloud-clients:0.80.0-alpha:0.80.0-alpha -google-cloud-compat-checker:0.80.0-alpha:0.80.0-alpha -google-cloud-compute:0.80.0-alpha:0.80.0-alpha -google-cloud-container:0.80.0-beta:0.80.0-beta -google-cloud-containeranalysis:0.80.0-beta:0.80.0-beta -google-cloud-contrib:0.80.0-alpha:0.80.0-alpha -google-cloud-core:1.62.0:1.62.0 -google-cloud-core-grpc:1.62.0:1.62.0 -google-cloud-core-http:1.62.0:1.62.0 -google-cloud-dataproc:0.80.0-alpha:0.80.0-alpha -google-cloud-datastore:1.62.0:1.62.0 -google-cloud-dialogflow:0.80.0-alpha:0.80.0-alpha -google-cloud-dlp:0.80.0-beta:0.80.0-beta -google-cloud-dns:0.80.0-alpha:0.80.0-alpha -google-cloud-errorreporting:0.80.0-beta:0.80.0-beta -google-cloud-examples:0.80.0-alpha:0.80.0-alpha -google-cloud-firestore:0.80.0-beta:0.80.0-beta -google-cloud-gcloud-maven-plugin:0.80.0-alpha:0.80.0-alpha -google-cloud-iamcredentials:0.7.0-alpha:0.7.0-alpha -google-cloud-iot:0.80.0-beta:0.80.0-beta -google-cloud-kms:0.80.0-beta:0.80.0-beta -google-cloud-language:1.62.0:1.62.0 -google-cloud-logging:1.62.0:1.62.0 -google-cloud-logging-logback:0.80.0-alpha:0.80.0-alpha -google-cloud-managedtest:0.80.0-alpha:0.80.0-alpha -google-cloud-monitoring:1.62.0:1.62.0 -google-cloud-nio:0.80.0-alpha:0.80.0-alpha -google-cloud-nio-examples:0.80.0-alpha:0.80.0-alpha -google-cloud-notification:0.80.0-beta:0.80.0-beta -google-cloud-os-login:0.80.0-alpha:0.80.0-alpha -google-cloud-pubsub:1.62.0:1.62.0 -google-cloud-redis:0.80.0-alpha:0.80.0-alpha -google-cloud-resourcemanager:0.80.0-alpha:0.80.0-alpha -google-cloud-scheduler:0.80.0-alpha:0.80.0-alpha -google-cloud-securitycenter:0.80.0-alpha:0.80.0-alpha -google-cloud-spanner:1.7.0:1.7.0 -google-cloud-speech:0.80.0-beta:0.80.0-beta -google-cloud-storage:1.62.0:1.62.0 -google-cloud-tasks:0.80.0-beta:0.80.0-beta -google-cloud-testing:0.80.0-alpha:0.80.0-alpha -google-cloud-texttospeech:0.80.0-beta:0.80.0-beta -google-cloud-trace:0.80.0-beta:0.80.0-beta -google-cloud-translate:1.62.0:1.62.0 -google-cloud-util:0.80.0-alpha:0.80.0-alpha -google-cloud-video-intelligence:0.80.0-beta:0.80.0-beta -google-cloud-vision:1.62.0:1.62.0 -google-cloud-websecurityscanner:0.80.0-alpha:0.80.0-alpha -grpc-google-cloud-asset-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-automl-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-bigquerydatatransfer-v1:0.45.0:0.45.0 -grpc-google-cloud-bigquerystorage-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-bigtable-admin-v2:0.45.0:0.45.0 -grpc-google-cloud-bigtable-v2:0.45.0:0.45.0 -grpc-google-cloud-container-v1:0.45.0:0.45.0 -grpc-google-cloud-containeranalysis-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-dataproc-v1:0.45.0:0.45.0 -grpc-google-cloud-dataproc-v1beta2:0.45.0:0.45.0 -grpc-google-cloud-dialogflow-v2:0.45.0:0.45.0 -grpc-google-cloud-dialogflow-v2beta1:0.45.0:0.45.0 -grpc-google-cloud-dlp-v2:0.45.0:0.45.0 -grpc-google-cloud-error-reporting-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-firestore-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-firestore-v1:0.45.0:0.45.0 -grpc-google-cloud-iamcredentials-v1:0.7.0-alpha:0.7.0-alpha -grpc-google-cloud-iot-v1:0.45.0:0.45.0 -grpc-google-cloud-kms-v1:0.45.0:0.45.0 -grpc-google-cloud-language-v1:1.44.0:1.44.0 -grpc-google-cloud-language-v1beta2:0.45.0:0.45.0 -grpc-google-cloud-logging-v2:0.45.0:0.45.0 -grpc-google-cloud-monitoring-v3:1.44.0:1.44.0 -grpc-google-cloud-os-login-v1:0.45.0:0.45.0 -grpc-google-cloud-pubsub-v1:1.44.0:1.44.0 -grpc-google-cloud-redis-v1:0.45.0:0.45.0 -grpc-google-cloud-redis-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-scheduler-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-securitycenter-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-spanner-admin-database-v1:1.7.0:1.7.0 -grpc-google-cloud-spanner-admin-instance-v1:1.7.0:1.7.0 -grpc-google-cloud-spanner-v1:1.7.0:1.7.0 -grpc-google-cloud-speech-v1:0.45.0:0.45.0 -grpc-google-cloud-speech-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-speech-v1p1beta1:0.45.0:0.45.0 -grpc-google-cloud-tasks-v2beta2:0.45.0:0.45.0 -grpc-google-cloud-tasks-v2beta3:0.45.0:0.45.0 -grpc-google-cloud-texttospeech-v1:0.45.0:0.45.0 -grpc-google-cloud-texttospeech-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-trace-v1:0.45.0:0.45.0 -grpc-google-cloud-trace-v2:0.45.0:0.45.0 -grpc-google-cloud-video-intelligence-v1:0.45.0:0.45.0 -grpc-google-cloud-video-intelligence-v1beta1:0.45.0:0.45.0 -grpc-google-cloud-video-intelligence-v1beta2:0.45.0:0.45.0 -grpc-google-cloud-video-intelligence-v1p1beta1:0.45.0:0.45.0 -grpc-google-cloud-video-intelligence-v1p2beta1:0.45.0:0.45.0 -grpc-google-cloud-vision-v1:1.44.0:1.44.0 -grpc-google-cloud-vision-v1p1beta1:0.45.0:0.45.0 -grpc-google-cloud-vision-v1p2beta1:1.44.0:1.44.0 -grpc-google-cloud-vision-v1p3beta1:0.45.0:0.45.0 -grpc-google-cloud-websecurityscanner-v1alpha:0.45.0:0.45.0 -proto-google-cloud-asset-v1beta1:0.45.0:0.45.0 -proto-google-cloud-automl-v1beta1:0.45.0:0.45.0 -proto-google-cloud-bigquerydatatransfer-v1:0.45.0:0.45.0 -proto-google-cloud-bigquerystorage-v1beta1:0.45.0:0.45.0 -proto-google-cloud-bigtable-admin-v2:0.45.0:0.45.0 -proto-google-cloud-bigtable-v2:0.45.0:0.45.0 -proto-google-cloud-container-v1:0.45.0:0.45.0 -proto-google-cloud-containeranalysis-v1beta1:0.45.0:0.45.0 -proto-google-cloud-dataproc-v1:0.45.0:0.45.0 -proto-google-cloud-dataproc-v1beta2:0.45.0:0.45.0 -proto-google-cloud-datastore-v1:0.45.0:0.45.0 -proto-google-cloud-dialogflow-v2:0.45.0:0.45.0 -proto-google-cloud-dialogflow-v2beta1:0.45.0:0.45.0 -proto-google-cloud-dlp-v2:0.45.0:0.45.0 -proto-google-cloud-error-reporting-v1beta1:0.45.0:0.45.0 -proto-google-cloud-firestore-v1beta1:0.45.0:0.45.0 -proto-google-cloud-firestore-v1:0.45.0:0.45.0 -proto-google-cloud-iamcredentials-v1:0.7.0-alpha:0.7.0-alpha -proto-google-cloud-iot-v1:0.45.0:0.45.0 -proto-google-cloud-kms-v1:0.45.0:0.45.0 -proto-google-cloud-language-v1:1.44.0:1.44.0 -proto-google-cloud-language-v1beta2:0.45.0:0.45.0 -proto-google-cloud-logging-v2:0.45.0:0.45.0 -proto-google-cloud-monitoring-v3:1.44.0:1.44.0 -proto-google-cloud-os-login-v1:0.45.0:0.45.0 -proto-google-cloud-pubsub-v1:1.44.0:1.44.0 -proto-google-cloud-redis-v1:0.45.0:0.45.0 -proto-google-cloud-redis-v1beta1:0.45.0:0.45.0 -proto-google-cloud-scheduler-v1beta1:0.45.0:0.45.0 -proto-google-cloud-securitycenter-v1beta1:0.45.0:0.45.0 -proto-google-cloud-spanner-admin-database-v1:1.7.0:1.7.0 -proto-google-cloud-spanner-admin-instance-v1:1.7.0:1.7.0 -proto-google-cloud-spanner-v1:1.7.0:1.7.0 -proto-google-cloud-speech-v1:0.45.0:0.45.0 -proto-google-cloud-speech-v1beta1:0.45.0:0.45.0 -proto-google-cloud-speech-v1p1beta1:0.45.0:0.45.0 -proto-google-cloud-tasks-v2beta2:0.45.0:0.45.0 -proto-google-cloud-tasks-v2beta3:0.45.0:0.45.0 -proto-google-cloud-texttospeech-v1:0.45.0:0.45.0 -proto-google-cloud-texttospeech-v1beta1:0.45.0:0.45.0 -proto-google-cloud-trace-v1:0.45.0:0.45.0 -proto-google-cloud-trace-v2:0.45.0:0.45.0 -proto-google-cloud-video-intelligence-v1:0.45.0:0.45.0 -proto-google-cloud-video-intelligence-v1beta1:0.45.0:0.45.0 -proto-google-cloud-video-intelligence-v1beta2:0.45.0:0.45.0 -proto-google-cloud-video-intelligence-v1p1beta1:0.45.0:0.45.0 -proto-google-cloud-video-intelligence-v1p2beta1:0.45.0:0.45.0 -proto-google-cloud-vision-v1:1.44.0:1.44.0 -proto-google-cloud-vision-v1p1beta1:0.45.0:0.45.0 -proto-google-cloud-vision-v1p2beta1:1.44.0:1.44.0 -proto-google-cloud-vision-v1p3beta1:0.45.0:0.45.0 -proto-google-cloud-websecurityscanner-v1alpha:0.45.0:0.45.0 +google-api-grpc:0.45.0:0.45.1-SNAPSHOT +google-cloud:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-appengineflexcompat:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-appengineflexcustom:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-appengineflexjava:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-appenginejava8:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-asset:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-automl:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-bigquery:1.62.0:1.62.1-SNAPSHOT +google-cloud-bigquerydatatransfer:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-bigquerystorage:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-bigtable:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-bigtable-admin:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-bigtable-emulator:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-bom:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-clients:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-compat-checker:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-compute:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-container:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-containeranalysis:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-contrib:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-core:1.62.0:1.62.1-SNAPSHOT +google-cloud-core-grpc:1.62.0:1.62.1-SNAPSHOT +google-cloud-core-http:1.62.0:1.62.1-SNAPSHOT +google-cloud-dataproc:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-datastore:1.62.0:1.62.1-SNAPSHOT +google-cloud-dialogflow:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-dlp:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-dns:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-errorreporting:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-examples:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-firestore:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-gcloud-maven-plugin:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-iamcredentials:0.7.0-alpha:0.7.1-alpha-SNAPSHOT +google-cloud-iot:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-kms:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-language:1.62.0:1.62.1-SNAPSHOT +google-cloud-logging:1.62.0:1.62.1-SNAPSHOT +google-cloud-logging-logback:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-managedtest:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-monitoring:1.62.0:1.62.1-SNAPSHOT +google-cloud-nio:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-nio-examples:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-notification:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-os-login:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-pubsub:1.62.0:1.62.1-SNAPSHOT +google-cloud-redis:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-resourcemanager:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-scheduler:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-securitycenter:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-spanner:1.7.0:1.7.1-SNAPSHOT +google-cloud-speech:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-storage:1.62.0:1.62.1-SNAPSHOT +google-cloud-tasks:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-testing:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-texttospeech:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-trace:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-translate:1.62.0:1.62.1-SNAPSHOT +google-cloud-util:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +google-cloud-video-intelligence:0.80.0-beta:0.80.1-beta-SNAPSHOT +google-cloud-vision:1.62.0:1.62.1-SNAPSHOT +google-cloud-websecurityscanner:0.80.0-alpha:0.80.1-alpha-SNAPSHOT +grpc-google-cloud-asset-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-automl-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-bigquerydatatransfer-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-bigquerystorage-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-bigtable-admin-v2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-bigtable-v2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-container-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-containeranalysis-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-dataproc-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-dataproc-v1beta2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-dialogflow-v2beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-dlp-v2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-error-reporting-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-firestore-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-firestore-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-iamcredentials-v1:0.7.0-alpha:0.7.1-alpha-SNAPSHOT +grpc-google-cloud-iot-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-kms-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-language-v1:1.44.0:1.44.1-SNAPSHOT +grpc-google-cloud-language-v1beta2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-logging-v2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-monitoring-v3:1.44.0:1.44.1-SNAPSHOT +grpc-google-cloud-os-login-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.44.0:1.44.1-SNAPSHOT +grpc-google-cloud-redis-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-redis-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-scheduler-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-spanner-admin-database-v1:1.7.0:1.7.1-SNAPSHOT +grpc-google-cloud-spanner-admin-instance-v1:1.7.0:1.7.1-SNAPSHOT +grpc-google-cloud-spanner-v1:1.7.0:1.7.1-SNAPSHOT +grpc-google-cloud-speech-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-speech-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-speech-v1p1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-tasks-v2beta3:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-texttospeech-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-trace-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-trace-v2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1beta2:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-video-intelligence-v1p2beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-vision-v1:1.44.0:1.44.1-SNAPSHOT +grpc-google-cloud-vision-v1p1beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-vision-v1p2beta1:1.44.0:1.44.1-SNAPSHOT +grpc-google-cloud-vision-v1p3beta1:0.45.0:0.45.1-SNAPSHOT +grpc-google-cloud-websecurityscanner-v1alpha:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-asset-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-automl-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-bigquerydatatransfer-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-bigquerystorage-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-bigtable-admin-v2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-bigtable-v2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-container-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-containeranalysis-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-dataproc-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-dataproc-v1beta2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-datastore-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-dialogflow-v2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-dialogflow-v2beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-dlp-v2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-error-reporting-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-firestore-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-firestore-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-iamcredentials-v1:0.7.0-alpha:0.7.1-alpha-SNAPSHOT +proto-google-cloud-iot-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-kms-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-language-v1:1.44.0:1.44.1-SNAPSHOT +proto-google-cloud-language-v1beta2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-logging-v2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-monitoring-v3:1.44.0:1.44.1-SNAPSHOT +proto-google-cloud-os-login-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.44.0:1.44.1-SNAPSHOT +proto-google-cloud-redis-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-redis-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-scheduler-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-securitycenter-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-spanner-admin-database-v1:1.7.0:1.7.1-SNAPSHOT +proto-google-cloud-spanner-admin-instance-v1:1.7.0:1.7.1-SNAPSHOT +proto-google-cloud-spanner-v1:1.7.0:1.7.1-SNAPSHOT +proto-google-cloud-speech-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-speech-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-speech-v1p1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-tasks-v2beta2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-tasks-v2beta3:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-texttospeech-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-texttospeech-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-trace-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-trace-v2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1beta2:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-video-intelligence-v1p2beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-vision-v1:1.44.0:1.44.1-SNAPSHOT +proto-google-cloud-vision-v1p1beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-vision-v1p2beta1:1.44.0:1.44.1-SNAPSHOT +proto-google-cloud-vision-v1p3beta1:0.45.0:0.45.1-SNAPSHOT +proto-google-cloud-websecurityscanner-v1alpha:0.45.0:0.45.1-SNAPSHOT From 1baa6023966a694c1ccd8ed8d5b47ece662b4fce Mon Sep 17 00:00:00 2001 From: Solomon Duskis Date: Thu, 7 Feb 2019 20:52:13 -0500 Subject: [PATCH 89/90] Adding Cloud Bigtable Mutation fromProto (#4461) * Adding Cloud Bigtable Mutation fromProto * Fixing formatting * Addressing comments `fromProto` becomes `fromProtoUnsafe` * Fixing lint issues. * adding a warning to `fromProtoUnsafe` --- .../cloud/bigtable/data/v2/models/Mutation.java | 13 +++++++++++++ .../cloud/bigtable/data/v2/models/MutationTest.java | 2 ++ 2 files changed, 15 insertions(+) diff --git a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Mutation.java b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Mutation.java index 9664a7e7d5d9..5c1372ad76e9 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Mutation.java +++ b/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Mutation.java @@ -73,6 +73,19 @@ public static Mutation createUnsafe() { return new Mutation(true); } + /** + * Wraps the List of protobuf {@link com.google.bigtable.v2.Mutation}. This methods, like {@link + * #createUnsafe()}, allows setCell operation to use server side timestamp. This is dangerous + * because mutations will no longer be idempotent, which might cause multiple duplicate values to + * be stored in Bigtable. This option should only be used for advanced usecases with extreme care. + */ + @BetaApi + public static Mutation fromProtoUnsafe(List protos) { + Mutation mutation = new Mutation(true); + mutation.mutations.addAll(protos); + return mutation; + } + private Mutation(boolean allowServersideTimestamp) { this.allowServersideTimestamp = allowServersideTimestamp; } diff --git a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/MutationTest.java b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/MutationTest.java index ccbc28be0e2d..5857a79e159a 100644 --- a/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/MutationTest.java +++ b/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/MutationTest.java @@ -95,6 +95,8 @@ public void setCellTest() { assertThat(actual.get(3).getSetCell().getValue()) .isEqualTo(ByteString.copyFromUtf8("fake-value2")); assertThat(actual.get(3).getSetCell().getTimestampMicros()).isIn(expectedTimestampRange); + + assertThat(Mutation.fromProtoUnsafe(actual).getMutations()).isEqualTo(actual); } @Test From bb2bb7cff5766d2070a8421d902e4af1c9c18bac Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Thu, 7 Feb 2019 18:41:11 -0800 Subject: [PATCH 90/90] Regenerate websecurityscanner client (#4435) --- .../v1alpha/WebSecurityScannerClient.java | 213 ++++-------------- .../v1alpha/package-info.java | 2 +- .../v1alpha/WebSecurityScannerClientTest.java | 68 ++---- .../synth.metadata | 10 +- 4 files changed, 79 insertions(+), 214 deletions(-) diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java index 1fb2de0943bd..813abbb5a225 100644 --- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java +++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java @@ -25,7 +25,6 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.pathtemplate.PathTemplate; import com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStub; import com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStubSettings; import com.google.protobuf.Empty; @@ -47,7 +46,7 @@ *
  * 
  * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
- *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+ *   String formattedParent = ProjectName.format("[PROJECT]");
  *   ScanConfig scanConfig = ScanConfig.newBuilder().build();
  *   ScanConfig response = webSecurityScannerClient.createScanConfig(formattedParent, scanConfig);
  * }
@@ -111,116 +110,6 @@ public class WebSecurityScannerClient implements BackgroundResource {
   private final WebSecurityScannerSettings settings;
   private final WebSecurityScannerStub stub;
 
-  private static final PathTemplate PROJECT_PATH_TEMPLATE =
-      PathTemplate.createWithoutUrlEncoding("projects/{project}");
-
-  private static final PathTemplate SCAN_CONFIG_PATH_TEMPLATE =
-      PathTemplate.createWithoutUrlEncoding("projects/{project}/scanConfigs/{scan_config}");
-
-  private static final PathTemplate SCAN_RUN_PATH_TEMPLATE =
-      PathTemplate.createWithoutUrlEncoding(
-          "projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run}");
-
-  private static final PathTemplate FINDING_PATH_TEMPLATE =
-      PathTemplate.createWithoutUrlEncoding(
-          "projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run}/findings/{finding}");
-
-  /** Formats a string containing the fully-qualified path to represent a project resource. */
-  public static final String formatProjectName(String project) {
-    return PROJECT_PATH_TEMPLATE.instantiate("project", project);
-  }
-
-  /** Formats a string containing the fully-qualified path to represent a scan_config resource. */
-  public static final String formatScanConfigName(String project, String scanConfig) {
-    return SCAN_CONFIG_PATH_TEMPLATE.instantiate(
-        "project", project,
-        "scan_config", scanConfig);
-  }
-
-  /** Formats a string containing the fully-qualified path to represent a scan_run resource. */
-  public static final String formatScanRunName(String project, String scanConfig, String scanRun) {
-    return SCAN_RUN_PATH_TEMPLATE.instantiate(
-        "project", project,
-        "scan_config", scanConfig,
-        "scan_run", scanRun);
-  }
-
-  /** Formats a string containing the fully-qualified path to represent a finding resource. */
-  public static final String formatFindingName(
-      String project, String scanConfig, String scanRun, String finding) {
-    return FINDING_PATH_TEMPLATE.instantiate(
-        "project", project,
-        "scan_config", scanConfig,
-        "scan_run", scanRun,
-        "finding", finding);
-  }
-
-  /** Parses the project from the given fully-qualified path which represents a project resource. */
-  public static final String parseProjectFromProjectName(String projectName) {
-    return PROJECT_PATH_TEMPLATE.parse(projectName).get("project");
-  }
-
-  /**
-   * Parses the project from the given fully-qualified path which represents a scan_config resource.
-   */
-  public static final String parseProjectFromScanConfigName(String scanConfigName) {
-    return SCAN_CONFIG_PATH_TEMPLATE.parse(scanConfigName).get("project");
-  }
-
-  /**
-   * Parses the scan_config from the given fully-qualified path which represents a scan_config
-   * resource.
-   */
-  public static final String parseScanConfigFromScanConfigName(String scanConfigName) {
-    return SCAN_CONFIG_PATH_TEMPLATE.parse(scanConfigName).get("scan_config");
-  }
-
-  /**
-   * Parses the project from the given fully-qualified path which represents a scan_run resource.
-   */
-  public static final String parseProjectFromScanRunName(String scanRunName) {
-    return SCAN_RUN_PATH_TEMPLATE.parse(scanRunName).get("project");
-  }
-
-  /**
-   * Parses the scan_config from the given fully-qualified path which represents a scan_run
-   * resource.
-   */
-  public static final String parseScanConfigFromScanRunName(String scanRunName) {
-    return SCAN_RUN_PATH_TEMPLATE.parse(scanRunName).get("scan_config");
-  }
-
-  /**
-   * Parses the scan_run from the given fully-qualified path which represents a scan_run resource.
-   */
-  public static final String parseScanRunFromScanRunName(String scanRunName) {
-    return SCAN_RUN_PATH_TEMPLATE.parse(scanRunName).get("scan_run");
-  }
-
-  /** Parses the project from the given fully-qualified path which represents a finding resource. */
-  public static final String parseProjectFromFindingName(String findingName) {
-    return FINDING_PATH_TEMPLATE.parse(findingName).get("project");
-  }
-
-  /**
-   * Parses the scan_config from the given fully-qualified path which represents a finding resource.
-   */
-  public static final String parseScanConfigFromFindingName(String findingName) {
-    return FINDING_PATH_TEMPLATE.parse(findingName).get("scan_config");
-  }
-
-  /**
-   * Parses the scan_run from the given fully-qualified path which represents a finding resource.
-   */
-  public static final String parseScanRunFromFindingName(String findingName) {
-    return FINDING_PATH_TEMPLATE.parse(findingName).get("scan_run");
-  }
-
-  /** Parses the finding from the given fully-qualified path which represents a finding resource. */
-  public static final String parseFindingFromFindingName(String findingName) {
-    return FINDING_PATH_TEMPLATE.parse(findingName).get("finding");
-  }
-
   /** Constructs an instance of WebSecurityScannerClient with default settings. */
   public static final WebSecurityScannerClient create() throws IOException {
     return create(WebSecurityScannerSettings.newBuilder().build());
@@ -277,7 +166,7 @@ public WebSecurityScannerStub getStub() {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+   *   String formattedParent = ProjectName.format("[PROJECT]");
    *   ScanConfig scanConfig = ScanConfig.newBuilder().build();
    *   ScanConfig response = webSecurityScannerClient.createScanConfig(formattedParent, scanConfig);
    * }
@@ -289,7 +178,7 @@ public WebSecurityScannerStub getStub() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ScanConfig createScanConfig(String parent, ScanConfig scanConfig) {
-    PROJECT_PATH_TEMPLATE.validate(parent, "createScanConfig");
+
     CreateScanConfigRequest request =
         CreateScanConfigRequest.newBuilder().setParent(parent).setScanConfig(scanConfig).build();
     return createScanConfig(request);
@@ -303,7 +192,7 @@ public final ScanConfig createScanConfig(String parent, ScanConfig scanConfig) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+   *   String formattedParent = ProjectName.format("[PROJECT]");
    *   ScanConfig scanConfig = ScanConfig.newBuilder().build();
    *   CreateScanConfigRequest request = CreateScanConfigRequest.newBuilder()
    *     .setParent(formattedParent)
@@ -328,7 +217,7 @@ public final ScanConfig createScanConfig(CreateScanConfigRequest request) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+   *   String formattedParent = ProjectName.format("[PROJECT]");
    *   ScanConfig scanConfig = ScanConfig.newBuilder().build();
    *   CreateScanConfigRequest request = CreateScanConfigRequest.newBuilder()
    *     .setParent(formattedParent)
@@ -352,7 +241,7 @@ public final UnaryCallable createScanConfig
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   webSecurityScannerClient.deleteScanConfig(formattedName);
    * }
    * 
@@ -362,7 +251,7 @@ public final UnaryCallable createScanConfig * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteScanConfig(String name) { - SCAN_CONFIG_PATH_TEMPLATE.validate(name, "deleteScanConfig"); + DeleteScanConfigRequest request = DeleteScanConfigRequest.newBuilder().setName(name).build(); deleteScanConfig(request); } @@ -375,7 +264,7 @@ public final void deleteScanConfig(String name) { * *

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   DeleteScanConfigRequest request = DeleteScanConfigRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -398,7 +287,7 @@ public final void deleteScanConfig(DeleteScanConfigRequest request) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   DeleteScanConfigRequest request = DeleteScanConfigRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -420,7 +309,7 @@ public final UnaryCallable deleteScanConfigCalla
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   ScanConfig response = webSecurityScannerClient.getScanConfig(formattedName);
    * }
    * 
@@ -430,7 +319,7 @@ public final UnaryCallable deleteScanConfigCalla * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ScanConfig getScanConfig(String name) { - SCAN_CONFIG_PATH_TEMPLATE.validate(name, "getScanConfig"); + GetScanConfigRequest request = GetScanConfigRequest.newBuilder().setName(name).build(); return getScanConfig(request); } @@ -443,7 +332,7 @@ public final ScanConfig getScanConfig(String name) { * *

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   GetScanConfigRequest request = GetScanConfigRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -466,7 +355,7 @@ public final ScanConfig getScanConfig(GetScanConfigRequest request) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   GetScanConfigRequest request = GetScanConfigRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -488,7 +377,7 @@ public final UnaryCallable getScanConfigCallab
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+   *   String formattedParent = ProjectName.format("[PROJECT]");
    *   for (ScanConfig element : webSecurityScannerClient.listScanConfigs(formattedParent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -500,7 +389,6 @@ public final UnaryCallable getScanConfigCallab
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListScanConfigsPagedResponse listScanConfigs(String parent) {
-    PROJECT_PATH_TEMPLATE.validate(parent, "listScanConfigs");
     ListScanConfigsRequest request = ListScanConfigsRequest.newBuilder().setParent(parent).build();
     return listScanConfigs(request);
   }
@@ -513,7 +401,7 @@ public final ListScanConfigsPagedResponse listScanConfigs(String parent) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+   *   String formattedParent = ProjectName.format("[PROJECT]");
    *   ListScanConfigsRequest request = ListScanConfigsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -538,7 +426,7 @@ public final ListScanConfigsPagedResponse listScanConfigs(ListScanConfigsRequest
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+   *   String formattedParent = ProjectName.format("[PROJECT]");
    *   ListScanConfigsRequest request = ListScanConfigsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -563,7 +451,7 @@ public final ListScanConfigsPagedResponse listScanConfigs(ListScanConfigsRequest
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+   *   String formattedParent = ProjectName.format("[PROJECT]");
    *   ListScanConfigsRequest request = ListScanConfigsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -676,7 +564,7 @@ public final UnaryCallable updateScanConfig
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   ScanRun response = webSecurityScannerClient.startScanRun(formattedName);
    * }
    * 
@@ -686,7 +574,7 @@ public final UnaryCallable updateScanConfig * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ScanRun startScanRun(String name) { - SCAN_CONFIG_PATH_TEMPLATE.validate(name, "startScanRun"); + StartScanRunRequest request = StartScanRunRequest.newBuilder().setName(name).build(); return startScanRun(request); } @@ -699,7 +587,7 @@ public final ScanRun startScanRun(String name) { * *

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   StartScanRunRequest request = StartScanRunRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -722,7 +610,7 @@ public final ScanRun startScanRun(StartScanRunRequest request) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   StartScanRunRequest request = StartScanRunRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -744,7 +632,7 @@ public final UnaryCallable startScanRunCallable()
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ScanRun response = webSecurityScannerClient.getScanRun(formattedName);
    * }
    * 
@@ -754,7 +642,7 @@ public final UnaryCallable startScanRunCallable() * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ScanRun getScanRun(String name) { - SCAN_RUN_PATH_TEMPLATE.validate(name, "getScanRun"); + GetScanRunRequest request = GetScanRunRequest.newBuilder().setName(name).build(); return getScanRun(request); } @@ -767,7 +655,7 @@ public final ScanRun getScanRun(String name) { * *

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   GetScanRunRequest request = GetScanRunRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -790,7 +678,7 @@ public final ScanRun getScanRun(GetScanRunRequest request) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   GetScanRunRequest request = GetScanRunRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -812,7 +700,7 @@ public final UnaryCallable getScanRunCallable() {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedParent = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   for (ScanRun element : webSecurityScannerClient.listScanRuns(formattedParent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -824,7 +712,6 @@ public final UnaryCallable getScanRunCallable() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListScanRunsPagedResponse listScanRuns(String parent) {
-    SCAN_CONFIG_PATH_TEMPLATE.validate(parent, "listScanRuns");
     ListScanRunsRequest request = ListScanRunsRequest.newBuilder().setParent(parent).build();
     return listScanRuns(request);
   }
@@ -837,7 +724,7 @@ public final ListScanRunsPagedResponse listScanRuns(String parent) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedParent = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   ListScanRunsRequest request = ListScanRunsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -862,7 +749,7 @@ public final ListScanRunsPagedResponse listScanRuns(ListScanRunsRequest request)
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedParent = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   ListScanRunsRequest request = ListScanRunsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -887,7 +774,7 @@ public final ListScanRunsPagedResponse listScanRuns(ListScanRunsRequest request)
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+   *   String formattedParent = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
    *   ListScanRunsRequest request = ListScanRunsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -918,7 +805,7 @@ public final UnaryCallable listScanRu
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ScanRun response = webSecurityScannerClient.stopScanRun(formattedName);
    * }
    * 
@@ -928,7 +815,7 @@ public final UnaryCallable listScanRu * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ScanRun stopScanRun(String name) { - SCAN_RUN_PATH_TEMPLATE.validate(name, "stopScanRun"); + StopScanRunRequest request = StopScanRunRequest.newBuilder().setName(name).build(); return stopScanRun(request); } @@ -941,7 +828,7 @@ public final ScanRun stopScanRun(String name) { * *

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   StopScanRunRequest request = StopScanRunRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -964,7 +851,7 @@ public final ScanRun stopScanRun(StopScanRunRequest request) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   StopScanRunRequest request = StopScanRunRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -986,7 +873,7 @@ public final UnaryCallable stopScanRunCallable() {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   for (CrawledUrl element : webSecurityScannerClient.listCrawledUrls(formattedParent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -998,7 +885,6 @@ public final UnaryCallable stopScanRunCallable() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListCrawledUrlsPagedResponse listCrawledUrls(String parent) {
-    SCAN_RUN_PATH_TEMPLATE.validate(parent, "listCrawledUrls");
     ListCrawledUrlsRequest request = ListCrawledUrlsRequest.newBuilder().setParent(parent).build();
     return listCrawledUrls(request);
   }
@@ -1011,7 +897,7 @@ public final ListCrawledUrlsPagedResponse listCrawledUrls(String parent) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ListCrawledUrlsRequest request = ListCrawledUrlsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -1036,7 +922,7 @@ public final ListCrawledUrlsPagedResponse listCrawledUrls(ListCrawledUrlsRequest
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ListCrawledUrlsRequest request = ListCrawledUrlsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -1061,7 +947,7 @@ public final ListCrawledUrlsPagedResponse listCrawledUrls(ListCrawledUrlsRequest
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ListCrawledUrlsRequest request = ListCrawledUrlsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -1093,7 +979,7 @@ public final ListCrawledUrlsPagedResponse listCrawledUrls(ListCrawledUrlsRequest
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatFindingName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
+   *   String formattedName = FindingName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
    *   Finding response = webSecurityScannerClient.getFinding(formattedName);
    * }
    * 
@@ -1104,7 +990,7 @@ public final ListCrawledUrlsPagedResponse listCrawledUrls(ListCrawledUrlsRequest * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Finding getFinding(String name) { - FINDING_PATH_TEMPLATE.validate(name, "getFinding"); + GetFindingRequest request = GetFindingRequest.newBuilder().setName(name).build(); return getFinding(request); } @@ -1117,7 +1003,7 @@ public final Finding getFinding(String name) { * *

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatFindingName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
+   *   String formattedName = FindingName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
    *   GetFindingRequest request = GetFindingRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -1140,7 +1026,7 @@ public final Finding getFinding(GetFindingRequest request) {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedName = WebSecurityScannerClient.formatFindingName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
+   *   String formattedName = FindingName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
    *   GetFindingRequest request = GetFindingRequest.newBuilder()
    *     .setName(formattedName)
    *     .build();
@@ -1162,7 +1048,7 @@ public final UnaryCallable getFindingCallable() {
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   String filter = "";
    *   for (Finding element : webSecurityScannerClient.listFindings(formattedParent, filter).iterateAll()) {
    *     // doThingsWith(element);
@@ -1177,7 +1063,6 @@ public final UnaryCallable getFindingCallable() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListFindingsPagedResponse listFindings(String parent, String filter) {
-    SCAN_RUN_PATH_TEMPLATE.validate(parent, "listFindings");
     ListFindingsRequest request =
         ListFindingsRequest.newBuilder().setParent(parent).setFilter(filter).build();
     return listFindings(request);
@@ -1191,7 +1076,7 @@ public final ListFindingsPagedResponse listFindings(String parent, String filter
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   String filter = "";
    *   ListFindingsRequest request = ListFindingsRequest.newBuilder()
    *     .setParent(formattedParent)
@@ -1218,7 +1103,7 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest request)
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   String filter = "";
    *   ListFindingsRequest request = ListFindingsRequest.newBuilder()
    *     .setParent(formattedParent)
@@ -1245,7 +1130,7 @@ public final ListFindingsPagedResponse listFindings(ListFindingsRequest request)
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   String filter = "";
    *   ListFindingsRequest request = ListFindingsRequest.newBuilder()
    *     .setParent(formattedParent)
@@ -1278,7 +1163,7 @@ public final UnaryCallable listFindin
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ListFindingTypeStatsResponse response = webSecurityScannerClient.listFindingTypeStats(formattedParent);
    * }
    * 
@@ -1288,7 +1173,7 @@ public final UnaryCallable listFindin * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListFindingTypeStatsResponse listFindingTypeStats(String parent) { - SCAN_RUN_PATH_TEMPLATE.validate(parent, "listFindingTypeStats"); + ListFindingTypeStatsRequest request = ListFindingTypeStatsRequest.newBuilder().setParent(parent).build(); return listFindingTypeStats(request); @@ -1302,7 +1187,7 @@ public final ListFindingTypeStatsResponse listFindingTypeStats(String parent) { * *

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ListFindingTypeStatsRequest request = ListFindingTypeStatsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
@@ -1326,7 +1211,7 @@ public final ListFindingTypeStatsResponse listFindingTypeStats(
    *
    * 

    * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
-   *   String formattedParent = WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+   *   String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
    *   ListFindingTypeStatsRequest request = ListFindingTypeStatsRequest.newBuilder()
    *     .setParent(formattedParent)
    *     .build();
diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java
index 9498bdc4a92c..7358bdda9e66 100644
--- a/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java
+++ b/google-cloud-clients/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/package-info.java
@@ -30,7 +30,7 @@
  * 
  * 
  * try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
- *   String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+ *   String formattedParent = ProjectName.format("[PROJECT]");
  *   ScanConfig scanConfig = ScanConfig.newBuilder().build();
  *   ScanConfig response = webSecurityScannerClient.createScanConfig(formattedParent, scanConfig);
  * }
diff --git a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java
index 1adb90f7652a..d4b568cc4d94 100644
--- a/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java
+++ b/google-cloud-clients/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClientTest.java
@@ -91,7 +91,7 @@ public void createScanConfigTest() {
         ScanConfig.newBuilder().setName(name).setDisplayName(displayName).setMaxQps(maxQps).build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+    String formattedParent = ProjectName.format("[PROJECT]");
     ScanConfig scanConfig = ScanConfig.newBuilder().build();
 
     ScanConfig actualResponse = client.createScanConfig(formattedParent, scanConfig);
@@ -116,7 +116,7 @@ public void createScanConfigExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+      String formattedParent = ProjectName.format("[PROJECT]");
       ScanConfig scanConfig = ScanConfig.newBuilder().build();
 
       client.createScanConfig(formattedParent, scanConfig);
@@ -132,8 +132,7 @@ public void deleteScanConfigTest() {
     Empty expectedResponse = Empty.newBuilder().build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedName =
-        WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+    String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
     client.deleteScanConfig(formattedName);
 
@@ -155,8 +154,7 @@ public void deleteScanConfigExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedName =
-          WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+      String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
       client.deleteScanConfig(formattedName);
       Assert.fail("No exception raised");
@@ -179,8 +177,7 @@ public void getScanConfigTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedName =
-        WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+    String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
     ScanConfig actualResponse = client.getScanConfig(formattedName);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -203,8 +200,7 @@ public void getScanConfigExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedName =
-          WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+      String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
       client.getScanConfig(formattedName);
       Assert.fail("No exception raised");
@@ -226,7 +222,7 @@ public void listScanConfigsTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+    String formattedParent = ProjectName.format("[PROJECT]");
 
     ListScanConfigsPagedResponse pagedListResponse = client.listScanConfigs(formattedParent);
 
@@ -252,7 +248,7 @@ public void listScanConfigsExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedParent = WebSecurityScannerClient.formatProjectName("[PROJECT]");
+      String formattedParent = ProjectName.format("[PROJECT]");
 
       client.listScanConfigs(formattedParent);
       Assert.fail("No exception raised");
@@ -324,8 +320,7 @@ public void startScanRunTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedName =
-        WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+    String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
     ScanRun actualResponse = client.startScanRun(formattedName);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -348,8 +343,7 @@ public void startScanRunExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedName =
-          WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+      String formattedName = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
       client.startScanRun(formattedName);
       Assert.fail("No exception raised");
@@ -376,8 +370,7 @@ public void getScanRunTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedName =
-        WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+    String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
     ScanRun actualResponse = client.getScanRun(formattedName);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -400,8 +393,7 @@ public void getScanRunExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedName =
-          WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+      String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
       client.getScanRun(formattedName);
       Assert.fail("No exception raised");
@@ -423,8 +415,7 @@ public void listScanRunsTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedParent =
-        WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+    String formattedParent = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
     ListScanRunsPagedResponse pagedListResponse = client.listScanRuns(formattedParent);
 
@@ -450,8 +441,7 @@ public void listScanRunsExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedParent =
-          WebSecurityScannerClient.formatScanConfigName("[PROJECT]", "[SCAN_CONFIG]");
+      String formattedParent = ScanConfigName.format("[PROJECT]", "[SCAN_CONFIG]");
 
       client.listScanRuns(formattedParent);
       Assert.fail("No exception raised");
@@ -478,8 +468,7 @@ public void stopScanRunTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedName =
-        WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+    String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
     ScanRun actualResponse = client.stopScanRun(formattedName);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -502,8 +491,7 @@ public void stopScanRunExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedName =
-          WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+      String formattedName = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
       client.stopScanRun(formattedName);
       Assert.fail("No exception raised");
@@ -525,8 +513,7 @@ public void listCrawledUrlsTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedParent =
-        WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+    String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
     ListCrawledUrlsPagedResponse pagedListResponse = client.listCrawledUrls(formattedParent);
 
@@ -552,8 +539,7 @@ public void listCrawledUrlsExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedParent =
-          WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+      String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
       client.listCrawledUrls(formattedParent);
       Assert.fail("No exception raised");
@@ -589,8 +575,7 @@ public void getFindingTest() {
     mockWebSecurityScanner.addResponse(expectedResponse);
 
     String formattedName =
-        WebSecurityScannerClient.formatFindingName(
-            "[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
+        FindingName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
 
     Finding actualResponse = client.getFinding(formattedName);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -614,8 +599,7 @@ public void getFindingExceptionTest() throws Exception {
 
     try {
       String formattedName =
-          WebSecurityScannerClient.formatFindingName(
-              "[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
+          FindingName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
 
       client.getFinding(formattedName);
       Assert.fail("No exception raised");
@@ -637,8 +621,7 @@ public void listFindingsTest() {
             .build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedParent =
-        WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+    String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
     String filter = "filter-1274492040";
 
     ListFindingsPagedResponse pagedListResponse = client.listFindings(formattedParent, filter);
@@ -666,8 +649,7 @@ public void listFindingsExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedParent =
-          WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+      String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
       String filter = "filter-1274492040";
 
       client.listFindings(formattedParent, filter);
@@ -684,8 +666,7 @@ public void listFindingTypeStatsTest() {
         ListFindingTypeStatsResponse.newBuilder().build();
     mockWebSecurityScanner.addResponse(expectedResponse);
 
-    String formattedParent =
-        WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+    String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
     ListFindingTypeStatsResponse actualResponse = client.listFindingTypeStats(formattedParent);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -708,8 +689,7 @@ public void listFindingTypeStatsExceptionTest() throws Exception {
     mockWebSecurityScanner.addException(exception);
 
     try {
-      String formattedParent =
-          WebSecurityScannerClient.formatScanRunName("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
+      String formattedParent = ScanRunName.format("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
 
       client.listFindingTypeStats(formattedParent);
       Assert.fail("No exception raised");
diff --git a/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata b/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata
index 987fc288f345..abcd59074bda 100644
--- a/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata
+++ b/google-cloud-clients/google-cloud-websecurityscanner/synth.metadata
@@ -1,19 +1,19 @@
 {
-  "updateTime": "2019-01-17T08:55:02.517910Z",
+  "updateTime": "2019-02-02T08:50:48.157044Z",
   "sources": [
     {
       "generator": {
         "name": "artman",
-        "version": "0.16.6",
-        "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e"
+        "version": "0.16.8",
+        "dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05",
-        "internalRef": "229626798"
+        "sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
+        "internalRef": "231974277"
       }
     }
   ],